Commit Graph

48 Commits

Author SHA1 Message Date
Charles J. Cliffe 7aa7daa55f Cleanup: utility classes 2021-04-04 22:21:05 -04:00
vsonnier 5ab44e3104 Use spin-locks for short-lived, non-recursive locking sequences 2019-03-03 10:36:10 +01:00
vsonnier c1e60f31f5 Fix #615 Be smarter when looking for font resources 2018-02-15 19:02:56 +01:00
vsonnier f1208c7f5c When saving bookmarks, use active information when available
+ Fixed std::string <=> std::wstring conversions using wxString
+ cleanups.
2018-01-08 19:26:34 +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 0a19686b51 Remove 'threadlocal' pedantic and very limited usage that is not supported on all platforms 2017-04-05 19:28:18 +02: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 95fd357c72 Add font scale support to meter panel 2016-07-21 18:43:11 -04:00
vsonnier 567d84711f THREAD_CLEAN_PART2: Assure correct terminate()/isTerminated(delay)/delete sequence +
Removed the NotifyQueue between DemodulatorInstance participants, actually not needed
since DemodulatorInstance::IsTerminated() is explicitly called on some events for cleanups

DELETE_CLEANUP: properly nullify deleted pointers when needed
2016-07-03 14:22:41 +02:00
Charles J. Cliffe 464055ff57 OSX bundled font fix-up 2016-06-28 19:36:37 -04:00
vsonnier a558102cc5 Rewrite GLFont loading routine with correct paths computation 2016-06-25 17:51:22 +02: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
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 85178095ca Reset all font caches when font size changes 2016-06-21 21:26:12 +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
vsonnier 26bf1d9927 GLFont doCacheGC() in one pass 2016-06-21 21:26:10 +02:00
vsonnier 92221bccdd Save font scale in global settings 2016-06-21 21:26:09 +02:00
vsonnier f3d4b8868a Force general refresh on font change 2016-06-21 21:26:08 +02:00
vsonnier 46bf72aa0f Refactor: put fonts in their own 'fonts' subdir, because they are quite numerous now 2016-06-21 21:26:07 +02:00
vsonnier 4d12b2f392 Changed medium to 1.5x instead of 1.3333x... 2016-06-21 21:26:06 +02:00
vsonnier e099c170f6 Kinda works, not perfect though. 2016-06-21 21:26:06 +02:00
vsonnier 3918c7b9f4 wstring/string usage pass, should be clean now 2016-06-14 19:52:15 +02:00
Charles J. Cliffe 61d67e69d6 wstring support for datatree, urlencode for xml..? 2016-06-12 22:49:13 -04:00
Charles J. Cliffe 005ce358ed OSX fixes 2016-06-12 20:06:44 -04:00
vsonnier 8960d49f84 Fix GLFont get exe path 2016-06-12 18:41:59 +02:00
vsonnier 55ca1c465a Basic support is here for user labels, even if DataTree only support 8bit strings
Regenerated fonts with up to 254 characters. Rendering is OK, but DataTree do not able to save it...
2016-06-12 17:05:11 +02:00
Charles J. Cliffe bfb2b1bdf3 Tweak font cache agression 2016-03-22 20:58:47 -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 7b3942fbcf De-construct empty cache tree branches on GC 2016-03-15 01:25:07 -04:00
Charles J. Cliffe 297e35ebf7 GLFont temporary string compiling/caching with garbage collect 2016-03-15 01:12:31 -04:00
Charles J. Cliffe eb020a765b MSVC resource patch from @guruofquality #276 2016-02-22 18:43:58 -05:00
Charles J. Cliffe 65005b60ac Linux - missing header and warning fixes 2016-02-04 18:05:33 -05:00
Charles J. Cliffe c4dac53532 Fix remaining init order and unused warnings 2016-01-28 18:11:53 -05:00
Charles J. Cliffe bab2ad3780 cleanup 2015-08-03 23:41:37 -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 b28c8dbc3e Move static fonts to GLFont 2015-06-30 23:07:39 -04:00
Charles J. Cliffe 436783535b Duped readable check should be exists 2015-06-01 00:05:50 -04:00
Charles J. Cliffe 44e73839a8 If font resource not found then try executable path. 2015-06-01 00:04:05 -04:00
Charles J. Cliffe 07c9395d1f Debian package cpack + icon fix 2015-03-08 20:17:19 -04:00
Charles J. Cliffe 6679b20fbb Can now choose demodulator output devices 2014-12-31 21:31:37 -05:00
Charles J. Cliffe 8ce3065bce cleanup / refactor / profiled 2014-12-23 01:12:14 -05:00
Charles J. Cliffe 34a6d3f5e0 Added frequency labels, 100khz intervals 2014-12-09 21:28:08 -05:00
Charles J. Cliffe 7f9a871598 Simplify GLFont drawString usage 2014-12-08 20:39:38 -05:00
Charles J. Cliffe da8d178e34 Filtering mode 2014-12-08 19:46:29 -05:00
Charles J. Cliffe 542326baab Font rendering functional: test string 2014-12-08 19:38:38 -05:00
Charles J. Cliffe 6c7372ed90 Font loader experiment 2014-12-08 02:16:06 -05:00