@tlua/gmod 1.0.4 → 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.
Files changed (214) hide show
  1. package/package.json +1 -1
  2. package/types/achievements.d.tlua +15 -45
  3. package/types/ai.d.tlua +5 -15
  4. package/types/angle.d.tlua +18 -54
  5. package/types/baseclass.d.tlua +2 -4
  6. package/types/bf_read.d.tlua +11 -32
  7. package/types/bit.d.tlua +11 -33
  8. package/types/cam.d.tlua +16 -48
  9. package/types/ceffectdata.d.tlua +32 -95
  10. package/types/chat.d.tlua +5 -15
  11. package/types/cleanup.d.tlua +7 -21
  12. package/types/cluaemitter.d.tlua +12 -35
  13. package/types/clualocomotion.d.tlua +40 -119
  14. package/types/cluaparticle.d.tlua +44 -131
  15. package/types/cmovedata.d.tlua +47 -140
  16. package/types/cnavarea.d.tlua +77 -230
  17. package/types/cnavladder.d.tlua +22 -65
  18. package/types/cnewparticleeffect.d.tlua +26 -77
  19. package/types/color.d.tlua +28 -84
  20. package/types/concommand.d.tlua +4 -12
  21. package/types/constraint.d.tlua +28 -84
  22. package/types/construct.d.tlua +1 -3
  23. package/types/contentheader.d.tlua +3 -6
  24. package/types/contenticon.d.tlua +9 -24
  25. package/types/contentsidebar.d.tlua +4 -9
  26. package/types/contextbase.d.tlua +4 -9
  27. package/types/controlpanel.d.tlua +18 -40
  28. package/types/controlpresets.d.tlua +13 -36
  29. package/types/convar.d.tlua +16 -47
  30. package/types/cookie.d.tlua +3 -9
  31. package/types/coroutine.d.tlua +7 -21
  32. package/types/crecipientfilter.d.tlua +16 -47
  33. package/types/csoundpatch.d.tlua +14 -41
  34. package/types/ctakedamageinfo.d.tlua +33 -98
  35. package/types/ctrlnumpad.d.tlua +6 -17
  36. package/types/cusercmd.d.tlua +27 -80
  37. package/types/cvars.d.tlua +6 -18
  38. package/types/dadjustablemodelpanel.d.tlua +7 -18
  39. package/types/dalphabar.d.tlua +3 -6
  40. package/types/dbinder.d.tlua +4 -9
  41. package/types/dbubblecontainer.d.tlua +2 -3
  42. package/types/dbutton.d.tlua +8 -21
  43. package/types/dcheckbox.d.tlua +5 -12
  44. package/types/dcheckboxlabel.d.tlua +9 -27
  45. package/types/dcollapsiblecategory.d.tlua +23 -66
  46. package/types/dcolorbutton.d.tlua +7 -18
  47. package/types/dcolorcombo.d.tlua +5 -12
  48. package/types/dcolorcube.d.tlua +13 -36
  49. package/types/dcolormixer.d.tlua +27 -78
  50. package/types/dcolorpalette.d.tlua +23 -66
  51. package/types/dcolumnsheet.d.tlua +5 -12
  52. package/types/dcombobox.d.tlua +17 -48
  53. package/types/ddragbase.d.tlua +13 -36
  54. package/types/ddrawer.d.tlua +8 -21
  55. package/types/debug.d.tlua +44 -76
  56. package/types/debugoverlay.d.tlua +11 -33
  57. package/types/dentityproperties.d.tlua +5 -12
  58. package/types/derma.d.tlua +10 -30
  59. package/types/dexpandbutton.d.tlua +3 -6
  60. package/types/dfilebrowser.d.tlua +20 -60
  61. package/types/dform.d.tlua +18 -51
  62. package/types/dframe.d.tlua +24 -72
  63. package/types/dgrid.d.tlua +11 -30
  64. package/types/dhorizontaldivider.d.tlua +20 -57
  65. package/types/dhorizontalscroller.d.tlua +11 -30
  66. package/types/dhscrollbar.d.tlua +11 -30
  67. package/types/dhtml.d.tlua +8 -21
  68. package/types/dhtmlcontrols.d.tlua +5 -15
  69. package/types/diconbrowser.d.tlua +11 -30
  70. package/types/diconlayout.d.tlua +18 -51
  71. package/types/dimage.d.tlua +20 -55
  72. package/types/dimagebutton.d.tlua +9 -27
  73. package/types/dlabel.d.tlua +33 -96
  74. package/types/dlabeleditable.d.tlua +5 -12
  75. package/types/dlabelurl.d.tlua +10 -27
  76. package/types/dlistbox.d.tlua +8 -21
  77. package/types/dlistboxitem.d.tlua +4 -9
  78. package/types/dlistview.d.tlua +34 -99
  79. package/types/dlistview_column.d.tlua +14 -39
  80. package/types/dlistview_line.d.tlua +13 -36
  81. package/types/dmenu.d.tlua +28 -75
  82. package/types/dmenubar.d.tlua +6 -11
  83. package/types/dmenuoption.d.tlua +13 -36
  84. package/types/dmenuoptioncvar.d.tlua +6 -15
  85. package/types/dmodelpanel.d.tlua +22 -63
  86. package/types/dmodelselect.d.tlua +2 -3
  87. package/types/dmodelselectmulti.d.tlua +2 -3
  88. package/types/dnotify.d.tlua +10 -27
  89. package/types/dnumberscratch.d.tlua +26 -75
  90. package/types/dnumberwang.d.tlua +16 -45
  91. package/types/dnumslider.d.tlua +17 -51
  92. package/types/dpanel.d.tlua +14 -39
  93. package/types/dpanellist.d.tlua +11 -33
  94. package/types/dpaneloverlay.d.tlua +7 -18
  95. package/types/dpanpanel.d.tlua +6 -15
  96. package/types/dprogress.d.tlua +3 -6
  97. package/types/dproperties.d.tlua +4 -9
  98. package/types/dproperty_combo.d.tlua +3 -6
  99. package/types/dproperty_generic.d.tlua +5 -12
  100. package/types/dpropertysheet.d.tlua +26 -56
  101. package/types/dragndrop.d.tlua +10 -30
  102. package/types/draw.d.tlua +11 -31
  103. package/types/drgbpicker.d.tlua +4 -9
  104. package/types/drive.d.tlua +18 -41
  105. package/types/dscrollpanel.d.tlua +10 -30
  106. package/types/dshape.d.tlua +7 -18
  107. package/types/dsizetocontents.d.tlua +5 -12
  108. package/types/dslider.d.tlua +28 -81
  109. package/types/dsprite.d.tlua +9 -24
  110. package/types/dtab.d.tlua +8 -21
  111. package/types/dtextentry.d.tlua +43 -126
  112. package/types/dtilelayout.d.tlua +21 -60
  113. package/types/dtooltip.d.tlua +6 -15
  114. package/types/dtree.d.tlua +16 -45
  115. package/types/dtree_node.d.tlua +68 -201
  116. package/types/duplicator.d.tlua +30 -88
  117. package/types/dverticaldivider.d.tlua +23 -66
  118. package/types/dvscrollbar.d.tlua +11 -30
  119. package/types/effect.d.tlua +4 -9
  120. package/types/effects.d.tlua +6 -18
  121. package/types/engine.d.tlua +21 -63
  122. package/types/entity.d.tlua +676 -1962
  123. package/types/ents.d.tlua +23 -61
  124. package/types/file.d.tlua +39 -117
  125. package/types/frame_blend.d.tlua +7 -21
  126. package/types/game.d.tlua +39 -117
  127. package/types/gameevent.d.tlua +4 -8
  128. package/types/gamemode.d.tlua +3 -7
  129. package/types/gm.d.tlua +267 -800
  130. package/types/gmsave.d.tlua +4 -12
  131. package/types/gui.d.tlua +21 -63
  132. package/types/gwen.d.tlua +3 -9
  133. package/types/halo.d.tlua +2 -6
  134. package/types/hook.d.tlua +4 -12
  135. package/types/http.d.tlua +1 -3
  136. package/types/iconeditor.d.tlua +11 -30
  137. package/types/igmodaudiochannel.d.tlua +41 -122
  138. package/types/imagecheckbox.d.tlua +4 -9
  139. package/types/imaterial.d.tlua +26 -77
  140. package/types/imesh.d.tlua +5 -14
  141. package/types/input.d.tlua +24 -68
  142. package/types/irestore.d.tlua +9 -26
  143. package/types/isave.d.tlua +9 -26
  144. package/types/itexture.d.tlua +10 -29
  145. package/types/ivideowriter.d.tlua +5 -14
  146. package/types/jit.d.tlua +21 -53
  147. package/types/killicon.d.tlua +7 -21
  148. package/types/language.d.tlua +1 -3
  149. package/types/list.d.tlua +8 -24
  150. package/types/markup.d.tlua +2 -6
  151. package/types/markupobject.d.tlua +5 -14
  152. package/types/math.d.tlua +277 -447
  153. package/types/matproxy.d.tlua +3 -9
  154. package/types/matselect.d.tlua +11 -30
  155. package/types/menubar.d.tlua +2 -6
  156. package/types/mesh.d.tlua +19 -57
  157. package/types/motionsensor.d.tlua +10 -30
  158. package/types/navmesh.d.tlua +26 -78
  159. package/types/net.d.tlua +52 -154
  160. package/types/nextbot.d.tlua +46 -116
  161. package/types/notification.d.tlua +2 -6
  162. package/types/npc.d.tlua +182 -543
  163. package/types/numpad.d.tlua +7 -21
  164. package/types/os.d.tlua +4 -10
  165. package/types/panel.d.tlua +333 -991
  166. package/types/pathfollower.d.tlua +31 -92
  167. package/types/permissions.d.tlua +6 -18
  168. package/types/physcollide.d.tlua +3 -8
  169. package/types/physenv.d.tlua +11 -33
  170. package/types/physobj.d.tlua +78 -233
  171. package/types/player.d.tlua +302 -880
  172. package/types/player_manager.d.tlua +13 -39
  173. package/types/presets.d.tlua +6 -18
  174. package/types/projectedtexture.d.tlua +48 -143
  175. package/types/properties.d.tlua +5 -15
  176. package/types/propselect.d.tlua +5 -12
  177. package/types/render.d.tlua +142 -426
  178. package/types/resource.d.tlua +2 -6
  179. package/types/sandbox.d.tlua +54 -159
  180. package/types/saverestore.d.tlua +12 -36
  181. package/types/schedule.d.tlua +6 -17
  182. package/types/scripted_ents.d.tlua +11 -29
  183. package/types/search.d.tlua +1 -3
  184. package/types/serverlist.d.tlua +7 -21
  185. package/types/sound.d.tlua +10 -30
  186. package/types/spawnicon.d.tlua +8 -21
  187. package/types/spawnmenu.d.tlua +24 -70
  188. package/types/spawnmenucontentpanel.d.tlua +5 -12
  189. package/types/sql.d.tlua +9 -27
  190. package/types/stack.d.tlua +5 -14
  191. package/types/steamworks.d.tlua +18 -54
  192. package/types/string.d.tlua +49 -141
  193. package/types/surface.d.tlua +34 -102
  194. package/types/surfaceinfo.d.tlua +5 -14
  195. package/types/system.d.tlua +10 -30
  196. package/types/table.d.tlua +47 -137
  197. package/types/task.d.tlua +9 -26
  198. package/types/team.d.tlua +19 -57
  199. package/types/timer.d.tlua +14 -42
  200. package/types/tool.d.tlua +46 -131
  201. package/types/ugcpublishwindow.d.tlua +9 -24
  202. package/types/umsg.d.tlua +12 -36
  203. package/types/undo.d.tlua +10 -30
  204. package/types/usermessage.d.tlua +2 -6
  205. package/types/utf8.d.tlua +7 -21
  206. package/types/util.d.tlua +94 -274
  207. package/types/vector.d.tlua +36 -108
  208. package/types/vehicle.d.tlua +52 -149
  209. package/types/vgui.d.tlua +18 -46
  210. package/types/vmatrix.d.tlua +35 -105
  211. package/types/weapon.d.tlua +85 -248
  212. package/types/weapons.d.tlua +6 -16
  213. package/types/widgets.d.tlua +1 -3
  214. package/types/workshopfilebase.d.tlua +5 -14
