Adam Martini
|
92ecff3fc0
|
WIP: dragging on ring only using lv_atan
|
2020-06-25 21:18:42 -07:00 |
|
Adam Martini
|
f75428e52b
|
Match rotary_bg line width to indicator width
|
2020-06-23 23:06:56 -07:00 |
|
Adam Martini
|
b414aa755d
|
int32 fix to mapping logic
|
2020-06-23 13:33:25 -07:00 |
|
Adam Martini
|
5961800fe0
|
Fix map contract
|
2020-06-23 12:56:07 -07:00 |
|
Adam Martini
|
663af3dfb3
|
Shift mapping math out of floating point
|
2020-06-23 12:54:06 -07:00 |
|
Adam Martini
|
0aeb49d28a
|
Fix Set sym end angle
|
2020-06-22 22:53:58 -07:00 |
|
Adam Martini
|
83d05f945f
|
Fix bg_end init
|
2020-06-22 22:49:23 -07:00 |
|
Adam Martini
|
f0cae00574
|
Rearrange type call for clarity. Fix symmetric arc setters
|
2020-06-22 22:47:01 -07:00 |
|
Adam Martini
|
46f7dff9e2
|
Fix statement declaration
|
2020-06-22 21:56:31 -07:00 |
|
Adam Martini
|
9ede4ba707
|
typo
|
2020-06-22 21:54:47 -07:00 |
|
Adam Martini
|
1c071530ad
|
Remove sym references
|
2020-06-22 21:54:03 -07:00 |
|
Adam Martini
|
ba10671b2b
|
Rotary types. Add symmetric value setter
|
2020-06-22 21:50:21 -07:00 |
|
Adam Martini
|
af7134269e
|
Force set_value handling in reverse
|
2020-06-21 11:15:48 -07:00 |
|
Adam Martini
|
19a1afbd89
|
Fix reverse mapping
|
2020-06-21 11:05:24 -07:00 |
|
Adam Martini
|
5359a762b8
|
Reverse min and max in mapping reverse
|
2020-06-21 10:59:41 -07:00 |
|
Adam Martini
|
0d6b8a86d4
|
Try reverse mapping
|
2020-06-21 00:36:39 -07:00 |
|
Adam Martini
|
6c01490372
|
Use value setter for reverse start angle setting
|
2020-06-21 00:34:08 -07:00 |
|
Adam Martini
|
4ab8520bfb
|
Use lv math abs
|
2020-06-21 00:29:03 -07:00 |
|
Adam Martini
|
d60a6cbc76
|
Add reverse value mapping and arc tracking
|
2020-06-21 00:26:20 -07:00 |
|
Adam Martini
|
4bedc57b7d
|
Add setter for threshold
|
2020-06-21 00:08:49 -07:00 |
|
Adam Martini
|
e1761d50a1
|
Test threshold for value jupming
|
2020-06-21 00:05:09 -07:00 |
|
Adam Martini
|
856368284e
|
Test sensitivity threshold for value jumping
|
2020-06-20 23:58:03 -07:00 |
|
Adam Martini
|
ad990994d0
|
Fix release drag hoping better checking for -1 last drag x
|
2020-06-20 23:54:25 -07:00 |
|
Adam Martini
|
247b5b6f0c
|
Fix drag diff calc
|
2020-06-20 23:43:40 -07:00 |
|
Adam Martini
|
6836947e67
|
typo
|
2020-06-20 23:33:50 -07:00 |
|
Adam Martini
|
dc873966e9
|
Make sensitivity an int
|
2020-06-20 23:33:18 -07:00 |
|
Adam Martini
|
fe483e8e21
|
Add sensitivity default explicit
|
2020-06-20 23:26:22 -07:00 |
|
Adam Martini
|
3a31577592
|
Add sesitivty setter
|
2020-06-20 23:20:12 -07:00 |
|
Adam Martini
|
3721fc52a8
|
Typo
|
2020-06-20 17:25:14 -07:00 |
|
Adam Martini
|
a7350282f0
|
Use drag diff for value setting
|
2020-06-20 17:24:34 -07:00 |
|
Adam Martini
|
c93ef97ab9
|
Remove NULL comp
|
2020-06-20 17:18:53 -07:00 |
|
Adam Martini
|
866e088f98
|
Copy knob_area to ext
|
2020-06-20 17:16:57 -07:00 |
|
Adam Martini
|
15ec0f8e2f
|
Remove value_to_set remnant. Do not override checked opacity
|
2020-06-20 17:15:09 -07:00 |
|
Adam Martini
|
fc14c2c01c
|
Remove chechable and toggle
|
2020-06-20 17:11:12 -07:00 |
|
Adam Martini
|
71f8497ee6
|
Add knob_area ext
|
2020-06-20 16:47:23 -07:00 |
|
Adam Martini
|
5a0c0e2e97
|
Add value change event calls for dragging
|
2020-06-20 16:43:53 -07:00 |
|
Adam Martini
|
3e079a47ae
|
Pull btn functionality out for now, make checked state make DEAFULT. Add dragging value setters.
|
2020-06-20 16:40:47 -07:00 |
|
Adam Martini
|
35c0cfcfea
|
Use custom event as data is not transfered to CB
|
2020-06-20 12:23:24 -07:00 |
|
Adam Martini
|
fa8deb524d
|
Mising ;
|
2020-06-20 12:18:53 -07:00 |
|
Adam Martini
|
f3773694bc
|
Remove custom event in favor or NULL diff
|
2020-06-20 12:17:15 -07:00 |
|
Adam Martini
|
1860742c13
|
Fix missing ;. Add custom event last
|
2020-06-20 12:14:17 -07:00 |
|
Adam Martini
|
f6d75e759c
|
Add btn like signal handling for knob part. Add custom event to distuinguish from VALUE_CHANGED
|
2020-06-20 12:12:42 -07:00 |
|
Adam Martini
|
9b38b35420
|
Static state setter
|
2020-06-20 11:13:37 -07:00 |
|
Adam Martini
|
b1afc3f34d
|
Add rotary state
|
2020-06-20 11:11:26 -07:00 |
|
Adam Martini
|
1dfdabd638
|
Test btn extension
|
2020-06-20 11:06:06 -07:00 |
|
Adam Martini
|
446b0b6429
|
Floats working fro value mapping
|
2020-06-19 18:05:55 -07:00 |
|
Adam Martini
|
cf4db99206
|
Test float for mapping
|
2020-06-19 18:01:15 -07:00 |
|
Adam Martini
|
c854670062
|
Test float for mapping
|
2020-06-19 18:00:28 -07:00 |
|
Adam Martini
|
e100565c67
|
Move map function to proper func to avoid recalc of slope
|
2020-06-19 17:49:02 -07:00 |
|
Adam Martini
|
f5d9e4bff4
|
Fix range mapping for value setter assuming left to right indic
|
2020-06-19 17:39:50 -07:00 |
|