mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 04:06:39 +09:00
Add core elements
This commit is contained in:
16
exp_gui/module/test.lua
Normal file
16
exp_gui/module/test.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
local ExpGui = require("modules/exp_gui")
|
||||
|
||||
local frame = ExpGui.element("test")
|
||||
:draw{
|
||||
type = "frame",
|
||||
caption = "Hello, World",
|
||||
}
|
||||
|
||||
ExpGui.add_left_element(frame, true)
|
||||
|
||||
ExpGui.create_toolbar_button{
|
||||
name = "test-button",
|
||||
left_element = frame,
|
||||
caption = "Test",
|
||||
}
|
||||
Reference in New Issue
Block a user