Maciej Suminski
f5325f8d79
Removed a redundant pointer to EDA_EDIT_FRAME.
11 years ago
Maciej Suminski
ebf35fd43a
Workaround for Mac OS, fixes focus after a mouse click.
12 years ago
Maciej Suminski
bff37e504e
wxWidgets 2.8 compatibility fixes.
12 years ago
Maciej Suminski
3f8d9da31f
Key events are handled by wxEVT_CHAR instead of wxEVT_KEY_[UP|DOWN]. Fixed issue of chars that require modifiers (e.g. ? is Shift+/ on US keyboard layout).
12 years ago
Maciej Suminski
ba275918e3
Renamed [class_]drawpanel_gal.[cpp|h] to [class_]draw_panel_gal.[cpp|h] to follow current naming scheme.
12 years ago
Maciej Suminski
d876807966
Fixed cancelling dialogs in DRAWING_TOOL.
12 years ago
Maciej Suminski
60e9546b62
PCB_EDIT_FRAME::SetHighContrastLayer() went public.
Refactored code that handled zooming events.
Added PCB_RENDER_SETTINGS::Get/SetSketchMode().
PCBNEW_CONTROL reacts to hot keys changing display modes (sketch via/tracks, high contrast).
12 years ago
Maciej Suminski
bf418eb1ee
Cursor coordinates are updated in GAL canvases.
12 years ago
Maciej Suminski
a802ca87e0
Added TOOL_ACTION for PNS router activation.
Most of the GAL tools are activated by corresponding buttons on the right toolbar.
Removed menu entry for PNS router (as it is activated as the usual "Add track" tool).
12 years ago
Maciej Suminski
81f84748b3
Modifiers (Shift/Ctrl/Alt) are set also while moving the mouse cursor.
12 years ago
Maciej Suminski
b317894ea0
Snapping settings are valid while autopanning.
12 years ago
Maciej Suminski
3dc9f295a4
Fixed cursor force position option.
12 years ago
Maciej Suminski
24a317ce28
The Selection Tool is always active. Removed entries for toolbar menu and hotkeys for the tool.
12 years ago
Maciej Suminski
4876dbea24
Storing the selected item position from a context menu.
12 years ago
Maciej Suminski
c21ae6efca
Double click support for the Tool Framework.
12 years ago
Maciej Suminski
5249b1a6da
Renamed TOOL_MOUSE_BUTTONS constants to avoid name conflict with Windows MB_RIGHT constant.
12 years ago
Maciej Suminski
bc305859b2
Mainly case changes.
12 years ago
Maciej Suminski
0ac3e1fbf2
Namespace KiGfx->KIGFX.
template<> -> template <>
Some more reformatting according to uncrustify results.
12 years ago
Maciej Suminski
22045b61ea
Converted tabs to spaces. Removed trailing whitespaces.
12 years ago
Maciej Sumiński
6409f7f96b
wxWidgets 2.8 compatibility fix (removed wx/kbdstate.h)
12 years ago
Maciej Suminski
6b74b5771a
Even more code comments and reformatting.
12 years ago
Maciej Suminski
3f320e4d68
Some more comments and code formatting.
12 years ago
Maciej Suminski
d1578e4e1a
Fixed cvpcb build.
12 years ago
Maciej Suminski
ab21124b71
Reenabled snapping for tools.
12 years ago
Maciej Suminski
f9cc914960
Mouse movement events are sent during autopanning, as the cursor position changes in the world coordinates (even if it stays still in the screen coordinates). It allows tools to update their state, as if the mouse was moved.
12 years ago
Maciej Suminski
d9ff4b851a
Currently selected layer is displayed on the top.
12 years ago
tomasz.wlostowski@cern.ch
fa817b7475
pcbnew: start integrating P&S router
12 years ago
tomasz.wlostowski@cern.ch
9daa1ab52a
TOOL_DISPATCHER: improve mouse handling
12 years ago
Maciej Suminski
0dc587e2ef
Tools are enabled to switch snapping cursor to grid.
12 years ago
Maciej Suminski
f2b4c7a18b
Added a few comments.
12 years ago
Maciej Suminski
f4ec1e729e
Allow invoking GAL tools, only if GAL is active.
12 years ago
Maciej Suminski
875c0f7062
Modified InvokeTool(), so besides resetting the tool, it also send an ActivateTool event.
Added generation of CancelTool event upon ESC key press.
Minor bugfix.
12 years ago
Maciej Suminski
89a138c09e
Added handling keyboard events for the Tool framework.
12 years ago
Maciej Suminski
e87eea7abc
Reformatting.
12 years ago
Maciej Suminski
80901c69cf
Reformatting.
12 years ago
Maciej Suminski
7d5a456344
Code reformatting.
12 years ago
tomasz.
241061025b
Added core tool framework files + boost::context assembly stuff (initial, very buggy and unfinished work).
12 years ago