KiCad PCB EDA Suite
|
build the standard menu to show the list of available translations More...
#include <id.h>
#include <menus_helpers.h>
#include <pgm_base.h>
#include <tool/tool_interactive.h>
#include <tool/action_menu.h>
#include <tool/conditional_menu.h>
#include <bitmaps.h>
Go to the source code of this file.
Functions | |
void | AddMenuLanguageList (ACTION_MENU *aMasterMenu, TOOL_INTERACTIVE *aControlTool) |
Function AddMenuLanguageList creates a menu list for language choice, and add it as submenu to MasterMenu. More... | |
build the standard menu to show the list of available translations
Definition in file languages_menu.cpp.
void AddMenuLanguageList | ( | ACTION_MENU * | aMasterMenu, |
TOOL_INTERACTIVE * | aControlTool | ||
) |
Function AddMenuLanguageList creates a menu list for language choice, and add it as submenu to MasterMenu.
aMasterMenu | is the main menu. |
aControlTool | is the tool to associate with the menu |
Definition at line 45 of file languages_menu.cpp.
References _, ACTION_MENU::Add(), language, LanguagesList, LANGUAGE_DESCR::m_KI_Lang_Identifier, LANGUAGE_DESCR::m_Lang_Label, ACTION_MENU::SetIcon(), and ACTION_MENU::SetTitle().
Referenced by EDA_3D_VIEWER_FRAME::doReCreateMenuBar(), BITMAP2CMP_FRAME::doReCreateMenuBar(), CVPCB_MAINFRAME::doReCreateMenuBar(), SCH_EDIT_FRAME::doReCreateMenuBar(), SIMULATOR_FRAME::doReCreateMenuBar(), SYMBOL_EDIT_FRAME::doReCreateMenuBar(), GERBVIEW_FRAME::doReCreateMenuBar(), KICAD_MANAGER_FRAME::doReCreateMenuBar(), PL_EDITOR_FRAME::doReCreateMenuBar(), PCB_CALCULATOR_FRAME::doReCreateMenuBar(), FOOTPRINT_EDIT_FRAME::doReCreateMenuBar(), and PCB_EDIT_FRAME::doReCreateMenuBar().