@@ -15,9 +15,6 @@ interface DFrame extends EditablePanel {
15
15
  lblTitle: DLabel;
16
16
  /** The icon image in the title bar, if set via DFrame:SetIcon. */
17
17
  imgIcon?: DImage;
18
- }
19
-
20
- interface DFrame {
21
18
  /**
22
19
  * Hides or removes the DFrame, and calls [DFrame:OnClose](https://wiki.facepunch.com/gmod/DFrame:OnClose).
23
20
  *
@@ -27,45 +24,30 @@ interface DFrame {
27
24
  * @source https://wiki.facepunch.com/gmod/DFrame:Close
28
25
  */
29
26
  Close(self: DFrame): void;
30
- }
31
-
32
- interface DFrame {
33
27
  /**
34
28
  * Gets whether the background behind the frame is being blurred.
35
29
  * @realm client and menu
36
30
  * @source https://wiki.facepunch.com/gmod/DFrame:GetBackgroundBlur
37
31
  */
38
32
  GetBackgroundBlur(self: DFrame): boolean;
39
- }
40
-
41
- interface DFrame {
42
33
  /**
43
34
  * Determines whether or not the DFrame will be removed when it is closed. This is set with [DFrame:SetDeleteOnClose](https://wiki.facepunch.com/gmod/DFrame:SetDeleteOnClose).
44
35
  * @realm client and menu
45
36
  * @source https://wiki.facepunch.com/gmod/DFrame:GetDeleteOnClose
46
37
  */
47
38
  GetDeleteOnClose(self: DFrame): boolean;
48
- }
49
-
50
- interface DFrame {
51
39
  /**
52
40
  * Gets whether or not the frame is draggable by the user.
53
41
  * @realm client and menu
54
42
  * @source https://wiki.facepunch.com/gmod/DFrame:GetDraggable
55
43
  */
56
44
  GetDraggable(self: DFrame): boolean;
57
- }
58
-
59
- interface DFrame {
60
45
  /**
61
46
  * Gets whether or not the frame is part of a derma menu. This is set with [DFrame:SetIsMenu](https://wiki.facepunch.com/gmod/DFrame:SetIsMenu).
62
47
  * @realm client and menu
63
48
  * @source https://wiki.facepunch.com/gmod/DFrame:GetIsMenu
64
49
  */
65
50
  GetIsMenu(self: DFrame): boolean;
66
- }
67
-
68
- interface DFrame {
69
51
  /**
70
52
  * Gets the minimum height the DFrame can be resized to by the user.
71
53
  *
@@ -75,9 +57,6 @@ interface DFrame {
75
57
  * @source https://wiki.facepunch.com/gmod/DFrame:GetMinHeight
76
58
  */
77
59
  GetMinHeight(self: DFrame): number;
78
- }
79
-
80
- interface DFrame {
81
60
  /**
82
61
  * Gets the minimum width the DFrame can be resized to by the user.
83
62
  *
@@ -87,27 +66,18 @@ interface DFrame {
87
66
  * @source https://wiki.facepunch.com/gmod/DFrame:GetMinWidth
88
67
  */
89
68
  GetMinWidth(self: DFrame): number;
90
- }
91
-
92
- interface DFrame {
93
69
  /**
94
70
  * Gets whether or not the shadow effect bordering the DFrame is being drawn.
95
71
  * @realm client and menu
96
72
  * @source https://wiki.facepunch.com/gmod/DFrame:GetPaintShadow
97
73
  */
98
74
  GetPaintShadow(self: DFrame): boolean;
99
- }
100
-
101
- interface DFrame {
102
75
  /**
103
76
  * Gets whether or not the DFrame is restricted to the boundaries of the screen resolution.
104
77
  * @realm client and menu
105
78
  * @source https://wiki.facepunch.com/gmod/DFrame:GetScreenLock
106
79
  */
107
80
  GetScreenLock(self: DFrame): boolean;
108
- }
109
-
110
- interface DFrame {
111
81
  /**
112
82
  * Gets whether or not the DFrame can be resized by the user.
113
83
  *
@@ -117,63 +87,42 @@ interface DFrame {
117
87
  * @source https://wiki.facepunch.com/gmod/DFrame:GetSizable
118
88
  */
119
89
  GetSizable(self: DFrame): boolean;
120
- }
121
-
122
- interface DFrame {
123
90
  /**
124
91
  * Returns the title of the frame.
125
92
  * @realm client and menu
126
93
  * @source https://wiki.facepunch.com/gmod/DFrame:GetTitle
127
94
  */
128
95
  GetTitle(self: DFrame): string;
129
- }
130
-
131
- interface DFrame {
132
96
  /**
133
97
  * Determines if the frame or one of its children has the screen focus.
134
98
  * @realm client and menu
135
99
  * @source https://wiki.facepunch.com/gmod/DFrame:IsActive
136
100
  */
137
101
  IsActive(self: DFrame): boolean;
138
- }
139
-
140
- interface DFrame {
141
102
  /**
142
103
  * Indicate that the background elements won't be usable.
143
104
  * @realm client and menu
144
105
  * @source https://wiki.facepunch.com/gmod/DFrame:SetBackgroundBlur
145
106
  */
146
107
  SetBackgroundBlur(self: DFrame, blur: boolean): void;
147
- }
148
-
149
- interface DFrame {
150
108
  /**
151
109
  * Determines whether or not the DFrame is removed when it is closed with [DFrame:Close](https://wiki.facepunch.com/gmod/DFrame:Close).
152
110
  * @realm client and menu
153
111
  * @source https://wiki.facepunch.com/gmod/DFrame:SetDeleteOnClose
154
112
  */
155
113
  SetDeleteOnClose(self: DFrame, shouldDelete: boolean): void;
156
- }
157
-
158
- interface DFrame {
159
114
  /**
160
115
  * Sets whether the frame should be draggable by the user. The DFrame can only be dragged from its title bar.
161
116
  * @realm client and menu
162
117
  * @source https://wiki.facepunch.com/gmod/DFrame:SetDraggable
163
118
  */
164
119
  SetDraggable(self: DFrame, draggable: boolean): void;
165
- }
166
-
167
- interface DFrame {
168
120
  /**
169
121
  * Adds or removes an icon on the left of the [DFrame](https://wiki.facepunch.com/gmod/DFrame)'s title.
170
122
  * @realm client and menu
171
123
  * @source https://wiki.facepunch.com/gmod/DFrame:SetIcon
172
124
  */
173
125
  SetIcon(self: DFrame, path: string): void;
174
- }
175
-
176
- interface DFrame {
177
126
  /**
178
127
  * Sets whether the frame is part of a derma menu or not.
179
128
  *
@@ -183,9 +132,6 @@ interface DFrame {
183
132
  * @source https://wiki.facepunch.com/gmod/DFrame:SetIsMenu
184
133
  */
185
134
  SetIsMenu(self: DFrame, isMenu: boolean): void;
186
- }
187
-
188
- interface DFrame {
189
135
  /**
190
136
  * Sets the minimum height the DFrame can be resized to by the user.
191
137
  *
@@ -195,9 +141,6 @@ interface DFrame {
195
141
  * @source https://wiki.facepunch.com/gmod/DFrame:SetMinHeight
196
142
  */
197
143
  SetMinHeight(self: DFrame, minH: number): void;
198
- }
199
-
200
- interface DFrame {
201
144
  /**
202
145
  * Sets the minimum width the DFrame can be resized to by the user.
203
146
  *
@@ -207,27 +150,18 @@ interface DFrame {
207
150
  * @source https://wiki.facepunch.com/gmod/DFrame:SetMinWidth
208
151
  */
209
152
  SetMinWidth(self: DFrame, minW: number): void;
210
- }
211
-
212
- interface DFrame {
213
153
  /**
214
154
  * Sets whether or not the shadow effect bordering the DFrame should be drawn.
215
155
  * @realm client and menu
216
156
  * @source https://wiki.facepunch.com/gmod/DFrame:SetPaintShadow
217
157
  */
218
158
  SetPaintShadow(self: DFrame, shouldPaint: boolean): void;
219
- }
220
-
221
- interface DFrame {
222
159
  /**
223
160
  * Sets whether the DFrame is restricted to the boundaries of the screen resolution.
224
161
  * @realm client and menu
225
162
  * @source https://wiki.facepunch.com/gmod/DFrame:SetScreenLock
226
163
  */
227
164
  SetScreenLock(self: DFrame, lock: boolean): void;
228
- }
229
-
230
- interface DFrame {
231
165
  /**
232
166
  * Sets whether or not the [DFrame](https://wiki.facepunch.com/gmod/DFrame) can be resized by the user.
233
167
  *
@@ -239,18 +173,12 @@ interface DFrame {
239
173
  * @source https://wiki.facepunch.com/gmod/DFrame:SetSizable
240
174
  */
241
175
  SetSizable(self: DFrame, sizeable: boolean): void;
242
- }
243
-
244
- interface DFrame {
245
176
  /**
246
177
  * Sets the title of the frame.
247
178
  * @realm client and menu
248
179
  * @source https://wiki.facepunch.com/gmod/DFrame:SetTitle
249
180
  */
250
181
  SetTitle(self: DFrame, title: string): void;
251
- }
252
-
253
- interface DFrame {
254
182
  /**
255
183
  * Determines whether the DFrame's control box (close, minimise and maximise buttons) is displayed.
256
184
  * @realm client and menu
@@ -259,3 +187,27 @@ interface DFrame {
259
187
  ShowCloseButton(self: DFrame, show: boolean): void;
260
188
  }
261
189
 
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
@@ -10,63 +10,43 @@
10
10
  * @realm client and menu
11
11
  * @source https://wiki.facepunch.com/gmod/DGrid
12
12
  */
13
- interface DGrid extends Panel {}
14
-
15
- interface DGrid {
13
+ interface DGrid extends Panel {
16
14
  /**
17
15
  * Adds a new item to the grid.
18
16
  * @realm client and menu
19
17
  * @source https://wiki.facepunch.com/gmod/DGrid:AddItem
20
18
  */
21
19
  AddItem(self: DGrid, item: Panel): void;
22
- }
23
-
24
- interface DGrid {
25
20
  /**
26
21
  * Returns the width of each column of the [DGrid](https://wiki.facepunch.com/gmod/DGrid), which is set by [DGrid:SetColWide](https://wiki.facepunch.com/gmod/DGrid:SetColWide).
27
22
  * @realm client and menu
28
23
  * @source https://wiki.facepunch.com/gmod/DGrid:GetColWide
29
24
  */
30
25
  GetColWide(self: DGrid): number;
31
- }
32
-
33
- interface DGrid {
34
26
  /**
35
27
  * Returns the number of columns of this [DGrid](https://wiki.facepunch.com/gmod/DGrid). Set by [DGrid:SetCols](https://wiki.facepunch.com/gmod/DGrid:SetCols).
36
28
  * @realm client and menu
37
29
  * @source https://wiki.facepunch.com/gmod/DGrid:GetCols
38
30
  */
39
31
  GetCols(self: DGrid): number;
40
- }
41
-
42
- interface DGrid {
43
32
  /**
44
33
  * Returns a list of panels in the grid.
45
34
  * @realm client and menu
46
35
  * @source https://wiki.facepunch.com/gmod/DGrid:GetItems
47
36
  */
48
37
  GetItems(self: DGrid): table;
49
- }
50
-
51
- interface DGrid {
52
38
  /**
53
39
  * Returns the height of each row of the [DGrid](https://wiki.facepunch.com/gmod/DGrid), which is set by [DGrid:SetRowHeight](https://wiki.facepunch.com/gmod/DGrid:SetRowHeight).
54
40
  * @realm client and menu
55
41
  * @source https://wiki.facepunch.com/gmod/DGrid:GetRowHeight
56
42
  */
57
43
  GetRowHeight(self: DGrid): number;
58
- }
59
-
60
- interface DGrid {
61
44
  /**
62
45
  * Removes given panel from the [DGrid:GetItems](https://wiki.facepunch.com/gmod/DGrid:GetItems).
63
46
  * @realm client and menu
64
47
  * @source https://wiki.facepunch.com/gmod/DGrid:RemoveItem
65
48
  */
66
49
  RemoveItem(self: DGrid, item: Panel, bDontDelete?: boolean): void;
67
- }
68
-
69
- interface DGrid {
70
50
  /**
71
51
  * Sets the width of each column.
72
52
  *
@@ -76,9 +56,6 @@ interface DGrid {
76
56
  * @source https://wiki.facepunch.com/gmod/DGrid:SetColWide
77
57
  */
78
58
  SetColWide(self: DGrid, colWidth: number): void;
79
- }
80
-
81
- interface DGrid {
82
59
  /**
83
60
  * Sets the number of columns this panel should have.
84
61
  *
@@ -88,9 +65,6 @@ interface DGrid {
88
65
  * @source https://wiki.facepunch.com/gmod/DGrid:SetCols
89
66
  */
90
67
  SetCols(self: DGrid, cols: number): void;
91
- }
92
-
93
- interface DGrid {
94
68
  /**
95
69
  * Sets the height of each row.
96
70
  *
@@ -100,9 +74,6 @@ interface DGrid {
100
74
  * @source https://wiki.facepunch.com/gmod/DGrid:SetRowHeight
101
75
  */
102
76
  SetRowHeight(self: DGrid, rowHeight: number): void;
103
- }
104
-
105
- interface DGrid {
106
77
  /**
107
78
  * Sorts the items in the grid. Does not visually update the grid, use [Panel:InvalidateLayout](https://wiki.facepunch.com/gmod/Panel:InvalidateLayout) for that.
108
79
  * @realm client and menu
@@ -111,3 +82,13 @@ interface DGrid {
111
82
  SortByMember(self: DGrid, key: string, desc?: boolean): void;
112
83
  }
113
84
 
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
@@ -5,27 +5,19 @@
5
5
  * @realm client
6
6
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider
7
7
  */
8
- interface DHorizontalDivider extends DPanel {}
9
-
10
- interface DHorizontalDivider {
8
+ interface DHorizontalDivider extends DPanel {
11
9
  /**
12
10
  * Returns the width of the horizontal divider bar, set by [DHorizontalDivider:SetDividerWidth](https://wiki.facepunch.com/gmod/DHorizontalDivider:SetDividerWidth).
13
11
  * @realm client
14
12
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetDividerWidth
15
13
  */
16
14
  GetDividerWidth(self: DHorizontalDivider): number;
17
- }
18
-
19
- interface DHorizontalDivider {
20
15
  /**
21
16
  * Returns whether or not the player is currently dragging the middle divider bar.
22
17
  * @realm client
23
18
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetDragging
24
19
  */
25
20
  GetDragging(self: DHorizontalDivider): boolean;
26
- }
27
-
28
- interface DHorizontalDivider {
29
21
  /**
30
22
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
31
23
  *
@@ -36,72 +28,48 @@ interface DHorizontalDivider {
36
28
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetHoldPos
37
29
  */
38
30
  GetHoldPos(self: DHorizontalDivider): number;
39
- }
40
-
41
- interface DHorizontalDivider {
42
31
  /**
43
32
  * Returns the left side content of the [DHorizontalDivider](https://wiki.facepunch.com/gmod/DHorizontalDivider)
44
33
  * @realm client
45
34
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetLeft
46
35
  */
47
36
  GetLeft(self: DHorizontalDivider): Panel;
48
- }
49
-
50
- interface DHorizontalDivider {
51
37
  /**
52
38
  * Returns the minimum width of the left side, set by [DHorizontalDivider:SetLeftMin](https://wiki.facepunch.com/gmod/DHorizontalDivider:SetLeftMin).
53
39
  * @realm client
54
40
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetLeftMin
55
41
  */
56
42
  GetLeftMin(self: DHorizontalDivider): number;
57
- }
58
-
59
- interface DHorizontalDivider {
60
43
  /**
61
44
  * Returns the current width of the left side, set by [DHorizontalDivider:SetLeftWidth](https://wiki.facepunch.com/gmod/DHorizontalDivider:SetLeftWidth) or by the user.
62
45
  * @realm client
63
46
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetLeftWidth
64
47
  */
65
48
  GetLeftWidth(self: DHorizontalDivider): number;
66
- }
67
-
68
- interface DHorizontalDivider {
69
49
  /**
70
50
  * Returns the middle content, set by [DHorizontalDivider:SetMiddle](https://wiki.facepunch.com/gmod/DHorizontalDivider:SetMiddle).
71
51
  * @realm client
72
52
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetMiddle
73
53
  */
74
54
  GetMiddle(self: DHorizontalDivider): Panel;
75
- }
76
-
77
- interface DHorizontalDivider {
78
55
  /**
79
56
  * Returns the right side content
80
57
  * @realm client
81
58
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetRight
82
59
  */
83
60
  GetRight(self: DHorizontalDivider): Panel;
84
- }
85
-
86
- interface DHorizontalDivider {
87
61
  /**
88
62
  * Returns the minimum width of the right side, set by [DHorizontalDivider:SetRightMin](https://wiki.facepunch.com/gmod/DHorizontalDivider:SetRightMin).
89
63
  * @realm client
90
64
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetRightMin
91
65
  */
92
66
  GetRightMin(self: DHorizontalDivider): number;
93
- }
94
-
95
- interface DHorizontalDivider {
96
67
  /**
97
68
  * Sets the width of the horizontal divider bar.
98
69
  * @realm client
99
70
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetDividerWidth
100
71
  */
101
72
  SetDividerWidth(self: DHorizontalDivider, width: number): void;
102
- }
103
-
104
- interface DHorizontalDivider {
105
73
  /**
106
74
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
107
75
  *
@@ -112,9 +80,6 @@ interface DHorizontalDivider {
112
80
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetDragging
113
81
  */
114
82
  SetDragging(self: DHorizontalDivider, dragonot: boolean): void;
115
- }
116
-
117
- interface DHorizontalDivider {
118
83
  /**
119
84
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
120
85
  *
@@ -125,27 +90,18 @@ interface DHorizontalDivider {
125
90
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetHoldPos
126
91
  */
127
92
  SetHoldPos(self: DHorizontalDivider, x: number): void;
128
- }
129
-
130
- interface DHorizontalDivider {
131
93
  /**
132
94
  * Sets the left side content of the [DHorizontalDivider](https://wiki.facepunch.com/gmod/DHorizontalDivider).
133
95
  * @realm client
134
96
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetLeft
135
97
  */
136
98
  SetLeft(self: DHorizontalDivider, pnl: Panel): void;
137
- }
138
-
139
- interface DHorizontalDivider {
140
99
  /**
141
100
  * Sets the minimum width of the left side
142
101
  * @realm client
143
102
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetLeftMin
144
103
  */
145
104
  SetLeftMin(self: DHorizontalDivider, minWidth: number): void;
146
- }
147
-
148
- interface DHorizontalDivider {
149
105
  /**
150
106
  * Sets the current/starting width of the left side.
151
107
  *
@@ -155,36 +111,24 @@ interface DHorizontalDivider {
155
111
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetLeftWidth
156
112
  */
157
113
  SetLeftWidth(self: DHorizontalDivider, width: number): void;
158
- }
159
-
160
- interface DHorizontalDivider {
161
114
  /**
162
115
  * Sets the middle content, over the draggable divider bar panel.
163
116
  * @realm client
164
117
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetMiddle
165
118
  */
166
119
  SetMiddle(self: DHorizontalDivider, middle: Panel): void;
167
- }
168
-
169
- interface DHorizontalDivider {
170
120
  /**
171
121
  * Sets the right side content
172
122
  * @realm client
173
123
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetRight
174
124
  */
175
125
  SetRight(self: DHorizontalDivider, pnl: Panel): void;
176
- }
177
-
178
- interface DHorizontalDivider {
179
126
  /**
180
127
  * Sets the minimum width of the right side
181
128
  * @realm client
182
129
  * @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetRightMin
183
130
  */
184
131
  SetRightMin(self: DHorizontalDivider, minWidth: number): void;
185
- }
186
-
187
- interface DHorizontalDivider {
188
132
  /**
189
133
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
190
134
  * TODO Document me
@@ -194,3 +138,22 @@ interface DHorizontalDivider {
194
138
  StartGrab(self: DHorizontalDivider): void;
195
139
  }
196
140
 
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
@@ -8,45 +8,31 @@
8
8
  * @realm client and menu
9
9
  * @source https://wiki.facepunch.com/gmod/DHorizontalScroller
10
10
  */
11
- interface DHorizontalScroller extends Panel {}
12
-
13
- interface DHorizontalScroller {
11
+ interface DHorizontalScroller extends Panel {
14
12
  /**
15
13
  * Adds a panel to the [DHorizontalScroller](https://wiki.facepunch.com/gmod/DHorizontalScroller).
16
14
  * @realm client and menu
17
15
  * @source https://wiki.facepunch.com/gmod/DHorizontalScroller:AddPanel
18
16
  */
19
17
  AddPanel(self: DHorizontalScroller, pnl: Panel): void;
20
- }
21
-
22
- interface DHorizontalScroller {
23
18
  /**
24
19
  * Returns the internal canvas panel where the content of [DHorizontalScroller](https://wiki.facepunch.com/gmod/DHorizontalScroller) are placed on.
25
20
  * @realm client and menu
26
21
  * @source https://wiki.facepunch.com/gmod/DHorizontalScroller:GetCanvas
27
22
  */
28
23
  GetCanvas(self: DHorizontalScroller): Panel;
29
- }
30
-
31
- interface DHorizontalScroller {
32
24
  /**
33
25
  * Returns the overlap set by [DHorizontalScroller:SetOverlap](https://wiki.facepunch.com/gmod/DHorizontalScroller:SetOverlap).
34
26
  * @realm client and menu
35
27
  * @source https://wiki.facepunch.com/gmod/DHorizontalScroller:GetOverlap
36
28
  */
37
29
  GetOverlap(self: DHorizontalScroller): number;
38
- }
39
-
40
- interface DHorizontalScroller {
41
30
  /**
42
31
  * Returns whether this panel should show drop targets.
43
32
  * @realm client and menu
44
33
  * @source https://wiki.facepunch.com/gmod/DHorizontalScroller:GetShowDropTargets
45
34
  */
46
35
  GetShowDropTargets(self: DHorizontalScroller): boolean;
47
- }
48
-
49
- interface DHorizontalScroller {
50
36
  /**
51
37
  * Same as [DDragBase:MakeDroppable](https://wiki.facepunch.com/gmod/DDragBase:MakeDroppable).
52
38
  * TODO: Transclude or whatever to here?
@@ -55,45 +41,30 @@ interface DHorizontalScroller {
55
41
  * @source https://wiki.facepunch.com/gmod/DHorizontalScroller:MakeDroppable
56
42
  */
57
43
  MakeDroppable(self: DHorizontalScroller, name: string): void;
58
- }
59
-
60
- interface DHorizontalScroller {
61
44
  /**
62
45
  * Scrolls the [DHorizontalScroller](https://wiki.facepunch.com/gmod/DHorizontalScroller) to given child panel.
63
46
  * @realm client and menu
64
47
  * @source https://wiki.facepunch.com/gmod/DHorizontalScroller:ScrollToChild
65
48
  */
66
49
  ScrollToChild(self: DHorizontalScroller, target: Panel): void;
67
- }
68
-
69
- interface DHorizontalScroller {
70
50
  /**
71
51
  * Controls the spacing between elements of the horizontal scroller.
72
52
  * @realm client and menu
73
53
  * @source https://wiki.facepunch.com/gmod/DHorizontalScroller:SetOverlap
74
54
  */
75
55
  SetOverlap(self: DHorizontalScroller, overlap: number): void;
76
- }
77
-
78
- interface DHorizontalScroller {
79
56
  /**
80
57
  * Sets the scroll amount, automatically clamping the value.
81
58
  * @realm client and menu
82
59
  * @source https://wiki.facepunch.com/gmod/DHorizontalScroller:SetScroll
83
60
  */
84
61
  SetScroll(self: DHorizontalScroller, scroll: number): void;
85
- }
86
-
87
- interface DHorizontalScroller {
88
62
  /**
89
63
  * Sets whether this panel should show drop targets.
90
64
  * @realm client and menu
91
65
  * @source https://wiki.facepunch.com/gmod/DHorizontalScroller:SetShowDropTargets
92
66
  */
93
67
  SetShowDropTargets(self: DHorizontalScroller, newState: boolean): void;
94
- }
95
-
96
- interface DHorizontalScroller {
97
68
  /**
98
69
  * Same as [DDragBase:SetUseLiveDrag](https://wiki.facepunch.com/gmod/DDragBase:SetUseLiveDrag)
99
70
  * @realm client and menu
@@ -102,3 +73,13 @@ interface DHorizontalScroller {
102
73
  SetUseLiveDrag(self: DHorizontalScroller, newState: boolean): void;
103
74
  }
104
75
 
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+