@tlua/gmod 1.0.5 → 1.0.6

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 (272) hide show
  1. package/package.json +1 -1
  2. package/types/achievementicon.d.tlua +0 -1
  3. package/types/achievements.d.tlua +15 -16
  4. package/types/ai.d.tlua +5 -6
  5. package/types/ai_schedule.d.tlua +0 -1
  6. package/types/ai_task.d.tlua +0 -1
  7. package/types/angle.d.tlua +18 -19
  8. package/types/avatarimage.d.tlua +0 -1
  9. package/types/awesomium.d.tlua +0 -1
  10. package/types/baseclass.d.tlua +1 -3
  11. package/types/bf_read.d.tlua +10 -12
  12. package/types/bit.d.tlua +11 -12
  13. package/types/button.d.tlua +0 -1
  14. package/types/cam.d.tlua +16 -17
  15. package/types/ceffectdata.d.tlua +31 -33
  16. package/types/chat.d.tlua +5 -6
  17. package/types/checkbutton.d.tlua +0 -1
  18. package/types/cleanup.d.tlua +7 -8
  19. package/types/cluaemitter.d.tlua +11 -13
  20. package/types/clualocomotion.d.tlua +39 -41
  21. package/types/cluaparticle.d.tlua +43 -45
  22. package/types/cmovedata.d.tlua +46 -48
  23. package/types/cnavarea.d.tlua +76 -78
  24. package/types/cnavladder.d.tlua +21 -23
  25. package/types/cnewparticleeffect.d.tlua +25 -27
  26. package/types/color.d.tlua +28 -29
  27. package/types/concommand.d.tlua +4 -5
  28. package/types/constraint.d.tlua +28 -29
  29. package/types/construct.d.tlua +1 -2
  30. package/types/contentheader.d.tlua +1 -3
  31. package/types/contenticon.d.tlua +7 -9
  32. package/types/contentsidebar.d.tlua +2 -4
  33. package/types/contentsidebartoolbox.d.tlua +0 -1
  34. package/types/contextbase.d.tlua +2 -4
  35. package/types/controlpanel.d.tlua +11 -14
  36. package/types/controlpresets.d.tlua +11 -13
  37. package/types/convar.d.tlua +15 -17
  38. package/types/cookie.d.tlua +3 -4
  39. package/types/coroutine.d.tlua +7 -8
  40. package/types/crecipientfilter.d.tlua +15 -17
  41. package/types/csent.d.tlua +0 -1
  42. package/types/csoundpatch.d.tlua +13 -15
  43. package/types/ctakedamageinfo.d.tlua +32 -34
  44. package/types/ctrllistbox.d.tlua +0 -1
  45. package/types/ctrlnumpad.d.tlua +5 -7
  46. package/types/cusercmd.d.tlua +26 -28
  47. package/types/custom_entity_fields.d.tlua +0 -1
  48. package/types/cvars.d.tlua +6 -7
  49. package/types/dadjustablemodelpanel.d.tlua +5 -7
  50. package/types/dalphabar.d.tlua +1 -3
  51. package/types/dbinder.d.tlua +2 -4
  52. package/types/dbubblecontainer.d.tlua +0 -2
  53. package/types/dbutton.d.tlua +6 -8
  54. package/types/dcategoryheader.d.tlua +0 -1
  55. package/types/dcategorylist.d.tlua +0 -1
  56. package/types/dcheckbox.d.tlua +3 -5
  57. package/types/dcheckboxlabel.d.tlua +9 -10
  58. package/types/dcollapsiblecategory.d.tlua +21 -23
  59. package/types/dcolorbutton.d.tlua +5 -7
  60. package/types/dcolorcombo.d.tlua +3 -5
  61. package/types/dcolorcube.d.tlua +11 -13
  62. package/types/dcolormixer.d.tlua +25 -27
  63. package/types/dcolorpalette.d.tlua +21 -23
  64. package/types/dcolumnsheet.d.tlua +3 -5
  65. package/types/dcombobox.d.tlua +15 -17
  66. package/types/ddragbase.d.tlua +11 -13
  67. package/types/ddrawer.d.tlua +6 -8
  68. package/types/debug.d.tlua +16 -19
  69. package/types/debugoverlay.d.tlua +11 -12
  70. package/types/dentityproperties.d.tlua +3 -5
  71. package/types/derma.d.tlua +10 -11
  72. package/types/dexpandbutton.d.tlua +1 -3
  73. package/types/dfilebrowser.d.tlua +20 -21
  74. package/types/dform.d.tlua +16 -18
  75. package/types/dframe.d.tlua +24 -25
  76. package/types/dgrid.d.tlua +9 -11
  77. package/types/dhorizontaldivider.d.tlua +18 -20
  78. package/types/dhorizontalscroller.d.tlua +9 -11
  79. package/types/dhscrollbar.d.tlua +9 -11
  80. package/types/dhtml.d.tlua +6 -8
  81. package/types/dhtmlcontrols.d.tlua +5 -6
  82. package/types/diconbrowser.d.tlua +9 -11
  83. package/types/diconlayout.d.tlua +16 -18
  84. package/types/dimage.d.tlua +17 -20
  85. package/types/dimagebutton.d.tlua +9 -10
  86. package/types/dkillicon.d.tlua +0 -1
  87. package/types/dlabel.d.tlua +31 -33
  88. package/types/dlabeleditable.d.tlua +3 -5
  89. package/types/dlabelurl.d.tlua +8 -10
  90. package/types/dlistbox.d.tlua +6 -8
  91. package/types/dlistboxitem.d.tlua +2 -4
  92. package/types/dlistlayout.d.tlua +0 -1
  93. package/types/dlistview.d.tlua +32 -34
  94. package/types/dlistview_column.d.tlua +12 -14
  95. package/types/dlistview_columnplain.d.tlua +0 -1
  96. package/types/dlistview_draggerbar.d.tlua +0 -1
  97. package/types/dlistview_line.d.tlua +11 -13
  98. package/types/dlistviewheaderlabel.d.tlua +0 -1
  99. package/types/dlistviewlabel.d.tlua +0 -1
  100. package/types/dlistviewline.d.tlua +0 -1
  101. package/types/dmenu.d.tlua +23 -28
  102. package/types/dmenubar.d.tlua +2 -7
  103. package/types/dmenuoption.d.tlua +11 -13
  104. package/types/dmenuoptioncvar.d.tlua +4 -6
  105. package/types/dmodelpanel.d.tlua +20 -22
  106. package/types/dmodelselect.d.tlua +0 -2
  107. package/types/dmodelselectmulti.d.tlua +0 -2
  108. package/types/dnotify.d.tlua +8 -10
  109. package/types/dnumberscratch.d.tlua +24 -26
  110. package/types/dnumberwang.d.tlua +14 -16
  111. package/types/dnumpad.d.tlua +0 -1
  112. package/types/dnumslider.d.tlua +17 -18
  113. package/types/dpanel.d.tlua +12 -14
  114. package/types/dpanellist.d.tlua +11 -12
  115. package/types/dpaneloverlay.d.tlua +5 -7
  116. package/types/dpanelselect.d.tlua +0 -1
  117. package/types/dpanpanel.d.tlua +4 -6
  118. package/types/dprogress.d.tlua +1 -3
  119. package/types/dproperties.d.tlua +2 -4
  120. package/types/dproperty_boolean.d.tlua +0 -1
  121. package/types/dproperty_combo.d.tlua +1 -3
  122. package/types/dproperty_entity.d.tlua +0 -1
  123. package/types/dproperty_float.d.tlua +0 -1
  124. package/types/dproperty_generic.d.tlua +3 -5
  125. package/types/dproperty_int.d.tlua +0 -1
  126. package/types/dproperty_vectorcolor.d.tlua +0 -1
  127. package/types/dpropertysheet.d.tlua +15 -17
  128. package/types/dragndrop.d.tlua +10 -11
  129. package/types/draw.d.tlua +10 -12
  130. package/types/drgbpicker.d.tlua +2 -4
  131. package/types/drive.d.tlua +11 -13
  132. package/types/dscrollbargrip.d.tlua +0 -1
  133. package/types/dscrollpanel.d.tlua +10 -11
  134. package/types/dshape.d.tlua +5 -7
  135. package/types/dsizetocontents.d.tlua +3 -5
  136. package/types/dslider.d.tlua +26 -28
  137. package/types/dsprite.d.tlua +7 -9
  138. package/types/dtab.d.tlua +6 -8
  139. package/types/dtextentry.d.tlua +41 -43
  140. package/types/dtilelayout.d.tlua +19 -21
  141. package/types/dtooltip.d.tlua +4 -6
  142. package/types/dtree.d.tlua +14 -16
  143. package/types/dtree_node.d.tlua +66 -68
  144. package/types/dtree_node_button.d.tlua +0 -1
  145. package/types/duplicator.d.tlua +29 -31
  146. package/types/dverticaldivider.d.tlua +21 -23
  147. package/types/dvscrollbar.d.tlua +9 -11
  148. package/types/editablepanel.d.tlua +0 -1
  149. package/types/effect.d.tlua +2 -4
  150. package/types/effects.d.tlua +6 -7
  151. package/types/engine.d.tlua +21 -22
  152. package/types/entity.d.tlua +643 -674
  153. package/types/ents.d.tlua +19 -25
  154. package/types/enums.d.tlua +0 -1
  155. package/types/file.d.tlua +39 -40
  156. package/types/file_class.d.tlua +0 -1
  157. package/types/fingerposer.d.tlua +0 -1
  158. package/types/fingervar.d.tlua +0 -1
  159. package/types/frame.d.tlua +0 -1
  160. package/types/frame_blend.d.tlua +7 -8
  161. package/types/game.d.tlua +39 -40
  162. package/types/gameevent.d.tlua +0 -1
  163. package/types/gamemode.d.tlua +2 -4
  164. package/types/global.d.tlua +0 -18
  165. package/types/gm.d.tlua +266 -268
  166. package/types/gmod.d.tlua +0 -1
  167. package/types/gmsave.d.tlua +4 -5
  168. package/types/gui.d.tlua +21 -22
  169. package/types/gwen.d.tlua +3 -4
  170. package/types/halo.d.tlua +2 -3
  171. package/types/hammer.d.tlua +0 -1
  172. package/types/hook.d.tlua +4 -5
  173. package/types/html.d.tlua +0 -1
  174. package/types/http.d.tlua +1 -2
  175. package/types/iconeditor.d.tlua +9 -11
  176. package/types/igmodaudiochannel.d.tlua +40 -42
  177. package/types/imagecheckbox.d.tlua +2 -4
  178. package/types/imaterial.d.tlua +25 -27
  179. package/types/imesh.d.tlua +4 -6
  180. package/types/input.d.tlua +22 -25
  181. package/types/invalidateinternalentitycache.d.tlua +0 -1
  182. package/types/irestore.d.tlua +8 -10
  183. package/types/isave.d.tlua +8 -10
  184. package/types/itexture.d.tlua +9 -11
  185. package/types/ivideowriter.d.tlua +4 -6
  186. package/types/jit.d.tlua +16 -17
  187. package/types/killicon.d.tlua +7 -8
  188. package/types/label.d.tlua +0 -1
  189. package/types/language.d.tlua +1 -2
  190. package/types/list.d.tlua +8 -9
  191. package/types/makeballoon.d.tlua +0 -1
  192. package/types/markup.d.tlua +2 -3
  193. package/types/markupobject.d.tlua +4 -6
  194. package/types/material.d.tlua +0 -1
  195. package/types/math.d.tlua +83 -84
  196. package/types/matproxy.d.tlua +3 -4
  197. package/types/matselect.d.tlua +9 -11
  198. package/types/menu.d.tlua +0 -1
  199. package/types/menubar.d.tlua +2 -3
  200. package/types/mesh.d.tlua +19 -20
  201. package/types/modelimage.d.tlua +0 -1
  202. package/types/motionsensor.d.tlua +10 -11
  203. package/types/navmesh.d.tlua +26 -27
  204. package/types/net.d.tlua +51 -53
  205. package/types/nextbot.d.tlua +34 -37
  206. package/types/notification.d.tlua +2 -3
  207. package/types/npc.d.tlua +180 -182
  208. package/types/numpad.d.tlua +7 -8
  209. package/types/os.d.tlua +3 -5
  210. package/types/package.d.tlua +0 -1
  211. package/types/panel.d.tlua +329 -331
  212. package/types/panellist.d.tlua +0 -1
  213. package/types/pathfollower.d.tlua +30 -32
  214. package/types/permissions.d.tlua +6 -7
  215. package/types/physcollide.d.tlua +2 -4
  216. package/types/physenv.d.tlua +11 -12
  217. package/types/physobj.d.tlua +77 -79
  218. package/types/pixelvis_handle_t.d.tlua +0 -1
  219. package/types/player.d.tlua +288 -293
  220. package/types/player_manager.d.tlua +13 -14
  221. package/types/preseteditor.d.tlua +0 -1
  222. package/types/presets.d.tlua +6 -7
  223. package/types/projectedtexture.d.tlua +47 -49
  224. package/types/properties.d.tlua +5 -6
  225. package/types/propselect.d.tlua +3 -5
  226. package/types/radiobutton.d.tlua +0 -1
  227. package/types/render.d.tlua +142 -143
  228. package/types/resource.d.tlua +2 -3
  229. package/types/richtext.d.tlua +0 -1
  230. package/types/sandbox.d.tlua +52 -54
  231. package/types/saverestore.d.tlua +12 -13
  232. package/types/schedule.d.tlua +5 -7
  233. package/types/scripted_ents.d.tlua +9 -12
  234. package/types/search.d.tlua +1 -2
  235. package/types/serverlist.d.tlua +7 -8
  236. package/types/slidebar.d.tlua +0 -1
  237. package/types/slider.d.tlua +0 -1
  238. package/types/sound.d.tlua +10 -11
  239. package/types/spawnicon.d.tlua +6 -8
  240. package/types/spawnmenu.d.tlua +23 -25
  241. package/types/spawnmenucontentpanel.d.tlua +3 -5
  242. package/types/sql.d.tlua +9 -10
  243. package/types/stack.d.tlua +4 -6
  244. package/types/steamworks.d.tlua +18 -19
  245. package/types/string.d.tlua +46 -50
  246. package/types/structures.d.tlua +0 -7
  247. package/types/surface.d.tlua +34 -35
  248. package/types/surfaceinfo.d.tlua +4 -6
  249. package/types/system.d.tlua +10 -11
  250. package/types/table.d.tlua +45 -48
  251. package/types/task.d.tlua +8 -10
  252. package/types/team.d.tlua +19 -20
  253. package/types/textentry.d.tlua +0 -1
  254. package/types/tgaimage.d.tlua +0 -1
  255. package/types/timer.d.tlua +14 -15
  256. package/types/tool.d.tlua +42 -46
  257. package/types/ugcpublishwindow.d.tlua +7 -9
  258. package/types/umsg.d.tlua +12 -13
  259. package/types/undo.d.tlua +10 -11
  260. package/types/urllabel.d.tlua +0 -1
  261. package/types/usermessage.d.tlua +2 -3
  262. package/types/utf8.d.tlua +7 -8
  263. package/types/util.d.tlua +90 -95
  264. package/types/vector.d.tlua +36 -37
  265. package/types/vehicle.d.tlua +48 -51
  266. package/types/vgui.d.tlua +14 -19
  267. package/types/video.d.tlua +0 -1
  268. package/types/vmatrix.d.tlua +35 -36
  269. package/types/weapon.d.tlua +81 -84
  270. package/types/weapons.d.tlua +5 -7
  271. package/types/widgets.d.tlua +1 -2
  272. package/types/workshopfilebase.d.tlua +4 -6
