These icons will be used in the upcoming new implementation of the print
preview frame and as they are also natively supported by GTK+ it makes sense
to have support for them in wx itself.
Notice that the existing bookmark add/remove icons are already mapped to the
icons which look like plus and minus signs respectively in wxGTK but we need
plus/minus in print preview in the other ports too so add these icons under
explicit names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66504
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
--- /dev/null
+/* XPM */
+static const char *const first_xpm[] = {
+"16 16 3 1",
+" c None",
+". c Black",
+"X c Gray100",
+" ",
+" ",
+"... . ",
+"... .. ",
+"... .X. ",
+"... .XX........ ",
+"....XXXXXXXXXX. ",
+"...XXXXXXXXXXX. ",
+"...XXXXXXXXXXX. ",
+"....XXXXXXXXXX. ",
+"... .XX........ ",
+"... .X. ",
+"... .. ",
+"... . ",
+" ",
+" "};
--- /dev/null
+/* XPM */
+static const char *const last_xpm[] = {
+"16 16 3 1",
+" c None",
+". c Black",
+"X c Gray100",
+" ",
+" ",
+" . ...",
+" .. ...",
+" .X. ...",
+" ........XX. ...",
+" .XXXXXXXXXX....",
+" .XXXXXXXXXXX...",
+" .XXXXXXXXXXX...",
+" .XXXXXXXXXX....",
+" ........XX. ...",
+" .X. ...",
+" .. ...",
+" . ...",
+" ",
+" "};
--- /dev/null
+/* XPM */
+static const char *const minus_xpm[] = {
+"16 16 3 1",
+" c None",
+". c Black",
+"X c Gray100",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" .............. ",
+" .XXXXXXXXXXXX. ",
+" .XXXXXXXXXXXX. ",
+" .............. ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" "};
--- /dev/null
+/* XPM */
+static const char *const plus_xpm[] = {
+"16 16 3 1",
+" c None",
+". c Black",
+"X c Gray100",
+" ",
+" ",
+" .... ",
+" .XX. ",
+" .XX. ",
+" .XX. ",
+" ......XX...... ",
+" .XXXXXXXXXXXX. ",
+" .XXXXXXXXXXXX. ",
+" ......XX...... ",
+" .XX. ",
+" .XX. ",
+" .XX. ",
+" .... ",
+" ",
+" "};
#define wxART_GO_DOWN wxART_MAKE_ART_ID(wxART_GO_DOWN)
#define wxART_GO_TO_PARENT wxART_MAKE_ART_ID(wxART_GO_TO_PARENT)
#define wxART_GO_HOME wxART_MAKE_ART_ID(wxART_GO_HOME)
+#define wxART_GOTO_FIRST wxART_MAKE_ART_ID(wxART_GOTO_FIRST)
+#define wxART_GOTO_LAST wxART_MAKE_ART_ID(wxART_GOTO_LAST)
#define wxART_FILE_OPEN wxART_MAKE_ART_ID(wxART_FILE_OPEN)
#define wxART_FILE_SAVE wxART_MAKE_ART_ID(wxART_FILE_SAVE)
#define wxART_FILE_SAVE_AS wxART_MAKE_ART_ID(wxART_FILE_SAVE_AS)
#define wxART_UNDO wxART_MAKE_ART_ID(wxART_UNDO)
#define wxART_REDO wxART_MAKE_ART_ID(wxART_REDO)
+#define wxART_PLUS wxART_MAKE_ART_ID(wxART_PLUS)
+#define wxART_MINUS wxART_MAKE_ART_ID(wxART_MINUS)
+
#define wxART_CLOSE wxART_MAKE_ART_ID(wxART_CLOSE)
#define wxART_QUIT wxART_MAKE_ART_ID(wxART_QUIT)
@li wxART_GO_BACK
@li wxART_GO_FORWARD
@li wxART_GO_UP
- </td><td>
@li wxART_GO_DOWN
@li wxART_GO_TO_PARENT
@li wxART_GO_HOME
+ @li wxART_GOTO_FIRST (since 2.9.2)
+ </td><td>
+ @li wxART_GOTO_LAST (since 2.9.2)
@li wxART_PRINT
@li wxART_HELP
@li wxART_TIP
@li wxART_NORMAL_FILE
@li wxART_TICK_MARK
@li wxART_CROSS_MARK
- </td><td>
@li wxART_MISSING_IMAGE
@li wxART_NEW
@li wxART_FILE_OPEN
@li wxART_FILE_SAVE
+ </td><td>
@li wxART_FILE_SAVE_AS
@li wxART_DELETE
@li wxART_COPY
@li wxART_PASTE
@li wxART_UNDO
@li wxART_REDO
+ @li wxART_PLUS (since 2.9.2)
+ @li wxART_MINUS (since 2.9.2)
@li wxART_CLOSE
@li wxART_QUIT
@li wxART_FIND
ART_ICON(wxART_GO_DOWN)
ART_ICON(wxART_GO_TO_PARENT)
ART_ICON(wxART_GO_HOME)
+ ART_ICON(wxART_GOTO_FIRST)
+ ART_ICON(wxART_GOTO_LAST)
ART_ICON(wxART_PRINT)
ART_ICON(wxART_HELP)
ART_ICON(wxART_TIP)
ART_ICON(wxART_PASTE)
ART_ICON(wxART_UNDO)
ART_ICON(wxART_REDO)
+ ART_ICON(wxART_PLUS)
+ ART_ICON(wxART_MINUS)
ART_ICON(wxART_QUIT)
ART_ICON(wxART_FIND)
ART_ICON(wxART_FIND_AND_REPLACE)
#include "../../art/helpicon.xpm"
#include "../../art/tipicon.xpm"
#include "../../art/home.xpm"
+#include "../../art/first.xpm"
+#include "../../art/last.xpm"
#include "../../art/repview.xpm"
#include "../../art/listview.xpm"
#include "../../art/new_dir.xpm"
#include "../../art/new.xpm"
#include "../../art/undo.xpm"
#include "../../art/redo.xpm"
+#include "../../art/plus.xpm"
+#include "../../art/minus.xpm"
#include "../../art/close.xpm"
#include "../../art/quit.xpm"
#include "../../art/find.xpm"
ART(wxART_GO_DOWN, down)
ART(wxART_GO_TO_PARENT, toparent)
ART(wxART_GO_HOME, home)
+ ART(wxART_GOTO_FIRST, first)
+ ART(wxART_GOTO_LAST, last)
ART(wxART_FILE_OPEN, fileopen)
ART(wxART_PRINT, print)
ART(wxART_HELP, helpicon)
ART(wxART_DELETE, delete)
ART(wxART_UNDO, undo)
ART(wxART_REDO, redo)
+ ART(wxART_PLUS, plus)
+ ART(wxART_MINUS, minus)
ART(wxART_CLOSE, close)
ART(wxART_QUIT, quit)
ART(wxART_FIND, find)
ART(wxART_GO_DOWN, GTK_STOCK_GO_DOWN)
ART(wxART_GO_TO_PARENT, GTK_STOCK_GO_UP)
ART(wxART_GO_HOME, GTK_STOCK_HOME)
+ ART(wxART_GOTO_FIRST, GTK_STOCK_GOTO_FIRST)
+ ART(wxART_GOTO_LAST, GTK_STOCK_GOTO_LAST)
ART(wxART_FILE_OPEN, GTK_STOCK_OPEN)
ART(wxART_PRINT, GTK_STOCK_PRINT)
ART(wxART_HELP, GTK_STOCK_HELP)
ART(wxART_UNDO, GTK_STOCK_UNDO)
ART(wxART_REDO, GTK_STOCK_REDO)
+ ART(wxART_PLUS, GTK_STOCK_ADD)
+ ART(wxART_MINUS, GTK_STOCK_REMOVE)
+
ART(wxART_CLOSE, GTK_STOCK_CLOSE)
ART(wxART_QUIT, GTK_STOCK_QUIT)