Smaller icons for windows/linux

This commit is contained in:
Tim Warren 2015-04-15 15:02:05 -04:00
parent a881dc7bfb
commit 9899e989e2
8 changed files with 290 additions and 0 deletions

View File

@ -0,0 +1,40 @@
/* XPM */
const static char *clipboard[] = {
/* columns rows colors chars-per-pixel */
"32 32 2 1 ",
" c #010101",
". c None",
/* pixels */
"................................",
".............. ..............",
"............. .. .............",
"............ .... ............",
"..... .. .. .....",
"..... ...... .. .. ...... .....",
"..... ..... ...... ..... .....",
"..... .. .......... .. .....",
"..... . ................ . .....",
"..... . ................ . .....",
"..... . . .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .............. .. .....",
"..... .. .. .....",
"..... .................... .....",
"..... .................... .....",
"..... .................... .....",
"..... .....",
"................................"
};

View File

@ -0,0 +1,40 @@
/* XPM */
const static char *close[] = {
/* columns rows colors chars-per-pixel */
"32 32 2 1 ",
" c black",
". c None",
/* pixels */
"................................",
"................................",
"................................",
"............ ............",
".......... ...... ..........",
"........ .......... ........",
"....... .............. .......",
"...... ................ ......",
"..... .................. .....",
"..... ... ............ ... .....",
".... ..... .......... ..... ....",
".... ...... ........ ...... ....",
"... ....... ...... ....... ...",
"... ......... .... ......... ...",
"... .......... .. .......... ...",
"... ........... ........... ...",
"... ........... ........... ...",
"... .......... .. .......... ...",
"... ......... .... ......... ...",
"... ....... ...... ....... ...",
".... ...... ........ ...... ....",
".... ..... .......... ..... ....",
"..... ... ............ ... .....",
"..... .................. .....",
"...... ................ ......",
"....... .............. .......",
"........ .......... ........",
".......... ...... ..........",
"............ ............",
"................................",
"................................",
"................................"
};

View File

@ -0,0 +1,40 @@
/* XPM */
const static char *copy[] = {
/* columns rows colors chars-per-pixel */
"32 32 2 1 ",
" c #010101",
". c None",
/* pixels */
"................................",
".......... ...........",
".......... ......... ..........",
".......... ......... .........",
".......... ......... . ........",
".......... ......... .. .......",
".......... ......... ... ......",
".... ..... .... .....",
".... ......... .... ....",
".... ......... .......... ....",
".... ......... . ......... ....",
".... ......... .. ........ ....",
".... ......... ... ....... ....",
".... ......... .... ...... ....",
".... ......... ..... ....",
".... ................ ..... ....",
".... ................ ..... ....",
".... ................ ..... ....",
".... ................ ..... ....",
".... ................ ..... ....",
".... ................ ..... ....",
".... ................ ..... ....",
".... ................ ..... ....",
".... ................ ..... ....",
".... ................ ....",
".... ................ ..........",
".... ................ ..........",
".... ................ ..........",
".... ................ ..........",
".... ................ ..........",
".... ..........",
"................................"
};

View File

@ -0,0 +1,40 @@
/* XPM */
const static char *diskette[] = {
/* columns rows colors chars-per-pixel */
"32 32 2 1 ",
" c #010101",
". c None",
/* pixels */
"................................",
"................................",
"................................",
"................................",
".... .......",
".... ...... ......... ... ......",
".... ...... ...... . .... .....",
".... ...... ...... . ..... ....",
".... ...... ...... . ..... ....",
".... ...... ...... . ..... ....",
".... ...... ...... . ..... ....",
".... ...... ......... ..... ....",
".... ...... ..... ....",
".... ...................... ....",
".... ...................... ....",
".... ...................... ....",
".... ... ... ....",
".... ... .............. ... ....",
".... ... .............. ... ....",
".... ... .............. ... ....",
".... ... .............. ... ....",
".... ... .............. ... ....",
".... ... .............. ... ....",
".... ... .............. ... ....",
".... ... .............. ... ....",
".... ... .............. ... ....",
".... ... .............. ... ....",
".... ....",
"................................",
"................................",
"................................",
"................................"
};

