mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Optimised Code Layout
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
-- This file is used to require all the different elements of the gui module
|
||||
local Gui = require('./gui/core')
|
||||
|
||||
local Buttons = require('./gui/buttons')
|
||||
Gui.new_button = Buttons.new_button
|
||||
Gui.inputs.buttons = Buttons
|
||||
local Button = require('./gui/buttons')
|
||||
Gui.new_button = Button.new_button
|
||||
Gui.classes.button = Button
|
||||
|
||||
local Toolbar = require('./gui/toolbar')
|
||||
Gui.new_toolbar_button = Toolbar.new_button
|
||||
Gui.add_button_to_toolbar = Toolbar.add_button
|
||||
Gui.structure.toolbar = Toolbar
|
||||
Gui.update_toolbar = Toolbar.update
|
||||
Gui.classes.toolbar = Toolbar
|
||||
|
||||
local Checkboxs = require('./gui/checkboxs')
|
||||
Gui.new_checkbox = Checkboxs.new_checkbox
|
||||
Gui.new_radiobutton = Checkboxs.new_radiobutton
|
||||
Gui.new_radiobutton_option_set = Checkboxs.new_option_set
|
||||
Gui.inputs.checkboxs = Checkboxs
|
||||
local Checkbox = require('./gui/checkboxs')
|
||||
Gui.new_checkbox = Checkbox.new_checkbox
|
||||
Gui.new_radiobutton = Checkbox.new_radiobutton
|
||||
Gui.new_radiobutton_option_set = Checkbox.new_option_set
|
||||
Gui.classes.checkbox = Checkbox
|
||||
|
||||
return Gui
|
||||
Reference in New Issue
Block a user