Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/SCRIPTS/BF/TEMPLATES/320x240.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
return {
margin = 5,
indent = 15,
lineSpacing = 20,
listSpacing = { line = 20, field = 170 },
tableSpacing = { row = 25, col = 60, header = 20 },
}
41 changes: 41 additions & 0 deletions src/SCRIPTS/BF/radios.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,47 @@ local supportedRadios =
},
cms = nil,
},
["320x240"] = {
msp = {
template = "TEMPLATES/320x240.lua",
highRes = true,
MenuBox = {
x = 80,
y = 80,
w = 160,
x_offset = 54,
h_line = 20,
h_offset = 10
},
SaveBox = {
x = 80,
y = 80,
w = 144,
x_offset = 10,
h = 60,
h_offset = 12
},
NoTelem = {128, LCD_H - 28, "No Telemetry", (TEXT_COLOR or 0) + INVERS + BLINK},
textSize = 0,
yMinLimit = 30,
yMaxLimit = 200
},
cms = {
rows = 9,
cols = 32,
pixelsPerRow = 24,
pixelsPerChar = 12,
xIndent = 10,
yOffset = 28,
textSize = MIDSIZE,
refresh = {
event = EVT_VIRTUAL_ENTER,
text = "Refresh: [ENT]",
top = 1,
left = 220
}
},
},
}

local resolution = LCD_W.."x"..LCD_H
Expand Down