Silvano Seva
42e7521205
Fixed compilation error with GDx targets
...
Added codec2 as a dependency also for GD77, DM1801 and MD9600 targets to allow compilation of OpMode_17.cpp file
Stub input audio stream driver for GDx targets
2021-10-06 21:43:07 +02:00
Federico Amedeo Izzo
229a81b2ad
Add text input draft
...
Fix text input position not being reset when entering edit mode
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
87703a76e6
Add M17 Settings
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
882a657359
* Combine S-meter and Level meter
...
* Make squelch bar always yellow
* Include font height in s-meter total height
Correct bottom bar printing position
Increase bottom bar size on GD-77
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
118c514081
UI: Add digital mode screen
...
Use main screen bottom bar in mode screen
mode screen: Move frequency and channel name to center
Show S-meter without squelch bar for digital modes
Change S-meter for digital modes, add audio level meter
Print FM information in mode screen
Add mode screen fonts
2021-09-03 16:44:57 +02:00
Federico Amedeo Izzo
a42354a204
Remove Messages menu as it's not implemented yet
2021-04-11 10:06:12 +02:00
Federico Amedeo Izzo
58f4f5dcaf
Print git commit or tag inside Info menu
2021-04-11 09:56:46 +02:00
Niccolò Izzo
d4ad8b12b1
Fix bug on MD380
...
Fixed a bug where pressing the side button would lead to a crash,
probably caused by a misaligned memory access, due to the addition of a
packed attribute.
2021-04-09 13:26:01 +02:00
Niccolò Izzo
b6eab0fde7
Fix failing boot on MD380
2021-04-02 08:43:31 +02:00
Silvano Seva
86f6d114e2
Applied __attribute__((packed)) to all data structures to reduce memory footprint
2021-03-26 18:11:22 +01:00
Federico Amedeo Izzo
820ac73d08
UI: Add menu_h and menu_font layout parameters
2021-02-20 16:03:37 +01:00
Federico Amedeo Izzo
75c1f13882
UI: Replaced strcmp with switch case to fix GPS/menu bug
2021-02-15 22:02:09 +01:00
Federico Amedeo Izzo
ebe87b22e2
UI: Add menu edit mode. Small refactoring
2021-02-13 21:29:25 +01:00
Federico Amedeo Izzo
66af402e83
Move settings from UI to State
2021-02-13 20:32:53 +01:00
Federico Amedeo Izzo
d66b59694a
UI: Add GPS settings menu
2021-02-13 17:23:16 +01:00
Federico Amedeo Izzo
a803958c61
UI: Menu scrolling logic refactoring, add GPS Settings entry
2021-02-13 16:35:03 +01:00
Federico Amedeo Izzo
2728dbcce1
UI: Use separate font setting for VFO input and Time to
...
avoid inheriting asymmetric fonts from the main screen
2021-02-02 12:54:09 +01:00
Niccolò Izzo
d60c75d9e3
Move MACRO menu into super-state
2021-01-31 13:29:23 +01:00
Federico Amedeo Izzo
c8b4328450
UI: Change layout to show big digits frequency
2021-01-31 11:37:42 +01:00
Federico Amedeo Izzo
046d1a160c
UI: Change right and left positions in layout_t to a unique position
...
This can be done since you can now print with right aligning on a left position
2021-01-30 20:04:04 +01:00
Federico Amedeo Izzo
a612e885ab
UI: Add about screen
2021-01-30 11:57:00 +01:00
Federico Amedeo Izzo
8b72587b7b
UI: Make last_state an extern variable. Add Info screen values
2021-01-30 08:33:39 +01:00
Federico Amedeo Izzo
92af6c4804
UI: Add Info menu
2021-01-30 08:02:54 +01:00
Federico Amedeo Izzo
f083a77001
UI: Fixed (null) menu entry on targets without RTC
2021-01-29 23:07:39 +01:00
Federico Amedeo Izzo
450c965ee0
Disable contrast menu on targets without adjustable contrast
2021-01-29 22:57:24 +01:00
Federico Amedeo Izzo
1f240ba132
Move brightness from state_t to settings_t, add Contrast
2021-01-29 22:13:47 +01:00
Federico Amedeo Izzo
0c11198e8a
UI: Use one function to draw all menus
2021-01-29 19:31:17 +01:00
Federico Amedeo Izzo
2533f35309
UI: Add display settings
2021-01-29 19:30:22 +01:00
Federico Amedeo Izzo
feb7e7ef7e
UI: Initial MEM implementation
2021-01-09 19:37:51 +01:00
Federico Amedeo Izzo
e34674151b
UI: Move menu related functions to ui_menu.c
2021-01-09 10:47:18 +01:00
Niccolò Izzo
2fe6cd1cb6
Implement draft of the macro menu feature
2021-01-05 10:08:18 +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
641dcc13e9
UI: Add Time&Date settings, not functional yet
2020-12-31 16:36:32 +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
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
7888a7e398
UI: Add time and date settings, cannot be set right now
2020-12-22 17:49:00 +01:00
Federico Amedeo Izzo
423c3f04d3
UI: Add menu list drawing function, small refactoring.
2020-12-20 09:07:48 +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
c7e928666c
Move low battery screen into main FSM
2020-12-18 19:03:57 +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
Federico Amedeo Izzo
94b37d9137
Events: More events changes
2020-12-06 14:37:21 +01:00
Federico Amedeo Izzo
b0b772cd50
Keyboard: Add missing keyboard.h include
2020-11-28 09:53:44 +01:00
Federico Amedeo Izzo
efc4820328
Keyboard: Replace uint32_t with keyboard_t
2020-11-28 09:51:18 +01:00
Federico Amedeo Izzo
82be1afe17
UI: Add VFO frequency change
2020-11-26 22:44:39 +01:00
Silvano Seva
65e4643f1e
Code cleanup and suppression of some compilation warnings
2020-11-24 14:23:05 +01:00
Federico Amedeo Izzo
3370e5a3a7
Add shared state logic
2020-11-21 10:46:48 +01:00
Silvano Seva
b06b120148
Reorganising thread structure, moving thread bodies and thread creation function into a dedicated source file to make overall source code more easily readable
2020-11-15 22:23:32 +01:00