Maciej Suminski
e799d7a06c
Fixed drawing of PCB_TARGET items.
2013-04-17 13:12:54 +02:00
Maciej Suminski
fde71bdf33
Removed unnecessary calls to cairo drawing functions.
2013-04-17 12:50:38 +02:00
Maciej Suminski
16a28348b4
Added const(..)& in GAL methods' parameters and change iterators to constant iterators.
2013-04-17 12:48:37 +02:00
Maciej Suminski
520be6f67b
Added GAL::DrawSegment for drawing rounded segments (used for drawing tracks).
2013-04-17 12:38:00 +02:00
Maciej Suminski
6cf04e6820
Fixed drawing arcs in Cairo GAL.
2013-04-17 12:33:11 +02:00
Maciej Suminski
188ea1f59f
More accurate rendering display of ZONE_CONTAINERs.
2013-04-17 12:30:21 +02:00
Maciej Suminski
71a1ad6ff5
Fixed drawing polygons using Cairo-based GAL.
2013-04-16 14:55:21 +02:00
jean-pierre charras
c4dc992c03
Eeschema: fix bug #1168116 . Netlist generation: remove dead code and fully outdated option pspice "use net number"
...
Pcbnew: layer manager: display tooltips using translated form (where internationalized, but always shown in English).
2013-04-16 12:53:23 +02:00
Maciej Suminski
4eadf2ef47
Removed flickering in Cairo-based rendering backend.
2013-04-16 11:43:13 +02:00
Maciej Suminski
bee0d69289
Cleanup
2013-04-16 11:16:27 +02:00
Maciej Suminski
01ebf03110
Inverted Y display axis while using Cairo-based rendering backend.
2013-04-15 17:59:38 +02:00
Maciej Suminski
820e6e5e16
Introduced Cairo-based rendering backend using GAL.
...
Moved switching canvas routines to pcbnew, as they are used only there right now (otherwise libgal would have to be linked to every Kicad application).
2013-04-15 17:57:03 +02:00
Maciej Suminski
5b9057823a
Introduced SetGAL() functions that will allow changing GAL backend for rendering on the fly.
2013-04-15 16:03:05 +02:00
Lorenzo Marcantonio
70dc51d1f9
Changed format specifiers of some printf involved with size_t values to %zu to avoid runtime assertions.
2013-04-14 13:02:19 +02:00
Lorenzo Marcantonio
2cad7a52ad
Closes bug 1168753.
...
Depending on build options seems that wx uses different types for size() so the Format string was not always correct. Put a fat warning in a comment too.
2013-04-14 10:26:42 +02:00
Matthew Beckler
088832b8f6
Match 'new char[]' with proper delete[] char* rather than delete char*.
2013-04-13 23:07:04 -05:00
Dick Hollenbeck
35e1c65996
move project templates from source tree to library tree
2013-04-13 16:30:21 -05:00
Maciej Suminski
e1fcd31381
Fixed text display using Cairo.
2013-04-12 16:41:31 +02:00
Maciej Suminski
e3cb0aa36f
Tesselation error fix.
...
Added missing callback function (combine callback).
2013-04-12 10:37:06 +02:00
Wayne Stambaugh
b1144a864f
wxWidgets 2.8.12 build fix
2013-04-12 09:30:18 +02:00
Maciej Suminski
3412e82799
Copyright change
2013-04-12 09:16:52 +02:00
Dick Hollenbeck
d23724f59e
use lower case library names in *.pro & *.sch files, to match actual filenames in the template file set. Noticed on linux.
2013-04-11 14:04:30 -05:00
Lorenzo Marcantonio
65b7f23d46
Set grid color for module editor and viewer ( closes #1167884 )
...
Also removed EDA_DRAW_FRAME::OnGrid which was totally dead (empty and unused)
2013-04-11 20:29:56 +02:00
Dick Hollenbeck
d5fff4a6da
revert text strings for clarity
2013-04-11 13:00:36 -05:00
jean-pierre charras
e07590f930
All: fix a minor issue in drawtext.cpp
...
Pcbnew: load footprint from modview: Because modview allows user to choose the footprint library, the selected library is forced when the footprint is loaded.
I am not sure this is 100% better, but this new behavior has some advantages, mainly in the footprint editor (you can load a footprint outside the selected library)
2013-04-11 19:40:20 +02:00
Maciej Suminski
877dd3f79a
Added multiline strings and text overbars rendering using GAL.
2013-04-11 14:21:59 +02:00
Maciej Suminski
53ec1efc1d
Copyright notices fix.
2013-04-11 10:04:38 +02:00
Dick Hollenbeck
e5740af069
2.9 wx rat race
2013-04-10 16:06:49 -05:00
Dick Hollenbeck
297a54fa3e
Make project templates work with KICAD_PTEMPLATES env var.
2013-04-10 15:31:40 -05:00
jean-pierre charras
3e4a79d063
Pcbnew: fix Bug #1167364
...
pcb_calculator: fix bug Bug #1167345
2013-04-10 21:20:35 +02:00
Lorenzo Marcantonio
b1c710a214
Made overbar position independant of pen size for text, to fix graphics glitches with halo text.
...
Slightly retuned for compensating the new position.
2013-04-10 21:09:59 +02:00
Dick Hollenbeck
cca97586a9
revert to using quotes around variable text which may be blank
2013-04-10 10:08:01 -05:00
Maciej Suminski
07cd3bcb56
Upstream merged
2013-04-10 15:03:35 +02:00
Maciej Suminski
80999ba0a4
Temporarily disabled display of netlabels on pads due to performance drop.
2013-04-10 13:47:19 +02:00
Maciej Suminski
0d85444062
Fix for compatibility with wxWidgets 2.8 & 2.9 at the same time.
2013-04-10 10:09:23 +02:00
jean-pierre charras
0d41a7a523
All: fix some issues in messages to translate. Remove fully outdated files
2013-04-10 09:23:20 +02:00
Maciej Suminski
ccd2ebefd3
Removed OpenGL different drawing modes, as they were not used.
...
Removed DRAW_MODE_NORMAL, DRAW_MODE_PREPARE_EDGES, DRAW_MODE_DRAW_EDGES modes.
2013-04-10 09:09:48 +02:00
Lorenzo Marcantonio
4cbbce3aa6
Removed ugly usage of an extra layer slot for the layer count in gerbview
...
Fixed layer picker for exporting to pcbnew
Realigned pcb layer name with class BOARD
2013-04-10 09:03:19 +02:00
Lorenzo Marcantonio
66453e3d92
Fixed pad preview color
2013-04-09 21:20:21 +02:00
Lorenzo Marcantonio
42709330e0
Better strings for the translators (converted concatenations to formats)
2013-04-09 19:49:01 +02:00
Lorenzo Marcantonio
20eaf66d5b
Hunted down hardcoded pixel size thresholds for drawing
...
Dynamic contrast for netname and pin numbers ('halo' text)
Handle netname drawing even on diagonal tracks
2013-04-09 19:16:53 +02:00
Lorenzo Marcantonio
b525e3be55
Factored out text anchor drawing
...
More layer classification cleanup
2013-04-09 18:00:46 +02:00
Maciej Suminski
5fda7bf32f
Netnames and pad numbers are displayed on pads (using GAL)
2013-04-09 16:12:20 +02:00
Maciej Suminski
d400a25075
Modified CMakeLists.txt in order to compile Kicad with KICAD_GAL=ON for Windows
...
Added settings that allow to use M cross environment (http://mxe.cc ) to crosscompile Kicad for Windows.
2013-04-09 16:12:18 +02:00
Maciej Suminski
ef5693080f
Fixed line style used for displaying texts.
2013-04-09 16:12:17 +02:00
Maciej Suminski
70769d5d46
Fixed drawing of circles in certain circumstances using OpenGL.
2013-04-09 16:12:16 +02:00
Lorenzo Marcantonio
0de48234bc
Printf was missing a GetChars
2013-04-09 04:31:36 +02:00
Wayne Stambaugh
477069c063
Fix compile bug in ptree.cpp with wxWidgets 2.9.x and MinGW.
2013-04-08 20:16:53 -04:00
Dick Hollenbeck
6bf3d7cdc3
Implement "KiCad s-epression" support for boost::property_tree's ptree, the 8
...
bit string version of property_tree. The ram resident structure of the ptree is
mostly compatible with one created using the xml_parser from
boost::property_tree, with slight differences in the way atoms are stored. The
result is you can use Format() to convert from xml to s-expression, but not the
other way around. You can write a simple s-expression beautifier in just a few
lines of code.
The main value however is the s-expression parser, i.e. Scan(), which is an
alternative to crafting a custom recursive descent parser for a particular
grammar. The tipping point depends on whether you want to read only a small
portion of a much larger document. If so, then using the ptree will likely be a
"faster to code" route. Documentation on how to navigate a ptree can be found on
the boost website and there are a number of examples in the
pcbnew/eagle_plugin.cpp file in this project. Powerful path navigation support
makes it easy to extract a subset of a ptree.
2013-04-08 16:04:45 -05:00
Maciej Suminski
05e3ae645d
Fixed distorted polygons' corner display
2013-04-08 11:01:49 +02:00