]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/pk3man/pixmap.h
* added pk3man and fixed it to compile for latest radiant
[xonotic/netradiant.git] / contrib / pk3man / pixmap.h
1 // PixMap.h: interface for the CPixMap class.
2 //
3 //////////////////////////////////////////////////////////////////////
4
5 #if !defined(AFX_PIXMAP_H__5B978BDF_7DD1_4BA7_91B5_CCD49AA304AC__INCLUDED_)
6 #define AFX_PIXMAP_H__5B978BDF_7DD1_4BA7_91B5_CCD49AA304AC__INCLUDED_
7
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11
12 #include "stdafx.h"
13
14 class CPixMap  
15 {
16 public:
17         CPixMap();
18         virtual ~CPixMap();
19
20         static void load_pixmap (const char* filename, GdkPixmap **gdkpixmap, GdkBitmap **mask);
21         static void bmp_to_pixmap (const char* filename, GdkPixmap **pixmap, GdkBitmap **mask);
22         static unsigned char *load_bitmap_file (const char* filename, guint16* width, guint16* height);
23         static GtkWidget *new_pixmap (GtkWidget* parent, char* filename);
24         static GtkWidget* pixmap_from_char(GtkWidget *widget, gchar **xpm_data);
25
26 };
27
28 #endif // !defined(AFX_PIXMAP_H__5B978BDF_7DD1_4BA7_91B5_CCD49AA304AC__INCLUDED_)