mirror of
https://github.com/kepler155c/opus
synced 2024-11-18 14:44:50 +00:00
15 lines
330 B
Lua
15 lines
330 B
Lua
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,
|
|
}
|