Commit Graph

42 Commits

Author SHA1 Message Date
Aleksey Makarenko 5c78738d33 Proper OpenGL HiDPI handling. Fixes problems with size of OpenGL widgets on HiDPI screens. (PR #769) 2021-08-02 14:57:45 +02:00
Charles J. Cliffe a0f1ccf68d Cleanup: visual ui / interface panels 2021-04-04 22:20:33 -04:00
Charles J. Cliffe 99ecbef373 Fix nudging out of view, fix keypad triggering and tuner freq entry target 2019-05-24 00:30:22 -04:00
vsonnier e46d7f9735 Migration to wxWidgets v3.11:
- Seen on Windows: Bookmarkview slow update because the controls are self-reacting to the rebuild control events, so fix nullify them during control rebuilding.
- Update OpenGL initialization using v3.1 level context and canvas attributes instead of the deprecated calls.
2018-03-11 11:47:14 +01:00
vsonnier 8f608bbf5c Cleanup: remove some unused params and variables, conversion warnings seen with #550. 2017-05-29 20:22:10 +02:00
vsonnier 3095f8205a CubicVR2: more restricted operators on structures by removing convert-to-pointer. (Fix #550 ?) 2017-05-28 12:59:08 +02:00
vsonnier 115b0ffa58 CLEANUP: some compiler and static analysis warnings 2017-01-28 14:57:27 +01:00
Charles J. Cliffe 3ec14fbe38 Licence fix, add SPDX-License-Identifier, remove unused code files 2017-01-02 21:07:43 -05:00
Charles J. Cliffe 4ec2d8bcbd Functional MeterPanel 2016-07-06 23:16:25 -04:00
vsonnier 07102caf54 dB display truncated on the left at big zoom levels + Realign TextPanel font choice on existing fonts because scaling is quite ugly 2016-06-24 22:20:51 +02:00
Charles J. Cliffe 0352216b1d boolean -> bool 2016-06-23 21:52:32 -04:00
vsonnier 78cfe9c755 DONE. Now GLFont.getFont() retturns a proxy that automatically selects the best font for the required size 2016-06-23 21:28:04 +02:00
vsonnier 83b62cddeb The quest continues, almost done, but have an idea to rework GLFont.drawString() completly, TODO next time 2016-06-22 21:21:32 +02:00
vsonnier 9962e606a6 FIX out-of-bounds dB display 2016-06-22 19:04:59 +02:00
vsonnier f52bad6196 Make GLFont its own pixHeight, so don't provide it in drawString() anymore 2016-06-21 21:26:10 +02:00
Charles J. Cliffe 688181e566 Cleanup MSVC warnings and deprecated C++ exception stuff 2016-06-01 19:42:34 -04:00
Charles J. Cliffe 9ac31040d5 Back out wxGLAttributes update until needed. 2016-04-07 20:00:59 -04:00
Charles J. Cliffe cd41a8197e Clean-up extraneous glFlush(), it's all in the main thread on shared context.. 2016-03-31 20:24:38 -04:00
Charles J. Cliffe f4b7baebfa Update to wx 3.1.0 gl attributes, simplify GLFont cache and GC 2016-03-22 20:49:15 -04:00
Charles J. Cliffe 020145c705 Make FFTW3 optional; liquid-dsp is performing better on it's own.. 2016-03-20 18:56:13 -04:00
Stanisław Pitucha c1eb1de1bd Fix remaining unused parameters 2016-01-27 11:45:54 +11:00
Charles J. Cliffe ac93aa369b Manual Gain Control :-)
- Disable AGC from settings menu
- Requires latest SoapySDRPlay gain commits for SDRPlay
2015-10-27 01:56:49 -04:00
Charles J. Cliffe 7a0f523eaf Test of draggable scope area + fixes
- Will be able to drag back/forth to cycle scope/spectrum/plot
- Fix for two crashes
2015-08-19 23:22:46 -04:00
Charles J. Cliffe db1374045b missing include 2015-08-18 18:43:55 -04:00
Charles J. Cliffe 62858abbf5 Spectrum peak and floor dB are now displayed 2015-08-17 21:52:38 -04:00
Charles J. Cliffe 2f0d6b9c75 Re-usable WaterfallPanel to replace WaterfallContext 2015-08-09 23:00:51 -04:00
Charles J. Cliffe db8e7a68d0 Re-usable ScopePanel to replace ScopeContext Plot 2015-08-09 12:51:01 -04:00
Charles J. Cliffe 9d4f933758 synchronized refresh timer at 30fps, remove osx frame limiter hack
- Tuning, Gain and Mode selector canvases no longer refresh unless
necessary
- Hopefully resolves refresh issues on El Capitan and others
2015-08-08 13:26:53 -04:00
Charles J. Cliffe 3fbb1def49 MSVC and TDMGCC fixes 2015-07-31 18:21:30 -04:00
Charles J. Cliffe 59b8c41906 border fix 2015-07-06 23:05:49 -04:00
Charles J. Cliffe 27aacb001e basic automatic font size 2015-07-05 21:09:00 -04:00
Charles J. Cliffe 237a7ad06f Separate transform calc and render 2015-07-05 19:10:48 -04:00
Charles J. Cliffe 5ac0dc8c41 simplify alt. coordinate sys on panel contents only, y-up otherwise 2015-07-05 18:54:46 -04:00
Charles J. Cliffe 48308145b7 add GLTextPanel, initial work on nested coordinate systems 2015-07-01 00:34:32 -04:00
Charles J. Cliffe 8ccb060237 margin tweaks 2015-06-27 01:55:39 -04:00
Charles J. Cliffe c770a0e20e Margin now specified in pixels 2015-06-27 01:26:07 -04:00
Charles J. Cliffe df978cef89 unify min/max/mid, use vmin/vmax for border 2015-06-26 22:18:49 -04:00
Charles J. Cliffe 8753be05e7 Import cubicvr2 math; implement for GLPanel 2015-06-26 22:04:16 -04:00
Charles J. Cliffe f2601edaa1 Borders, mixed coordinate preparations 2015-06-22 22:07:46 -04:00
Charles J. Cliffe adbb853c6d GLPanel gradient background fills 2015-06-21 11:58:14 -04:00
Charles J. Cliffe ab438738aa Fix conflict with wx RGBColor struct 2015-06-21 10:51:13 -04:00
Charles J. Cliffe 4ee791ac0c Initial GLPanel prototype, testing nested layouts 2015-06-20 20:19:52 -04:00