Maciej Suminski
7cd4376567
Refinement to commit #4993 .
2014-07-14 16:43:21 +02:00
Maciej Suminski
e6dfda51d1
Increase panning area in GAL view.
2014-07-14 09:43:20 +02:00
Kirill Mavreshko
5bd2beb650
bugfix: pcbnew crashes when you try to save a file
2014-07-14 09:41:02 +02:00
Maciej Suminski
26996d640f
Fixed the Module viewer crash when there is no footprint loaded.
2014-07-09 16:57:01 +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
e5c0926571
FIx layer switching after via placement in PNS router.
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
746786a110
Fixed module editor crash when pcbnew is started from the main launcher.
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
9cfb712624
Code formatting.
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
242d9812eb
Fixed minor bugs introduced with outline mode display for module texts and edges.
2014-07-09 15:10:32 +02:00
Maciej Suminski
1495429f68
Ratsnest is recalculated after global deletion of tracks and after importing a netlist.
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
21a86dc646
Modules inserted from the module editor are instantly visible in GAL.
...
Ratsnest is updated after exporting changes from the module editor to the layout 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
30ea3b7962
Fixed module viewer crash.
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
f5e9774d55
Added support for graphics on Edge.Cuts layer in modules. Tested functionality that works fine:
...
- zone filling algorithm
- printing
- plotting (pdf & gerbers)
- SVG export
- Specctra export
- 3D viewer
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
66bbbec394
Module anchors are visible in GAL canvas.
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
7c7ab6f2ad
Created dialog_dxf_import.h. Cleaned up some unnecessary stuff and fixed file open dialog DIALOG_DXF_IMPORT.
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
069dac5407
DXF files import is supported by module editor.
2014-07-09 15:02:56 +02:00
Maciej Suminski
b4b7f947a9
Refactored DXF import routines:
...
- DIALOG_DXF_IMPORT works with PCB_BASE_FRAME instead of PCB_EDIT_FRAME
- imported items are not immediately added to a BOARD
- imported items are held in a list, instead of vector
- imported items are instantly visible in GAL view
- added DIALOG_DXF_IMPORT::GetImportedItems()
- code formatting
2014-07-09 15:02:56 +02:00
Maciej Suminski
8c1f783dd9
Code formatting.
2014-07-09 14:41:52 +02:00