X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a74a290a9fcfafd93fd1a23e6857ad60836cb9d..d2ae3af890800b7844df1673e6c9ae0e63b3dd68:/interface/wx/artprov.h diff --git a/interface/wx/artprov.h b/interface/wx/artprov.h index 0ab6d8cee6..3b4f092095 100644 --- a/interface/wx/artprov.h +++ b/interface/wx/artprov.h @@ -3,9 +3,20 @@ // Purpose: interface of wxArtProvider // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +/** + This type identifies the client of the art objects requested to wxArtProvider. +*/ +typedef class wxString wxArtClient; + +/** + This type identifies a specific art object which can be requested to wxArtProvider. +*/ +typedef class wxString wxArtID; + + /** @class wxArtProvider @@ -45,69 +56,70 @@ code and use platform native icons as provided by wxArtProvider::GetBitmap or wxArtProvider::GetIcon. - @todo IS THIS NB TRUE? - (@note this is not yet really possible as of wxWidgets 2.3.3, the set of wxArtProvider - bitmaps is too small). - @section artprovider_identify Identifying art resources Every bitmap and icon bundle are known to wxArtProvider under an unique ID that - is used when requesting a resource from it. The ID is represented by wxArtID type + is used when requesting a resource from it. The ID is represented by the ::wxArtID type and can have one of these predefined values (you can see bitmaps represented by these constants in the @ref page_samples_artprov):
- @li wxART_ERROR - @li wxART_QUESTION - @li wxART_WARNING - @li wxART_INFORMATION - @li wxART_ADD_BOOKMARK - @li wxART_DEL_BOOKMARK - @li wxART_HELP_SIDE_PANEL - @li wxART_HELP_SETTINGS - @li wxART_HELP_BOOK - @li wxART_HELP_FOLDER - @li wxART_HELP_PAGE - @li wxART_GO_BACK - @li wxART_GO_FORWARD - @li wxART_GO_UP - | - @li wxART_GO_DOWN - @li wxART_GO_TO_PARENT - @li wxART_GO_HOME - @li wxART_PRINT - @li wxART_HELP - @li wxART_TIP - @li wxART_REPORT_VIEW - @li wxART_LIST_VIEW - @li wxART_NEW_DIR - @li wxART_FOLDER - @li wxART_FOLDER_OPEN - @li wxART_GO_DIR_UP - @li wxART_EXECUTABLE_FILE - @li wxART_NORMAL_FILE - @li wxART_TICK_MARK - @li wxART_CROSS_MARK - | - @li wxART_MISSING_IMAGE - @li wxART_NEW - @li wxART_FILE_OPEN - @li wxART_FILE_SAVE - @li wxART_FILE_SAVE_AS - @li wxART_DELETE - @li wxART_COPY - @li wxART_CUT - @li wxART_PASTE - @li wxART_UNDO - @li wxART_REDO - @li wxART_QUIT - @li wxART_FIND - @li wxART_FIND_AND_REPLACE - @li wxART_HARDDISK - @li wxART_FLOPPY - @li wxART_CDROM - @li wxART_REMOVABLE + @li @c wxART_ERROR + @li @c wxART_QUESTION + @li @c wxART_WARNING + @li @c wxART_INFORMATION + @li @c wxART_ADD_BOOKMARK + @li @c wxART_DEL_BOOKMARK + @li @c wxART_HELP_SIDE_PANEL + @li @c wxART_HELP_SETTINGS + @li @c wxART_HELP_BOOK + @li @c wxART_HELP_FOLDER + @li @c wxART_HELP_PAGE + @li @c wxART_GO_BACK + @li @c wxART_GO_FORWARD + @li @c wxART_GO_UP + @li @c wxART_GO_DOWN + @li @c wxART_GO_TO_PARENT + @li @c wxART_GO_HOME + @li @c wxART_GOTO_FIRST (since 2.9.2) + | + @li @c wxART_GOTO_LAST (since 2.9.2) + @li @c wxART_PRINT + @li @c wxART_HELP + @li @c wxART_TIP + @li @c wxART_REPORT_VIEW + @li @c wxART_LIST_VIEW + @li @c wxART_NEW_DIR + @li @c wxART_FOLDER + @li @c wxART_FOLDER_OPEN + @li @c wxART_GO_DIR_UP + @li @c wxART_EXECUTABLE_FILE + @li @c wxART_NORMAL_FILE + @li @c wxART_TICK_MARK + @li @c wxART_CROSS_MARK + @li @c wxART_MISSING_IMAGE + @li @c wxART_NEW + @li @c wxART_FILE_OPEN + @li @c wxART_FILE_SAVE + | + @li @c wxART_FILE_SAVE_AS + @li @c wxART_DELETE + @li @c wxART_COPY + @li @c wxART_CUT + @li @c wxART_PASTE + @li @c wxART_UNDO + @li @c wxART_REDO + @li @c wxART_PLUS (since 2.9.2) + @li @c wxART_MINUS (since 2.9.2) + @li @c wxART_CLOSE + @li @c wxART_QUIT + @li @c wxART_FIND + @li @c wxART_FIND_AND_REPLACE + @li @c wxART_HARDDISK + @li @c wxART_FLOPPY + @li @c wxART_CDROM + @li @c wxART_REMOVABLE |