-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefinitions.lua
More file actions
27 lines (21 loc) · 1.09 KB
/
definitions.lua
File metadata and controls
27 lines (21 loc) · 1.09 KB
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
--[[
---@class panel : frame
---@field config_panel frame
---@class config : table
---@field OnDefault fun(self: config)
---@field InitializeVisuals fun(self: config)
---@field parent_panel frame
---@class util : table
---@field SystemMsg fun(msg: string)
---@field SystemMsgEm fun()
---@field SimpleRound fun(num: number, step: number): number
---@field Text fun(parent: frame, text: string, font: string): fontstring
---@field Frame fun(type: string, name: string, parent: frame, template: string?): frame
---@field Checkbox fun(parent: frame, id: string, x: number, y: number, val: string): CheckButton
---@field Slider fun(parent: frame, id: string, x: number, y: number, width: number?, minVal: number, maxVal: number, step: number, label: string?): Slider
---@field Button fun(parent: frame, id: string, x: number, y: number, width: number?, height: number?, text: string?): Button
---@class animations : table
---@field FadeIn fun(frame: frame, duration: number?, onFinished: function?)
---@field FadeOut fun(frame: frame, duration: number?, onFinished: function?)
---@field StopFade fun(frame: frame)
]] --