2 % automatically generated by HelpGen $Revision$ from
3 % artprov.h at 08/Apr/02 17:44:57
6 \section{\class{wxArtProvider
}}\label{wxartprovider
}
10 \wxheading{Derived from
}
12 \helpref{wxObject
}{wxobject
}
14 \wxheading{Include files
}
18 \wxheading{Data structures
}
20 {\small \begin{verbatim
}
21 typedef wxString wxArtClient
22 typedef wxString wxArtID
25 \latexignore{\rtfignore{\wxheading{Members
}}}
27 \membersection{wxArtProvider::CleanUpProviders
}\label{wxartprovidercleanupproviders
}
29 \func{void
}{CleanUpProviders
}{\void}
31 Destroy caches and all providers.
33 \membersection{wxArtProvider::CreateBitmap
}\label{wxartprovidercreatebitmap
}
35 \func{wxBitmap
}{CreateBitmap
}{\param{const wxArtID\&
}{WXUNUSED(id)
},
\param{const wxArtClient\&
}{WXUNUSED(client)
},
\param{const wxSize\&
}{WXUNUSED(size)
}}
37 Derived classes must override this method to create requested
38 art resource. This method is called only once per instance's
39 lifetime for each requested wxArtID.
41 \membersection{wxArtProvider::GetBitmap
}\label{wxartprovidergetbitmap
}
43 \func{wxBitmap
}{GetBitmap
}{\param{const wxArtID\&
}{id
},
\param{const wxArtClient\&
}{client = wxART
\_OTHER},
\param{const wxSize\&
}{size = wxDefaultSize
}}
45 Query the providers for bitmap with given ID and return it. Return
46 wxNullBitmap if no provider provides it.
48 \membersection{wxArtProvider::GetIcon
}\label{wxartprovidergeticon
}
50 \func{wxIcon
}{GetIcon
}{\param{const wxArtID\&
}{id
},
\param{const wxArtClient\&
}{client = wxART
\_OTHER},
\param{const wxSize\&
}{size = wxDefaultSize
}}
52 Query the providers for icon with given ID and return it. Return
53 wxNullIcon if no provider provides it.
55 \membersection{wxArtProvider::PopProvider
}\label{wxartproviderpopprovider
}
57 \func{bool
}{PopProvider
}{\void}
59 Remove latest added provider and delete it.
61 \membersection{wxArtProvider::PushProvider
}\label{wxartproviderpushprovider
}
63 \func{void
}{PushProvider
}{\param{wxArtProvider*
}{provider
}}
65 Add new provider to the top of providers stack.
67 \membersection{wxArtProvider::RemoveProvider
}\label{wxartproviderremoveprovider
}
69 \func{bool
}{RemoveProvider
}{\param{wxArtProvider*
}{provider
}}
71 Remove provider. The provider must have been added previously.
72 The provider is
{\it not
} deleted.