@@ -16,12 +16,14 @@ interface DLabel extends Label {
16
16
  * @source https://wiki.facepunch.com/gmod/DLabel:DoClickInternal
17
17
  */
18
18
  DoClickInternal(self: DLabel): void;
19
+
19
20
  /**
20
21
  * Called just before [DLabel:DoDoubleClick](https://wiki.facepunch.com/gmod/DLabel:DoDoubleClick). In [DLabel](https://wiki.facepunch.com/gmod/DLabel) does nothing and is safe to override.
21
22
  * @realm client and menu
22
23
  * @source https://wiki.facepunch.com/gmod/DLabel:DoDoubleClickInternal
23
24
  */
24
25
  DoDoubleClickInternal(self: DLabel): void;
26
+
25
27
  /**
26
28
  * Returns whether the label stretches vertically or not.
27
29
  *
@@ -31,6 +33,7 @@ interface DLabel extends Label {
31
33
  * @source https://wiki.facepunch.com/gmod/DLabel:GetAutoStretchVertical
32
34
  */
33
35
  GetAutoStretchVertical(self: DLabel): boolean;
36
+
34
37
  /**
35
38
  * Returns whether the [DLabel](https://wiki.facepunch.com/gmod/DLabel) should set its text color to the current skin's bright text color.
36
39
  *
@@ -40,6 +43,7 @@ interface DLabel extends Label {
40
43
  * @source https://wiki.facepunch.com/gmod/DLabel:GetBright
41
44
  */
42
45
  GetBright(self: DLabel): boolean;
46
+
43
47
  /**
44
48
  * Returns the actual color of the text.
45
49
  *
@@ -49,6 +53,7 @@ interface DLabel extends Label {
49
53
  * @source https://wiki.facepunch.com/gmod/DLabel:GetColor
50
54
  */
51
55
  GetColor(self: DLabel): Color;
56
+
52
57
  /**
53
58
  * Returns whether the [DLabel](https://wiki.facepunch.com/gmod/DLabel) should set its text color to the current skin's dark text color.
54
59
  *
@@ -58,6 +63,7 @@ interface DLabel extends Label {
58
63
  * @source https://wiki.facepunch.com/gmod/DLabel:GetDark
59
64
  */
60
65
  GetDark(self: DLabel): boolean;
66
+
61
67
  /**
62
68
  * Gets the disabled state of the [DLabel](https://wiki.facepunch.com/gmod/DLabel). This is set with [DLabel:SetDisabled](https://wiki.facepunch.com/gmod/DLabel:SetDisabled).
63
69
  *
@@ -66,6 +72,7 @@ interface DLabel extends Label {
66
72
  * @deprecated Use Panel:IsEnabled instead.
67
73
  */
68
74
  GetDisabled(self: DLabel): boolean;
75
+
69
76
  /**
70
77
  * Returns whether or not double clicking will call [DLabel:DoDoubleClick](https://wiki.facepunch.com/gmod/DLabel:DoDoubleClick).
71
78
  *
@@ -75,6 +82,7 @@ interface DLabel extends Label {
75
82
  * @source https://wiki.facepunch.com/gmod/DLabel:GetDoubleClickingEnabled
76
83
  */
77
84
  GetDoubleClickingEnabled(self: DLabel): boolean;
85
+
78
86
  /**
79
87
  * Returns whether or not the panel background is being drawn. Alias of [DLabel:GetPaintBackground](https://wiki.facepunch.com/gmod/DLabel:GetPaintBackground).
80
88
  * @realm client and menu
@@ -82,6 +90,7 @@ interface DLabel extends Label {
82
90
  * @deprecated You should use DLabel:GetPaintBackground instead.
83
91
  */
84
92
  GetDrawBackground(self: DLabel): boolean;
93
+
85
94
  /**
86
95
  * Returns whether the [DLabel](https://wiki.facepunch.com/gmod/DLabel) should set its text color to the current skin's highlighted text color.
87
96
  *
@@ -91,6 +100,7 @@ interface DLabel extends Label {
91
100
  * @source https://wiki.facepunch.com/gmod/DLabel:GetHighlight
92
101
  */
93
102
  GetHighlight(self: DLabel): boolean;
103
+
94
104
  /**
95
105
  * Used internally by [DComboBox](https://wiki.facepunch.com/gmod/DComboBox).
96
106
  *
@@ -102,24 +112,28 @@ interface DLabel extends Label {
102
112
  * @source https://wiki.facepunch.com/gmod/DLabel:GetIsMenu
103
113
  */
104
114
  GetIsMenu(self: DLabel): boolean;
115
+
105
116
  /**
106
117
  * Returns whether the toggle functionality is enabled for a label. Set with [DLabel:SetIsToggle](https://wiki.facepunch.com/gmod/DLabel:SetIsToggle).
107
118
  * @realm client and menu
108
119
  * @source https://wiki.facepunch.com/gmod/DLabel:GetIsToggle
109
120
  */
110
121
  GetIsToggle(self: DLabel): boolean;
122
+
111
123
  /**
112
124
  * Returns whether or not the background should be painted.
113
125
  * @realm client and menu
114
126
  * @source https://wiki.facepunch.com/gmod/DLabel:GetPaintBackground
115
127
  */
116
128
  GetPaintBackground(self: DLabel): boolean;
129
+
117
130
  /**
118
131
  * Returns the "override" text color, set by [DLabel:SetTextColor](https://wiki.facepunch.com/gmod/DLabel:SetTextColor).
119
132
  * @realm client and menu
120
133
  * @source https://wiki.facepunch.com/gmod/DLabel:GetTextColor
121
134
  */
122
135
  GetTextColor(self: DLabel): Color;
136
+
123
137
  /**
124
138
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
125
139
  *
@@ -132,6 +146,7 @@ interface DLabel extends Label {
132
146
  * @source https://wiki.facepunch.com/gmod/DLabel:GetTextStyleColor
133
147
  */
134
148
  GetTextStyleColor(self: DLabel): Color;
149
+
135
150
  /**
136
151
  * Returns the current toggle state of the label. This can be set with [DLabel:SetToggle](https://wiki.facepunch.com/gmod/DLabel:SetToggle) and toggled with [DLabel:Toggle](https://wiki.facepunch.com/gmod/DLabel:Toggle).
137
152
  *
@@ -141,12 +156,14 @@ interface DLabel extends Label {
141
156
  * @source https://wiki.facepunch.com/gmod/DLabel:GetToggle
142
157
  */
143
158
  GetToggle(self: DLabel): boolean;
159
+
144
160
  /**
145
161
  * Automatically adjusts the height of the label dependent of the height of the text inside of it.
146
162
  * @realm client and menu
147
163
  * @source https://wiki.facepunch.com/gmod/DLabel:SetAutoStretchVertical
148
164
  */
149
165
  SetAutoStretchVertical(self: DLabel, stretch: boolean): void;
166
+
150
167
  /**
151
168
  * Sets the color of the text to the bright text color defined in the skin.
152
169
  *
@@ -158,12 +175,14 @@ interface DLabel extends Label {
158
175
  * @source https://wiki.facepunch.com/gmod/DLabel:SetBright
159
176
  */
160
177
  SetBright(self: DLabel, bright: boolean): void;
178
+
161
179
  /**
162
180
  * Changes color of label. Alias of [DLabel:SetTextColor](https://wiki.facepunch.com/gmod/DLabel:SetTextColor).
163
181
  * @realm client and menu
164
182
  * @source https://wiki.facepunch.com/gmod/DLabel:SetColor
165
183
  */
166
184
  SetColor(self: DLabel, color: Color): void;
185
+
167
186
  /**
168
187
  * Sets the color of the text to the dark text color defined in the skin.
169
188
  *
@@ -175,6 +194,7 @@ interface DLabel extends Label {
175
194
  * @source https://wiki.facepunch.com/gmod/DLabel:SetDark
176
195
  */
177
196
  SetDark(self: DLabel, dark: boolean): void;
197
+
178
198
  /**
179
199
  * Sets the disabled state of the [DLabel](https://wiki.facepunch.com/gmod/DLabel).
180
200
  *
@@ -185,6 +205,7 @@ interface DLabel extends Label {
185
205
  * @deprecated Use Panel:SetEnabled instead.
186
206
  */
187
207
  SetDisabled(self: DLabel, disable: boolean): void;
208
+
188
209
  /**
189
210
  * Sets whether or not double clicking should call [DLabel:DoDoubleClick](https://wiki.facepunch.com/gmod/DLabel:DoDoubleClick).
190
211
  *
@@ -194,6 +215,7 @@ interface DLabel extends Label {
194
215
  * @source https://wiki.facepunch.com/gmod/DLabel:SetDoubleClickingEnabled
195
216
  */
196
217
  SetDoubleClickingEnabled(self: DLabel, enable: boolean): void;
218
+
197
219
  /**
198
220
  * Sets whether or not to draw the panel background. Alias of [DLabel:SetPaintBackground](https://wiki.facepunch.com/gmod/DLabel:SetPaintBackground).
199
221
  * @realm client and menu
@@ -201,6 +223,7 @@ interface DLabel extends Label {
201
223
  * @deprecated You should use DLabel:SetPaintBackground instead.
202
224
  */
203
225
  SetDrawBackground(self: DLabel, draw: boolean): void;
226
+
204
227
  /**
205
228
  * Sets the color of the text to the highlight text color defined in the skin.
206
229
  *
@@ -214,6 +237,7 @@ interface DLabel extends Label {
214
237
  * @source https://wiki.facepunch.com/gmod/DLabel:SetHighlight
215
238
  */
216
239
  SetHighlight(self: DLabel, highlight: boolean): void;
240
+
217
241
  /**
218
242
  * Used internally by [DComboBox](https://wiki.facepunch.com/gmod/DComboBox).
219
243
  *
@@ -226,6 +250,7 @@ interface DLabel extends Label {
226
250
  * @source https://wiki.facepunch.com/gmod/DLabel:SetIsMenu
227
251
  */
228
252
  SetIsMenu(self: DLabel, isMenu: boolean): void;
253
+
229
254
  /**
230
255
  * Enables or disables toggle functionality for a label. Retrieved with [DLabel:GetIsToggle](https://wiki.facepunch.com/gmod/DLabel:GetIsToggle).
231
256
  *
@@ -235,12 +260,14 @@ interface DLabel extends Label {
235
260
  * @source https://wiki.facepunch.com/gmod/DLabel:SetIsToggle
236
261
  */
237
262
  SetIsToggle(self: DLabel, allowToggle: boolean): void;
263
+
238
264
  /**
239
265
  * Sets whether or not the background should be painted. This is mainly used by derivative classes, such as [DButton](https://wiki.facepunch.com/gmod/DButton).
240
266
  * @realm client and menu
241
267
  * @source https://wiki.facepunch.com/gmod/DLabel:SetPaintBackground
242
268
  */
243
269
  SetPaintBackground(self: DLabel, paint: boolean): void;
270
+
244
271
  /**
245
272
  * **INTERNAL**: Use [DLabel:SetTextColor](https://wiki.facepunch.com/gmod/DLabel:SetTextColor) instead!
246
273
  *
@@ -252,6 +279,7 @@ interface DLabel extends Label {
252
279
  * @source https://wiki.facepunch.com/gmod/DLabel:SetTextStyleColor
253
280
  */
254
281
  SetTextStyleColor(self: DLabel, color: Color): void;
282
+
255
283
  /**
256
284
  * Sets the toggle state of the label. This can be retrieved with [DLabel:GetToggle](https://wiki.facepunch.com/gmod/DLabel:GetToggle) and toggled with [DLabel:Toggle](https://wiki.facepunch.com/gmod/DLabel:Toggle).
257
285
  *
@@ -261,6 +289,7 @@ interface DLabel extends Label {
261
289
  * @source https://wiki.facepunch.com/gmod/DLabel:SetToggle
262
290
  */
263
291
  SetToggle(self: DLabel, toggleState: boolean): void;
292
+
264
293
  /**
265
294
  * Toggles the label's state. This can be set and retrieved with [DLabel:SetToggle](https://wiki.facepunch.com/gmod/DLabel:SetToggle) and [DLabel:GetToggle](https://wiki.facepunch.com/gmod/DLabel:GetToggle).
266
295
  *
@@ -270,12 +299,14 @@ interface DLabel extends Label {
270
299
  * @source https://wiki.facepunch.com/gmod/DLabel:Toggle
271
300
  */
272
301
  Toggle(self: DLabel): void;
302
+
273
303
  /**
274
304
  * A hook called from within [PANEL:ApplySchemeSettings](https://wiki.facepunch.com/gmod/PANEL:ApplySchemeSettings) to determine the color of the text on display.
275
305
  * @realm client and menu
276
306
  * @source https://wiki.facepunch.com/gmod/DLabel:UpdateColours
277
307
  */
278
308
  UpdateColours(self: DLabel, skin: table): void;
309
+
279
310
  /**
280
311
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
281
312
  *
@@ -287,36 +318,3 @@ interface DLabel extends Label {
287
318
  */
288
319
  UpdateFGColor(self: DLabel): void;
289
320
  }
