canvas overhaul

This commit is contained in:
kepler155c@gmail.com
2020-03-31 10:08:07 -06:00
parent 79c8c4beae
commit cdea6e4aed
18 changed files with 296 additions and 160 deletions

12
ccemux/etc/apps.db Normal file
View File

@@ -0,0 +1,12 @@
{
[ "emu_config" ] = {
title = "Config",
category = "CCEmuX",
run = "emu config",
},
[ "emu_data" ] = {
title = "Data",
category = "CCEmuX",
run = "emu data",
},
}

View File

@@ -9,7 +9,7 @@ local tab = UI.Tab {
tabTitle = 'CCEmuX',
description = 'CCEmuX peripherals',
form = UI.Form {
x = 2, ex = -2, y = 1, ey = 4,
x = 2, ex = -2, y = 2, ey = 5,
values = {
side = 'bottom',
type = 'wireless_modem',
@@ -28,7 +28,7 @@ local tab = UI.Tab {
},
},
drive_id = UI.TextEntry {
x = 20, y = 3,
x = 19, y = 3,
formKey = 'drive_id',
shadowText = 'id',
width = 5,
@@ -36,13 +36,13 @@ local tab = UI.Tab {
transform = 'number',
},
add = UI.Button {
x = 28, y = 3,
x = -6, y = 3, width = 5,
text = 'Add', event = 'form_ok',
help = 'Add items to turtle to add to filter',
},
},
grid = UI.Grid {
x = 3, ex = -3, y = 6, ey = -2,
x = 2, ex = -2, y = 7, ey = -2,
columns = {
{ heading = 'Side', key = 'side', width = 8 },
{ heading = 'Type', key = 'type' },