Marek Roszko
aacc9746e3
Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere
3 years ago
Marek Roszko
e6ed275c25
Repoint IU_PER_MILS
3 years ago
jean-pierre charras
21144481d2
PLOTTER: do not clamp coordinates to an arbitrary value.
Previously, coordinates were clamped to +- 60 inches. It makes no sense to
clamp them at plotter level: max cooed depends on the editor (schematic/board...)
Rename MAX_PAGE_SIZE_MILS to MAX_PAGE_SIZE_EESCHEMA_MILS and use it only for Eeschema.
Fixes #11196
https://gitlab.com/kicad/code/kicad/issues/11196
4 years ago
jean-pierre charras
a8c29c47cf
pagelayout_editor: minor fix and minor code cleanup
4 years ago
Jeff Young
73b39e836d
Set modify bit when editing page layout.
Fixes https://gitlab.com/kicad/code/kicad/issues/9891
4 years ago
Jeff Young
5f3c67bd2b
Fill in some missing GetMsgPanelItems and make some others consistent.
Also expunges a std::vector<MSG_PANEL_ITEM> cover type.
4 years ago
Jeff Young
a3b9e8ddb4
Round 2 of Worksheet -> Drawing Sheet.
5 years ago
Marek Roszko
9b0a137d6c
Stop bludgeoncompiling dialog_page_settings
Through the power of OOP!
Needs some more cleanup though
5 years ago
Wayne Stambaugh
08cf9a1e20
Move headers from common folders to appropriate include folders round 1.
5 years ago
Marek Roszko
5a2ef73d66
Fix the pleditor status bar text
5 years ago
Marek Roszko
2c86363aa0
Relocate the page_layout includes to a page_layout folder
5 years ago
Marek Roszko
efa28d3357
Untangle pl_editor includes
5 years ago
jean-pierre charras
0b23cb7dbb
more cleanup about removing useless include
5 years ago
Ian McInerney
75bc1ef6a7
pleditor: Remove background color toggle action
The new color theme system replaces the need to toggle the background
color in the editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/5050
5 years ago
Ian McInerney
3b05d7cddd
Move more frames to the new UI condition framework
* Frames moved: cvpcb, cvpcb footprints frame, gerbview, pagelayout editor
This also introduces new EDITOR_CONDITIONS that are used to set the
conditions of very common editor settings.
Also, some IDs were converted to tools in the pagelayout editor.
5 years ago
Jeff Young
7340c97ef9
Undo for schematic-wide operations.
Editing value/footprint fields of multi-unit components.
Find/Change.
Annotation.
Back annotation.
Fixes https://gitlab.com/kicad/code/kicad/issues/2122
Fixes https://gitlab.com/kicad/code/kicad/issues/4869
Fixes https://gitlab.com/kicad/code/kicad/issues/3933
Fixes https://gitlab.com/kicad/code/kicad/issues/4871
Fixes https://gitlab.com/kicad/code/kicad/issues/3899
5 years ago
Ian McInerney
e662e33104
Store the current filename in the history on close
6 years ago
Jeff Young
1535c83b88
Lay some groundwork for adding distances to DRC errors.
modified: eeschema/lib_rectangle.cpp
6 years ago
Jeff Young
3cdf88f2c6
CERN copyrights for work packages.
6 years ago
Ian McInerney
c258ad7e3c
pleditor: Fix menubar actions and display
* Move the preview settings to view and make the menu item work
* Fix bug with preferences menu not displaying on GTK
* Implement quit command and make it similar to the other programs
Fixes: lp:1832139
* https://bugs.launchpad.net/kicad/+bug/1832139
6 years ago
Jeff Young
7159f6e48a
MRU for page size and orientation, and clearer info that this is all preview data only.
Fixes: lp:1662239
* https://bugs.launchpad.net/kicad/+bug/1662239
6 years ago
Jeff Young
772dff7a01
Removed post-page-settings ZoomFitToScreen() calls.
Fixes: lp:1834608
* https://bugs.launchpad.net/kicad/+bug/1834608
6 years ago
Jeff Young
e6d5110ccf
Implement I18N for ACTIONs.
It's a bit of a hack because they're statically initialized and
so we can't make use of the _() macro. We do still want it in the
code, however, because the string harvesting is based off of it.
Fixes: lp:1833000
* https://bugs.launchpad.net/kicad/+bug/1833000
6 years ago
jean-pierre charras
6dc8e96a34
pl_editor rework: add a design inspector (similar to what was existing previously, but as a dialog)
Wip.
6 years ago
Jeff Young
8f84c3ec4f
Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal.
6 years ago
Jeff Young
5e49517781
Move hotkeys to ACTION architecture.
7 years ago
Jeff Young
765606012f
Convert separate-compilation of selection.cpp to polymorphism.
7 years ago
jean-pierre charras
c977895412
Pl_editor: avoid flickering of the Properties Frame when moving an item.
7 years ago
Jeff Young
1bf04d1722
More ACTIONs work.
7 years ago
Jeff Young
c2662b0e11
Retire EDA_DRAW_PANEL and legacy_wx/EDA_DRAW_FRAME.
7 years ago
Jeff Young
db90e97d0b
fixup! Implement undo for Page Settings in PlEditor, Eeschema and PCBNew.
7 years ago
Jeff Young
6936effaa7
Implement undo for Page Settings in PlEditor, Eeschema and PCBNew.
Fixes: lp:1820059
* https://bugs.launchpad.net/kicad/+bug/1820059
7 years ago
Jeff Young
bdd44ce88c
Use consistent PageLayout data structure names.
7 years ago
jean-pierre charras
568d4e2b19
Avoid including id.h in a lot of files that do not use it.
7 years ago
Jeff Young
8518c373d1
Move PLEditor to common actions for file ops.
7 years ago