KWindowSystem

#include <netwm_def.h>

Public Member Functions

 NETIcon ()
 

Public Attributes

unsigned char * data
 
NETSize size
 

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 dependent 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 147 of file netwm_def.h.

Constructor & Destructor Documentation

◆ NETIcon()

NETIcon::NETIcon ( )
inline

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

Definition at line 151 of file netwm_def.h.

Member Data Documentation

◆ data

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 168 of file netwm_def.h.

◆ size

NETSize NETIcon::size

Size of the icon.

See also
NETSize

Definition at line 161 of file netwm_def.h.


The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:53:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.