X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/527343602e91d60c65fb7589a6ddcf4683930c78..5595181f48d45d2c277c7d40a4d24bea42d6847b:/docs/latex/wx/iconbndl.tex diff --git a/docs/latex/wx/iconbndl.tex b/docs/latex/wx/iconbndl.tex index e76082bb04..a58e3722e6 100644 --- a/docs/latex/wx/iconbndl.tex +++ b/docs/latex/wx/iconbndl.tex @@ -9,12 +9,21 @@ see also \helpref{wxDialog::SetIcons}{wxdialogseticons} and \helpref{wxGDIObject}{wxgdiobject}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Predefined objects} {\bf wxNullIconBundle} \latexignore{\rtfignore{\wxheading{Members}}} + \membersection{wxIconBundle::wxIconBundle}\label{wxiconbundlewxiconbundle} \func{}{wxIconBundle}{\void} @@ -33,12 +42,14 @@ Initializes the bundle with a single icon. Copy constructor. + \membersection{wxIconBundle::\destruct{wxIconBundle}}\label{wxiconbundledtor} \func{}{\destruct{wxIconBundle}}{\void} Destructor. + \membersection{wxIconBundle::AddIcon}\label{wxiconbundleaddicon} \func{void}{AddIcon}{\param{const wxString\& }{file}, \param{long }{type}} @@ -53,6 +64,7 @@ Adds the icon to the collection; if the collection already contains an icon with the same width and height, it is replaced by the new one. + \membersection{wxIconBundle::GetIcon}\label{wxiconbundlegeticon} \constfunc{wxIcon}{GetIcon}{\param{const wxSize\& }{size}} @@ -67,18 +79,38 @@ returns the icon with size wxSYS\_ICON\_X/wxSYS\_ICON\_Y. Same as GetIcon( wxSize( size, size ) ). + +\membersection{wxIconBundle::GetIconOfExactSize}\label{wxiconbundlegeticonofexactsize} + +\constfunc{wxIcon}{GetIconOfExactSize}{\param{const wxSize\& }{size}} + +Returns the icon with exactly the given size or \texttt{wxNullIcon} if this +size is not available. + + +\membersection{wxIconBundle::IsEmpty}\label{wxiconbundleisempty} + +\constfunc{bool}{IsEmpty}{\void} + +Returns \true if the bundle doesn't contain any icons, \false otherwise (in +which case a call to \helpref{GetIcon()}{wxiconbundlegeticon} with default +parameter should return a valid icon). + + \membersection{wxIconBundle::operator $=$}\label{wxiconbundleoperatorassign} \func{wxIconBundle\&}{operator $=$}{\param{const wxIconBundle\& }{ic}} Assignment operator, using \helpref{reference counting}{trefcount}. + \membersection{wxIconBundle::operator $==$}\label{wxiconbundleoperatorequals} \func{bool}{operator $==$}{\param{const wxIconBundle\& }{ic}} Equality operator. This returns \true if two icon bundles are equal. + \membersection{wxIconBundle::operator $!=$}\label{wxiconbundleoperatornotequals} \func{bool}{operator $!=$}{\param{const wxIconBundle\& }{ic}}