Some more UI features for Scotty

Two new ways of changing range:
- Press Z to snap to cursors, or M to open a dialog and enter manually.
- The frequency boxes now scroll in a more sane way - round down to the
nearest multiple of 10, then divide by 10 to find out the increment.
For example, at 2kHz, the next value will be 2.1kHz (2000 + 1000/10)
rather than 2.001Hz (2000 + 1).


Former-commit-id: 80b928cc27
This commit is contained in:
EspoTek 2016-09-19 12:24:10 +10:00
parent 3a085a0547
commit 9027dff591
61 changed files with 59 additions and 49 deletions

View File

@ -1 +1 @@
7bdaea8660844968c0a4a10bbf1dace25db00bc5
a68468c13bf1c1b965e857bc67b431a6097277fe

View File

@ -1 +1 @@
e14355441dfc8ec41924b6c8f8e2d2522c65ac62
3adc43d96c2c8273ff671e8a59114d19407dda0b

View File

@ -1 +1 @@
ff546cad7e3ed4ce9cce151c302c09d9a5736dcb
9adaec61184c62cfc737dc347e1713be35d586d2

View File

@ -1 +1 @@
baf207e8a4dabd1197ede896b383d088f0453863
95775d7d02bbe89a7b510744095a1465cde76f3f

View File

@ -1 +1 @@
7cd3121b21fe45bf4c7dded9c699a88682964178
8cf65fa12d347e9741d7d320413613ab5cade93e

View File

@ -1 +0,0 @@
e2c157e8991bf3bf76869a520ee5099b1d505e23

View File

@ -1 +0,0 @@
98d76973c3a6c3a4a764e9713c74ed78bef4ed69

View File

@ -1 +1 @@
f339c37f7d9af995bb84ab88139b1657cdaee502
4cc73ea933df36efbc358f6e917d70229c1c70f7

View File

@ -1 +1 @@
5ada4751ac24af72e589a4ceb8a428380b6dadeb
396ef7091c65321a2bffabfa36b6a5f37779aad2

View File

@ -1 +1 @@
486e0a439ef0f6ab27ee189b2a6e2cc6af20d3eb
cce81f77c9ebc31f8f7ff9ec7c9c5983ec0a64d8

View File

@ -1 +1 @@
69dbf3511bb5d1dea2ee8b503b3abed79030912b
2bc582bdfa0dcd20b68af25010120deae4a25358

View File

@ -1 +1 @@
ef021b14895bbc59bfe37d50df9fb30f0d0d1168
2edb617c0a5a93dbd7cccdb63e0c992f06c26534

View File

@ -1 +1 @@
9db97bd92122de7bc744b1ea6f9f0adbf083c10a
9d10bc29a226452316a99b4cd06ad3423c0e126a

View File

@ -1 +1 @@
6cbbdc3b79c702e66af9239e251a24ff2ce07d13
881ac9c490655f0da800371cdec76be69d0ec353

View File

@ -1 +1 @@
ed665484c2424d41de4c16de5f51520b6680dbce
2154f3977f1bc1922f6d4fad62a5b60ff3758c0d

View File

@ -1 +1 @@
71a3bd573e0e671d565514c496a2cff03e9ac621
f9d7535e1c5bf52207e5ebc6b889fdaf4103aaba

View File

@ -1 +1 @@
f555dc4d2268464ea5f8f70e7b6661fa01210523
105a452365208fc90a290996f122e0b646a6265d

View File

@ -1 +1 @@
248a9f833660500a665b110314815457b5403e53
f336a9ad64fed325d6c08fa6f9df913b2a835a02

View File

@ -1 +1 @@
4388c623e182cb2810c7d4dc536c75f8e04f6f66
633e57fe8e926015ac847ad55c9942a620c5fd08

View File

@ -1 +1 @@
545333f831a8148119507e5411cb58816a1afb75
319dcd5ededf742ef92b93dc6134ea846087dd10

View File

@ -1 +1 @@
cb319384b3a0ab81e91fd76b80e9fde9f63ad4f7
dfea2a409419cd96cbd9710647be7084f14fc585

View File

@ -1 +1 @@
3421666b7f6a61f72b55f9b3e0e598636914b3cf
8c4de30e01218694630c24bdfad6993285ae40d0

View File

@ -1 +1 @@
0950a77dafadeea78324d762ba8a3b47096158e2
92b6cbf0844731fe76ab2f299356ad4c7f0023b9

View File

@ -1 +1 @@
38a2813126130a6fbb8ee674305ab4f651a91073
78e8cd304b14c38b569856f404eb9481d92c4eb2

View File

@ -1 +1 @@
d42af70d1315e9e98c9bd22df70deeef2e98abe3
3d1d797b7096204b8fcd615e4f8ab5e67e4a0d13

View File

@ -1 +1 @@
971087a6b3326efb86b7db89f4ab88731e35d494
9a516cb0e5f9c1b484e8dd153048213cb34a16a4

View File

@ -1 +1 @@
c7543e0a6f74814b68e3b07f3a8c5403a2368fef
e910d3209d8cc8557baf458446d0712c51e51c65

