Niccolò Izzo
95e00c2eff
Fix transparency
2021-01-05 10:08:18 +01:00
Niccolò Izzo
2fe6cd1cb6
Implement draft of the macro menu feature
2021-01-05 10:08:18 +01:00
Federico Amedeo Izzo
868a0df892
UI: Fix GD77 font sizes
2021-01-03 11:22:24 +01:00
Federico Amedeo Izzo
bcb4f5ccfc
UI: Remove unneeded frequency position
2021-01-03 11:17:15 +01:00
Federico Amedeo Izzo
4029bcf90e
UI: Removed unnecessary layout fix
2021-01-03 09:52:56 +01:00
Federico Amedeo Izzo
a5a9750fc3
UI: Recalculate layout and padding sizes for all radios
2021-01-03 09:38:54 +01:00
Federico Amedeo Izzo
83ab86e955
UI: Add channel menu implementation
2021-01-02 12:10:10 +01:00
Federico Amedeo Izzo
89567cce85
UI: remove screen refresh flag
...
screen refresh is not needed anymore since GUI refresh is already done on demand
2021-01-01 21:11:22 +01:00
Federico Amedeo Izzo
dba2b27310
UI: small refactoring, replace snprintf without placeholders with strcpy
2021-01-01 20:30:21 +01:00
Federico Amedeo Izzo
94b7be826a
Disable RTC related code on platforms without a functional RTC
2021-01-01 18:58:35 +01:00
Silvano Seva
7cc4b36907
Suppressed some compiler warnings
2021-01-01 17:31:42 +01:00
Federico Amedeo Izzo
50b93904c1
UI: Fix bug where frequency set with number keys wouldn't apply
2021-01-01 10:49:12 +01:00
Federico Amedeo Izzo
b3bf54adcf
UI: Complete timedate menu
2020-12-31 19:05:29 +01:00
Federico Amedeo Izzo
641dcc13e9
UI: Add Time&Date settings, not functional yet
2020-12-31 16:36:32 +01:00
Federico Amedeo Izzo
4cfc7d2131
UI: Fix frequency input bug causing incorrect frenquency set
2020-12-31 14:59:21 +01:00
Federico Amedeo Izzo
7a9135d746
Platform: Add frequency limit check
2020-12-31 14:51:19 +01:00
Federico Amedeo Izzo
0769701ccc
UI: Remove unused function
2020-12-31 13:55:12 +01:00
Federico Amedeo Izzo
fc38fe8ed4
UI: replace pow with multiplication in frequency input
2020-12-31 13:51:27 +01:00
Federico Amedeo Izzo
13a8ff9e40
UI: Frequency set minor fix
2020-12-30 22:55:17 +01:00
Federico Amedeo Izzo
3f21c60471
UI: Change frequency input behaviour
2020-12-30 22:48:46 +01:00
Federico Amedeo Izzo
ac0f906257
UI: Implement RX/TX frequency input
2020-12-30 22:23:21 +01:00
Federico Amedeo Izzo
58876ec4f2
UI: Set TX frequency together with RX frequency keeping previous offset
2020-12-30 20:11:05 +01:00
Federico Amedeo Izzo
3309fe6fa1
UI: Add RX frequency input. (WARNING: no frequency bound check present)
2020-12-30 19:55:51 +01:00
Niccolò Izzo
73c7b74a3a
Add input parsing functions
...
Input parsing functions are moved into input.c/input.h, and currently
contain functions to determine if a number is pressed and to extract the
pressed number.
2020-12-30 15:46:43 +01:00
Federico Amedeo Izzo
3ecf27392e
UI: Calculate menu entries num instead of using a define
2020-12-28 09:31:33 +01:00
Federico Amedeo Izzo
ce768c3c8a
UI: Add menu scroll to fit more menu entries on small screens
2020-12-27 20:45:49 +01:00
Federico Amedeo Izzo
e5ac363081
UI: Fix menu list position on GDx family
2020-12-27 17:42:27 +01:00
Federico Amedeo Izzo
f9b9f7ecf6
UI: Add menu selection wrap-around
2020-12-27 15:26:50 +01:00
Niccolò Izzo
c77cc46fb6
Fix include syntax
...
Interface header includes have acquired the interface prefix, to
distinguish them from regular header includes.
2020-12-24 16:30:13 +01:00
Federico Amedeo Izzo
1f4fba958b
KBD: Add function to tell if number keys are pressed
2020-12-23 11:05:59 +01:00
Federico Amedeo Izzo
7888a7e398
UI: Add time and date settings, cannot be set right now
2020-12-22 17:49:00 +01:00
Federico Amedeo Izzo
7b9e3eaff2
UI: Reset menu selection when moving between submenus
2020-12-20 11:00:59 +01:00
Federico Amedeo Izzo
ec60dc8273
UI: Add Settings submenu, small refactoring
2020-12-20 10:47:07 +01:00
Federico Amedeo Izzo
a9d4aa08a8
UI: Add menu selection
2020-12-20 09:24:57 +01:00
Federico Amedeo Izzo
423c3f04d3
UI: Add menu list drawing function, small refactoring.
2020-12-20 09:07:48 +01:00
Niccolò Izzo
8d55a3e702
Implement alpha channel in graphics library
...
Alpha channel can be used to draw transparent objects.
2020-12-19 15:03:00 +01:00
Niccolò Izzo
5949a481fa
Add synchronization between radio state and RTX
...
Now the FSM update function takes an additional parameter, which
determines if the radio state has to be synchronized with the RTX state.
If so, the ui_task does the job.
2020-12-18 21:44:59 +01:00
Niccolò Izzo
85b1fb08e6
Fix printing horizontal start coordinates
2020-12-18 19:21:23 +01:00
Niccolò Izzo
c7e928666c
Move low battery screen into main FSM
2020-12-18 19:03:57 +01:00
Federico Amedeo Izzo
b7d3e0b91d
UI: Adapt updateFSM() to new keyboard message format
2020-12-17 22:18:44 +01:00
Silvano Seva
a38d3d2486
Fixed compilation warnings
2020-12-11 14:41:44 +01:00
Niccolò Izzo
a3decb8d85
Improved low battery screen rendering on smaller screens
2020-12-11 14:40:56 +01:00
Niccolò Izzo
41ec005680
Implement battery voltage to charge conversion
...
Voltage to charge nonlinear function is being linearly approximated in
the operating range.
2020-12-11 14:09:36 +01:00
Federico Amedeo Izzo
0e1d9b090f
UI: Add current mode print on status bar
2020-12-07 18:43:54 +01:00
Federico Amedeo Izzo
27f2fad507
UI: Add horizontal padding to menu items
2020-12-06 22:28:11 +01:00
Federico Amedeo Izzo
9e50b7c9b1
UI: reduce menu entries font size
2020-12-06 22:28:11 +01:00
Silvano Seva
7273c084ca
Moved menuItems from ui.h to ui.c
2020-12-06 22:28:11 +01:00
Federico Amedeo Izzo
2251354288
UI: Add top menu items
2020-12-06 22:28:11 +01:00
Federico Amedeo Izzo
8b1d688935
UI: Add initial menu support
2020-12-06 22:28:11 +01:00
Niccolò Izzo
6a0afd7df7
Implement battery icon function for bw screens
...
Add battery drawing function in graphics_bw.c, fix GD77 layout.
2020-12-06 18:03:48 +01:00