mirror of
https://github.com/kepler155c/opus
synced 2025-12-18 22:28:06 +00:00
ui overhaul
This commit is contained in:
14
sys/apis/ui/components/MenuItem.lua
Normal file
14
sys/apis/ui/components/MenuItem.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
local class = require('class')
|
||||
local UI = require('ui')
|
||||
|
||||
local colors = _G.colors
|
||||
|
||||
--[[-- MenuItem --]]--
|
||||
UI.MenuItem = class(UI.Button)
|
||||
UI.MenuItem.defaults = {
|
||||
UIElement = 'MenuItem',
|
||||
textColor = colors.black,
|
||||
backgroundColor = colors.lightGray,
|
||||
textFocusColor = colors.white,
|
||||
backgroundFocusColor = colors.lightGray,
|
||||
}
|
||||
Reference in New Issue
Block a user