View File

@ -1 +1 @@
fcbdff2086b3022b673b81afb7ae3930cc68afb5
473800e7b56c0bf170e60155472177303762e4b3

View File

@ -1 +1 @@
5bf62ea6d4a8ad3b75806e3264fa1269986f0f2f
bf38280b7e4e646d8e0a8a2fa052ecb9f6151377

View File

@ -1 +1 @@
3232a101fa64de4f8163b7117dcf59c005215501
0b29b28644efba6a8a55032e455a569782523ec6

View File

@ -1 +1 @@
c93edbc007ee4231310d25e36ece54ce7c0dd2fb
30ff08e3aa9cb65cf526a050e93fb83272f7a52f

View File

@ -1 +1 @@
3a85762a4e59e6a131c1a92b8ab5ba13e708e334
7e4a6afe052251a959b1503b112d6ab0a23e744f

View File

@ -1 +1 @@
c592b03fb90e9796b0a3f1366aed2e055f54b12f
d5bd19a54be5fc6ccf2e43a78834c5615e18292b

View File

@ -1 +1 @@
5832200e103ffd3cab5b2a893d020f8e3d3b31d6
9fe0288c5fd60be3b88096fabd15b2389e3afea0

View File

@ -1 +1 @@
3db10db752cc42deadb6e749872d6f6df39e4db9
5036539a8910a5da709e20c68487ee1d02958a32

View File

@ -1 +1 @@
955abe6a17cfa954ceb15bc24701f09884c13c54
0610841341c5c92f1b3d94400346bedc9f3fd53c

View File

@ -1 +1 @@
c7c792e40d7c1198cd64a130e87f0eb8fc2342ad
330f067ca9cfbbb42e56ff7ad004ffd092f48ff9

View File

@ -1 +1 @@
9e34631326c0593340db80b245258a107a572768
b87aad7c9e03fa00c9bea8e4a452df7cb5370528

View File

@ -1 +1 @@
6c9244e6134cd50c5ca2ae2d2a1742a1390813e9
c6c1fda42903c7809379812797baa6eb4d42ba68

View File

@ -1 +1 @@
da007c0096256b651d4db4229b3fdbba61072b9f
153addc6efc60e2dd8305c2164960defa7a73ebd

View File

@ -0,0 +1 @@
787de1ab1aa0de2c36662dc57c8f531434033c2d

View File

@ -0,0 +1 @@
1143da947e40926369d5070b75df005c54843839

View File

@ -1 +1 @@
2b75caf6d4b3903148e12e1724a04576badb940a
aa316bfeddd33b90ca7275cb1a9df832981ce2cd

View File

@ -0,0 +1 @@
bd3342dadda7d66700583c4fe76bee831aa27ef1

View File

@ -0,0 +1 @@
f2894866db9e2da775ff29ccec9000bf65193cf4

View File

@ -1 +1 @@
233de7c68787ffcdf37847a31f3796b0480215e0
1e8fbe92c1db35fda30256de23fe4c457ea9b59a

View File

@ -1 +1 @@
74f94387ef488701a06f4f9da8e043f5317e5c8c
7575955d358e065b9236643f193e9a5ba6546b33

View File

@ -1 +1 @@
4af0586e8e10ef1c9f626a4dcc3cc50e94787190
c7e9bba75ffc4901142be31fafd0f32b9ae2c28c

View File

@ -1 +1 @@
06be1b282fcab8bb37448e680c9fbbf028108ec1
8c8a7e09812c8a95d3996de417bd936629b40b74

View File

@ -0,0 +1 @@
6689aa8cb6f393f8f2ae3f07c6ff4120d200a6d8

View File

@ -1 +1 @@
33d372ce06b484905000dfdb3e226dced95515ca
46743e08bd4735b45b69d66db4c1295b2a1cacc5

View File

@ -1 +1 @@
b9c9227366f3551bab256cfc68a7ec57602479d9
99e6f46bdf10b382341b3aaf13c7f64726988c07

View File

@ -0,0 +1 @@
ab8c0f39302a10dd7d5e70ab1003b5de1f3ffde0

View File

@ -1 +1 @@
f9953f5194d5e74062af14b404c00c42a6eb3c35
4985bea283ae3cb26f6e59588c48a23136787297

View File

@ -0,0 +1 @@
496299ba7f65f1052e503ea63c15c9bb25e32d2a

View File

@ -0,0 +1 @@
433e9fcfb28051b18723444554ee54ba4dc1d004

View File

@ -0,0 +1 @@
c04a52eeb6524c09241b8f645860c5e93adc536c

View File

@ -1 +1 @@
deaba06cd89d0a0699729fdcd63df9e6394a5351
a7480bf40b4dc2d8d97ff886358de9eed4f9c0a4

View File

@ -0,0 +1 @@
d2502050a558e837df39ebe307538ee50d1def88

View File

@ -0,0 +1 @@
f7e94ae7ca22bb1a40edc5efcf8af8fb8972b53e

View File

@ -0,0 +1 @@
32e49a41662e7a7296e0e5b0a292fdeb8d8813ff