KiCad PCB EDA Suite
action_menu.cpp File Reference
#include <eda_base_frame.h>
#include <functional>
#include <id.h>
#include <menus_helpers.h>
#include <tool/action_menu.h>
#include <tool/actions.h>
#include <tool/tool_event.h>
#include <tool/tool_interactive.h>
#include <tool/tool_manager.h>
#include <trace_helpers.h>
#include <wx/log.h>

Go to the source code of this file.

Macros

#define ID_CONTEXT_MENU_ID_MAX   wxID_LOWEST /* = 100 should be enough and better */
 

Variables

static int g_last_menu_highlighted_id = 0
 
static VECTOR2D g_menu_open_position
 

Macro Definition Documentation

◆ ID_CONTEXT_MENU_ID_MAX

#define ID_CONTEXT_MENU_ID_MAX   wxID_LOWEST /* = 100 should be enough and better */

Variable Documentation

◆ g_last_menu_highlighted_id

int g_last_menu_highlighted_id = 0
static

Definition at line 340 of file action_menu.cpp.

Referenced by ACTION_MENU::OnIdle(), and ACTION_MENU::OnMenuEvent().

◆ g_menu_open_position

VECTOR2D g_menu_open_position
static

Definition at line 344 of file action_menu.cpp.

Referenced by ACTION_MENU::OnIdle(), and ACTION_MENU::OnMenuEvent().