mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-11-18 19:56:04 -05:00
Clean up button indentation
This commit is contained in:
parent
a718d3064d
commit
3713406ad8
40
ubitx_ui.cpp
40
ubitx_ui.cpp
@ -15,23 +15,23 @@ struct Button {
|
|||||||
#define MAX_BUTTONS 17
|
#define MAX_BUTTONS 17
|
||||||
const struct Button btn_set[MAX_BUTTONS] PROGMEM = {
|
const struct Button btn_set[MAX_BUTTONS] PROGMEM = {
|
||||||
//const struct Button btn_set [] = {
|
//const struct Button btn_set [] = {
|
||||||
{0, 10, 159, 36, "VFOA", "A"},
|
{ 0, 10, 159, 36, "VFOA", "A"},
|
||||||
{160, 10, 159, 36, "VFOB", "B"},
|
{160, 10, 159, 36, "VFOB", "B"},
|
||||||
|
|
||||||
{0, 80, 60, 36, "RIT", "R"},
|
{ 0, 80, 60, 36, "RIT", "R"},
|
||||||
{64, 80, 60, 36, "USB", "U"},
|
{ 64, 80, 60, 36, "USB", "U"},
|
||||||
{128, 80, 60, 36, "LSB", "L"},
|
{128, 80, 60, 36, "LSB", "L"},
|
||||||
{192, 80, 60, 36, "CW", "M"},
|
{192, 80, 60, 36, "CW", "M"},
|
||||||
{256, 80, 60, 36, "SPL", "S"},
|
{256, 80, 60, 36, "SPL", "S"},
|
||||||
|
|
||||||
{0, 120, 60, 36, "80", "8"},
|
{ 0, 120, 60, 36, "80", "8"},
|
||||||
{64, 120, 60, 36, "40", "4"},
|
{ 64, 120, 60, 36, "40", "4"},
|
||||||
{128, 120, 60, 36, "30", "3"},
|
{128, 120, 60, 36, "30", "3"},
|
||||||
{192, 120, 60, 36, "20", "2"},
|
{192, 120, 60, 36, "20", "2"},
|
||||||
{256, 120, 60, 36, "17", "7"},
|
{256, 120, 60, 36, "17", "7"},
|
||||||
|
|
||||||
{0, 160, 60, 36, "15", "5"},
|
{ 0, 160, 60, 36, "15", "5"},
|
||||||
{64, 160, 60, 36, "10", "1"},
|
{ 64, 160, 60, 36, "10", "1"},
|
||||||
{128, 160, 60, 36, "WPM", "W"},
|
{128, 160, 60, 36, "WPM", "W"},
|
||||||
{192, 160, 60, 36, "TON", "T"},
|
{192, 160, 60, 36, "TON", "T"},
|
||||||
{256, 160, 60, 36, "FRQ", "F"},
|
{256, 160, 60, 36, "FRQ", "F"},
|
||||||
@ -39,23 +39,23 @@ const struct Button btn_set[MAX_BUTTONS] PROGMEM = {
|
|||||||
|
|
||||||
#define MAX_KEYS 17
|
#define MAX_KEYS 17
|
||||||
const struct Button keypad[MAX_KEYS] PROGMEM = {
|
const struct Button keypad[MAX_KEYS] PROGMEM = {
|
||||||
{0, 80, 60, 36, "1", "1"},
|
{ 0, 80, 60, 36, "1", "1"},
|
||||||
{64, 80, 60, 36, "2", "2"},
|
{ 64, 80, 60, 36, "2", "2"},
|
||||||
{128, 80, 60, 36, "3", "3"},
|
{128, 80, 60, 36, "3", "3"},
|
||||||
{192, 80, 60, 36, "", ""},
|
{192, 80, 60, 36, "", ""},
|
||||||
{256, 80, 60, 36, "OK", "K"},
|
{256, 80, 60, 36, "OK", "K"},
|
||||||
|
|
||||||
{0, 120, 60, 36, "4", "4"},
|
{ 0, 120, 60, 36, "4", "4"},
|
||||||
{64, 120, 60, 36, "5", "5"},
|
{ 64, 120, 60, 36, "5", "5"},
|
||||||
{128, 120, 60, 36, "6", "6"},
|
{128, 120, 60, 36, "6", "6"},
|
||||||
{192, 120, 60, 36, "0", "0"},
|
{192, 120, 60, 36, "0", "0"},
|
||||||
{256, 120, 60, 36, "<-", "B"},
|
{256, 120, 60, 36, "<-", "B"},
|
||||||
|
|
||||||
{0, 160, 60, 36, "7", "7"},
|
{ 0, 160, 60, 36, "7", "7"},
|
||||||
{64, 160, 60, 36, "8", "8"},
|
{ 64, 160, 60, 36, "8", "8"},
|
||||||
{128, 160, 60, 36, "9", "9"},
|
{128, 160, 60, 36, "9", "9"},
|
||||||
{192, 160, 60, 36, "", ""},
|
{192, 160, 60, 36, "", ""},
|
||||||
{256, 160, 60, 36, "Can", "C"},
|
{256, 160, 60, 36, "Can", "C"},
|
||||||
};
|
};
|
||||||
|
|
||||||
boolean getButton(char *text, struct Button *b){
|
boolean getButton(char *text, struct Button *b){
|
||||||
|
Loading…
Reference in New Issue
Block a user