-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlayout_gui.txt
52 lines (38 loc) · 1.06 KB
/
layout_gui.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
-- ###############################
-- ## Project: MTA:Speedrace ##
-- ## Name: RegisterBoxGUI ##
-- ## Author: Noneatme ##
-- ## Version: 1.0 ##
-- ## License: See top Folder ##
-- ###############################
-- FUNCTIONS / METHODS --
local cFunc = {}; -- Local Functions
local cSetting = {}; -- Local Settings
CG.RegisterBox = {};
CG.RegisterBox.__index = CG.RegisterBox;
-- ///////////////////////////////
-- ///// New //////
-- ///////////////////////////////
function CG.RegisterBox:New(...)
local obj = setmetatable({}, {__index = self});
if obj.Constructor then
obj:Constructor(...);
end
return obj;
end
-- ///////////////////////////////
-- ///// Open //////
-- ///////////////////////////////
function CG.RegisterBox.Open(...)
end
-- ///////////////////////////////
-- ///// Constructor //////
-- ///////////////////////////////
function CG.RegisterBox:Constructor(...)
self.renderFunc = function()
self:RenderGui();
end
self.state = false;
logger:OutputInfo("[CALLING] CG.RegisterBox: Constructor");
end
-- EVENT HANDLER --