mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-25 02:41:22 +00:00
caabb8dceb
* NOTE: Not included in the build chain - doesn't link * NOTE: iepair.h is not used at the moment git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@225 8a3a26a2-13c4-0310-b231-cf6edde360e5
28 lines
913 B
C++
28 lines
913 B
C++
// PixMap.h: interface for the CPixMap class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_PIXMAP_H__5B978BDF_7DD1_4BA7_91B5_CCD49AA304AC__INCLUDED_)
|
|
#define AFX_PIXMAP_H__5B978BDF_7DD1_4BA7_91B5_CCD49AA304AC__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "stdafx.h"
|
|
|
|
class CPixMap
|
|
{
|
|
public:
|
|
CPixMap();
|
|
virtual ~CPixMap();
|
|
|
|
static void load_pixmap (const char* filename, GdkPixmap **gdkpixmap, GdkBitmap **mask);
|
|
static void bmp_to_pixmap (const char* filename, GdkPixmap **pixmap, GdkBitmap **mask);
|
|
static unsigned char *load_bitmap_file (const char* filename, guint16* width, guint16* height);
|
|
static GtkWidget *new_pixmap (GtkWidget* parent, char* filename);
|
|
static GtkWidget* pixmap_from_char(GtkWidget *widget, gchar **xpm_data);
|
|
|
|
};
|
|
|
|
#endif // !defined(AFX_PIXMAP_H__5B978BDF_7DD1_4BA7_91B5_CCD49AA304AC__INCLUDED_)
|