290
-
291
-
292
-
293
-
294
-
295
-
296
-
297
-
298
-
299
-
300
-
301
-
302
-
303
-
304
-
305
-
306
-
307
-
308
-
309
-
310
-
311
-
312
-
313
-
314
-
315
-
316
-
317
-
318
-
319
-
320
-
321
-
322
-
@@ -15,12 +15,14 @@ interface DLabelEditable extends DLabel {
15
15
  * @source https://wiki.facepunch.com/gmod/DLabelEditable:GetAutoStretch
16
16
  */
17
17
  GetAutoStretch(self: DLabelEditable): boolean;
18
+
18
19
  /**
19
20
  * Returns whether this [DLabelEditable](https://wiki.facepunch.com/gmod/DLabelEditable) is being edited or not. (i.e. has focus)
20
21
  * @realm client and menu
21
22
  * @source https://wiki.facepunch.com/gmod/DLabelEditable:IsEditing
22
23
  */
23
24
  IsEditing(self: DLabelEditable): boolean;
25
+
24
26
  /**
25
27
  * A hook called when the player presses Enter (i.e. the finished editing the label) and the text has changed.
26
28
  *
@@ -30,6 +32,7 @@ interface DLabelEditable extends DLabel {
30
32
  * @source https://wiki.facepunch.com/gmod/DLabelEditable:OnLabelTextChanged
31
33
  */
32
34
  OnLabelTextChanged(self: DLabelEditable, txt: string): string;
35
+
33
36
  /**
34
37
  * Sets whether the editable label should stretch to the text entered or not.
35
38
  * @realm client
@@ -37,8 +40,3 @@ interface DLabelEditable extends DLabel {
37
40
  */
38
41
  SetAutoStretch(self: DLabelEditable, stretch: boolean): void;
39
42
  }
