@tlua/gmod 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.tlua +1 -0
- package/package.json +1 -1
- package/types/achievements.d.tlua +15 -45
- package/types/ai.d.tlua +5 -15
- package/types/angle.d.tlua +18 -54
- package/types/baseclass.d.tlua +2 -4
- package/types/bf_read.d.tlua +11 -32
- package/types/bit.d.tlua +11 -33
- package/types/cam.d.tlua +16 -48
- package/types/ceffectdata.d.tlua +32 -95
- package/types/chat.d.tlua +5 -15
- package/types/cleanup.d.tlua +7 -21
- package/types/cluaemitter.d.tlua +12 -35
- package/types/clualocomotion.d.tlua +40 -119
- package/types/cluaparticle.d.tlua +44 -131
- package/types/cmovedata.d.tlua +47 -140
- package/types/cnavarea.d.tlua +77 -230
- package/types/cnavladder.d.tlua +22 -65
- package/types/cnewparticleeffect.d.tlua +26 -77
- package/types/color.d.tlua +28 -84
- package/types/concommand.d.tlua +4 -12
- package/types/constraint.d.tlua +28 -84
- package/types/construct.d.tlua +1 -3
- package/types/contentheader.d.tlua +3 -6
- package/types/contenticon.d.tlua +9 -24
- package/types/contentsidebar.d.tlua +4 -9
- package/types/contextbase.d.tlua +4 -9
- package/types/controlpanel.d.tlua +18 -40
- package/types/controlpresets.d.tlua +13 -36
- package/types/convar.d.tlua +16 -47
- package/types/cookie.d.tlua +3 -9
- package/types/coroutine.d.tlua +7 -21
- package/types/crecipientfilter.d.tlua +16 -47
- package/types/csoundpatch.d.tlua +14 -41
- package/types/ctakedamageinfo.d.tlua +33 -98
- package/types/ctrlnumpad.d.tlua +6 -17
- package/types/cusercmd.d.tlua +27 -80
- package/types/cvars.d.tlua +6 -18
- package/types/dadjustablemodelpanel.d.tlua +7 -18
- package/types/dalphabar.d.tlua +3 -6
- package/types/dbinder.d.tlua +4 -9
- package/types/dbubblecontainer.d.tlua +2 -3
- package/types/dbutton.d.tlua +8 -21
- package/types/dcheckbox.d.tlua +5 -12
- package/types/dcheckboxlabel.d.tlua +9 -27
- package/types/dcollapsiblecategory.d.tlua +23 -66
- package/types/dcolorbutton.d.tlua +7 -18
- package/types/dcolorcombo.d.tlua +5 -12
- package/types/dcolorcube.d.tlua +13 -36
- package/types/dcolormixer.d.tlua +27 -78
- package/types/dcolorpalette.d.tlua +23 -66
- package/types/dcolumnsheet.d.tlua +5 -12
- package/types/dcombobox.d.tlua +17 -48
- package/types/ddragbase.d.tlua +13 -36
- package/types/ddrawer.d.tlua +8 -21
- package/types/debug.d.tlua +44 -76
- package/types/debugoverlay.d.tlua +11 -33
- package/types/dentityproperties.d.tlua +5 -12
- package/types/derma.d.tlua +10 -30
- package/types/dexpandbutton.d.tlua +3 -6
- package/types/dfilebrowser.d.tlua +20 -60
- package/types/dform.d.tlua +18 -51
- package/types/dframe.d.tlua +24 -72
- package/types/dgrid.d.tlua +11 -30
- package/types/dhorizontaldivider.d.tlua +20 -57
- package/types/dhorizontalscroller.d.tlua +11 -30
- package/types/dhscrollbar.d.tlua +11 -30
- package/types/dhtml.d.tlua +8 -21
- package/types/dhtmlcontrols.d.tlua +5 -15
- package/types/diconbrowser.d.tlua +11 -30
- package/types/diconlayout.d.tlua +18 -51
- package/types/dimage.d.tlua +20 -55
- package/types/dimagebutton.d.tlua +9 -27
- package/types/dlabel.d.tlua +33 -96
- package/types/dlabeleditable.d.tlua +5 -12
- package/types/dlabelurl.d.tlua +10 -27
- package/types/dlistbox.d.tlua +8 -21
- package/types/dlistboxitem.d.tlua +4 -9
- package/types/dlistview.d.tlua +34 -99
- package/types/dlistview_column.d.tlua +14 -39
- package/types/dlistview_line.d.tlua +13 -36
- package/types/dmenu.d.tlua +28 -75
- package/types/dmenubar.d.tlua +6 -11
- package/types/dmenuoption.d.tlua +13 -36
- package/types/dmenuoptioncvar.d.tlua +6 -15
- package/types/dmodelpanel.d.tlua +22 -63
- package/types/dmodelselect.d.tlua +2 -3
- package/types/dmodelselectmulti.d.tlua +2 -3
- package/types/dnotify.d.tlua +10 -27
- package/types/dnumberscratch.d.tlua +26 -75
- package/types/dnumberwang.d.tlua +16 -45
- package/types/dnumslider.d.tlua +17 -51
- package/types/dpanel.d.tlua +14 -39
- package/types/dpanellist.d.tlua +11 -33
- package/types/dpaneloverlay.d.tlua +7 -18
- package/types/dpanpanel.d.tlua +6 -15
- package/types/dprogress.d.tlua +3 -6
- package/types/dproperties.d.tlua +4 -9
- package/types/dproperty_combo.d.tlua +3 -6
- package/types/dproperty_generic.d.tlua +5 -12
- package/types/dpropertysheet.d.tlua +26 -56
- package/types/dragndrop.d.tlua +10 -30
- package/types/draw.d.tlua +11 -31
- package/types/drgbpicker.d.tlua +4 -9
- package/types/drive.d.tlua +18 -41
- package/types/dscrollpanel.d.tlua +10 -30
- package/types/dshape.d.tlua +7 -18
- package/types/dsizetocontents.d.tlua +5 -12
- package/types/dslider.d.tlua +28 -81
- package/types/dsprite.d.tlua +9 -24
- package/types/dtab.d.tlua +8 -21
- package/types/dtextentry.d.tlua +43 -126
- package/types/dtilelayout.d.tlua +21 -60
- package/types/dtooltip.d.tlua +6 -15
- package/types/dtree.d.tlua +16 -45
- package/types/dtree_node.d.tlua +68 -201
- package/types/duplicator.d.tlua +30 -88
- package/types/dverticaldivider.d.tlua +23 -66
- package/types/dvscrollbar.d.tlua +11 -30
- package/types/effect.d.tlua +4 -9
- package/types/effects.d.tlua +6 -18
- package/types/engine.d.tlua +21 -63
- package/types/entity.d.tlua +676 -1962
- package/types/ents.d.tlua +23 -61
- package/types/file.d.tlua +39 -117
- package/types/frame_blend.d.tlua +7 -21
- package/types/game.d.tlua +39 -117
- package/types/gameevent.d.tlua +4 -8
- package/types/gamemode.d.tlua +3 -7
- package/types/gm.d.tlua +267 -800
- package/types/gmsave.d.tlua +4 -12
- package/types/gui.d.tlua +21 -63
- package/types/gwen.d.tlua +3 -9
- package/types/halo.d.tlua +2 -6
- package/types/hook.d.tlua +8 -17
- package/types/hook_events.d.tlua +2412 -0
- package/types/http.d.tlua +1 -3
- package/types/iconeditor.d.tlua +11 -30
- package/types/igmodaudiochannel.d.tlua +41 -122
- package/types/imagecheckbox.d.tlua +4 -9
- package/types/imaterial.d.tlua +26 -77
- package/types/imesh.d.tlua +5 -14
- package/types/input.d.tlua +24 -68
- package/types/irestore.d.tlua +9 -26
- package/types/isave.d.tlua +9 -26
- package/types/itexture.d.tlua +10 -29
- package/types/ivideowriter.d.tlua +5 -14
- package/types/jit.d.tlua +21 -53
- package/types/killicon.d.tlua +7 -21
- package/types/language.d.tlua +1 -3
- package/types/list.d.tlua +8 -24
- package/types/markup.d.tlua +2 -6
- package/types/markupobject.d.tlua +5 -14
- package/types/math.d.tlua +277 -447
- package/types/matproxy.d.tlua +3 -9
- package/types/matselect.d.tlua +11 -30
- package/types/menubar.d.tlua +2 -6
- package/types/mesh.d.tlua +19 -57
- package/types/motionsensor.d.tlua +10 -30
- package/types/navmesh.d.tlua +26 -78
- package/types/net.d.tlua +52 -154
- package/types/nextbot.d.tlua +46 -116
- package/types/notification.d.tlua +2 -6
- package/types/npc.d.tlua +182 -543
- package/types/numpad.d.tlua +7 -21
- package/types/os.d.tlua +4 -10
- package/types/panel.d.tlua +333 -991
- package/types/pathfollower.d.tlua +31 -92
- package/types/permissions.d.tlua +6 -18
- package/types/physcollide.d.tlua +3 -8
- package/types/physenv.d.tlua +11 -33
- package/types/physobj.d.tlua +78 -233
- package/types/player.d.tlua +302 -880
- package/types/player_manager.d.tlua +13 -39
- package/types/presets.d.tlua +6 -18
- package/types/projectedtexture.d.tlua +48 -143
- package/types/properties.d.tlua +5 -15
- package/types/propselect.d.tlua +5 -12
- package/types/render.d.tlua +142 -426
- package/types/resource.d.tlua +2 -6
- package/types/sandbox.d.tlua +54 -159
- package/types/saverestore.d.tlua +12 -36
- package/types/schedule.d.tlua +6 -17
- package/types/scripted_ents.d.tlua +11 -29
- package/types/search.d.tlua +1 -3
- package/types/serverlist.d.tlua +7 -21
- package/types/sound.d.tlua +10 -30
- package/types/spawnicon.d.tlua +8 -21
- package/types/spawnmenu.d.tlua +24 -70
- package/types/spawnmenucontentpanel.d.tlua +5 -12
- package/types/sql.d.tlua +9 -27
- package/types/stack.d.tlua +5 -14
- package/types/steamworks.d.tlua +18 -54
- package/types/string.d.tlua +49 -141
- package/types/surface.d.tlua +34 -102
- package/types/surfaceinfo.d.tlua +5 -14
- package/types/system.d.tlua +10 -30
- package/types/table.d.tlua +47 -137
- package/types/task.d.tlua +9 -26
- package/types/team.d.tlua +19 -57
- package/types/timer.d.tlua +14 -42
- package/types/tool.d.tlua +46 -131
- package/types/ugcpublishwindow.d.tlua +9 -24
- package/types/umsg.d.tlua +12 -36
- package/types/undo.d.tlua +10 -30
- package/types/usermessage.d.tlua +2 -6
- package/types/utf8.d.tlua +7 -21
- package/types/util.d.tlua +94 -274
- package/types/vector.d.tlua +36 -108
- package/types/vehicle.d.tlua +52 -149
- package/types/vgui.d.tlua +18 -46
- package/types/vmatrix.d.tlua +35 -105
- package/types/weapon.d.tlua +85 -248
- package/types/weapons.d.tlua +6 -16
- package/types/widgets.d.tlua +1 -3
- package/types/workshopfilebase.d.tlua +5 -14
package/types/dcolormixer.d.tlua
CHANGED
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
* @realm client and menu
|
|
7
7
|
* @source https://wiki.facepunch.com/gmod/DColorMixer
|
|
8
8
|
*/
|
|
9
|
-
interface DColorMixer extends DPanel {
|
|
10
|
-
|
|
11
|
-
interface DColorMixer {
|
|
9
|
+
interface DColorMixer extends DPanel {
|
|
12
10
|
/**
|
|
13
11
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
14
12
|
*
|
|
@@ -16,9 +14,6 @@ interface DColorMixer {
|
|
|
16
14
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:ConVarThink
|
|
17
15
|
*/
|
|
18
16
|
ConVarThink(self: DColorMixer): void;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface DColorMixer {
|
|
22
17
|
/**
|
|
23
18
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
24
19
|
*
|
|
@@ -26,27 +21,18 @@ interface DColorMixer {
|
|
|
26
21
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:DoConVarThink
|
|
27
22
|
*/
|
|
28
23
|
DoConVarThink(self: DColorMixer, cvar: string): void;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
interface DColorMixer {
|
|
32
24
|
/**
|
|
33
25
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns true if alpha bar is shown, false if not.
|
|
34
26
|
* @realm client and menu
|
|
35
27
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:GetAlphaBar
|
|
36
28
|
*/
|
|
37
29
|
GetAlphaBar(self: DColorMixer): boolean;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
interface DColorMixer {
|
|
41
30
|
/**
|
|
42
31
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the current selected color.
|
|
43
32
|
* @realm client and menu
|
|
44
33
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:GetColor
|
|
45
34
|
*/
|
|
46
35
|
GetColor(self: DColorMixer): Color;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
interface DColorMixer {
|
|
50
36
|
/**
|
|
51
37
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the alpha channel of the color.
|
|
52
38
|
*
|
|
@@ -59,9 +45,6 @@ interface DColorMixer {
|
|
|
59
45
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:GetConVarA
|
|
60
46
|
*/
|
|
61
47
|
GetConVarA(self: DColorMixer): string;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
interface DColorMixer {
|
|
65
48
|
/**
|
|
66
49
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the blue channel of the color.
|
|
67
50
|
*
|
|
@@ -74,9 +57,6 @@ interface DColorMixer {
|
|
|
74
57
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:GetConVarB
|
|
75
58
|
*/
|
|
76
59
|
GetConVarB(self: DColorMixer): string;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
interface DColorMixer {
|
|
80
60
|
/**
|
|
81
61
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the green channel of the color.
|
|
82
62
|
*
|
|
@@ -89,9 +69,6 @@ interface DColorMixer {
|
|
|
89
69
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:GetConVarG
|
|
90
70
|
*/
|
|
91
71
|
GetConVarG(self: DColorMixer): string;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
interface DColorMixer {
|
|
95
72
|
/**
|
|
96
73
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the red channel of the color.
|
|
97
74
|
*
|
|
@@ -104,45 +81,30 @@ interface DColorMixer {
|
|
|
104
81
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:GetConVarR
|
|
105
82
|
*/
|
|
106
83
|
GetConVarR(self: DColorMixer): string;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
interface DColorMixer {
|
|
110
84
|
/**
|
|
111
85
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns true if palette is shown, false if not.
|
|
112
86
|
* @realm client and menu
|
|
113
87
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:GetPalette
|
|
114
88
|
*/
|
|
115
89
|
GetPalette(self: DColorMixer): boolean;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
interface DColorMixer {
|
|
119
90
|
/**
|
|
120
91
|
* Returns the color as a normalized [Vector](https://wiki.facepunch.com/gmod/Vector).
|
|
121
92
|
* @realm client and menu
|
|
122
93
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:GetVector
|
|
123
94
|
*/
|
|
124
95
|
GetVector(self: DColorMixer): Vector;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
interface DColorMixer {
|
|
128
96
|
/**
|
|
129
97
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns true if the wangs are shown, false if not.
|
|
130
98
|
* @realm client and menu
|
|
131
99
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:GetWangs
|
|
132
100
|
*/
|
|
133
101
|
GetWangs(self: DColorMixer): boolean;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
interface DColorMixer {
|
|
137
102
|
/**
|
|
138
103
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that show/hide the alpha bar in DColorMixer
|
|
139
104
|
* @realm client and menu
|
|
140
105
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:SetAlphaBar
|
|
141
106
|
*/
|
|
142
107
|
SetAlphaBar(self: DColorMixer, show: boolean): void;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
interface DColorMixer {
|
|
146
108
|
/**
|
|
147
109
|
* Sets the base color of the [DColorCube](https://wiki.facepunch.com/gmod/DColorCube) part of the [DColorMixer](https://wiki.facepunch.com/gmod/DColorMixer).
|
|
148
110
|
*
|
|
@@ -152,18 +114,12 @@ interface DColorMixer {
|
|
|
152
114
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:SetBaseColor
|
|
153
115
|
*/
|
|
154
116
|
SetBaseColor(self: DColorMixer, clr: Color): void;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
interface DColorMixer {
|
|
158
117
|
/**
|
|
159
118
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the color of the [DColorMixer](https://wiki.facepunch.com/gmod/DColorMixer). See also [DColorMixer:GetColor](https://wiki.facepunch.com/gmod/DColorMixer:GetColor)
|
|
160
119
|
* @realm client and menu
|
|
161
120
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:SetColor
|
|
162
121
|
*/
|
|
163
122
|
SetColor(self: DColorMixer, color: Color): void;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
interface DColorMixer {
|
|
167
123
|
/**
|
|
168
124
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the alpha channel of the color.
|
|
169
125
|
*
|
|
@@ -176,9 +132,6 @@ interface DColorMixer {
|
|
|
176
132
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:SetConVarA
|
|
177
133
|
*/
|
|
178
134
|
SetConVarA(self: DColorMixer, convar: string): void;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
interface DColorMixer {
|
|
182
135
|
/**
|
|
183
136
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the blue channel of the color.
|
|
184
137
|
*
|
|
@@ -191,9 +144,6 @@ interface DColorMixer {
|
|
|
191
144
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:SetConVarB
|
|
192
145
|
*/
|
|
193
146
|
SetConVarB(self: DColorMixer, convar: string): void;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
interface DColorMixer {
|
|
197
147
|
/**
|
|
198
148
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the green channel of the color.
|
|
199
149
|
*
|
|
@@ -206,9 +156,6 @@ interface DColorMixer {
|
|
|
206
156
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:SetConVarG
|
|
207
157
|
*/
|
|
208
158
|
SetConVarG(self: DColorMixer, convar: string): void;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
interface DColorMixer {
|
|
212
159
|
/**
|
|
213
160
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the red channel of the color.
|
|
214
161
|
*
|
|
@@ -221,45 +168,30 @@ interface DColorMixer {
|
|
|
221
168
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:SetConVarR
|
|
222
169
|
*/
|
|
223
170
|
SetConVarR(self: DColorMixer, convar: string): void;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
interface DColorMixer {
|
|
227
171
|
/**
|
|
228
172
|
* Sets the label's text to show.
|
|
229
173
|
* @realm client and menu
|
|
230
174
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:SetLabel
|
|
231
175
|
*/
|
|
232
176
|
SetLabel(self: DColorMixer, text?: string): void;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
interface DColorMixer {
|
|
236
177
|
/**
|
|
237
178
|
* Show or hide the palette panel
|
|
238
179
|
* @realm client and menu
|
|
239
180
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:SetPalette
|
|
240
181
|
*/
|
|
241
182
|
SetPalette(self: DColorMixer, enabled: boolean): void;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
interface DColorMixer {
|
|
245
183
|
/**
|
|
246
184
|
* Sets the color of [DColorMixer](https://wiki.facepunch.com/gmod/DColorMixer) from a [Vector](https://wiki.facepunch.com/gmod/Vector). Alpha is not included.
|
|
247
185
|
* @realm client and menu
|
|
248
186
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:SetVector
|
|
249
187
|
*/
|
|
250
188
|
SetVector(self: DColorMixer, vec: Vector): void;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
interface DColorMixer {
|
|
254
189
|
/**
|
|
255
190
|
* Show / Hide the colors indicators in DColorMixer
|
|
256
191
|
* @realm client and menu
|
|
257
192
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:SetWangs
|
|
258
193
|
*/
|
|
259
194
|
SetWangs(self: DColorMixer, show: boolean): void;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
interface DColorMixer {
|
|
263
195
|
/**
|
|
264
196
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
265
197
|
*
|
|
@@ -270,9 +202,6 @@ interface DColorMixer {
|
|
|
270
202
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:UpdateColor
|
|
271
203
|
*/
|
|
272
204
|
UpdateColor(self: DColorMixer, clr: Color): void;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
interface DColorMixer {
|
|
276
205
|
/**
|
|
277
206
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
278
207
|
*
|
|
@@ -280,9 +209,6 @@ interface DColorMixer {
|
|
|
280
209
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:UpdateConVar
|
|
281
210
|
*/
|
|
282
211
|
UpdateConVar(self: DColorMixer, cvar: string, part: string, clr: Color): void;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
interface DColorMixer {
|
|
286
212
|
/**
|
|
287
213
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
288
214
|
*
|
|
@@ -290,9 +216,6 @@ interface DColorMixer {
|
|
|
290
216
|
* @source https://wiki.facepunch.com/gmod/DColorMixer:UpdateConVars
|
|
291
217
|
*/
|
|
292
218
|
UpdateConVars(self: DColorMixer, clr: Color): void;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
interface DColorMixer {
|
|
296
219
|
/**
|
|
297
220
|
* sets the default color of the element to the currently selected color
|
|
298
221
|
* @realm client and menu
|
|
@@ -301,3 +224,29 @@ interface DColorMixer {
|
|
|
301
224
|
UpdateDefaultColor(self: DColorMixer): void;
|
|
302
225
|
}
|
|
303
226
|
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
@@ -8,9 +8,7 @@
|
|
|
8
8
|
* @realm client and menu
|
|
9
9
|
* @source https://wiki.facepunch.com/gmod/DColorPalette
|
|
10
10
|
*/
|
|
11
|
-
interface DColorPalette extends DIconLayout {
|
|
12
|
-
|
|
13
|
-
interface DColorPalette {
|
|
11
|
+
interface DColorPalette extends DIconLayout {
|
|
14
12
|
/**
|
|
15
13
|
* Basically the same functionality as [DColorPalette:OnValueChanged](https://wiki.facepunch.com/gmod/DColorPalette:OnValueChanged), you should use that instead!
|
|
16
14
|
*
|
|
@@ -20,18 +18,12 @@ interface DColorPalette {
|
|
|
20
18
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:DoClick
|
|
21
19
|
*/
|
|
22
20
|
DoClick(self: DColorPalette, clr: Color, btn: Panel): void;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
interface DColorPalette {
|
|
26
21
|
/**
|
|
27
22
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the size of each palette button. Set by [DColorPalette:SetButtonSize](https://wiki.facepunch.com/gmod/DColorPalette:SetButtonSize).
|
|
28
23
|
* @realm client and menu
|
|
29
24
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:GetButtonSize
|
|
30
25
|
*/
|
|
31
26
|
GetButtonSize(self: DColorPalette): number;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
interface DColorPalette {
|
|
35
27
|
/**
|
|
36
28
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the alpha channel of the color.
|
|
37
29
|
*
|
|
@@ -44,9 +36,6 @@ interface DColorPalette {
|
|
|
44
36
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:GetConVarA
|
|
45
37
|
*/
|
|
46
38
|
GetConVarA(self: DColorPalette): string;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
interface DColorPalette {
|
|
50
39
|
/**
|
|
51
40
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the blue channel of the color.
|
|
52
41
|
*
|
|
@@ -59,9 +48,6 @@ interface DColorPalette {
|
|
|
59
48
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:GetConVarB
|
|
60
49
|
*/
|
|
61
50
|
GetConVarB(self: DColorPalette): string;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
interface DColorPalette {
|
|
65
51
|
/**
|
|
66
52
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the green channel of the color.
|
|
67
53
|
*
|
|
@@ -74,9 +60,6 @@ interface DColorPalette {
|
|
|
74
60
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:GetConVarG
|
|
75
61
|
*/
|
|
76
62
|
GetConVarG(self: DColorPalette): string;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
interface DColorPalette {
|
|
80
63
|
/**
|
|
81
64
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the red channel of the color.
|
|
82
65
|
*
|
|
@@ -89,18 +72,12 @@ interface DColorPalette {
|
|
|
89
72
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:GetConVarR
|
|
90
73
|
*/
|
|
91
74
|
GetConVarR(self: DColorPalette): string;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
interface DColorPalette {
|
|
95
75
|
/**
|
|
96
76
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the number of rows of the palette, provided 6 colors fill each row. This value is equal to the number of colors in the DColorPalette divided by 6.
|
|
97
77
|
* @realm client and menu
|
|
98
78
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:GetNumRows
|
|
99
79
|
*/
|
|
100
80
|
GetNumRows(self: DColorPalette): number;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
interface DColorPalette {
|
|
104
81
|
/**
|
|
105
82
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
106
83
|
*
|
|
@@ -111,18 +88,12 @@ interface DColorPalette {
|
|
|
111
88
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:NetworkColorChange
|
|
112
89
|
*/
|
|
113
90
|
NetworkColorChange(self: DColorPalette): void;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
interface DColorPalette {
|
|
117
91
|
/**
|
|
118
92
|
* Called when a palette button has been pressed. For Override
|
|
119
93
|
* @realm client and menu
|
|
120
94
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:OnRightClickButton
|
|
121
95
|
*/
|
|
122
96
|
OnRightClickButton(self: DColorPalette, pnl: Panel): void;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
interface DColorPalette {
|
|
126
97
|
/**
|
|
127
98
|
* Resets this entire color palette to a default preset one, without saving.
|
|
128
99
|
*
|
|
@@ -132,9 +103,6 @@ interface DColorPalette {
|
|
|
132
103
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:Reset
|
|
133
104
|
*/
|
|
134
105
|
Reset(self: DColorPalette): void;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
interface DColorPalette {
|
|
138
106
|
/**
|
|
139
107
|
* Resets this entire color palette to a default preset one and saves the changes.
|
|
140
108
|
*
|
|
@@ -144,9 +112,6 @@ interface DColorPalette {
|
|
|
144
112
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:ResetSavedColors
|
|
145
113
|
*/
|
|
146
114
|
ResetSavedColors(self: DColorPalette): void;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
interface DColorPalette {
|
|
150
115
|
/**
|
|
151
116
|
* Saves the color of given button across sessions.
|
|
152
117
|
* The color is saved as a panel cookie, see [Panel:SetCookie](https://wiki.facepunch.com/gmod/Panel:SetCookie) and [Panel:SetCookieName](https://wiki.facepunch.com/gmod/Panel:SetCookieName).
|
|
@@ -156,9 +121,6 @@ interface DColorPalette {
|
|
|
156
121
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:SaveColor
|
|
157
122
|
*/
|
|
158
123
|
SaveColor(self: DColorPalette, btn: Panel, clr: Color): void;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
interface DColorPalette {
|
|
162
124
|
/**
|
|
163
125
|
* Sets the size of each palette button.
|
|
164
126
|
*
|
|
@@ -171,9 +133,6 @@ interface DColorPalette {
|
|
|
171
133
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:SetButtonSize
|
|
172
134
|
*/
|
|
173
135
|
SetButtonSize(self: DColorPalette, size: number): void;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
interface DColorPalette {
|
|
177
136
|
/**
|
|
178
137
|
* Currently does nothing. Intended to "select" the color.
|
|
179
138
|
*
|
|
@@ -181,18 +140,12 @@ interface DColorPalette {
|
|
|
181
140
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:SetColor
|
|
182
141
|
*/
|
|
183
142
|
SetColor(self: DColorPalette, clr: Color): void;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
interface DColorPalette {
|
|
187
143
|
/**
|
|
188
144
|
* Clears the palette and adds new buttons with given colors.
|
|
189
145
|
* @realm client and menu
|
|
190
146
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:SetColorButtons
|
|
191
147
|
*/
|
|
192
148
|
SetColorButtons(self: DColorPalette, tab: table): void;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
interface DColorPalette {
|
|
196
149
|
/**
|
|
197
150
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the alpha channel of the color.
|
|
198
151
|
*
|
|
@@ -205,9 +158,6 @@ interface DColorPalette {
|
|
|
205
158
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:SetConVarA
|
|
206
159
|
*/
|
|
207
160
|
SetConVarA(self: DColorPalette, convar: string): void;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
interface DColorPalette {
|
|
211
161
|
/**
|
|
212
162
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the blue channel of the color.
|
|
213
163
|
*
|
|
@@ -220,9 +170,6 @@ interface DColorPalette {
|
|
|
220
170
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:SetConVarB
|
|
221
171
|
*/
|
|
222
172
|
SetConVarB(self: DColorPalette, convar: string): void;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
interface DColorPalette {
|
|
226
173
|
/**
|
|
227
174
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the green channel of the color.
|
|
228
175
|
*
|
|
@@ -235,9 +182,6 @@ interface DColorPalette {
|
|
|
235
182
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:SetConVarG
|
|
236
183
|
*/
|
|
237
184
|
SetConVarG(self: DColorPalette, convar: string): void;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
interface DColorPalette {
|
|
241
185
|
/**
|
|
242
186
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the [ConVar](https://wiki.facepunch.com/gmod/ConVar) name for the red channel of the color.
|
|
243
187
|
*
|
|
@@ -250,9 +194,6 @@ interface DColorPalette {
|
|
|
250
194
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:SetConVarR
|
|
251
195
|
*/
|
|
252
196
|
SetConVarR(self: DColorPalette, convar: string): void;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
interface DColorPalette {
|
|
256
197
|
/**
|
|
257
198
|
* Roughly sets the number of colors that can be picked by the user. If the DColorPalette is exactly 6 rows tall, this function will set the number of colors shown per row in the palette. This is an [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc)
|
|
258
199
|
* **NOTE**: [DColorPalette:Reset](https://wiki.facepunch.com/gmod/DColorPalette:Reset) or [DColorPalette:ResetSavedColors](https://wiki.facepunch.com/gmod/DColorPalette:ResetSavedColors) must be called after this function to apply changes.
|
|
@@ -262,9 +203,6 @@ interface DColorPalette {
|
|
|
262
203
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:SetNumRows
|
|
263
204
|
*/
|
|
264
205
|
SetNumRows(self: DColorPalette, rows: number): void;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
interface DColorPalette {
|
|
268
206
|
/**
|
|
269
207
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
270
208
|
*
|
|
@@ -275,9 +213,6 @@ interface DColorPalette {
|
|
|
275
213
|
* @source https://wiki.facepunch.com/gmod/DColorPalette:UpdateConVar
|
|
276
214
|
*/
|
|
277
215
|
UpdateConVar(self: DColorPalette, name: string, key: string, clr: Color): void;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
interface DColorPalette {
|
|
281
216
|
/**
|
|
282
217
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
283
218
|
*
|
|
@@ -292,3 +227,25 @@ interface DColorPalette {
|
|
|
292
227
|
UpdateConVars(self: DColorPalette, clr: Color): void;
|
|
293
228
|
}
|
|
294
229
|
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
@@ -5,27 +5,19 @@
|
|
|
5
5
|
* @realm client and menu
|
|
6
6
|
* @source https://wiki.facepunch.com/gmod/DColumnSheet
|
|
7
7
|
*/
|
|
8
|
-
interface DColumnSheet extends Panel {
|
|
9
|
-
|
|
10
|
-
interface DColumnSheet {
|
|
8
|
+
interface DColumnSheet extends Panel {
|
|
11
9
|
/**
|
|
12
10
|
* Adds a new column/tab.
|
|
13
11
|
* @realm client and menu
|
|
14
12
|
* @source https://wiki.facepunch.com/gmod/DColumnSheet:AddSheet
|
|
15
13
|
*/
|
|
16
14
|
AddSheet(self: DColumnSheet, name: string, pnl: Panel, icon?: string): table;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface DColumnSheet {
|
|
20
15
|
/**
|
|
21
16
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the active button of this [DColumnSheet](https://wiki.facepunch.com/gmod/DColumnSheet).
|
|
22
17
|
* @realm client and menu
|
|
23
18
|
* @source https://wiki.facepunch.com/gmod/DColumnSheet:GetActiveButton
|
|
24
19
|
*/
|
|
25
20
|
GetActiveButton(self: DColumnSheet): Panel;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
interface DColumnSheet {
|
|
29
21
|
/**
|
|
30
22
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
31
23
|
*
|
|
@@ -36,9 +28,6 @@ interface DColumnSheet {
|
|
|
36
28
|
* @source https://wiki.facepunch.com/gmod/DColumnSheet:SetActiveButton
|
|
37
29
|
*/
|
|
38
30
|
SetActiveButton(self: DColumnSheet, active: Panel): void;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
interface DColumnSheet {
|
|
42
31
|
/**
|
|
43
32
|
* Makes the tabs/buttons show only the image and no text.
|
|
44
33
|
* @realm client and menu
|
|
@@ -47,3 +36,7 @@ interface DColumnSheet {
|
|
|
47
36
|
UseButtonOnlyStyle(self: DColumnSheet): void;
|
|
48
37
|
}
|
|
49
38
|
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|