Jeff Young
64a6fc0fd4
Push UNITS_PROVIDER down into a low-level mixin.
This allows us to also construct cheap UNIT_PROVIDERs for specific
tasks when necessary.
3 years ago
Jeff Young
45d6b4a9fc
Readability improvements.
3 years ago
Marek Roszko
61e11d6896
Strip out Mils2Iu
3 years ago
Seth Hillbrand
524b129c64
ADDED: Support for explicit DNP field
Dims elements shown as DNP. Adds property `dnp` to explicitly denote
parts that should not be populated. These parts are not included in X/Y
files
3 years ago
Mark Roszko
b00178adb3
Nuke base_units from orbit
3 years ago
Jeff Young
2dc6300501
Move EDA_ITEM bounding boxes to BOX2I.
3 years ago
Jeff Young
5679b9dbdc
Remove a few EDA_RECT instances.
3 years ago
Marek Roszko
f0956e48f2
Make EDA_TEXT common
Since EDA_TEXT is a base class, we can just force the child classes to pass the correct iu scaled size
ALLOW_BOLD_THICKNESS removed because it's a pre-custom font holdover
3 years ago
Jeff Young
f42b66bc1c
Regularize ellipsization of menu and status text.
Fixes https://gitlab.com/kicad/code/kicad/issues/12257
3 years ago
Seth Hillbrand
008b4f583b
Fix typo in lib_text layer id
Also adds CHECK_RET to catch similar errors in the future
Fixes https://gitlab.com/kicad/code/kicad/issues/12078
3 years ago
Jeff Young
62cef3d830
Add LAYER_PRIVATE_NOTES for private text & graphics in symbol editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/11957
3 years ago
jean-pierre charras
32077673e8
Symbol editor crash: Fix use of a null pointer.
LIB_TEXT::Clone() did not copy a member set to nullptr.
Fixes #11569
https://gitlab.com/kicad/code/kicad/issues/11569
4 years ago
Jeff Young
f14dc9e305
Don't plot private symbol text.
Fixes https://gitlab.com/kicad/code/kicad/issues/11548
4 years ago
Jeff Young
dc1e063b00
Iron out some issues with linestyle handling in SCH printing and plotting.
Fixes https://gitlab.com/kicad/code/kicad/issues/11498
4 years ago
Jeff Young
3589eb33f0
Handle text color when printing and plotting.
Fixes https://gitlab.com/kicad/code/kicad/issues/11491
4 years ago
Jeff Young
47e002a33d
Add font to status bar for text objects.
4 years ago
Jeff Young
14304215b3
Copy m_private flag in LIB_TEXT's clone().
Fixes https://gitlab.com/kicad/code/kicad/issues/11051
4 years ago
Jeff Young
76535d8572
Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC.
Before they were 1/2 treated as flags and 1/2 treated as a mode enum.
The ERC flag relaxes constraints on data that is settable in the
schematic editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/11018
4 years ago
Jeff Young
082c6f5bd6
Make sure plotter uses default font when specified.
4 years ago
Jeff Young
f11b8011cd
Separate plotting into background and foreground.
Fixes https://gitlab.com/kicad/code/kicad/issues/10390
4 years ago
Jeff Young
dcaec78cc5
A bit more angle cleanup.
4 years ago
Jeff Young
1b19ff5f42
More EDA_ANGLE changes.
4 years ago
Jeff Young
e048e51f5d
Improve SNR of EDA_ANGLE stuff.
4 years ago
Jeff Young
7d032f9c2f
Outline font rendering for Cairo, plotter, printer and 3D viewer.
Fixes https://gitlab.com/kicad/code/kicad/issues/10319
4 years ago
Jeff Young
27c967421c
Commenting and "auto" reduction.
4 years ago
Jeff Young
aef2a3fca4
Default font for eeschema.
4 years ago
Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
4 years ago
Marek Roszko
347e03363a
Convert wxPoint/wxSize starting from EDA_RECT usages
4 years ago
Jeff Young
ccb94fd1a7
APIs for passing KIFONT::FONT pointers around.
Also some clean-up and bug fixes.
4 years ago
Jeff Young
dd6cd7d184
Pull some more improvements in from rockola/kicad-strokefont.
This one is primarily about pushing TEXT_ATTRIBUTES in to the GAL
API, but it also includes adding EDA_ANGLE signatures to some trig
routines to ease integration.
4 years ago
Jeff Young
86cb57f4a7
Cherry-pick TEXT_ATTRIBUTES and EDA_ANGLE from rockola/kicad-strokefont
4 years ago
Jeff Young
f73042fe24
Some minor performance enhancements.
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
Wayne Stambaugh
46b959c3e3
Move plotter headers into include folder.
4 years ago
Wayne Stambaugh
cb72da294a
More NULL expunging.
4 years ago
Wayne Stambaugh
71c183d7bb
Rename LIB_PART to LIB_SYMBOL.
4 years ago
Wayne Stambaugh
9ebabb222c
Pass objects by reference instead of on the stack.
4 years ago
Jon Evans
18037e2f65
Rework bitmap system to load from archived PNGs
Bitmaps are now identified by an enum class instead of by pointers.
Bitmap loading and caching is now handled by a class in common, and
we no longer compile most bitmaps into the binary, so there is no
longer a bitmaps static library.
Instead, bitmaps are archived to a .tar.gz file which is installed
in ${KICAD_DATA}/resources/images.tar.gz
The source PNGs are checked in to Git as the original CPP files were,
so that people can build without the required dependencies to convert
SVGs to PNGs.
Initial support is also added for dark theme icons, although this
is not yet exposed in the GUI.
Stubs are present for multi-resolution image resources, but this is
not fully-baked yet and could use some refinement.
5 years ago
Dominik Wernberger
e2aa7be4b3
Added a lot of consts and refactored a few lines
5 years ago
Jeff Young
0dd65d9cd1
Naming conventions and file order.
5 years ago
Dominik Wernberger
bb2881a5ab
Make RENDER_SETTINGS argument const
5 years ago
Jeff Young
c1d1c12b41
Simplify message panel code.
We've had the colours turned off for two releases now without any
screaming or gnashing of teeth, so it's time to clean up the code.
5 years ago
Jeff Young
b227d2b910
More component -> symbol.
5 years ago
Jeff Young
7bd31d5237
Naming conventions.
5 years ago
Jeff Young
bddc97df30
LibEdit -> SymbolEditor
5 years ago
Marek Roszko
a785f70ea1
msgpanel is a widget, shove it to the right folder.
5 years ago
Marek Roszko
e928b2d8fd
Split EDA_UNITS out from common.
5 years ago
Mikolaj Wielgus
400c15b8eb
Add mils to units, remove useMils variables
5 years ago
jean-pierre charras
7865d8de43
more cleanup about removing useless include
5 years ago
Jeff Young
13f1de8e73
Forgot a bunch of files from last commit.
5 years ago