X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5ab476a0f4107b37180e5edd25ac30f8eab1d3b..4179da8a81ee3110e2a8b5615e1a4f8c8b75a16b:/docs/latex/wx/artprov.tex diff --git a/docs/latex/wx/artprov.tex b/docs/latex/wx/artprov.tex index dcee2933da..109ae25880 100644 --- a/docs/latex/wx/artprov.tex +++ b/docs/latex/wx/artprov.tex @@ -35,7 +35,7 @@ platform native icons as provided by possible as of wxWidgets 2.3.3, the set of wxArtProvider bitmaps is too small). -\membersection{Identifying art resources} +\membersection{Identifying art resources}\label{artprovideridentifying} Every bitmap is known to wxArtProvider under an unique ID that is used by when requesting a resource from it. The ID is represented by wxArtID type and can @@ -89,7 +89,7 @@ by GTK+ follow the icons, so wxArtProvider may return {\tt wxNullBitmap} or {\tt wxNullIcon}. Default theme is typically installed in {\tt /usr/share/icons/hicolor}. -\membersection{Clients} +\membersection{Clients}\label{artproviderclients} Client is the entity that calls wxArtProvider's GetBitmap or GetIcon function. It is represented by wxClientID type and can have one of these @@ -132,7 +132,7 @@ See the \helpref{artprov}{sampleartprovider} sample for an example of wxArtProvi Derived art provider classes must override this method to create requested art resource. Note that returned bitmaps are cached by wxArtProvider and it is therefore -not neccessary to optimize CreateBitmap for speed (e.g. you may create wxBitmap objects +not necessary to optimize CreateBitmap for speed (e.g. you may create wxBitmap objects from XPMs here). \wxheading{Parameters} @@ -142,7 +142,7 @@ from XPMs here). \docparam{client}{wxArtClient identifier of the client (i.e. who is asking for the bitmap). This only servers as a hint.} -\docparam{size}{Prefered size of the bitmap. The function may return a bitmap of different +\docparam{size}{Preferred size of the bitmap. The function may return a bitmap of different dimensions, it will be automatically rescaled to meet client's request.} \wxheading{Note} @@ -177,7 +177,7 @@ The bitmap if one of registered providers recognizes the ID or wxNullBitmap othe Same as \helpref{wxArtProvider::GetBitmap}{wxartprovidergetbitmap}, but return a wxIcon object (or wxNullIcon on failure). -\membersection{wxArtProvider::PopProvider}\label{wxartproviderpopprovider} +\membersection{wxArtProvider::PopProvider}\label{wxartproviderctor} \func{static bool}{PopProvider}{\void}