Jeff Young
18e107529a
Don't force callers of GetAppSettings to implement exception processing.
4 months ago
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
9 months ago
Seth Hillbrand
d7137c4a05
Cleanup VIEW class
Ununsed m_dynamic class variable
11 months ago
Jeff Young
92910d5d0f
Factor common parts of SCH_ & LIB_SYMBOL into SYMBOL.
2 years ago
Jeff Young
d5d07e64c9
Use IsShownOnScreen(), not IsShown(), if you really want to know if its visible.
4 years ago
Marek Roszko
61e11d6896
Strip out Mils2Iu
3 years ago
Jeff Young
b874aaac5e
Add display options to Symbol Browser toolbar.
Particularly important on Mac where the menubar is disabled when the
frame is used in modal mode.
Also adds a display control to override the symbol's show pin numbers
setting.
Fixes https://gitlab.com/kicad/code/kicad/issues/7789
3 years ago
Jon Evans
afab26d554
Don't paint hidden fields without a schematic context
3 years ago
Jeff Young
9ee28ea8f5
Flatten out some more preferences.
4 years ago
Jeff Young
e26341d424
Cleanup.
4 years ago
Jeff Young
5a5af91d88
Tidy up the SCH_PREVIEW_PANEL visibility flags.
Fixes https://gitlab.com/kicad/code/kicad/issues/9701
4 years ago
Jeff Young
b9596a0a5d
Update dangling flags in color settings' preview.
4 years ago
Jeff Young
a3b9e8ddb4
Round 2 of Worksheet -> Drawing Sheet.
5 years ago
Jeff Young
cad5198ab7
Worksheet -> (industry standard) Drawing Sheet.
5 years ago
jean-pierre charras
64f555079a
Code cleanup related to zoom:
- remove outdated code or comment coming from old drawing code using wxDC
- move zoom values lists to zoom_defines.h
- fix incorrect zoom max and min values (gal scaling factor limits).
5 years ago
Marek Roszko
2c86363aa0
Relocate the page_layout includes to a page_layout folder
5 years ago
Seth Hillbrand
f493e270ea
ADDED: Menu option to enable/disable snap to grid
You can now enable and disable snap to grid when drawing/editing across
all apps. You can also tie snap to grid to the visibility of the grid
to allow rapid enable/disable via grid display.
5 years ago
Seth Hillbrand
4026904cc4
Make grid snapping depend on grid visibility
Turning the grid view on enables snapping to the grid. Turning it off
removes the snap and allows free draw
5 years ago
Seth Hillbrand
173b4ff588
Add snapping to eeschema
This generalizes both the SetPosition() function and ORIGIN_VIEWITEM
class away from the pcbnew-centric.
5 years ago
Jeff Young
ee6acb983a
Build out the rest of the schematic preview for colors editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/5029
5 years ago
Seth Hillbrand
7f991ce855
Revert "Set DoubleBuffering to reduce flicker"
This reverts commit 106259f6e6
.
5 years ago
Seth Hillbrand
e19a7910f8
Revert "Revert "Set DoubleBuffering to reduce flicker""
This reverts commit c18cab6154
.
5 years ago
Seth Hillbrand
c18cab6154
Revert "Set DoubleBuffering to reduce flicker"
This reverts commit 106259f6e6
.
In its place, we set double buffering to only menubars in an attempt to
find a soluton to #4785
Fixes https://gitlab.com/kicad/code/kicad/issues/4863
5 years ago
Seth Hillbrand
106259f6e6
Set DoubleBuffering to reduce flicker
This sets double buffering for GTK and MSW to minimize flicker when
redrawing window elements.
Fixes https://gitlab.com/kicad/code/kicad/issues/4785
5 years ago
Ian McInerney
2bc57ade28
Cleanup parentage inside the draw panels
5 years ago
Jeff Young
9c8941e040
Remove a bunch of globals.
6 years ago
Jeff Young
bbf5ad6160
Improve dialog spacing and remove 'auto' type decls.
Also fixes a couple more coding style issues.
6 years ago
Jon Evans
e59a3d981e
Implement a new settings framework across all of KiCad
CHANGED: Settings are now stored in versioned sub-directories
ADDED: First-run dialog for migrating settings from a previous version
CHANGED: Settings are now stored as JSON files instead of wxConfig-style INI files
CHANGED: Color settings are now all stored in a separate settings file
CHANGED: The symbol editor and footprint editor now have their own settings files
CHANGED: Color settings are no longer exposed through BOARD object
CHANGED: Page layout editor now uses Eeschema's color scheme
Settings are now managed through a central SETTINGS_MANAGER held by PGM_BASE.
Existing settings will be migrated from the wxConfig format on first run of each application.
Per-application settings are now stored in one class for each application.
6 years ago
Wayne Stambaugh
aeb3281e27
Convert Schematic Internal Units to 100nm
6 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
6 years ago
Jeff Young
bdd44ce88c
Use consistent PageLayout data structure names.
6 years ago
jean-pierre charras
240051fb26
Worksheet display in GAL mode: fix missing filename and (in Eeschema) sheet full name.
7 years ago
Maciej Suminski
a18be5d37c
Adjust GAL world unit for eeschema
7 years ago
Jeff Young
0c06bdb1e0
Make sure aliases get their refs and values drawn correctly.
Fixes: lp:1799460
* https://bugs.launchpad.net/kicad/+bug/1799460
7 years ago
Jeff Young
f17c18bcce
Remove AdvanceDepth() hacks in favour of proper layers.
Also removes the bounding-box cache since the last big merge
should have sorted out the Update(GEOMETRY) calls.
Fixes: lp:1797271
* https://bugs.launchpad.net/kicad/+bug/1797271
Fixes: lp:1797268
* https://bugs.launchpad.net/kicad/+bug/1797268
Fixes: lp:1797075
* https://bugs.launchpad.net/kicad/+bug/1797075
7 years ago
Jeff Young
9dfcc839a4
Fix color issues with cursor and sheet pins.
7 years ago
jean-pierre charras
f283667fb0
add option to switch between opengl and cairo in eeschema (step 1)
7 years ago
Jeff Young
9e9db3afe5
Start an empty document with a reasonable grid size.
7 years ago
Jeff Young
8390b7a7ac
Don't paint GAL canvas when it isn't shown.
Fixes: lp:1790502
* https://bugs.launchpad.net/kicad/+bug/1790502
7 years ago
Jeff Young
a03dc577f8
Add support for units.
7 years ago
Jeff Young
7cbfa08ddd
Move symbol chooser dialog preview to GAL.
7 years ago