KiCad PCB EDA Suite
Loading...
Searching...
No Matches
tool_dispatcher.cpp File Reference
#include <core/ignore.h>
#include <macros.h>
#include <trace_helpers.h>
#include <tool/tool_manager.h>
#include <tool/tool_dispatcher.h>
#include <tool/actions.h>
#include <tool/action_manager.h>
#include <tool/action_menu.h>
#include <view/view.h>
#include <view/wx_view_controls.h>
#include <eda_draw_frame.h>
#include <core/kicad_algo.h>
#include <optional>
#include <wx/log.h>
#include <wx/stc/stc.h>
#include <wx/settings.h>
#include <kiplatform/app.h>
#include <kiplatform/ui.h>

Go to the source code of this file.

Classes

struct  TOOL_DISPATCHER::BUTTON_STATE
 < Stores information about a mouse button state More...
 

Functions

bool isKeySpecialCode (int aKeyCode)
 
static bool isKeyModifierOnly (int aKeyCode)
 
static bool isMouseClick (wxEventType type)
 
int translateSpecialCode (int aKeyCode)
 

Function Documentation

◆ isKeyModifierOnly()

static bool isKeyModifierOnly ( int  aKeyCode)
static

Definition at line 289 of file tool_dispatcher.cpp.

References alg::contains().

Referenced by TOOL_DISPATCHER::GetToolEvent().

◆ isKeySpecialCode()

bool isKeySpecialCode ( int  aKeyCode)

Definition at line 272 of file tool_dispatcher.cpp.

References alg::contains().

Referenced by TOOL_DISPATCHER::GetToolEvent().

◆ isMouseClick()

static bool isMouseClick ( wxEventType  type)
static

Definition at line 300 of file tool_dispatcher.cpp.

Referenced by TOOL_DISPATCHER::DispatchWxEvent().

◆ translateSpecialCode()

int translateSpecialCode ( int  aKeyCode)

Definition at line 322 of file tool_dispatcher.cpp.

Referenced by TOOL_DISPATCHER::GetToolEvent().