Source: /app/hbasic/hbasic/hbdata/hbicon.h


Annotated List
Files
Globals
Hierarchy
Index

#ifndef HBICON_H
#define HBICON_H

class QImage;

#include 
#include 

#include "hbobject.h"

/* --------------------------------- */
/* Define structures to store icons. */

class HBIcon : public QObject, public HBObject
{
public:
	HBIcon( char *name );
	~HBIcon( void );

	short pic_type;      /* -1 none / 0 filename / 1 pointer pic_data */
	char *pic_data;      /* picture image data. */
	long pic_length;     /* length of picture data. */
	char *runtime_desc;  /* runtime description of picture. */

	void createImage( char *data );
	void loadIcon( char *path );
	void storeIcon( QImage *new_image );

	/* Create QPixmap from icon data */
	QPixmap createPixmap( void );
};

#endif


Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54.