]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/artprov.tex
compilation fix after TRUE/FALSE change
[wxWidgets.git] / docs / latex / wx / artprov.tex
... / ...
CommitLineData
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
20{\small \begin{verbatim}
21typedef wxString wxArtClient
22typedef wxString wxArtID
23\end{verbatim}}
24
25\latexignore{\rtfignore{\wxheading{Members}}}
26
27\membersection{wxArtProvider::CleanUpProviders}\label{wxartprovidercleanupproviders}
28
29\func{void}{CleanUpProviders}{\void}
30
31Destroy caches and all providers.
32
33\membersection{wxArtProvider::CreateBitmap}\label{wxartprovidercreatebitmap}
34
35\func{wxBitmap}{CreateBitmap}{\param{const wxArtID\& }{WXUNUSED(id)}, \param{const wxArtClient\& }{WXUNUSED(client)}, \param{const wxSize\& }{WXUNUSED(size)}}
36
37Derived classes must override this method to create requested
38art resource. This method is called only once per instance's
39lifetime for each requested wxArtID.
40
41\membersection{wxArtProvider::GetBitmap}\label{wxartprovidergetbitmap}
42
43\func{wxBitmap}{GetBitmap}{\param{const wxArtID\& }{id}, \param{const wxArtClient\& }{client = wxART\_OTHER}, \param{const wxSize\& }{size = wxDefaultSize}}
44
45Query the providers for bitmap with given ID and return it. Return
46wxNullBitmap if no provider provides it.
47
48\membersection{wxArtProvider::GetIcon}\label{wxartprovidergeticon}
49
50\func{wxIcon}{GetIcon}{\param{const wxArtID\& }{id}, \param{const wxArtClient\& }{client = wxART\_OTHER}, \param{const wxSize\& }{size = wxDefaultSize}}
51
52Query the providers for icon with given ID and return it. Return
53wxNullIcon if no provider provides it.
54
55\membersection{wxArtProvider::PopProvider}\label{wxartproviderpopprovider}
56
57\func{bool}{PopProvider}{\void}
58
59Remove latest added provider and delete it.
60
61\membersection{wxArtProvider::PushProvider}\label{wxartproviderpushprovider}
62
63\func{void}{PushProvider}{\param{wxArtProvider* }{provider}}
64
65Add new provider to the top of providers stack.
66
67\membersection{wxArtProvider::RemoveProvider}\label{wxartproviderremoveprovider}
68
69\func{bool}{RemoveProvider}{\param{wxArtProvider* }{provider}}
70
71Remove provider. The provider must have been added previously.
72The provider is {\it not} deleted.
73