X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=libs%2Fgtkutil%2Fimage.h;h=6604df2ebed68cd18f6746fe3cf94c6043b545cb;hp=6a8d419b2087f3dcdf5b9a353360008aa19436ba;hb=9dfae1c9b270ee369c6362903a9205b30751b95f;hpb=0a6d5683b0cfa1a0bd7ef64bada105dbe4ddd6e1;ds=sidebyside diff --git a/libs/gtkutil/image.h b/libs/gtkutil/image.h index 6a8d419b..6604df2e 100644 --- a/libs/gtkutil/image.h +++ b/libs/gtkutil/image.h @@ -24,14 +24,17 @@ #if !defined( INCLUDED_GTKUTIL_IMAGE_H ) #define INCLUDED_GTKUTIL_IMAGE_H -void BitmapsPath_set( const char* path ); +void BitmapsPath_set(const char *path); typedef struct _GdkPixbuf GdkPixbuf; -GdkPixbuf* pixbuf_new_from_file_with_mask( const char* filename ); -ui::Image image_new_from_file_with_mask( const char* filename ); +GdkPixbuf *pixbuf_new_from_file_with_mask(const char *filename); + +ui::Image image_new_from_file_with_mask(const char *filename); + ui::Image image_new_missing(); -ui::Image new_image( const char* filename ); // filename is full path to image file -ui::Image new_local_image( const char* filename ); // filename is relative to local bitmaps path + +ui::Image new_image(const char *filename); // filename is full path to image file +ui::Image new_local_image(const char *filename); // filename is relative to local bitmaps path #endif