mirror of
https://github.com/kepler155c/opus
synced 2025-10-23 11:47:39 +00:00
better colors
This commit is contained in:
@@ -27,7 +27,6 @@ local page = UI.Page({
|
||||
prompt = UI.TextEntry({
|
||||
y = 2,
|
||||
shadowText = 'enter command',
|
||||
backgroundFocusColor = colors.black,
|
||||
limit = 256,
|
||||
accelerators = {
|
||||
enter = 'command_enter',
|
||||
|
@@ -254,6 +254,7 @@ function page.container:setCategory(categoryName)
|
||||
y = 4,
|
||||
text = title,
|
||||
backgroundColor = self.backgroundColor,
|
||||
--backgroundFocusColor = colors.gray,
|
||||
width = #title + 2,
|
||||
event = 'button',
|
||||
app = program,
|
||||
@@ -414,7 +415,7 @@ function page:eventHandler(event)
|
||||
return true
|
||||
end
|
||||
|
||||
local formWidth = math.max(UI.term.width - 14, 26)
|
||||
local formWidth = math.max(UI.term.width - 8, 26)
|
||||
|
||||
local editor = UI.Dialog {
|
||||
height = 11,
|
||||
|
@@ -15,10 +15,7 @@ local env = {
|
||||
}
|
||||
Config.load('shell', env)
|
||||
|
||||
UI.TextEntry.defaults.backgroundFocusColor = colors.black
|
||||
|
||||
local systemPage = UI.Page {
|
||||
backgroundColor = colors.cyan,
|
||||
tabs = UI.Tabs {
|
||||
pathTab = UI.Window {
|
||||
tabTitle = 'Path',
|
||||
@@ -80,7 +77,6 @@ local systemPage = UI.Page {
|
||||
x = 9, y = 2, rex = -4,
|
||||
limit = 32,
|
||||
value = os.getComputerLabel(),
|
||||
backgroundFocusColor = colors.black,
|
||||
accelerators = {
|
||||
enter = 'update_label',
|
||||
},
|
||||
@@ -97,7 +93,6 @@ local systemPage = UI.Page {
|
||||
{ name = 'Day', value = tostring(os.day()) },
|
||||
},
|
||||
selectable = false,
|
||||
--backgroundColor = colors.blue,
|
||||
columns = {
|
||||
{ key = 'name', width = 12 },
|
||||
{ key = 'value', width = UI.term.width - 15 },
|
||||
|
@@ -114,7 +114,7 @@ local function draw()
|
||||
parentTerm.setTextColor(_colors.focusTextColor)
|
||||
parentTerm.setBackgroundColor(_colors.backgroundColor)
|
||||
parentTerm.setCursorPos( w, 1 )
|
||||
parentTerm.write('*')
|
||||
parentTerm.write('\215')
|
||||
end
|
||||
|
||||
if currentTab then
|
||||
|
Reference in New Issue
Block a user