mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-05 17:46:30 +02:00
Update ui icons
This commit is contained in:
parent
8b37da88aa
commit
43c94b509e
5 changed files with 79 additions and 4 deletions
|
@ -4379,6 +4379,49 @@ unsigned char cburnett_png[] = {
|
|||
0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
|
||||
};
|
||||
unsigned int cburnett_png_len = 47660;
|
||||
unsigned char ui_save_floppy_disk_png[] = {
|
||||
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
|
||||
0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18,
|
||||
0x08, 0x06, 0x00, 0x00, 0x00, 0xe0, 0x77, 0x3d, 0xf8, 0x00, 0x00, 0x00,
|
||||
0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0e, 0xc3, 0x00, 0x00, 0x0e,
|
||||
0xc3, 0x01, 0xc7, 0x6f, 0xa8, 0x64, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45,
|
||||
0x58, 0x74, 0x53, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x00, 0x77,
|
||||
0x77, 0x77, 0x2e, 0x69, 0x6e, 0x6b, 0x73, 0x63, 0x61, 0x70, 0x65, 0x2e,
|
||||
0x6f, 0x72, 0x67, 0x9b, 0xee, 0x3c, 0x1a, 0x00, 0x00, 0x01, 0x67, 0x49,
|
||||
0x44, 0x41, 0x54, 0x48, 0x89, 0xed, 0xd5, 0xb1, 0x4e, 0x14, 0x51, 0x14,
|
||||
0x06, 0xe0, 0xef, 0x18, 0x0a, 0x49, 0x30, 0x01, 0xa5, 0xd1, 0x12, 0x7a,
|
||||
0x28, 0x4d, 0xac, 0x04, 0xe3, 0x23, 0xc0, 0x23, 0x50, 0x0b, 0xbd, 0x21,
|
||||
0xea, 0x03, 0xec, 0x13, 0xd8, 0xaa, 0xef, 0x20, 0xba, 0x06, 0x2a, 0x4a,
|
||||
0xb5, 0xa1, 0x22, 0xa1, 0x00, 0x6d, 0x4c, 0x0c, 0x68, 0x42, 0x41, 0x72,
|
||||
0x28, 0x76, 0x86, 0xcc, 0x4e, 0x76, 0x66, 0x77, 0x8d, 0x63, 0xe5, 0x9f,
|
||||
0xdc, 0xe2, 0x9e, 0xff, 0xcc, 0x7f, 0xce, 0x7f, 0xcf, 0x9d, 0xdc, 0xc8,
|
||||
0x4c, 0x5d, 0xe2, 0x56, 0xa7, 0xea, 0x98, 0xa9, 0x6e, 0x22, 0x62, 0x0d,
|
||||
0x5b, 0x58, 0x2c, 0x42, 0x73, 0x58, 0xaa, 0xe7, 0x55, 0x70, 0x85, 0x2f,
|
||||
0x78, 0x9d, 0x99, 0xef, 0x46, 0x25, 0xdc, 0x38, 0x88, 0x88, 0x75, 0xec,
|
||||
0xe1, 0x51, 0x85, 0x5f, 0xc2, 0x42, 0x4b, 0x83, 0x0b, 0x78, 0x88, 0xb7,
|
||||
0x11, 0xd1, 0x1b, 0x99, 0x91, 0x99, 0x8a, 0x39, 0xbc, 0xc1, 0x09, 0x6e,
|
||||
0x57, 0x62, 0x7d, 0xf4, 0xcb, 0x7d, 0x7d, 0x95, 0x3c, 0x7a, 0x48, 0xf4,
|
||||
0xea, 0x39, 0x55, 0xeb, 0xf7, 0x71, 0x9c, 0x99, 0x97, 0x2d, 0x1d, 0x37,
|
||||
0x35, 0xb9, 0x1d, 0x11, 0xf0, 0x2c, 0x22, 0x64, 0xe6, 0x76, 0xc9, 0x35,
|
||||
0x9d, 0xed, 0xd4, 0xa8, 0x15, 0x39, 0x2c, 0x67, 0xf2, 0xb7, 0x6f, 0xd1,
|
||||
0x0e, 0x8e, 0xb0, 0x59, 0x06, 0xc6, 0x39, 0xf8, 0x81, 0xf5, 0x88, 0x78,
|
||||
0xdf, 0xc0, 0xaf, 0xe2, 0x63, 0xb9, 0xc9, 0xcc, 0x8c, 0x88, 0xef, 0x2a,
|
||||
0x17, 0x63, 0x5c, 0x81, 0x17, 0x06, 0xc3, 0x9b, 0x6f, 0xe0, 0xf7, 0xf0,
|
||||
0xaa, 0x4d, 0xa0, 0xb5, 0x40, 0x66, 0x7e, 0xc5, 0xc6, 0x98, 0x26, 0x5a,
|
||||
0xf1, 0x6f, 0xff, 0xe4, 0x12, 0x11, 0xb1, 0x82, 0xe7, 0x9a, 0x8f, 0xa6,
|
||||
0x8e, 0x9f, 0x78, 0x59, 0x38, 0x1e, 0x42, 0x93, 0x83, 0x5d, 0x3c, 0x99,
|
||||
0x50, 0x5c, 0x91, 0xbb, 0x3b, 0x8a, 0x68, 0x9a, 0xc1, 0x5d, 0x7c, 0xce,
|
||||
0xcc, 0xa7, 0x93, 0xa8, 0x47, 0x44, 0x1f, 0xf7, 0x46, 0x71, 0x9d, 0xcf,
|
||||
0xe0, 0x7f, 0x81, 0xa9, 0x0a, 0x7c, 0xc3, 0x72, 0x44, 0xcc, 0xfe, 0xa9,
|
||||
0x58, 0xf1, 0xed, 0x32, 0xce, 0x6e, 0x62, 0xe5, 0x9b, 0x1c, 0x11, 0x8f,
|
||||
0xf1, 0x01, 0xa7, 0x06, 0x2f, 0xd9, 0x1c, 0x2e, 0x26, 0xd4, 0xbe, 0x83,
|
||||
0x5f, 0xf8, 0x8d, 0x07, 0x58, 0xcb, 0xcc, 0xfd, 0x21, 0x07, 0x99, 0xf9,
|
||||
0xc9, 0xe0, 0x3e, 0x1f, 0xe0, 0x7c, 0x0a, 0x71, 0x45, 0xee, 0x39, 0xf6,
|
||||
0xab, 0xe2, 0x43, 0x0e, 0xba, 0x42, 0xe7, 0x43, 0xbe, 0x06, 0xe7, 0x3b,
|
||||
0x8d, 0x8e, 0x11, 0x3c, 0x08, 0x79, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45,
|
||||
0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
|
||||
};
|
||||
unsigned int ui_save_floppy_disk_png_len = 474;
|
||||
unsigned char ui_zoom_in_png[] = {
|
||||
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
|
||||
0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18,
|
||||
|
@ -4515,6 +4558,36 @@ unsigned char ui_zoom_out_png[] = {
|
|||
0x44, 0xae, 0x42, 0x60, 0x82
|
||||
};
|
||||
unsigned int ui_zoom_out_png_len = 545;
|
||||
unsigned char ui_copy_png[] = {
|
||||
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
|
||||
0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18,
|
||||
0x08, 0x06, 0x00, 0x00, 0x00, 0xe0, 0x77, 0x3d, 0xf8, 0x00, 0x00, 0x00,
|
||||
0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0e, 0xc3, 0x00, 0x00, 0x0e,
|
||||
0xc3, 0x01, 0xc7, 0x6f, 0xa8, 0x64, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45,
|
||||
0x58, 0x74, 0x53, 0x6f, 0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x00, 0x77,
|
||||
0x77, 0x77, 0x2e, 0x69, 0x6e, 0x6b, 0x73, 0x63, 0x61, 0x70, 0x65, 0x2e,
|
||||
0x6f, 0x72, 0x67, 0x9b, 0xee, 0x3c, 0x1a, 0x00, 0x00, 0x00, 0xc9, 0x49,
|
||||
0x44, 0x41, 0x54, 0x48, 0x89, 0xed, 0x95, 0xcb, 0x0d, 0xc2, 0x30, 0x10,
|
||||
0x44, 0xdf, 0xa2, 0x14, 0x00, 0xa4, 0x0f, 0x52, 0x03, 0x89, 0xe8, 0x00,
|
||||
0xca, 0xe1, 0x5f, 0x16, 0x08, 0x2a, 0xe0, 0x80, 0xe8, 0x02, 0x05, 0x44,
|
||||
0x03, 0x68, 0xb9, 0xf8, 0x60, 0x99, 0x10, 0x3b, 0x40, 0x22, 0x11, 0x31,
|
||||
0xb7, 0x5d, 0xcf, 0x7a, 0x6c, 0xcd, 0xc8, 0x16, 0x55, 0xa5, 0x4e, 0x74,
|
||||
0x6a, 0xdd, 0xbd, 0x09, 0x81, 0xc8, 0x2e, 0x44, 0x64, 0x00, 0x4c, 0x81,
|
||||
0x6e, 0xc0, 0xec, 0x0d, 0x58, 0xa9, 0xea, 0xa9, 0x8c, 0xe4, 0xde, 0x60,
|
||||
0x0e, 0x64, 0x81, 0x87, 0xcb, 0x0c, 0xbf, 0x14, 0x91, 0x53, 0xf7, 0x81,
|
||||
0xa3, 0xaa, 0x8e, 0x7c, 0x83, 0x22, 0xb2, 0x07, 0x62, 0x1f, 0xaf, 0x65,
|
||||
0x26, 0x17, 0xa1, 0xc4, 0xf8, 0xc4, 0xac, 0x6f, 0xac, 0xde, 0x93, 0xf1,
|
||||
0x5e, 0x01, 0x60, 0x06, 0xa4, 0xc0, 0xc1, 0xe9, 0x9f, 0x0b, 0xb8, 0x19,
|
||||
0x20, 0xc0, 0xb8, 0x8a, 0x40, 0xcc, 0x07, 0xc6, 0xff, 0xbe, 0xc9, 0x8d,
|
||||
0xa7, 0xe8, 0x02, 0xa4, 0x4e, 0x32, 0x12, 0x20, 0xff, 0x96, 0xc0, 0x12,
|
||||
0x50, 0xc2, 0xde, 0xa2, 0xea, 0x02, 0x26, 0xbf, 0x13, 0xbb, 0x67, 0x92,
|
||||
0xf1, 0x36, 0xda, 0x67, 0x72, 0x11, 0xae, 0xc0, 0xd0, 0x31, 0xfe, 0x15,
|
||||
0x12, 0x60, 0x57, 0x55, 0x60, 0x01, 0xdc, 0x81, 0x5e, 0x00, 0x77, 0x0b,
|
||||
0xac, 0xed, 0x86, 0xfc, 0x3f, 0x7d, 0x1f, 0x1e, 0x1c, 0x21, 0x30, 0xd8,
|
||||
0x5f, 0xdf, 0x9b, 0x26, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44,
|
||||
0xae, 0x42, 0x60, 0x82
|
||||
};
|
||||
unsigned int ui_copy_png_len = 316;
|
||||
unsigned char ui_coins_swap_png[] = {
|
||||
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
|
||||
0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18,
|
||||
|
|
|
@ -16,6 +16,8 @@ wxBitmap LoadPNG(std::string icon) {
|
|||
{"ui_zoom_out", wxBITMAP_PNG_FROM_DATA(ui_zoom_out)},
|
||||
{"ui_coins_swap", wxBITMAP_PNG_FROM_DATA(ui_coins_swap)},
|
||||
{"ui_eye_close", wxBITMAP_PNG_FROM_DATA(ui_eye_close)},
|
||||
{"ui_copy", wxBITMAP_PNG_FROM_DATA(ui_copy)},
|
||||
{"ui_save_floppy_disk", wxBITMAP_PNG_FROM_DATA(ui_save_floppy_disk)},
|
||||
{"mat", wxBITMAP_PNG_FROM_DATA(mat)},
|
||||
{"ochess", wxBITMAP_PNG_FROM_DATA(ochess)},
|
||||
{"cburnett", wxBITMAP_PNG_FROM_DATA(cburnett)},
|
||||
|
|
|
@ -5,10 +5,8 @@ GameTabLeftPanel::GameTabLeftPanel(wxFrame *parent, std::shared_ptr<Game> game)
|
|||
: TabGameLeftPanel(parent), game(game), repeat(false), is_engine_on(false) {
|
||||
|
||||
// Configure toolbar (note that toolbar events are processed into the GameTab class)
|
||||
game_toolbar->AddTool(0, wxT("Save As"),
|
||||
wxArtProvider::GetBitmap(wxART_FILE_SAVE, wxART_TOOLBAR));
|
||||
game_toolbar->AddTool(1, wxT("Duplicate Game"),
|
||||
wxArtProvider::GetBitmap(wxART_COPY, wxART_TOOLBAR));
|
||||
game_toolbar->AddTool(0, wxT("Save As"),LoadPNG("ui_save_floppy_disk"));
|
||||
game_toolbar->AddTool(1, wxT("Duplicate Game"),LoadPNG("ui_copy"));
|
||||
|
||||
// Add board
|
||||
board_canvas = new BoardCanvas((wxFrame *)this);
|
||||
|
|
1
tools/assets/icons/ui/copy.svg
Normal file
1
tools/assets/icons/ui/copy.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><svg width="24px" height="24px" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="#000000"><path d="M19.4 20H9.6a.6.6 0 01-.6-.6V9.6a.6.6 0 01.6-.6h9.8a.6.6 0 01.6.6v9.8a.6.6 0 01-.6.6z" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M15 9V4.6a.6.6 0 00-.6-.6H4.6a.6.6 0 00-.6.6v9.8a.6.6 0 00.6.6H9" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>
|
After Width: | Height: | Size: 529 B |
1
tools/assets/icons/ui/save-floppy-disk.svg
Normal file
1
tools/assets/icons/ui/save-floppy-disk.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><svg width="24px" height="24px" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="#000000"><path d="M3 19V5a2 2 0 012-2h11.172a2 2 0 011.414.586l2.828 2.828A2 2 0 0121 7.828V19a2 2 0 01-2 2H5a2 2 0 01-2-2z" stroke="#000000" stroke-width="1.5"></path><path d="M8.6 9h6.8a.6.6 0 00.6-.6V3.6a.6.6 0 00-.6-.6H8.6a.6.6 0 00-.6.6v4.8a.6.6 0 00.6.6zM6 13.6V21h12v-7.4a.6.6 0 00-.6-.6H6.6a.6.6 0 00-.6.6z" stroke="#000000" stroke-width="1.5"></path></svg>
|
After Width: | Height: | Size: 528 B |
Loading…
Add table
Reference in a new issue