File: pixmap.h

package info (click to toggle)
littlewizard 1.2.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,436 kB
  • sloc: sh: 9,389; cpp: 7,685; xml: 420; makefile: 380; awk: 40; ansic: 38
file content (32 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* (C) Marcin Kwadrans <quarter@users.sourceforge.net> */

/*! \file pixmap.h 
	\brief Obsługa ikon
*/

#ifndef __LW_PIXMAP_H
#define __LW_PIXMAP_H

#include <libxml/tree.h>

#define ICON_XSIZE 40
#define ICON_YSIZE 40

/*! \class LWPixmap
	\brief Klasa reprezentująca ikonę

	Klasa zarządzająca pojedynczą ikoną.
*/
class LWPixmap {
private:
gchar *name;
GdkPixbuf *pixbuf;
public:	
LWPixmap ();
~LWPixmap ();
LWPixmap (const LWPixmap *pixmap);
void restoreFromXML (xmlNode *node);
GdkPixbuf *getPixbuf ();
gchar *getName ();
};
#endif