unknown
c1b46e6ed8
Fix bug Bug #1519590 (gal cannot start on surface book)
10 years ago
Maciej Suminski
247f018075
FIxed rendering artifacts in OpenGL canvas.
10 years ago
Maciej Suminski
0386a4df94
Bulletproof canvas switching.
10 years ago
jean-pierre charras
1c9115ee91
opengl_gal: fix a strange but already encountered issue on Ubuntu/Unity when switching to GAL: the dialog which test the opengl version was never raised, and the Pcb editor frame partially no more responding to menu events.
Also fix a bug: this test dialog was never destroyed.
11 years ago
Maciej Suminski
51c0ae3480
Fixed cursor offset in GAL.
11 years ago
Maciej Suminski
d3c7b45438
Corrected GAL canvases screen size, so they do not include scroll bars.
11 years ago
Garth Corral
6eaf029a0e
Pinch to zoom for OS X.
11 years ago
Maciej Suminski
48a74dba37
Added missing 'def'
11 years ago
Maciej Suminski
420c1d1bcd
Changed the patch to support full resolution on Retina screens to be more bulletproof.
11 years ago
Maciej Suminski
6fc59f9acd
Full resolution in OpenGL canvas on Retina displays
11 years ago
Maciej Suminski
709697ea40
Better way to determine supported OpenGL version and extensions.
11 years ago
Maciej Suminski
7480bcf1ae
Yet another desperate trial to fix the depth buffer issues.
11 years ago
Maciej Suminski
4dae107dab
Alternative depth range in OpenGL GAL.
11 years ago
Maciej Suminski
9e8719d3ff
Fixed overlapping segment endings in OpenGL view.
11 years ago
Eldar Khayrullin
5d8f7ba0e6
bugfix: cannot draw 180 degree arc in OpenGL canvas
11 years ago
jean-pierre charras
39497b109e
Pcbnew: fix Bug #1422093 (pcbnew crashes after editing a footprint cominng from the board with the fp editor and saving it on a librray and trying to load it to the board)
Some other very minor fixes.
11 years ago
Maciej Suminski
b1ace1607b
Reworked GAL switching.
Now OpenGL can report its problems instead of shutting down the application.
11 years ago
jean-pierre charras
d4e04dcc97
Fix bugs detected by Cppcheck.
11 years ago
Garth Corral
6c137ac79c
Added support for wxWidgets magnify events from the Magic Trackpad on OS X
Committing this separately from the rest to ease making a patch for just this
functionality in case that it might make it into the trunk.
This can function standalone, though it is less useful without the rest.
It requires that wxwidgets-3.0.0_macosx_magnify_event.patch be applied to wxWidgets
It is completely optional; everything is guarded by the USE_OSX_MAGNIFY_EVENT macro.
- Added OnMagnify event handler to EDA_DRAW_PANEL, EDA_3D_CANVAS and the helper for
EDA_DRAW_PANEL_GAL, WX_VIEW_CONTROLS. This should cover canvases all current tools.
- Guarded all with USE_OSX_MAGNIFY EVENT feature macro and added support in CMakeLists.txt
11 years ago
Maciej Suminski
490a73b62a
Fixed filled arcs drawing (GAL).
11 years ago
Maciej Suminski
a57f7ae8cd
Fix OpenGL canvas freeze under Windows.
12 years ago
Maciej Suminski
0fc93666c6
Rework to support multiple views with OpenGL GAL canvas.
12 years ago
Maciej Suminski
d27ea7895d
Moved background color settings from GAL to RENDER_SETTINGS. Added RENDER_SETTINGS::TranslateColor() to convert between EDA_COLOR_T and COLOR4D.
12 years ago
Maciej Suminski
dbc4a8f292
GAL zooms in and out using the default hot keys (F1/F2).
Screen size is saved in VECTOR2I instead of VECTOR2D.
12 years ago
maciej.
898ed7445f
GAL: fix zooming using mouse wheel with wxWidgets 3.0.
12 years ago
Maciej Suminski
e1ce30d89d
Fixed mouse wheel handling for GAL canvases with wx3.0.
12 years ago
Orson
59a0ced0a6
Corrected the error message about required OpenGL version for GAL. Fixed pcb_calculator .desktop file.
12 years ago
Maciej Suminski
c5a3c1082a
Removed a few RecacheAllItems() calls, some of them changed to specific type recaching (using TYPE_COLLECTOR & VIEW_ITEM::ViewUpdate() ).
Removed OPENGL_GAL::SetStrokeColor().
12 years ago
Maciej Suminski
597e98dbf4
Cursor is in world coordinates.
12 years ago
Maciej Suminski
f9f0b46b63
Small GAL refactorization, mostly correcting constness.
12 years ago
Maciej Suminski
e43b5f7c0f
Small fix for crippled polylines containing 0 points.
12 years ago
Maciej Suminski
c21ae6efca
Double click support for the Tool Framework.
12 years ago
Maciej Suminski
fc4f9195b6
Fixed wx2.8 strings compatibility.
12 years ago
Maciej Suminski
5235d7e5eb
Modified error handling for OpenGL backend, now error messages should be visible.
12 years ago
Maciej Suminski
edc43c19cd
Fix colorized framebuffer output on some GPUs.
12 years ago
Maciej Suminski
f615c462a2
Changed the used framebuffer object extension from ARB_framebuffer_object to EXT_framebuffer_object (compatibility reasons).
12 years ago
Maciej Suminski
c7bc1e151c
GAL is not activated by default. Late OpenGL backend initializatization.
12 years ago
Maciej Suminski
bc305859b2
Mainly case changes.
12 years ago
Maciej Suminski
0ac3e1fbf2
Namespace KiGfx->KIGFX.
template<> -> template <>
Some more reformatting according to uncrustify results.
12 years ago
Maciej Suminski
22045b61ea
Converted tabs to spaces. Removed trailing whitespaces.
12 years ago
tomasz.wlostowski@cern.ch
d8480e4674
gal: make the cursor a bit bigger and hidden by default
12 years ago
Maciej Suminski
9fbf45ebfc
Fixed drawing outlined track segments.
12 years ago
Maciej Suminski
782867f7b3
Caps for lines are drawn only when segments are wider than 1.0
12 years ago
Maciej Suminski
b04de0cada
Fixed memory leaks in containers.
12 years ago
Maciej Suminski
8a4417ec46
Fixed color for drawing polygons on overlay.
12 years ago
Maciej Suminski
bd8998d1da
Fixed cursor drawing for OpenGL.
12 years ago
Maciej Suminski
6fe086ab6d
Added cursor snapping.
12 years ago
Maciej Suminski
215f35e237
Added mouse cursor drawing.
Added flipping mode.
12 years ago
Maciej Suminski
89a138c09e
Added handling keyboard events for the Tool framework.
12 years ago
Maciej Suminski
43ae1cb98d
Smarter way of the overlay rendering (overlay is always refreshed, while cached&noncached targets only if the viewport or items have changed).
12 years ago