Commit Graph

1285 Commits

Author SHA1 Message Date
vsonnier
a558102cc5 Rewrite GLFont loading routine with correct paths computation 2016-06-25 17:51:22 +02:00
vsonnier
23f3ff132a FIX not-initialized audio samples in mono causing fucked FFT + pedantic touches 2016-06-25 16:02:44 +02:00
vsonnier
aa29e4ff27 A remnant of font size dev, indeed font 42 finally not present 2016-06-25 07:54:44 +02:00
Charles J. Cliffe
f2f8b311ef Merge pull request #380 from vsonnier/text_zones_adjustments
Fix for large dB values displayed with truncation on the left if > Normal zoom level, and misc.
2016-06-24 18:10:44 -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
f9b394e1ef Herp de Derp James Ready 5.5
This reverts commit 48eeae863e.
2016-06-24 00:19:57 -04:00
Charles J. Cliffe
48eeae863e Save/Load Font Scale with App Config 2016-06-23 23:21:17 -04:00
Charles J. Cliffe
fbea17c993 Merge branch 'vsonnit push origin masterer-settable_font_sizes_with_menu' 2016-06-23 22:49:52 -04:00
Charles J. Cliffe
7f92733cac Minor manual gain font size tweak 2016-06-23 22:22:30 -04:00
Charles J. Cliffe
147c508050 Mode selector font looks good, but needed +5px for visual padding 2016-06-23 22:13:03 -04:00
Charles J. Cliffe
0c1fed662e Minor diaply menu naming 'prefix: multiplier' change, eventually move to sub-menu when more display options.. 2016-06-23 22:07:37 -04:00
Charles J. Cliffe
0352216b1d boolean -> bool 2016-06-23 21:52:32 -04:00
vsonnier
324702e26b Fix Spectrum mhz steps and frequencies not properly calculated w.r.t front scale factor 2016-06-24 02:01:32 +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
308baf163b GLFont::getFont() is not free, do not call it unnecessarily 2016-06-21 21:26:11 +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
9c08317e6b Add new fonts (22,36,42,64,96 pix) 2016-06-21 21:26:05 +02:00
Charles J. Cliffe
87cb6c9ec3 Merge pull request #376 from vsonnier/fix_locale_for_character_strings
FIX: non-Ascii and beyond are working better now (ex: Euro symbol)
2016-06-20 22:53:18 -04:00
vsonnier
006c1e5755 FIX: non-Ascii and beyond are working better now (ex: Euro symbol) 2016-06-19 16:47:33 +02:00
Charles J. Cliffe
717f81f2d7 Merge pull request #372 from vsonnier/last_wstring_fixes
Last string vs. wstring cleanups (hopefully)
2016-06-14 18:57:12 -04:00
vsonnier
3918c7b9f4 wstring/string usage pass, should be clean now 2016-06-14 19:52:15 +02:00
Charles J. Cliffe
44256f684a Merge pull request #371 from vsonnier/wstring_encode_fixes
wstring encode / decode fixes
2016-06-13 17:57:29 -04:00
vsonnier
4def8ee0f1 This was seriously fucked up :) Now it seems OK. 2016-06-13 21:50:18 +02:00
Charles J. Cliffe
8ff4176bd9 missing algorithm for replace() 2016-06-12 23:38:22 -04:00
Charles J. Cliffe
8b3fba02cc GCC missing codecvt support 2016-06-12 23:36:38 -04: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
4b07a3acc7 gain meter width 1 pixel off 2016-06-11 22:17:38 -04:00
Charles J. Cliffe
8f2ce9f6dc Move mute handler to global keys; now works with selected + hovered 2016-06-11 22:13:42 -04:00
Charles J. Cliffe
c33a359153 Merge branch 'vsonnier-editable_demod_label' 2016-06-11 21:57:55 -04:00
vsonnier
59163f8335 LABEL: pedantic adjustment, say Edit, nit Set 2016-06-11 14:28:29 +02:00
vsonnier
9de22ffaf1 LABEL: Fix for crash when labels looks like numbers... 2016-06-11 13:15:01 +02:00
vsonnier
d7d9fc8c32 LABEL: Add a label edit dialog, much like FrequencyDialog, works not bad 2016-06-11 10:08:12 +02:00
vsonnier
00e241a784 LABEL: first attempt, <user_label> is read from session XML, apparently also saved. 2016-06-11 07:46:07 +02:00
Charles J. Cliffe
02034a8817 version bump. 2016-06-09 23:17:49 -04:00
Charles J. Cliffe
654aae2383 Add 'p' key as peak-hold toggle 2016-06-09 18:16:03 -04:00
Charles J. Cliffe
13be18a2a3 Merge pull request #368 from vsonnier/peakhold_on_demod_spectrum_and_misc
Peakhold on demod spectrum and misc
2016-06-09 17:52:07 -04:00
vsonnier
e7531952fe MISC 2: Windows has a right to stdout, enable it for both Digital Lab or Debug builds 2016-06-09 19:38:21 +02:00
vsonnier
4ec08b8b68 MISC 1 : Create ReBuffer by default with refcount 1, so remove redundant refCount(1) evertwhere 2016-06-09 19:38:20 +02:00