Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

NETIcon Struct Reference

#include <netwm_def.h>

List of all members.

Public Methods

 NETIcon ()

Public Attributes

NETSize size
unsigned char * data


Detailed Description

Simple icon class for NET classes.

This class is a convenience class defining an icon of size width by height. The existence of this class is to keep the implementation from being dependant on a separate framework/library.

NETIcon is only used by the NET API. Usually QIcon is the appropriate class for representing an icon.

Definition at line 120 of file netwm_def.h.


Constructor & Destructor Documentation

NETIcon::NETIcon   [inline]
 

Constructor to initialize this icon to 0x0 with data=0

Definition at line 124 of file netwm_def.h.

References data.


Member Data Documentation

unsigned char* NETIcon::data
 

Image data for the icon. This is an array of 32bit packed CARDINAL ARGB with high byte being A, low byte being B. First two bytes are width, height. Data is in rows, left to right and top to bottom.

Definition at line 138 of file netwm_def.h.

Referenced by NETIcon().

NETSize NETIcon::size
 

Size of the icon.

See also:
NETSize

Definition at line 131 of file netwm_def.h.


The documentation for this struct was generated from the following file:
Generated on Wed Aug 13 23:30:29 2003 for kdelibs by doxygen1.2.18