View File

@ -0,0 +1,40 @@
/* XPM */
const static char *file_add[] = {
/* columns rows colors chars-per-pixel */
"32 32 2 1 ",
" c #010101",
". c None",
/* pixels */
"................................",
"................................",
"...... .............",
"...... ........... ............",
"...... ........... ...........",
"...... ........... . ..........",
"...... ........... .. .........",
"...... ........... ... ........",
"...... ........... .... .......",
"...... ........... ......",
"...... .................. ......",
"...... .................. ......",
"...... .................. ......",
"...... ........ ......... ......",
"...... ........ ......... ......",
"...... ........ ......... ......",
"...... ..... ...... ......",
"...... ........ ......... ......",
"...... ........ ......... ......",
"...... ........ ......... ......",
"...... .................. ......",
"...... .................. ......",
"...... .................. ......",
"...... .................. ......",
"...... .................. ......",
"...... .................. ......",
"...... .................. ......",
"...... .................. ......",
"...... .................. ......",
"...... ......",
"................................",
"................................"
};

View File

@ -0,0 +1,40 @@
/* XPM */
const static char *folder[] = {
/* columns rows colors chars-per-pixel */
"32 32 2 1 ",
" c #010101",
". c None",
/* pixels */
"................................",
"................................",
"................................",
"................................",
"... .....................",
".. ...... .....................",
".. ....... ....................",
".. ........ ......",
".. ..................... .....",
".. ..................... .....",
".. ..... ..",
".. ... .",
".. ... ...................... .",
".. ... ...................... .",
".. .. ..................... .",
".. .. ...................... ..",
".. .. ...................... ..",
".. .. ...................... ..",
".. . ..................... ..",
".. . ...................... ...",
".. . ...................... ...",
".. . ...................... ...",
".. . ...................... ...",
".. ...................... ...",
".. ...................... ....",
".. ...................... ....",
"... .....",
"................................",
"................................",
"................................",
"................................",
"................................"
};

View File

@ -0,0 +1,40 @@
/* XPM */
const static char *scissors[] = {
/* columns rows colors chars-per-pixel */
"32 32 2 1 ",
" c #010101",
". c None",
/* pixels */
"................................",
"................................",
"......... ....................",
"........ ... ...................",
"....... ..... ..................",
"....... ..... ..................",
"....... ..... ..................",
"........ ... ..................",
"......... . ........ ......",
"............. ....... ... ....",
"............. ...... ..... ....",
"............. ..... ..... ....",
"............. ... . .... ....",
"............. ... .....",
"............ ... ..... .......",
"........... ... ...............",
".......... .. ...............",
"......... .. . ...............",
"........ .. .. ...............",
"....... .. .. ...............",
"....... .. . .. ...............",
"...... .. .. .. ...............",
"...... . ... .. ...............",
"..... . .... . ...............",
"..... ..... . ...............",
"..... ...... . ................",
"............. . ................",
"............. .................",
"............. .................",
"................................",
"................................",
"................................"
};

View File

@ -48,6 +48,7 @@ void MainFrame::SetupStatusBar()
void MainFrame::SetupToolbar()
{
// Icon files
#ifdef __WXMAC__
#include "../../resources/xpm/file_add.xpm"
#include "../../resources/xpm/folder.xpm"
#include "../../resources/xpm/diskette.xpm"
@ -55,6 +56,15 @@ void MainFrame::SetupToolbar()
#include "../../resources/xpm/copy.xpm"
#include "../../resources/xpm/scissors.xpm"
#include "../../resources/xpm/clipboard.xpm"
#else
#include "../../resources/xpm/small/file_add.xpm"
#include "../../resources/xpm/small/folder.xpm"
#include "../../resources/xpm/small/diskette.xpm"
#include "../../resources/xpm/small/close.xpm"
#include "../../resources/xpm/small/copy.xpm"
#include "../../resources/xpm/small/scissors.xpm"
#include "../../resources/xpm/small/clipboard.xpm"
#endif
CreateToolBar(wxNO_BORDER | wxTB_FLAT | wxTB_HORIZONTAL);