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