simplify style system

This commit is contained in:
airstruck
2015-12-07 04:22:36 -05:00
parent 367535ad33
commit 69703fdce0
41 changed files with 2227 additions and 292 deletions

View File

@@ -8,12 +8,11 @@ return {
toolButton = {
align = 'center middle',
width = 48,
},
toolButton_focused = {
slices = 'defer',
},
toolButton_not_hovered = {
slices = false,
slices = function (self)
return self.focused and 'defer'
or self.hovered and 'defer'
or false
end
},
statusbar = {
align = 'left middle',
@@ -32,7 +31,6 @@ return {
type = 'submenu',
width = 600,
height = 400,
float = true,
},
dialogHead = {
type = 'panel',