KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_toolbar_customization.cpp File Reference
#include <dialogs/panel_toolbar_customization.h>
#include <bitmaps.h>
#include <settings/app_settings.h>
#include <tool/ui/toolbar_configuration.h>
#include <widgets/split_button.h>
#include <widgets/std_bitmap_button.h>
#include <magic_enum.hpp>
#include <wx/listctrl.h>
#include <wx/menu.h>

Go to the source code of this file.

Classes

class  TOOLBAR_TREE_ITEM_DATA
 

Enumerations

enum  { ID_SEPARATOR_MENU = ( wxID_HIGHEST + 5 ) , ID_SPACER_MENU , ID_GROUP_MENU }
 

Variables

static std::map< TOOLBAR_LOC, wxString > s_toolbarNameMap
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_SEPARATOR_MENU 
ID_SPACER_MENU 
ID_GROUP_MENU 

Definition at line 37 of file panel_toolbar_customization.cpp.

Variable Documentation

◆ s_toolbarNameMap

std::map<TOOLBAR_LOC, wxString> s_toolbarNameMap
static
Initial value:
= {
{ TOOLBAR_LOC::LEFT, _( "Left" ) },
{ TOOLBAR_LOC::RIGHT, _( "Right" ) },
{ TOOLBAR_LOC::TOP_MAIN, _( "Top main" ) },
{ TOOLBAR_LOC::TOP_AUX, _( "Top auxillary" ) }
}
#define _(s)
@ RIGHT
Toolbar on the right side of the canvas.
@ LEFT
Toolbar on the left side of the canvas.
@ TOP_AUX
Toolbar on the top of the canvas.
@ TOP_MAIN
Toolbar on the top of the canvas.

Definition at line 45 of file panel_toolbar_customization.cpp.

Referenced by PANEL_TOOLBAR_CUSTOMIZATION::TransferDataToWindow().