Povilas Kanapickas
7f12513c7e
Remove some uses of using namespace std.
12 years ago
Dick Hollenbeck
b9bd421184
format string concatenation bug
12 years ago
Maciej Suminski
fc4f9195b6
Fixed wx2.8 strings compatibility.
12 years ago
Maciej Suminski
5235d7e5eb
Modified error handling for OpenGL backend, now error messages should be visible.
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
e1290101aa
Fixed strings for wxWidgets 2.8
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
87b3f2e499
Added Init() to TOOL_INTERACTIVE, allowing to set up things that are needed to be initialized only once.
TOOL_ACTIONs can be run from CONTEXT_MENU after adding them.
Move tool actions are available to be run from CONTEXT_MENU displayed after right mouse button click on selected items.
Added some asserts to check the code.
12 years ago
Maciej Suminski
61066fa608
Added functions for handling hotkeys, interface for adding TOOL_ACTIONs to CONTEXT_MENU.
Less objects are allocated dynamically.
CONTEXT_MENU is being run using its copy (it saves a hassle of following the lifetime of object).
12 years ago
Maciej Suminski
96d162c907
Added possibility to cancel a tool that is not on the top of the tool stack.
12 years ago
Maciej Suminski
2c03bf4109
Removed TA_ActivateTool (now tools are invoked by sending TA_Action event, with the tool name as string parameter).
Developed TOOL_Action class & added ActionManager. Hot keys registered by tools are processed.
Selection & move tool can be invoked by a hot key.
12 years ago
Maciej Suminski
d13355f7fe
Removed some potential memory leaks.
12 years ago
tomasz.wlostowski@cern.ch
f14db7c78c
TOOL_MANAGER: open menu on right mouse button when requested
12 years ago
Maciej Suminski
f93d297cb5
Some comments.
12 years ago
Maciej Suminski
e8083ae808
Added some comments and changed names of classes to match the coding rules.
12 years ago
Maciej Suminski
fb9a4c2bfc
Added stacking for tools.
12 years ago
Maciej Suminski
edea2f9112
Reduced displayed events information.
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
61ba40aa7e
Added InvokeTool() and FindTool() functions.
12 years ago
Maciej Suminski
e87eea7abc
Reformatting.
12 years ago
Maciej Suminski
9bd7ba36ac
Added resetting of tools after loading a new board.
12 years ago
Maciej Suminski
12e10fd43a
Reformatting.
12 years ago
Maciej Suminski
282995eaee
Fixed disambiguation menu issue.
12 years ago
Maciej Suminski
62ea71fcae
Fixed layers caching settings. Added some comments.
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