Commit Graph

299 Commits

Author SHA1 Message Date
Maciej Suminski 2c28e1c479 Changed 'line width change' & 'change arc posture' to TOOL_ACTIONs. 2014-08-04 14:23:19 +02:00
Maciej Suminski bb9f3f3fe8 bugfix: modules are not selectable in the high contrast mode (GAL). 2014-08-04 10:06:24 +02:00
Maciej Suminski 5b7d29eae6 Fixed pcbnew crash when a locked footprint is dragged from an edge of the screen. 2014-08-01 11:28:08 +02:00
Maciej Suminski f03181e94d Fixed a hot key conflict. 2014-07-24 13:09:16 +02:00
Maciej Suminski e5199b40bc View is automatically centered when a module editor or viewer are opened (GAL). 2014-07-23 12:06:24 +02:00
jean-pierre charras 96f34ffe4a 3d viewer: Add high quality mode option is realistic mode (Shows holes in copper zones, but with longer calculation time)
Gal: fix a very minor issue: the keys to switch between copper layers are now - and + (according to the doc and the normall mode), instead of - and =
2014-07-21 18:26:18 +02:00
Maciej Suminski 9138a14e2c Module editor does not ask for permission to modify a locked module. 2014-07-15 17:33:19 +02:00
Maciej Suminski ced6613bb5 Fixed offset of dragged items when the moving tool is invoked by the hotkey (GAL). 2014-07-15 16:33:46 +02:00
Maciej Suminski c1d17b95ec Clicking on the Selection Tool toolbar button deactivates the current tool (GAL). 2014-07-15 11:50:00 +02:00
Maciej Suminski cdb1a44875 Drawing tools reset its state on layer change. 2014-07-15 11:41:55 +02:00
Maciej Suminski ed83558ae4 Zone fill/unfill actions in context menu (GAL). 2014-07-09 16:57:01 +02:00
Maciej Suminski 6ed7517522 Fixed the only-type condition for empty selection case. 2014-07-09 16:50:31 +02:00
Maciej Suminski 9280c29fa9 "Create corner" context menu entry for draw segments and zone outlines (GAL). 2014-07-09 16:50:31 +02:00
Maciej Suminski cf0a9ee8af Selection tool uses the real drag origin to compute offset when dragging items. 2014-07-09 16:50:31 +02:00
Maciej Suminski c3ab5c5da8 Added module texts to the preferred types list in SELECTION_TOOL. 2014-07-09 16:50:31 +02:00
Maciej Suminski f3bdc29e8e Support for "locked" property for modules (GAL). 2014-07-09 16:50:31 +02:00
Maciej Suminski 53c0b9d85b Some of the Tool Actions need to be run in immediate mode - fixed. 2014-07-09 16:50:31 +02:00
Maciej Suminski 88319139ed Dragged items offset is cleared when dragging is finished. 2014-07-09 16:50:31 +02:00
Maciej Suminski c8512f0592 New pads in the module editor does not show up in the center of the edited module. 2014-07-09 16:50:31 +02:00
Maciej Suminski df1dfbbb92 Clear selection before opening the module editor. 2014-07-09 16:44:23 +02:00
Maciej Suminski 7a940570bb Workarounded restoring focus to GAL canvas after layer switching. 2014-07-09 16:44:22 +02:00
Maciej Suminski a3eb60e068 Added event queue to handle events at the end of the event processing cycle. 2014-07-09 16:25:50 +02:00
Maciej Suminski 942a38349a Simplified code for switching layers in GAL view. Tools are notified of layer change event. 2014-07-09 16:25:50 +02:00
Maciej Suminski 7f13fd0ffd Added AF_NOTIFY flag for TOOL_ACTIONs. 2014-07-09 15:10:32 +02:00
Maciej Suminski ebf59807dc Fixed continous line drawing.
Outline mode can be set up on any layer.
2014-07-09 15:10:32 +02:00
Maciej Suminski dd93dea448 wxWidgets 2.8 compatibility fixes. 2014-07-09 15:10:32 +02:00
Maciej Suminski 23b113b0c3 Outline display mode for module edges & texts in the module editor. 2014-07-09 15:10:32 +02:00
Maciej Suminski 0b51dd7e01 Added support for changing the cursor size. 2014-07-09 15:10:32 +02:00
Maciej Suminski d4487f1925 Fixed autozooming with empty board/module. 2014-07-09 15:10:32 +02:00
Maciej Suminski 82ff9ceca7 Introduced SELECTION_CONDITIONS to determine which menu entries should be visible in the SELECTION_TOOL context menu, depending on the selection. 2014-07-09 15:10:32 +02:00
Maciej Suminski c68bea5a6b Moved SELECTION out of SELECTION_TOOL class. 2014-07-09 15:10:32 +02:00
Maciej Suminski 53660ad91f Pad Enumeration tool support for SMD pads. 2014-07-09 15:10:32 +02:00
Maciej Suminski c9d72036d8 Added settings dialog for Pad Enumeration tool. 2014-07-09 15:10:32 +02:00
Maciej Suminski a961961105 Initial version of the Pad Enumeration tool. 2014-07-09 15:02:56 +02:00
Maciej Suminski fb7b8fd9b1 Removed redundant accessor calls in MODULE_TOOLS. 2014-07-09 15:02:56 +02:00
Maciej Suminski d87232f652 Moved module editor-specific tools to a separate class (MODULE_TOOLS). 2014-07-09 15:02:56 +02:00
Maciej Suminski 417dc0a9dc Drawing tools used to crash when the drawing tool was interrupted - fixed. 2014-07-09 15:02:56 +02:00
Maciej Suminski 7fc5a9bc60 Fixed anchor placement tool in module editor (GAL). 2014-07-09 15:02:56 +02:00
Maciej Suminski 31f6420197 Renamed "Placement" context menu to "Align/distribute". 2014-07-09 15:02:56 +02:00
Maciej Suminski 55a08a0bda Changes in display options are handled by PCBNEW_CONTROL (GAL). 2014-07-09 15:02:56 +02:00
Maciej Suminski 7091e285e6 Added support for module edge splitting with double click. 2014-07-09 15:02:56 +02:00
Maciej Suminski 422be4badb DXF drawing placement tool for GAL. 2014-07-09 15:02:56 +02:00
Maciej Suminski 4f0e03bcc0 Fixed a few memory leaks and Valgrind warnings. 2014-07-09 15:02:56 +02:00
Maciej Suminski 8bddf33ab5 Context menu for the Placement Tool. 2014-07-09 14:23:13 +02:00
Maciej Suminski 3dd651cf22 Initial version of the Placement Tool. 2014-07-09 14:23:13 +02:00
Maciej Suminski 21b3eb98b6 Fixed wrong reference point for copied items in subsequent module editor invocations (GAL). 2014-07-09 14:23:13 +02:00
Maciej Suminski 327c8594c5 Pasted module texts are rotated in the right way. 2014-07-09 14:23:13 +02:00
Maciej Suminski cfddb40d79 Reference point is selected for copied items. Enabled autopanning for copy & paste operations (module editor/GAL). 2014-07-09 14:23:13 +02:00
Maciej Suminski bba31a43eb wxWidgets 2.8 compatibility fix. 2014-07-09 14:23:13 +02:00
Maciej Suminski 73245e5930 Copy & paste for module editor (GAL). 2014-07-09 14:22:29 +02:00