Maciej Suminski
ef1ed9646a
DRC markers are drawn in GAL canvases.
2014-03-19 13:42:46 +01:00
Maciej Suminski
54bf21768c
Added a few settings to make the layer settings more similar to KiCad defaults (moved vias to VIA_THROUGH_VISIBLE, added a few rules for required layers).
2014-03-11 10:58:58 +01:00
Maciej Suminski
b6e3b3a3f9
Merged selection_tool branch.
2014-03-06 10:43:40 +01:00
Maciej Suminski
f7d00a393b
Renamed BOARD_CONNECTED_ITEM::GetNet() -> GetNetCode()
...
Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode()
Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item.
Fixed module editor crash when launched to edit a module from a PCB.
Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
2014-02-25 11:47:27 +01:00
Maciej Suminski
75026d8754
Renamed BOARD_CONNECTED_ITEM::GetNet() -> GetNetCode()
...
Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode()
Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item.
Fixed module editor crash when launched to edit a module from a PCB.
Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
2014-02-25 11:40:34 +01:00
Maciej Suminski
de637d2b8d
Fixed a missing group clearing and update for restored VIEW_ITEMs.Fixed a missing group clearing and update for restored VIEW_ITEMs.
2014-02-24 12:56:47 +01:00
Maciej Suminski
151826b206
Upstream merge.
2014-02-21 11:05:28 +01:00
Maciej Suminski
46db6ac182
Removed redundant fields DIMENSION::m_arrowD1O, m_arrowD2O, m_arrowG1O, m_arrowG2O (==m_crossBarO/F).
...
Added DIMENSION::SetOrigin(), DIMENSION::SetEnd(), DIMENSION::GetOrigin(), DIMENSION::GetEnd(), DIMENSION::GetHeight().
Fixed flipping for DIMENSION class.
Added an information that helps to understand roles of the points in the DIMENSION class.
Some minor changes to PCB_PAINTER (mainly using const COLOR4D& for taking the result of GetColor() function).
2014-02-11 13:22:30 +01:00
Maciej Suminski
3f5c3d4349
Minor changes (fix cvpcb build issue, wx2.8 compatibility, some other stuff).
2014-02-03 16:02:54 +01:00
Maciej Suminski
fff616c8dc
Moved netnames (GAL specific layers) to a separate enum, to avoid saving/reading their settings from files.
...
Added a check for the number of PCB_VISIBLE elements.
Worksheet & general purpose overlay layers are visible by default.
2014-02-03 14:14:53 +01:00
Maciej Suminski
2fe85cf43d
Minor changes.
2014-02-03 13:26:25 +01:00
Maciej Suminski
3827f495ca
Ratsnest color is saved in RENDER_SETTINGS. Temporary ratsnest is drawn using a brightened color.
2014-01-31 11:16:01 +01:00
jean-pierre charras
3354bdde05
Pcbnew: fix bug #1272714 . Code cleanup: use 2 different enums for pad shapes and pad drill shapes. Remove never used pad shape.
2014-01-26 15:20:58 +01:00
Maciej Suminski
578ecc6f45
Merge zone outline drawing fix request.
2013-12-22 11:30:46 -05:00
Maciej Suminski
b8b96f77a2
Corrected drawing of zone outlines.
2013-12-06 11:25:23 +01:00
Maciej Suminski
afe2bbaca7
Corrected polygon outline width.
2013-12-06 10:00:51 +01:00
Maciej Suminski
ca11855f12
Changed std::wstring to wxString.
2013-12-05 16:00:24 +01:00
Maciej Suminski
7678983e38
Fixed non ASCII characters drawing using GAL.
2013-12-03 11:00:52 +01:00
Maciej Sumiński
bb0f4b9ac3
Patches one by Lorenzo, one by Orson
2013-11-06 11:17:42 -06:00
jean-pierre charras
f956fbd8ac
painter: better size of pad nums and pad netnames in opengl mode
2013-11-04 18:18:19 +01:00
jean-pierre charras
e9f41a3b98
Opengl display: fix incorrect text size of pad num and pad netname.
2013-11-03 15:06:16 +01:00
Maciej Suminski
0ac3e1fbf2
Namespace KiGfx->KIGFX.
...
template<> -> template <>
Some more reformatting according to uncrustify results.
2013-10-14 16:13:35 +02:00
Maciej Suminski
22045b61ea
Converted tabs to spaces. Removed trailing whitespaces.
2013-10-14 13:43:57 +02:00
Maciej Suminski
c33564c6df
Removed unused variable.
2013-10-08 10:17:49 +02:00
Maciej Suminski
460dcfc621
Removed SELECTION layer.
2013-10-02 11:39:08 +02:00
Maciej Suminski
43b5aa4c8d
Fixed Mac OS build & removed one warning.
2013-09-30 09:45:42 +02:00
Maciej Suminski
56c78d44bf
Moved Type() method from EDA_ITEM to VIEW_ITEM.
2013-09-18 17:04:07 +02:00
Maciej Suminski
dcb5d8f25c
Merged Tom's branch
2013-09-18 16:59:08 +02:00
tomasz.wlostowski@cern.ch
1112d279c5
PCB_PAINTER: fix segfault when item has no net assigned
2013-09-18 13:16:57 +02:00
Maciej Suminski
c5c65d366d
Selection box color is put into render settings. Selection layer is removed from active layers.
2013-09-17 11:23:00 +02:00
Maciej Suminski
f53dafd496
Modules are marked to be on copper layer too.
2013-09-17 11:21:42 +02:00
Maciej Suminski
8e0674b724
Unified marking of selected items.
2013-09-16 16:18:43 +02:00
Maciej Suminski
8a1c97ea56
More careful check on the net number while drawing net labels for tracks.
2013-09-16 11:08:31 +02:00
Maciej Suminski
82fe1a4972
Merged Tom's branch
2013-09-12 17:42:28 +02:00
Maciej Suminski
90a3b97c2f
Added drawing of worksheet layout.
2013-09-11 14:42:12 +02:00
Maciej Suminski
e2f5b2779f
Changed lifetime of RENDER_SETTINGS (now they are accessible right after PAINTER object is created).
2013-09-11 12:09:22 +02:00
Maciej Suminski
afe2e27b0a
Moved GetColor() from PAINTER to RENDER_SETTINGS. Fixed recaching of custom items.
2013-09-11 11:39:46 +02:00
tomasz.wlostowski@cern.ch
9eb3916852
Merged kicad-gal-orson
2013-09-10 19:32:19 +02:00
tomasz.wlostowski@cern.ch
b0357ce9a7
PCB_PAINTER: added public GetLayerColor() method
2013-09-09 17:08:52 +02:00
Maciej Suminski
000f1122b1
Moved selection marking boxes to a different layer.
2013-09-04 16:18:37 +02:00
Maciej Suminski
8a0157069b
Support for trapezoidal pads.
2013-09-03 13:51:53 +02:00
Maciej Suminski
01d4080e47
Added selection box for DIMENSION.
2013-08-30 14:02:57 +02:00
Maciej Suminski
d73d153665
Added selection boxes for texts.
2013-08-09 15:04:10 +02:00
Maciej Suminski
cc5c038362
Added selection box for modules.
2013-08-08 11:53:29 +02:00
Maciej Suminski
e050133c07
Simplified color computation.
2013-08-07 09:51:39 +02:00
Maciej Suminski
f193e389ec
Moved highlighted flag from VIEW_ITEM to EDA_ITEM. Added brightened and selected flag to EDA_ITEM.
2013-08-06 09:31:08 +02:00
tomasz.
fdf9898eb2
pcbnew: removed printf() causing a bug
2013-08-02 17:57:28 +02:00
tomasz.
8ea0f7ae5b
Merged Orson's changes
2013-08-02 17:28:09 +02:00
tomasz.
4c777e92f3
PCB painter: improve label highlighting
2013-08-02 16:53:04 +02:00
Maciej Suminski
2fd2c1dc03
Upstream merge.
2013-08-02 15:57:24 +02:00