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
}
22 typedef wxString wxArtClient
23 typedef wxString wxArtID
27 \latexignore{\rtfignore{\wxheading{Members
}}}
29 \membersection{wxArtProvider::CleanUpProviders
}\label{wxartprovidercleanupproviders
}
31 \func{void
}{CleanUpProviders
}{\void}
33 Destroy caches and all providers.
35 \membersection{wxArtProvider::CreateBitmap
}\label{wxartprovidercreatebitmap
}
37 \func{wxBitmap
}{CreateBitmap
}{\param{const wxArtID\&
}{WXUNUSED(id)
},
\param{const wxArtClient\&
}{WXUNUSED(client)
},
\param{const wxSize\&
}{WXUNUSED(size)
}}
39 Derived classes must override this method to create requested
40 art resource. This method is called only once per instance's
41 lifetime for each requested wxArtID.
43 \membersection{wxArtProvider::GetBitmap
}\label{wxartprovidergetbitmap
}
45 \func{wxBitmap
}{GetBitmap
}{\param{const wxArtID\&
}{id
},
\param{const wxArtClient\&
}{client = wxART
\_OTHER},
\param{const wxSize\&
}{size = wxDefaultSize
}}
47 Query the providers for bitmap with given ID and return it. Return
48 wxNullBitmap if no provider provides it.
50 \membersection{wxArtProvider::GetIcon
}\label{wxartprovidergeticon
}
52 \func{wxIcon
}{GetIcon
}{\param{const wxArtID\&
}{id
},
\param{const wxArtClient\&
}{client = wxART
\_OTHER},
\param{const wxSize\&
}{size = wxDefaultSize
}}
54 Query the providers for icon with given ID and return it. Return
55 wxNullIcon if no provider provides it.
57 \membersection{wxArtProvider::PopProvider
}\label{wxartproviderpopprovider
}
59 \func{bool
}{PopProvider
}{\void}
61 Remove latest added provider and delete it.
63 \membersection{wxArtProvider::PushProvider
}\label{wxartproviderpushprovider
}
65 \func{void
}{PushProvider
}{\param{wxArtProvider*
}{provider
}}
67 Add new provider to the top of providers stack.
69 \membersection{wxArtProvider::RemoveProvider
}\label{wxartproviderremoveprovider
}
71 \func{bool
}{RemoveProvider
}{\param{wxArtProvider*
}{provider
}}
73 Remove provider. The provider must have been added previously.
74 The provider is
{\it not
} deleted.