\section{NETIcon Struct Reference}
\label{structNETIcon}\index{NETIcon@{NETIcon}}
Simple icon class for {\bf NET}{\rm (p.\,\pageref{classNET})} classes.  


{\tt \#include $<$netwm\_\-def.h$>$}

Collaboration diagram for NETIcon:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=46pt]{structNETIcon__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf NETIcon} ()
\begin{CompactList}\small\item\em Constructor to initialize this icon to 0x0 with data=0. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
{\bf NETSize} {\bf size}
\begin{CompactList}\small\item\em Size of the icon. \item\end{CompactList}\item 
unsigned char $\ast$ {\bf data}
\begin{CompactList}\small\item\em Image data for the icon. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Simple icon class for {\bf NET}{\rm (p.\,\pageref{classNET})} 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 {\bf NET}{\rm (p.\,\pageref{classNET})} API. Usually QIcon is the appropriate class for representing an icon. 



Definition at line 120 of file netwm\_\-def.h.

\subsection{Constructor \& Destructor Documentation}
\index{NETIcon@{NETIcon}!NETIcon@{NETIcon}}
\index{NETIcon@{NETIcon}!NETIcon@{NETIcon}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}NETIcon::NETIcon ()\hspace{0.3cm}{\tt  [inline]}}\label{structNETIcon_a0}


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



Definition at line 124 of file netwm\_\-def.h.

References data.

\subsection{Member Data Documentation}
\index{NETIcon@{NETIcon}!size@{size}}
\index{size@{size}!NETIcon@{NETIcon}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf NETSize} {\bf NETIcon::size}}\label{structNETIcon_o0}


Size of the icon. 

\begin{Desc}
\item[See also:]{\bf NETSize}{\rm (p.\,\pageref{structNETSize})} \end{Desc}


Definition at line 131 of file netwm\_\-def.h.

Referenced by KWin::icon(), and KWin::set\-Icons().\index{NETIcon@{NETIcon}!data@{data}}
\index{data@{data}!NETIcon@{NETIcon}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned char$\ast$ {\bf NETIcon::data}}\label{structNETIcon_o1}


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 KWin::icon(), NETIcon(), and KWin::set\-Icons().

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
netwm\_\-def.h\end{CompactItemize}
