\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=45pt]{structNETIcon__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf NETIcon} ()
\end{CompactItemize}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
{\bf NETSize} {\bf size}
\item 
unsigned char $\ast$ {\bf data}
\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 122 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 126 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 133 of file netwm\_\-def.h.

Referenced by NETWin\-Info::event(), NETWin\-Info::icon(), and NETWin\-Info::set\-Icon().\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 140 of file netwm\_\-def.h.

Referenced by NETWin\-Info::icon(), NETIcon(), and NETWin\-Info::set\-Icon().

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