]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/artprov.tex
Fixes for documentation compilation
[wxWidgets.git] / docs / latex / wx / artprov.tex
CommitLineData
f4fcc291
JS
1%
2% automatically generated by HelpGen $Revision$ from
3% artprov.h at 08/Apr/02 17:44:57
4%
5
6\section{\class{wxArtProvider}}\label{wxartprovider}
7
8wxArtProvider class.
9
10\wxheading{Derived from}
11
12\helpref{wxObject}{wxobject}
13
14\wxheading{Include files}
15
16<wx/artprov.h>
17
18\wxheading{Data structures}
19
d1853d47
GT
20{\small
21\begin{verbatim}
f4fcc291
JS
22typedef wxString wxArtClient
23typedef wxString wxArtID
d1853d47
GT
24\end{verbatim}
25}
f4fcc291
JS
26
27\latexignore{\rtfignore{\wxheading{Members}}}
28
29\membersection{wxArtProvider::CleanUpProviders}\label{wxartprovidercleanupproviders}
30
31\func{void}{CleanUpProviders}{\void}
32
33Destroy caches and all providers.
34
35\membersection{wxArtProvider::CreateBitmap}\label{wxartprovidercreatebitmap}
36
37\func{wxBitmap}{CreateBitmap}{\param{const wxArtID\& }{WXUNUSED(id)}, \param{const wxArtClient\& }{WXUNUSED(client)}, \param{const wxSize\& }{WXUNUSED(size)}}
38
39Derived classes must override this method to create requested
40art resource. This method is called only once per instance's
41lifetime for each requested wxArtID.
42
43\membersection{wxArtProvider::GetBitmap}\label{wxartprovidergetbitmap}
44
45\func{wxBitmap}{GetBitmap}{\param{const wxArtID\& }{id}, \param{const wxArtClient\& }{client = wxART\_OTHER}, \param{const wxSize\& }{size = wxDefaultSize}}
46
47Query the providers for bitmap with given ID and return it. Return
48wxNullBitmap if no provider provides it.
49
50\membersection{wxArtProvider::GetIcon}\label{wxartprovidergeticon}
51
52\func{wxIcon}{GetIcon}{\param{const wxArtID\& }{id}, \param{const wxArtClient\& }{client = wxART\_OTHER}, \param{const wxSize\& }{size = wxDefaultSize}}
53
54Query the providers for icon with given ID and return it. Return
55wxNullIcon if no provider provides it.
56
57\membersection{wxArtProvider::PopProvider}\label{wxartproviderpopprovider}
58
59\func{bool}{PopProvider}{\void}
60
61Remove latest added provider and delete it.
62
63\membersection{wxArtProvider::PushProvider}\label{wxartproviderpushprovider}
64
65\func{void}{PushProvider}{\param{wxArtProvider* }{provider}}
66
67Add new provider to the top of providers stack.
68
69\membersection{wxArtProvider::RemoveProvider}\label{wxartproviderremoveprovider}
70
71\func{bool}{RemoveProvider}{\param{wxArtProvider* }{provider}}
72
73Remove provider. The provider must have been added previously.
74The provider is {\it not} deleted.
75