Jeff Young
73eda91ec7
Allow some events to run behind a modal dialog.
Right now this is just unit switching.
Fixes https://gitlab.com/kicad/code/kicad/issues/2344
6 years ago
Seth Hillbrand
7c28c3838a
Comment-only changes
Makes class comments conform to coding standards
6 years ago
Jeff Young
ef5c69167a
Start moving some LibEdit and SchEdit menubar menus to actions.
Also includes a bunch of bug fixes that got intermingled.
Fixes: lp:1828826
* https://bugs.launchpad.net/kicad/+bug/1828826
Fixes: lp:1828826
* https://bugs.launchpad.net/kicad/+bug/1828826
Fixes: lp:1828793
* https://bugs.launchpad.net/kicad/+bug/1828793
7 years ago
Tomasz Włostowski
af7064ef89
pcbnew: synchronize zone visibility view menu entries with the toolbar buttons
8 years ago
Marvin Schmidt
69974b73db
Remove some extra semicolons
8 years ago
jean-pierre charras
6a3c1720b2
Fix a few doxygen warnings
8 years ago
Jon Evans
167f45ca2b
Refactor COMMON_ACTIONS into a base and derived class
New virtual class ACTIONS is added as a member to EDA_DRAW_FRAME so
that the TOOL_DISPATCHER can have access to the appropriate derived
version of TranslateLegacyId()
9 years ago
Maciej Suminski
59af7a96f8
Minor code cleaning.
10 years ago
Maciej Suminski
3cb095b7c2
GAL canvases update status bar, message panel & zoom widget.
10 years ago
jean-pierre charras
24f516f6ae
Fix many doxygen warnings (due to missing info, old comments, typo ...) when building the doxygen doc.
11 years ago
Maciej Suminski
60b0a4e0be
Alternative approach to handling events and commands by TOOL_DISPATCHER.
Event handlers are (dis)connected depending on the active view.
TOOL_DISPATCHER inherits from wxEvtHandler, so now it receives events directly instead of being fed by external handlers.
11 years ago
Maciej Suminski
f5325f8d79
Removed a redundant pointer to EDA_EDIT_FRAME.
11 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
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
tomasz.wlostowski@cern.ch
9daa1ab52a
TOOL_DISPATCHER: improve mouse handling
12 years ago
Maciej Suminski
d0749a3a52
Small refactoring.
12 years ago
Maciej Suminski
89a138c09e
Added handling keyboard events for the Tool framework.
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