From daedb2a21a182ef4373120acde338ece7de7b8f7 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Sun, 16 Apr 2023 10:01:16 +0200 Subject: [PATCH] #3255 Add the find icon --- data/icons/wxart_find.xpm | 42 +++++++++++++++++++ .../bbtkwxGUIEditorGraphicBBS.cxx | 3 +- .../bbtkwxGUIEditorGraphicBBS.h | 1 + 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 data/icons/wxart_find.xpm diff --git a/data/icons/wxart_find.xpm b/data/icons/wxart_find.xpm new file mode 100644 index 0000000..8c138df --- /dev/null +++ b/data/icons/wxart_find.xpm @@ -0,0 +1,42 @@ +/* XPM */ +static char * find_xpm[] = { +"17 15 24 1", +" c None", +". c #0D0D0D", +"+ c #000000", +"@ c #080808", +"# c #030303", +"$ c #2A2A2A", +"% c #212121", +"& c #1A1A1A", +"* c #101010", +"= c #272727", +"- c #2C2C2C", +"; c #1E1E1E", +"> c #070707", +", c #020202", +"' c #171717", +") c #151515", +"! c #1C1C1C", +"~ c #1F1F1F", +"{ c #181818", +"] c #0F0F0F", +"^ c #262626", +"/ c #313131", +"( c #3A3A3A", +"_ c #202020", +" .++@# ", +" +++$%++& ", +" *+= -++ ", +";++ +> ", +",+ ++ ", +"++ ++ ", +"'+ '+ ", +")+' !++ ", +" ++~ {++ ", +" ]++++++++^ ", +" +++# ~++ ", +" /+++ ", +" ++( ", +" +++", +" )_"}; diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx index ec42a2c..6cc51c4 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx @@ -131,6 +131,7 @@ void wxGUIEditorGraphicBBS::initToolbar() wxBitmap bmp_delete(delete_xpm); wxBitmap bmp_centerview(centerview_xpm); wxBitmap bmp_box(box_xpm); + wxBitmap bmp_find(find_xpm); wxBitmap bmp_executablebox(executablebox_xpm); wxBitmap bmp_complexbox(complexbox_xpm); wxBitmap bmp_complexinputport(complexinputport_xpm); @@ -162,7 +163,7 @@ void wxGUIEditorGraphicBBS::initToolbar() wxNullBitmap, wxITEM_NORMAL, _T("Center view"), _T("Center view")); toolbar->AddSeparator(); toolbar->AddTool(ID_BTNBOX, _T("New Box"), bmp_box, wxNullBitmap,wxITEM_NORMAL, _T("New Box"), _T("Nex Box")); - toolbar->AddTool(ID_BTNSELETBOXES, _T("Select Boxes"), bmp_box, wxNullBitmap,wxITEM_NORMAL, _T("Select Boxes"), _T("Select Boxes")); + toolbar->AddTool(ID_BTNSELETBOXES, _T("Select Boxes"), bmp_find, wxNullBitmap,wxITEM_NORMAL, _T("Select Boxes"), _T("Select Boxes")); toolbar->AddSeparator(); toolbar->AddTool(ID_BTEXECUTABLEBOX, _T("Select as executable Box"), bmp_executablebox, wxNullBitmap, wxITEM_NORMAL, diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h index d864b40..db79634 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.h @@ -61,6 +61,7 @@ #include "wxart_delete.xpm" #include "wxart_centerview.xpm" #include "wxart_box.xpm" +#include "wxart_find.xpm" #include "wxart_executablebox.xpm" #include "wxart_complexbox.xpm" #include "wxart_complexinputport.xpm" -- 2.47.1