40
-
41
-
42
-
43
-
44
-
@@ -16,24 +16,28 @@ interface DLabelURL extends URLLabel {
16
16
  * @source https://wiki.facepunch.com/gmod/DLabelURL:GetAutoStretchVertical
17
17
  */
18
18
  GetAutoStretchVertical(self: DLabelURL): boolean;
19
+
19
20
  /**
20
21
  * Gets the current text color of the [DLabelURL](https://wiki.facepunch.com/gmod/DLabelURL). Returns either [DLabelURL:GetTextColor](https://wiki.facepunch.com/gmod/DLabelURL:GetTextColor) or if that is unset - [DLabelURL:GetTextStyleColor](https://wiki.facepunch.com/gmod/DLabelURL:GetTextStyleColor).
21
22
  * @realm client and menu
22
23
  * @source https://wiki.facepunch.com/gmod/DLabelURL:GetColor
23
24
  */
24
25
  GetColor(self: DLabelURL): Color;
26
+
25
27
  /**
26
28
  * Gets the current text color of the [DLabelURL](https://wiki.facepunch.com/gmod/DLabelURL) set by [DLabelURL:SetTextColor](https://wiki.facepunch.com/gmod/DLabelURL:SetTextColor).
27
29
  * @realm client and menu
28
30
  * @source https://wiki.facepunch.com/gmod/DLabelURL:GetTextColor
29
31
  */
30
32
  GetTextColor(self: DLabelURL): Color;
33
+
31
34
  /**
32
35
  * Returns the color set by [DLabelURL:SetTextStyleColor](https://wiki.facepunch.com/gmod/DLabelURL:SetTextStyleColor).
33
36
  * @realm client and menu
34
37
  * @source https://wiki.facepunch.com/gmod/DLabelURL:GetTextStyleColor
35
38
  */
36
39
  GetTextStyleColor(self: DLabelURL): Color;
40
+
37
41
  /**
38
42
  * Does absolutely nothing at all.
39
43
  *
@@ -41,12 +45,14 @@ interface DLabelURL extends URLLabel {
41
45
  * @source https://wiki.facepunch.com/gmod/DLabelURL:SetAutoStretchVertical
42
46
  */
43
47
  SetAutoStretchVertical(self: DLabelURL, draw: boolean): void;
48
+
44
49
  /**
45
50
  * Alias of [DLabelURL:SetTextColor](https://wiki.facepunch.com/gmod/DLabelURL:SetTextColor).
46
51
  * @realm client and menu
47
52
  * @source https://wiki.facepunch.com/gmod/DLabelURL:SetColor
48
53
  */
49
54
  SetColor(self: DLabelURL, col: Color): void;
55
+
50
56
  /**
51
57
  * Sets the text color of the [DLabelURL](https://wiki.facepunch.com/gmod/DLabelURL). Overrides [DLabelURL:SetTextStyleColor](https://wiki.facepunch.com/gmod/DLabelURL:SetTextStyleColor).
52
58
  *
@@ -57,12 +63,14 @@ interface DLabelURL extends URLLabel {
57
63
  * @source https://wiki.facepunch.com/gmod/DLabelURL:SetTextColor
58
64
  */
59
65
  SetTextColor(self: DLabelURL, col: Color): void;
66
+
60
67
  /**
61
68
  * Sets the base text color of the [DLabelURL](https://wiki.facepunch.com/gmod/DLabelURL). This is overridden by [DLabelURL:SetTextColor](https://wiki.facepunch.com/gmod/DLabelURL:SetTextColor).
62
69
  * @realm client and menu
63
70
  * @source https://wiki.facepunch.com/gmod/DLabelURL:SetTextStyleColor
64
71
  */
65
72
  SetTextStyleColor(self: DLabelURL, color: Color): void;
73
+
66
74
  /**
67
75
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
68
76
  * Used internally to set correct text color via [Panel:SetFGColor](https://wiki.facepunch.com/gmod/Panel:SetFGColor) and [DLabelURL:GetColor](https://wiki.facepunch.com/gmod/DLabelURL:GetColor).
@@ -71,13 +79,3 @@ interface DLabelURL extends URLLabel {
71
79
  */
72
80
  UpdateFGColor(self: DLabelURL): void;
73
81
  }
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-
@@ -15,18 +15,21 @@ interface DListBox extends DPanelList {
15
15
  * @source https://wiki.facepunch.com/gmod/DListBox:GetMultiple
16
16
  */
17
17
  GetMultiple(self: DListBox): boolean;
18
+
18
19
  /**
19
20
  * Returns selected items.
20
21
  * @realm client and menu
21
22
  * @source https://wiki.facepunch.com/gmod/DListBox:GetSelectedItems
22
23
  */
23
24
  GetSelectedItems(self: DListBox): table;
25
+
24
26
  /**
25
27
  * Returns selected item values.
26
28
  * @realm client and menu
27
29
  * @source https://wiki.facepunch.com/gmod/DListBox:GetSelectedValues
28
30
  */
29
31
  GetSelectedValues(self: DListBox): table;
32
+
30
33
  /**
31
34
  * Select a [DListBoxItem](https://wiki.facepunch.com/gmod/DListBoxItem) based on its value.
32
35
  *
@@ -34,6 +37,7 @@ interface DListBox extends DPanelList {
34
37
  * @source https://wiki.facepunch.com/gmod/DListBox:SelectByName
35
38
  */
36
39
  SelectByName(self: DListBox, val: string): void;
40
+
37
41
  /**
38
42
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
39
43
  *
@@ -44,12 +48,14 @@ interface DListBox extends DPanelList {
44
48
  * @source https://wiki.facepunch.com/gmod/DListBox:SelectItem
45
49
  */
46
50
  SelectItem(self: DListBox, item: Panel, onlyme: boolean): void;
51
+
47
52
  /**
48
53
  * Sets whether the list box can select multiple items.
49
54
  * @realm client and menu
50
55
  * @source https://wiki.facepunch.com/gmod/DListBox:SetMultiple
51
56
  */
52
57
  SetMultiple(self: DListBox, multiple: boolean): void;
58
+
53
59
  /**
54
60
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
55
61
  *
@@ -59,11 +65,3 @@ interface DListBox extends DPanelList {
59
65
  */
60
66
  SetSelectedItems(self: DListBox, items: table): void;
61
67
  }
62
-
63
-
64
-
65
-
66
-
67
-
68
-
69
-
@@ -13,6 +13,7 @@ interface DListBoxItem extends DLabel {
13
13
  * @source https://wiki.facepunch.com/gmod/DListBoxItem:GetMother
14
14
  */
15
15
  GetMother(self: DListBoxItem): Panel;
16
+
16
17
  /**
17
18
  * Selects this item.
18
19
  *
@@ -20,6 +21,7 @@ interface DListBoxItem extends DLabel {
20
21
  * @source https://wiki.facepunch.com/gmod/DListBoxItem:Select
21
22
  */
22
23
  Select(self: DListBoxItem, onlyMe: boolean): void;
24
+
23
25
  /**
24
26
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
25
27
  *
@@ -31,7 +33,3 @@ interface DListBoxItem extends DLabel {
31
33
  */
32
34
  SetMother(self: DListBoxItem, parent: Panel): void;
33
35
  }
34
-
35
-
36
-
37
-
@@ -11,4 +11,3 @@
11
11
  * @source https://wiki.facepunch.com/gmod/DListLayout
12
12
  */
13
13
  interface DListLayout extends DDragBase {}
14
-