Ui enhancements 2.0 (#29)

* canvas overhaul

* editor 2.0

* more tweaks

* more editor work

* completions + refactor

* cleanup + editor additions

* cleanup + undo overhaul

* editor recent/peripherals/redo + cleanup

* editor path issues

* cleanup

* changes for deprecated ui methods - recolor milo - make turtle scripts run again - mob rancher improvements

* can now use named colors
This commit was merged in pull request #29.
This commit is contained in:
kepler155c
2020-04-21 22:40:47 -06:00
committed by GitHub
parent 47e0a90116
commit 4576969739
65 changed files with 1842 additions and 1310 deletions

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

@@ -0,0 +1,12 @@
{
[ "87e89abb4c1c551fe08d355d097f18b8de78edca5f556997085681662fce8eed" ] = {
title = "Config",
category = "CCEmuX",
run = "emu config",
},
[ "cec3a9b89b2e391393d0f68e4bc12a9fa6cf358b3cdf79496dc442d52b8dd528" ] = {
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' },