Dick Hollenbeck
bf9db2148c
Hide m_galCanvas and m_galCanvasActive behind accessors. Fix DLIST concatonation API corner case.
2013-12-26 16:36:43 -06:00
Maciej Suminski
dd89260db3
Added ratsnest for GAL
2013-11-25 16:50:03 +01:00
Dick Hollenbeck
0d5a7f3224
*) Start removing some of the problematic "<%s>.." format strings, which won't
...
pass into an HTML rendering panel and otherwise look goofey.
*) Implement BOARD::Move() can call it from EAGLE_PLUGIN::Load().
*) When USE_FP_LIB_TABLE, tolerate blank nicknames in FPIDs coming from eeschema.
See the switch for this in pcbnew/netlist.cpp as ALLOW_PARTIAL_FPID.
*) Add an assert and a try catch block to figure out that View does not
like some eagle pcb board. bitset::set() is getting a -1 value and firing
an exception.
2013-11-01 19:24:38 -05:00
Orson
1fa3ef37c3
Fix redraw issue in modedit a modview, with GAL
2013-11-01 13:56:20 +01:00
Maciej Suminski
162b70ce5d
Fixed segfault occurring on rendering backend switch when pcbnew is run from the main KiCad dialog.
2013-10-30 11:50:09 +01:00
Maciej Suminski
e66a4ce337
Namespace KiGfx->KIGFX.
...
template<> -> template <>
Some more reformatting according to uncrustify results.
2013-10-14 16:13:35 +02:00
Maciej Suminski
ebb42aa419
Renamed WORKSHEET_ITEM to WORKSHEET_VIEWITEM.
2013-10-02 14:26:14 +02:00
Maciej Suminski
eeeffd1ad1
Removed SELECTION layer.
2013-10-02 11:39:08 +02:00
Maciej Suminski
3715af2172
Comments, refactoring
2013-10-01 10:21:32 +02:00
Maciej Suminski
04cdb15ceb
Changed the way of refreshing canvases (both standard & GAL).
2013-09-20 17:29:32 +02:00
Maciej Suminski
e839d1a129
Merged kicad-gal
2013-09-20 15:48:27 +02:00
Maciej Suminski
2d52cb1d55
Moved GalLayersOrder from layers_id_colors_and_visibility.h to PCB_BASE_FRAME.
2013-09-19 09:55:37 +02:00
Maciej Suminski
fcd3bbecdf
Added limits for VIEW scale values & panning area.
2013-09-18 17:36:54 +02:00
Maciej Suminski
6dad482efa
Added more required layers for pads (adhesive, solder paste & solder mask)
2013-09-13 17:45:40 +02:00
Maciej Suminski
7da892b49a
Added drawing of worksheet layout.
2013-09-11 14:42:12 +02:00
Maciej Suminski
57a1201b11
PCB items are refreshed on GAL switching (changes made using default renderer are displayed by GAL).
2013-09-10 13:57:28 +02:00
Maciej Suminski
345e97f296
Solved refreshing issues.
2013-09-06 11:31:16 +02:00
Maciej Suminski
9a032e7422
Moved selection marking boxes to a different layer.
2013-09-04 16:18:37 +02:00
Maciej Suminski
f65da3d98f
Merged upstream and Mac OS X build fixes.
2013-08-27 11:03:06 +02:00
Maciej Suminski
768b039cde
Added general purpose overlay layer and moved selection box to it.
2013-08-08 11:43:56 +02:00
Maciej Suminski
c928bc8ce3
Fixed layers caching settings. Added some comments.
2013-08-07 10:52:50 +02:00
Carl Poirier
7e6a243df9
REMOVE: USE_PCBNEW_NANOMETERS by making it the only way to go in pcbnew, effectively removing the deci-mils build.
2013-08-06 18:21:40 -05:00
Maciej Suminski
fa7b6a8cec
Moved VIEW_ITEM::ViewGetRequiredLayers() functionality to the VIEW class. Now required layers are set per layer basis instead of per item.
2013-08-05 16:28:58 +02:00
Maciej Suminski
36f7125513
Upstream merge.
2013-08-05 14:46:05 +02:00
Dick Hollenbeck
325d5a6bcd
*) retain grid origin in the BOARD and save it in legacy and kicad board files.
...
*) add hotkey for setting the grid origin as 'S', in board editor, module editor.
*) re-position the function interface for cursor movement from BASE_SCREEN into
class EDA_DRAW_FRAME. This is a prelude to getting rid of BASE_SCREEN or
splitting it up.
2013-08-03 00:15:23 -05:00
unknown
2c5fcd7d2c
pcbnew: tool initialization should belong to PCB_EDIT_FRAME to avoid linking errors on cvpcb.
2013-08-02 17:25:53 +02:00
unknown
1a19c761ae
pcbnew: hooked Tool Framework into the edit panel. Added a sample selection tool (not fully functional).
2013-08-02 16:53:50 +02:00
Maciej Suminski
76660ff15b
Fixed high contrast mode in OpenGL. Split display settings loading into more appropriate places.
2013-07-25 18:04:15 +02:00
Maciej Suminski
e644f5be05
OpenGL multitarget rendering (compositing).
2013-07-23 18:39:07 +02:00
Maciej Suminski
910d95a7b6
Moved bottom netnames layer over bottom tracks & pads. Changed int to LAYER_NUM where applicable.
2013-07-16 15:45:21 +02:00
Maciej Suminski
3ba2d4428b
Added support for multiple active layers (colored ones in the high contrast mode).
...
Added separate layers for pad netnames (now these are divided into multilayer/top/bottom pads).
More appropriate layers are selecting a copper layer in the high contrast mode (now it shows the copper layer itself, vias & multilayer pads and netnames).
2013-07-16 13:40:53 +02:00
Maciej Suminski
7a545df299
Moved rendering order settings to a more appropriate place.
2013-07-16 10:49:56 +02:00
Maciej Suminski
1073a524b9
Refactored code responsible for high contrast mode. Now it allows to have more than one layer on the top.
...
Selecting layer using the dropdown list on the toolbar influences the layer displayed in high contrast mode.
2013-07-16 09:26:29 +02:00
Maciej Suminski
209bb4290f
Separate layers for each copper layer netnames.
2013-07-08 16:46:04 +02:00
Maciej Suminski
81143324a5
Showing net names on pads.
2013-07-08 11:30:50 +02:00
Maciej Suminski
fabb646a0b
Showing net names on tracks.
2013-07-08 09:57:23 +02:00
Maciej Sumiński
f885296fb2
Removed KICAD_GAL CMake option.
2013-07-07 02:30:28 +02:00
Maciej Suminski
8504f30594
Proper handling of toggling outline display of items.
2013-06-27 17:23:54 +02:00
Maciej Suminski
c909988aa5
Upstream merge.
2013-06-05 10:01:53 +02:00
Lorenzo Marcantonio
499d41206e
Make title block date field modifiable by hand.
2013-05-23 14:45:23 -04:00
Maciej Suminski
0177590699
Faster way of caching items for OPENGL GAL.
2013-05-16 10:35:16 +02:00
Maciej Suminski
787fe28fd0
Added functionality for transformation of VBO vertices, extended functions like translate, rotate, scale using glm library. Removed D() macro, as it was not used, but in conflict with glm library. Added VBO_ITEMs for circles, semicircles. Now almost everything is drawn using VBO (besides polygons and grid).
2013-05-15 16:48:10 +02:00
Maciej Suminski
4ad9af71f5
All kind of items are loaded on SetBoard() again.
2013-05-15 09:17:48 +02:00
Lorenzo Marcantonio
c36ab1c6ed
Angle and distances cleanup (preparing for angles in doubles)
...
- Removed spurious int casts (these are truncated anyway and will break
doubles)
- Applied the Distance, GetLineLength, EuclideanNorm, DEG2RAD, RAD2DEG
ArcTangente and NORMALIZE* functions where possible
- ArcTangente now returns double and handles the 0,0 case like atan2, so
it's no longer necessary to check for it before calling
- Small functions in trigo moved as inline
2013-05-01 19:32:36 +02:00
Maciej Suminski
fb65f5d1ae
Improved recaching (all items when a board is loaded), still needs some fixing (mem leak).
2013-04-30 17:55:24 +02:00
Maciej Suminski
56aabe20bc
Introduction of VBO. Now only tracks are rendered in a very simple way.
2013-04-30 15:59:32 +02:00
Maciej Suminski
206c8e1189
Drawing SMD pads with colors defined by "Pads Front"/"Pads Back" color settings.
2013-04-22 12:13:48 +02:00
Maciej Suminski
ec9e283d34
Fixed resize issue (moved GAL panel into pane).
...
Tidied up event handlers.
2013-04-18 11:20:19 +02:00
Maciej Suminski
37e440b093
Upstream merged
2013-04-10 15:03:35 +02:00
Maciej Suminski
7792364e8c
Temporarily disabled display of netlabels on pads due to performance drop.
2013-04-10 13:47:19 +02:00