Silvano Seva
a5209d6f52
Modified range for display backlight level from 0 - 255 to 0 - 100, set minimum allowed level to 5.
2022-02-26 15:45:41 +01:00
tarxvf
9297c08b05
Add a menu for clearing settings and vfo to sane defaults ( #67 )
2022-02-26 12:42:28 +01:00
Alessio Caiazza
d04180c0df
Rename brightness_timer into display_timenr
2022-01-03 14:51:22 +01:00
Alessio Caiazza
d742d027b7
Display timer UI
2022-01-03 14:51:22 +01:00
Silvano Seva
756812ca31
Created function for writing settings and VFO status to NVM, starting of temporary implementation writing data to the MCU's internal flash
2021-11-08 22:22:26 +01:00
Silvano Seva
c91e306026
Reorganised settings data structure
2021-11-08 21:44:33 +01:00
Niccolò Izzo
65a632054a
Disable CTCSS tones in M17 mode
...
Removed CTCSS modulation for M17 mode, removed FM analog specific
settings in macro menu such as tone selection, tone enable and tx
bandwidth.
2021-10-08 16:02:03 +02:00
Federico Amedeo Izzo
c04ceb9a8d
Add M17 radio mode to UI
2021-09-03 16:44:57 +02:00
Niccolò Izzo
f43f54117c
Fix M17 callsign setting
...
Fix M17 callsign disappearing in M17 settings.
The generic callsign (currently not used) was being shown instead of M17 callsign.
2021-09-03 16:44:57 +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
Silvano Seva
4d3eacc144
Switched 'v_bat' and 'charge' fields of state struct from float to, respectively, uint16_t and uint8_t and updated UI functions accordingly. Rationale for this change is providing better support for future platforms without hardware floating point unit.
2021-08-14 12:56:45 +02:00
Federico Amedeo Izzo
58f4f5dcaf
Print git commit or tag inside Info menu
2021-04-11 09:56:46 +02:00
Federico Amedeo Izzo
341c46a263
Now state.time is UTC, add functions to convert from UTC to local and reverse
2021-04-10 15:39:59 +02:00
Federico Amedeo Izzo
341ab84ce9
Converted `gfx_print()` from char * pointer to format string
2021-04-10 11:10:52 +02:00
Niccolò Izzo
d95e0a1513
Print signed GPS longitude as unsigned+direction
2021-03-24 08:54:46 +01:00
Niccolò Izzo
eb0a5ee9f0
Fix compass orientation, speed formatting
2021-02-21 20:38:54 +01:00
Federico Amedeo Izzo
0b14e36bdb
Fix About screen on GD-77
2021-02-20 16:25:06 +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
9c47797ff0
UI: Fixed mismatch between visible and selectable menu elements
2021-02-20 15:47:41 +01:00
Federico Amedeo Izzo
c644e8db1d
UI: Remove position parameter from menu list
2021-02-20 15:35:19 +01:00
Federico Amedeo Izzo
5bb200933b
UI: Add missing GPS ifdefs
2021-02-17 20:02:53 +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
Niccolò Izzo
479eda3d96
Fix altitude print
2021-02-15 13:54:23 +01:00
Federico Amedeo Izzo
663673b697
UI: Fix compilation warnings
2021-02-14 14:04:01 +01:00
Federico Amedeo Izzo
619cda7aeb
Turn off GPS when it's turned off in settings
2021-02-14 13:55:33 +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
Niccolò Izzo
7577b4d6ae
Improved algorithm for keeping track of active satellites
2021-02-13 13:27:06 +01:00
Niccolò Izzo
1f9793d268
Complete GPS compass implementation
...
Now the GPS screen compass has a needle, which point to the current
movement direction.
2021-02-13 12:43:48 +01:00
Niccolò Izzo
3017ff1f3a
Reduced smeter width, fix max RSSI representation
2021-02-13 11:24:05 +01:00
Niccolò Izzo
a0814fd5d1
Better rendering when no fix is present
2021-02-13 11:23:40 +01:00
Niccolò Izzo
586b524625
Add GPS compass stub
2021-02-13 11:23:13 +01:00
Niccolò Izzo
ec06b14618
Add GPS satellites snr bar graph
2021-02-11 21:27:03 +01:00
Niccolò Izzo
0cf86ce6ea
Add GPS UI draft
2021-02-11 09:44:41 +01:00
Federico Amedeo Izzo
83d91b555d
Add hwInfo in Info menu
2021-02-02 21:45:10 +01:00
Federico Amedeo Izzo
65b5c0b002
Info menu: Fixed battery percentage
2021-02-02 21:10:48 +01:00
Federico Amedeo Izzo
61ad0879c5
CPS-UI: Make channels, zones and contacts 1-based to fix zone bound
2021-02-02 20:52:37 +01:00
Federico Amedeo Izzo
08a44375fc
UI: Fix macro menu line 2 height
2021-02-02 20:08:15 +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
7e0500d3a5
Improved Smeter rendering in MACRO menu
2021-02-01 23:33:49 +01:00
Federico Amedeo Izzo
70bce5a5fc
UI: Fixed zone menu bug causing last zone to be replicated
2021-02-01 21:47:10 +01:00
Federico Amedeo Izzo
438540290b
UI: Add MEM channel filtering per zone
2021-01-31 14:14:54 +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
da7cda8020
Fix warning: Remove unnecessary parameter
2021-01-30 19:58:25 +01:00
Federico Amedeo Izzo
9c713523f2
Macro menu: Fixed bug caused by change in TEXT_ALIGN_RIGHT
2021-01-30 19:56:36 +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
12d58139e4
UI: Fix warning
2021-01-29 22:59:38 +01:00
Federico Amedeo Izzo
c9ee09b1f6
UI: Add Brightness/Contrast change
2021-01-29 22:41:42 +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
fcf8dc2bcb
UI: Add function to draw menu list with values
2021-01-29 21:31:28 +01:00
Federico Amedeo Izzo
171d6f76a9
Fix rebase issues
2021-01-29 19:34:44 +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
Niccolò Izzo
364f8d4e46
Add squelch visualization and control from macro menu
2021-01-28 12:51:22 +01:00
Niccolò Izzo
5156783495
Rename MenuMacro in MacroMenu
2021-01-28 12:50:13 +01:00
Federico Amedeo Izzo
f61c269270
UI: Replace GPS with MODE selection on macro menu
2021-01-26 21:19:11 +01:00
Federico Amedeo Izzo
2057374fac
UI: Merge Zone, Channel and Contacts menu in a single function
2021-01-24 19:36:21 +01:00
Federico Amedeo Izzo
1a1e39fcc0
UI: Add Zone and Contacts menu
2021-01-24 18:53:43 +01:00
Federico Amedeo Izzo
c9c1e2312f
UI: Fix compiler warnings
2021-01-24 15:51:11 +01:00
Federico Amedeo Izzo
0e1e9469ea
UI: Fixed bug in channel menu resulting in a pinned first channel
2021-01-13 21:10:31 +01:00
Federico Amedeo Izzo
571adfaabf
UI: Move ui_*.c files to ui subfolder
2021-01-10 09:04:53 +01:00