@tlua/gmod 1.0.4 → 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 +0 -31
  4. package/types/ai.d.tlua +0 -11
  5. package/types/ai_schedule.d.tlua +0 -1
  6. package/types/ai_task.d.tlua +0 -1
  7. package/types/angle.d.tlua +0 -37
  8. package/types/avatarimage.d.tlua +0 -1
  9. package/types/awesomium.d.tlua +0 -1
  10. package/types/baseclass.d.tlua +0 -4
  11. package/types/bf_read.d.tlua +0 -23
  12. package/types/bit.d.tlua +0 -23
  13. package/types/button.d.tlua +0 -1
  14. package/types/cam.d.tlua +0 -33
  15. package/types/ceffectdata.d.tlua +0 -65
  16. package/types/chat.d.tlua +0 -11
  17. package/types/checkbutton.d.tlua +0 -1
  18. package/types/cleanup.d.tlua +0 -15
  19. package/types/cluaemitter.d.tlua +0 -25
  20. package/types/clualocomotion.d.tlua +0 -81
  21. package/types/cluaparticle.d.tlua +0 -89
  22. package/types/cmovedata.d.tlua +0 -95
  23. package/types/cnavarea.d.tlua +0 -155
  24. package/types/cnavladder.d.tlua +0 -45
  25. package/types/cnewparticleeffect.d.tlua +0 -53
  26. package/types/color.d.tlua +0 -57
  27. package/types/concommand.d.tlua +0 -9
  28. package/types/constraint.d.tlua +0 -57
  29. package/types/construct.d.tlua +0 -3
  30. package/types/contentheader.d.tlua +1 -6
  31. package/types/contenticon.d.tlua +1 -18
  32. package/types/contentsidebar.d.tlua +1 -8
  33. package/types/contentsidebartoolbox.d.tlua +0 -1
  34. package/types/contextbase.d.tlua +1 -8
  35. package/types/controlpanel.d.tlua +6 -31
  36. package/types/controlpresets.d.tlua +1 -26
  37. package/types/convar.d.tlua +0 -33
  38. package/types/cookie.d.tlua +0 -7
  39. package/types/coroutine.d.tlua +0 -15
  40. package/types/crecipientfilter.d.tlua +0 -33
  41. package/types/csent.d.tlua +0 -1
  42. package/types/csoundpatch.d.tlua +0 -29
  43. package/types/ctakedamageinfo.d.tlua +0 -67
  44. package/types/ctrllistbox.d.tlua +0 -1
  45. package/types/ctrlnumpad.d.tlua +0 -13
  46. package/types/cusercmd.d.tlua +0 -55
  47. package/types/custom_entity_fields.d.tlua +0 -1
  48. package/types/cvars.d.tlua +0 -13
  49. package/types/dadjustablemodelpanel.d.tlua +1 -14
  50. package/types/dalphabar.d.tlua +1 -6
  51. package/types/dbinder.d.tlua +1 -8
  52. package/types/dbubblecontainer.d.tlua +1 -4
  53. package/types/dbutton.d.tlua +1 -16
  54. package/types/dcategoryheader.d.tlua +0 -1
  55. package/types/dcategorylist.d.tlua +0 -1
  56. package/types/dcheckbox.d.tlua +1 -10
  57. package/types/dcheckboxlabel.d.tlua +0 -19
  58. package/types/dcollapsiblecategory.d.tlua +1 -46
  59. package/types/dcolorbutton.d.tlua +1 -14
  60. package/types/dcolorcombo.d.tlua +1 -10
  61. package/types/dcolorcube.d.tlua +1 -26
  62. package/types/dcolormixer.d.tlua +1 -54
  63. package/types/dcolorpalette.d.tlua +1 -46
  64. package/types/dcolumnsheet.d.tlua +1 -10
  65. package/types/dcombobox.d.tlua +1 -34
  66. package/types/ddragbase.d.tlua +1 -26
  67. package/types/ddrawer.d.tlua +1 -16
  68. package/types/debug.d.tlua +25 -60
  69. package/types/debugoverlay.d.tlua +0 -23
  70. package/types/dentityproperties.d.tlua +1 -10
  71. package/types/derma.d.tlua +0 -21
  72. package/types/dexpandbutton.d.tlua +1 -6
  73. package/types/dfilebrowser.d.tlua +0 -41
  74. package/types/dform.d.tlua +1 -36
  75. package/types/dframe.d.tlua +0 -49
  76. package/types/dgrid.d.tlua +1 -22
  77. package/types/dhorizontaldivider.d.tlua +1 -40
  78. package/types/dhorizontalscroller.d.tlua +1 -22
  79. package/types/dhscrollbar.d.tlua +1 -22
  80. package/types/dhtml.d.tlua +1 -16
  81. package/types/dhtmlcontrols.d.tlua +0 -11
  82. package/types/diconbrowser.d.tlua +1 -22
  83. package/types/diconlayout.d.tlua +1 -36
  84. package/types/dimage.d.tlua +1 -39
  85. package/types/dimagebutton.d.tlua +0 -19
  86. package/types/dkillicon.d.tlua +0 -1
  87. package/types/dlabel.d.tlua +1 -66
  88. package/types/dlabeleditable.d.tlua +1 -10
  89. package/types/dlabelurl.d.tlua +1 -20
  90. package/types/dlistbox.d.tlua +1 -16
  91. package/types/dlistboxitem.d.tlua +1 -8
  92. package/types/dlistlayout.d.tlua +0 -1
  93. package/types/dlistview.d.tlua +1 -68
  94. package/types/dlistview_column.d.tlua +1 -28
  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 +1 -26
  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 +1 -53
  102. package/types/dmenubar.d.tlua +1 -11
  103. package/types/dmenuoption.d.tlua +1 -26
  104. package/types/dmenuoptioncvar.d.tlua +1 -12
  105. package/types/dmodelpanel.d.tlua +1 -44
  106. package/types/dmodelselect.d.tlua +1 -4
  107. package/types/dmodelselectmulti.d.tlua +1 -4
  108. package/types/dnotify.d.tlua +1 -20
  109. package/types/dnumberscratch.d.tlua +1 -52
  110. package/types/dnumberwang.d.tlua +1 -32
  111. package/types/dnumpad.d.tlua +0 -1
  112. package/types/dnumslider.d.tlua +0 -35
  113. package/types/dpanel.d.tlua +1 -28
  114. package/types/dpanellist.d.tlua +0 -23
  115. package/types/dpaneloverlay.d.tlua +1 -14
  116. package/types/dpanelselect.d.tlua +0 -1
  117. package/types/dpanpanel.d.tlua +1 -12
  118. package/types/dprogress.d.tlua +1 -6
  119. package/types/dproperties.d.tlua +1 -8
  120. package/types/dproperty_boolean.d.tlua +0 -1
  121. package/types/dproperty_combo.d.tlua +1 -6
  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 +1 -10
  125. package/types/dproperty_int.d.tlua +0 -1
  126. package/types/dproperty_vectorcolor.d.tlua +0 -1
  127. package/types/dpropertysheet.d.tlua +9 -41
  128. package/types/dragndrop.d.tlua +0 -21
  129. package/types/draw.d.tlua +0 -22
  130. package/types/drgbpicker.d.tlua +1 -8
  131. package/types/drive.d.tlua +6 -31
  132. package/types/dscrollbargrip.d.tlua +0 -1
  133. package/types/dscrollpanel.d.tlua +0 -21
  134. package/types/dshape.d.tlua +1 -14
  135. package/types/dsizetocontents.d.tlua +1 -10
  136. package/types/dslider.d.tlua +1 -56
  137. package/types/dsprite.d.tlua +1 -18
  138. package/types/dtab.d.tlua +1 -16
  139. package/types/dtextentry.d.tlua +1 -86
  140. package/types/dtilelayout.d.tlua +1 -42
  141. package/types/dtooltip.d.tlua +1 -12
  142. package/types/dtree.d.tlua +1 -32
  143. package/types/dtree_node.d.tlua +1 -136
  144. package/types/dtree_node_button.d.tlua +0 -1
  145. package/types/duplicator.d.tlua +0 -60
  146. package/types/dverticaldivider.d.tlua +1 -46
  147. package/types/dvscrollbar.d.tlua +1 -22
  148. package/types/editablepanel.d.tlua +0 -1
  149. package/types/effect.d.tlua +1 -8
  150. package/types/effects.d.tlua +0 -13
  151. package/types/engine.d.tlua +0 -43
  152. package/types/entity.d.tlua +2 -1319
  153. package/types/ents.d.tlua +0 -44
  154. package/types/enums.d.tlua +0 -1
  155. package/types/file.d.tlua +0 -79
  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 +0 -15
  161. package/types/game.d.tlua +0 -79
  162. package/types/gameevent.d.tlua +4 -9
  163. package/types/gamemode.d.tlua +0 -6
  164. package/types/global.d.tlua +0 -18
  165. package/types/gm.d.tlua +0 -535
  166. package/types/gmod.d.tlua +0 -1
  167. package/types/gmsave.d.tlua +0 -9
  168. package/types/gui.d.tlua +0 -43
  169. package/types/gwen.d.tlua +0 -7
  170. package/types/halo.d.tlua +0 -5
  171. package/types/hammer.d.tlua +0 -1
  172. package/types/hook.d.tlua +0 -9
  173. package/types/html.d.tlua +0 -1
  174. package/types/http.d.tlua +0 -3
  175. package/types/iconeditor.d.tlua +1 -22
  176. package/types/igmodaudiochannel.d.tlua +0 -83
  177. package/types/imagecheckbox.d.tlua +1 -8
  178. package/types/imaterial.d.tlua +0 -53
  179. package/types/imesh.d.tlua +0 -11
  180. package/types/input.d.tlua +0 -47
  181. package/types/invalidateinternalentitycache.d.tlua +0 -1
  182. package/types/irestore.d.tlua +0 -19
  183. package/types/isave.d.tlua +0 -19
  184. package/types/itexture.d.tlua +0 -21
  185. package/types/ivideowriter.d.tlua +0 -11
  186. package/types/jit.d.tlua +9 -42
  187. package/types/killicon.d.tlua +0 -15
  188. package/types/label.d.tlua +0 -1
  189. package/types/language.d.tlua +0 -3
  190. package/types/list.d.tlua +0 -17
  191. package/types/makeballoon.d.tlua +0 -1
  192. package/types/markup.d.tlua +0 -5
  193. package/types/markupobject.d.tlua +0 -11
  194. package/types/material.d.tlua +0 -1
  195. package/types/math.d.tlua +200 -371
  196. package/types/matproxy.d.tlua +0 -7
  197. package/types/matselect.d.tlua +1 -22
  198. package/types/menu.d.tlua +0 -1
  199. package/types/menubar.d.tlua +0 -5
  200. package/types/mesh.d.tlua +0 -39
  201. package/types/modelimage.d.tlua +0 -1
  202. package/types/motionsensor.d.tlua +0 -21
  203. package/types/navmesh.d.tlua +0 -53
  204. package/types/net.d.tlua +0 -104
  205. package/types/nextbot.d.tlua +10 -83
  206. package/types/notification.d.tlua +0 -5
  207. package/types/npc.d.tlua +1 -364
  208. package/types/numpad.d.tlua +0 -15
  209. package/types/os.d.tlua +0 -8
  210. package/types/package.d.tlua +0 -1
  211. package/types/panel.d.tlua +2 -662
  212. package/types/panellist.d.tlua +0 -1
  213. package/types/pathfollower.d.tlua +0 -63
  214. package/types/permissions.d.tlua +0 -13
  215. package/types/physcollide.d.tlua +0 -7
  216. package/types/physenv.d.tlua +0 -23
  217. package/types/physobj.d.tlua +0 -157
  218. package/types/pixelvis_handle_t.d.tlua +0 -1
  219. package/types/player.d.tlua +11 -594
  220. package/types/player_manager.d.tlua +0 -27
  221. package/types/preseteditor.d.tlua +0 -1
  222. package/types/presets.d.tlua +0 -13
  223. package/types/projectedtexture.d.tlua +0 -97
  224. package/types/properties.d.tlua +0 -11
  225. package/types/propselect.d.tlua +1 -10
  226. package/types/radiobutton.d.tlua +0 -1
  227. package/types/render.d.tlua +0 -285
  228. package/types/resource.d.tlua +0 -5
  229. package/types/richtext.d.tlua +0 -1
  230. package/types/sandbox.d.tlua +1 -108
  231. package/types/saverestore.d.tlua +0 -25
  232. package/types/schedule.d.tlua +0 -13
  233. package/types/scripted_ents.d.tlua +0 -21
  234. package/types/search.d.tlua +0 -3
  235. package/types/serverlist.d.tlua +0 -15
  236. package/types/slidebar.d.tlua +0 -1
  237. package/types/slider.d.tlua +0 -1
  238. package/types/sound.d.tlua +0 -21
  239. package/types/spawnicon.d.tlua +1 -16
  240. package/types/spawnmenu.d.tlua +0 -48
  241. package/types/spawnmenucontentpanel.d.tlua +1 -10
  242. package/types/sql.d.tlua +0 -19
  243. package/types/stack.d.tlua +0 -11
  244. package/types/steamworks.d.tlua +0 -37
  245. package/types/string.d.tlua +0 -96
  246. package/types/structures.d.tlua +0 -7
  247. package/types/surface.d.tlua +0 -69
  248. package/types/surfaceinfo.d.tlua +0 -11
  249. package/types/system.d.tlua +0 -21
  250. package/types/table.d.tlua +0 -93
  251. package/types/task.d.tlua +0 -19
  252. package/types/team.d.tlua +0 -39
  253. package/types/textentry.d.tlua +0 -1
  254. package/types/tgaimage.d.tlua +0 -1
  255. package/types/timer.d.tlua +0 -29
  256. package/types/tool.d.tlua +1 -90
  257. package/types/ugcpublishwindow.d.tlua +1 -18
  258. package/types/umsg.d.tlua +0 -25
  259. package/types/undo.d.tlua +0 -21
  260. package/types/urllabel.d.tlua +0 -1
  261. package/types/usermessage.d.tlua +0 -5
  262. package/types/utf8.d.tlua +0 -15
  263. package/types/util.d.tlua +0 -185
  264. package/types/vector.d.tlua +0 -73
  265. package/types/vehicle.d.tlua +2 -102
  266. package/types/vgui.d.tlua +0 -33
  267. package/types/video.d.tlua +0 -1
  268. package/types/vmatrix.d.tlua +0 -71
  269. package/types/weapon.d.tlua +2 -168
  270. package/types/weapons.d.tlua +0 -12
  271. package/types/widgets.d.tlua +0 -3
  272. package/types/workshopfilebase.d.tlua +0 -11
@@ -8,9 +8,7 @@
8
8
  * @realm client and menu
9
9
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory
10
10
  */
11
- interface DCollapsibleCategory extends Panel {}
12
-
13
- interface DCollapsibleCategory {
11
+ interface DCollapsibleCategory extends Panel {
14
12
  /**
15
13
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
16
14
  *
@@ -21,27 +19,21 @@ interface DCollapsibleCategory {
21
19
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:AnimSlide
22
20
  */
23
21
  AnimSlide(self: DCollapsibleCategory, anim: table, delta: number, data: table): void;
24
- }
25
22
 
26
- interface DCollapsibleCategory {
27
23
  /**
28
24
  * Forces the category to open or collapse
29
25
  * @realm client and menu
30
26
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:DoExpansion
31
27
  */
32
28
  DoExpansion(self: DCollapsibleCategory, expand: boolean): void;
33
- }
34
29
 
35
- interface DCollapsibleCategory {
36
30
  /**
37
31
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the expand/collapse animation time set by [DCollapsibleCategory:SetAnimTime](https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetAnimTime).
38
32
  * @realm client and menu
39
33
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:GetAnimTime
40
34
  */
41
35
  GetAnimTime(self: DCollapsibleCategory): number;
42
- }
43
36
 
44
- interface DCollapsibleCategory {
45
37
  /**
46
38
  * Returns whether or not the panel background is being drawn. Alias of [DCollapsibleCategory:GetPaintBackground](https://wiki.facepunch.com/gmod/DCollapsibleCategory:GetPaintBackground).
47
39
  * @realm client and menu
@@ -49,18 +41,14 @@ interface DCollapsibleCategory {
49
41
  * @deprecated You should use DCollapsibleCategory:GetPaintBackground instead.
50
42
  */
51
43
  GetDrawBackground(self: DCollapsibleCategory): boolean;
52
- }
53
44
 
54
- interface DCollapsibleCategory {
55
45
  /**
56
46
  * Returns whether the DCollapsibleCategory is expanded or not.
57
47
  * @realm client and menu
58
48
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:GetExpanded
59
49
  */
60
50
  GetExpanded(self: DCollapsibleCategory): boolean;
61
- }
62
51
 
63
- interface DCollapsibleCategory {
64
52
  /**
65
53
  * Returns the header height of the [DCollapsibleCategory](https://wiki.facepunch.com/gmod/DCollapsibleCategory).
66
54
  *
@@ -70,9 +58,7 @@ interface DCollapsibleCategory {
70
58
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:GetHeaderHeight
71
59
  */
72
60
  GetHeaderHeight(self: DCollapsibleCategory): number;
73
- }
74
61
 
75
- interface DCollapsibleCategory {
76
62
  /**
77
63
  * If set, the [DCategoryList](https://wiki.facepunch.com/gmod/DCategoryList) that created this panel.
78
64
  *
@@ -82,9 +68,7 @@ interface DCollapsibleCategory {
82
68
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:GetList
83
69
  */
84
70
  GetList(self: DCollapsibleCategory): Panel;
85
- }
86
71
 
87
- interface DCollapsibleCategory {
88
72
  /**
89
73
  * Doesn't actually do anything.
90
74
  *
@@ -94,18 +78,14 @@ interface DCollapsibleCategory {
94
78
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:GetPadding
95
79
  */
96
80
  GetPadding(self: DCollapsibleCategory): number;
97
- }
98
81
 
99
- interface DCollapsibleCategory {
100
82
  /**
101
83
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns whether or not the background should be painted.
102
84
  * @realm client and menu
103
85
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:GetPaintBackground
104
86
  */
105
87
  GetPaintBackground(self: DCollapsibleCategory): boolean;
106
- }
107
88
 
108
- interface DCollapsibleCategory {
109
89
  /**
110
90
  * Returns whatever was set by [DCollapsibleCategory:SetStartHeight](https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetStartHeight)
111
91
  *
@@ -113,27 +93,21 @@ interface DCollapsibleCategory {
113
93
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:GetStartHeight
114
94
  */
115
95
  GetStartHeight(self: DCollapsibleCategory): number;
116
- }
117
96
 
118
- interface DCollapsibleCategory {
119
97
  /**
120
98
  * Sets the time in seconds it takes to expand the DCollapsibleCategory
121
99
  * @realm client and menu
122
100
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetAnimTime
123
101
  */
124
102
  SetAnimTime(self: DCollapsibleCategory, time: number): void;
125
- }
126
103
 
127
- interface DCollapsibleCategory {
128
104
  /**
129
105
  * Sets the contents of the DCollapsibleCategory.
130
106
  * @realm client and menu
131
107
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetContents
132
108
  */
133
109
  SetContents(self: DCollapsibleCategory, pnl: Panel): void;
134
- }
135
110
 
136
- interface DCollapsibleCategory {
137
111
  /**
138
112
  * Sets whether or not to draw the panel background. Alias of [DCollapsibleCategory:SetPaintBackground](https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetPaintBackground).
139
113
  * @realm client and menu
@@ -141,9 +115,7 @@ interface DCollapsibleCategory {
141
115
  * @deprecated You should use DCollapsibleCategory:SetPaintBackground instead.
142
116
  */
143
117
  SetDrawBackground(self: DCollapsibleCategory, draw: boolean): void;
144
- }
145
118
 
146
- interface DCollapsibleCategory {
147
119
  /**
148
120
  * Sets whether the [DCollapsibleCategory](https://wiki.facepunch.com/gmod/DCollapsibleCategory) is expanded or not upon opening the container.
149
121
  *
@@ -153,9 +125,7 @@ interface DCollapsibleCategory {
153
125
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetExpanded
154
126
  */
155
127
  SetExpanded(self: DCollapsibleCategory, expanded?: boolean): void;
156
- }
157
128
 
158
- interface DCollapsibleCategory {
159
129
  /**
160
130
  * Sets the header height of the [DCollapsibleCategory](https://wiki.facepunch.com/gmod/DCollapsibleCategory).
161
131
  *
@@ -165,18 +135,14 @@ interface DCollapsibleCategory {
165
135
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetHeaderHeight
166
136
  */
167
137
  SetHeaderHeight(self: DCollapsibleCategory, height: number): void;
168
- }
169
138
 
170
- interface DCollapsibleCategory {
171
139
  /**
172
140
  * Sets the name of the DCollapsibleCategory.
173
141
  * @realm client and menu
174
142
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetLabel
175
143
  */
176
144
  SetLabel(self: DCollapsibleCategory, label: string): void;
177
- }
178
145
 
179
- interface DCollapsibleCategory {
180
146
  /**
181
147
  * Used internally by [DCategoryList](https://wiki.facepunch.com/gmod/DCategoryList) when it creates a [DCollapsibleCategory](https://wiki.facepunch.com/gmod/DCollapsibleCategory) during [DCategoryList:Add](https://wiki.facepunch.com/gmod/DCategoryList:Add).
182
148
  *
@@ -185,36 +151,28 @@ interface DCollapsibleCategory {
185
151
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetList
186
152
  */
187
153
  SetList(self: DCollapsibleCategory, pnl: Panel): void;
188
- }
189
154
 
190
- interface DCollapsibleCategory {
191
155
  /**
192
156
  * Doesn't actually do anything.
193
157
  * @realm client and menu
194
158
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetPadding
195
159
  */
196
160
  SetPadding(self: DCollapsibleCategory, padding: number): void;
197
- }
198
161
 
199
- interface DCollapsibleCategory {
200
162
  /**
201
163
  * Sets whether or not the background should be painted.
202
164
  * @realm client and menu
203
165
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetPaintBackground
204
166
  */
205
167
  SetPaintBackground(self: DCollapsibleCategory, paint: boolean): void;
206
- }
207
168
 
208
- interface DCollapsibleCategory {
209
169
  /**
210
170
  * Does nothing.
211
171
  * @realm client and menu
212
172
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:SetStartHeight
213
173
  */
214
174
  SetStartHeight(self: DCollapsibleCategory, height: number): void;
215
- }
216
175
 
217
- interface DCollapsibleCategory {
218
176
  /**
219
177
  * Toggles the expanded state of the [DCollapsibleCategory](https://wiki.facepunch.com/gmod/DCollapsibleCategory).
220
178
  *
@@ -223,9 +181,7 @@ interface DCollapsibleCategory {
223
181
  * @source https://wiki.facepunch.com/gmod/DCollapsibleCategory:Toggle
224
182
  */
225
183
  Toggle(self: DCollapsibleCategory): void;
226
- }
227
184
 
228
- interface DCollapsibleCategory {
229
185
  /**
230
186
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
231
187
  *
@@ -237,4 +193,3 @@ interface DCollapsibleCategory {
237
193
  */
238
194
  UpdateAltLines(self: DCollapsibleCategory): void;
239
195
  }
240
-
@@ -6,9 +6,7 @@
6
6
  * @realm client and menu
7
7
  * @source https://wiki.facepunch.com/gmod/DColorButton
8
8
  */
9
- interface DColorButton extends DLabel {}
10
-
11
- interface DColorButton {
9
+ interface DColorButton extends DLabel {
12
10
  /**
13
11
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns value set by [DColorButton:SetDrawBorder](https://wiki.facepunch.com/gmod/DColorButton:SetDrawBorder). See that page for more info.
14
12
  *
@@ -16,9 +14,7 @@ interface DColorButton {
16
14
  * @source https://wiki.facepunch.com/gmod/DColorButton:GetDrawBorder
17
15
  */
18
16
  GetDrawBorder(self: DColorButton): boolean;
19
- }
20
17
 
21
- interface DColorButton {
22
18
  /**
23
19
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the unique ID set by [DColorButton:SetID](https://wiki.facepunch.com/gmod/DColorButton:SetID).
24
20
  *
@@ -28,9 +24,7 @@ interface DColorButton {
28
24
  * @source https://wiki.facepunch.com/gmod/DColorButton:GetID
29
25
  */
30
26
  GetID(self: DColorButton): number;
31
- }
32
27
 
33
- interface DColorButton {
34
28
  /**
35
29
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that is an alias of [Panel:IsSelected](https://wiki.facepunch.com/gmod/Panel:IsSelected).
36
30
  *
@@ -38,18 +32,14 @@ interface DColorButton {
38
32
  * @source https://wiki.facepunch.com/gmod/DColorButton:GetSelected
39
33
  */
40
34
  GetSelected(self: DColorButton): boolean;
41
- }
42
35
 
43
- interface DColorButton {
44
36
  /**
45
37
  * Returns whether the [DColorButton](https://wiki.facepunch.com/gmod/DColorButton) is currently being pressed (the user is holding it down).
46
38
  * @realm client and menu
47
39
  * @source https://wiki.facepunch.com/gmod/DColorButton:IsDown
48
40
  */
49
41
  IsDown(self: DColorButton): boolean;
50
- }
51
42
 
52
- interface DColorButton {
53
43
  /**
54
44
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that does absolutely nothing at all. Default value is automatically set to true.
55
45
  *
@@ -57,9 +47,7 @@ interface DColorButton {
57
47
  * @source https://wiki.facepunch.com/gmod/DColorButton:SetDrawBorder
58
48
  */
59
49
  SetDrawBorder(self: DColorButton, draw: boolean): void;
60
- }
61
50
 
62
- interface DColorButton {
63
51
  /**
64
52
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that is used internally by [DColorPalette](https://wiki.facepunch.com/gmod/DColorPalette) to detect which button is which.
65
53
  *
@@ -70,4 +58,3 @@ interface DColorButton {
70
58
  */
71
59
  SetID(self: DColorButton, id: number): void;
72
60
  }
73
-
@@ -7,9 +7,7 @@
7
7
  * @realm client
8
8
  * @source https://wiki.facepunch.com/gmod/DColorCombo
9
9
  */
10
- interface DColorCombo extends DPropertySheet {}
11
-
12
- interface DColorCombo {
10
+ interface DColorCombo extends DPropertySheet {
13
11
  /**
14
12
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
15
13
  *
@@ -20,18 +18,14 @@ interface DColorCombo {
20
18
  * @source https://wiki.facepunch.com/gmod/DColorCombo:BuildControls
21
19
  */
22
20
  BuildControls(self: DColorCombo): void;
23
- }
24
21
 
25
- interface DColorCombo {
26
22
  /**
27
23
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the color of the [DColorCombo](https://wiki.facepunch.com/gmod/DColorCombo).
28
24
  * @realm client
29
25
  * @source https://wiki.facepunch.com/gmod/DColorCombo:GetColor
30
26
  */
31
27
  GetColor(self: DColorCombo): Color;
32
- }
33
28
 
34
- interface DColorCombo {
35
29
  /**
36
30
  * Returns true if the panel is currently being edited
37
31
  *
@@ -41,9 +35,7 @@ interface DColorCombo {
41
35
  * @source https://wiki.facepunch.com/gmod/DColorCombo:IsEditing
42
36
  */
43
37
  IsEditing(self: DColorCombo): boolean;
44
- }
45
38
 
46
- interface DColorCombo {
47
39
  /**
48
40
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the color of this panel. See also [DColorCombo:GetColor](https://wiki.facepunch.com/gmod/DColorCombo:GetColor)
49
41
  * @realm client
@@ -51,4 +43,3 @@ interface DColorCombo {
51
43
  */
52
44
  SetColor(self: DColorCombo, clr: Color): void;
53
45
  }
54
-
@@ -6,27 +6,21 @@
6
6
  * @realm client and menu
7
7
  * @source https://wiki.facepunch.com/gmod/DColorCube
8
8
  */
9
- interface DColorCube extends DSlider {}
10
-
11
- interface DColorCube {
9
+ interface DColorCube extends DSlider {
12
10
  /**
13
11
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the base Color set by [DColorCube:SetBaseRGB](https://wiki.facepunch.com/gmod/DColorCube:SetBaseRGB).
14
12
  * @realm client and menu
15
13
  * @source https://wiki.facepunch.com/gmod/DColorCube:GetBaseRGB
16
14
  */
17
15
  GetBaseRGB(self: DColorCube): Color;
18
- }
19
16
 
20
- interface DColorCube {
21
17
  /**
22
18
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the color cube's default color. By default, it is set to white. (255 255 255 RGB)
23
19
  * @realm client and menu
24
20
  * @source https://wiki.facepunch.com/gmod/DColorCube:GetDefaultColor
25
21
  */
26
22
  GetDefaultColor(self: DColorCube): Color;
27
- }
28
23
 
29
- interface DColorCube {
30
24
  /**
31
25
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the value set by [DColorCube:SetHue](https://wiki.facepunch.com/gmod/DColorCube:SetHue).
32
26
  *
@@ -34,18 +28,14 @@ interface DColorCube {
34
28
  * @source https://wiki.facepunch.com/gmod/DColorCube:GetHue
35
29
  */
36
30
  GetHue(self: DColorCube): number;
37
- }
38
31
 
39
- interface DColorCube {
40
32
  /**
41
33
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the color cube's current set color.
42
34
  * @realm client and menu
43
35
  * @source https://wiki.facepunch.com/gmod/DColorCube:GetRGB
44
36
  */
45
37
  GetRGB(self: DColorCube): Color;
46
- }
47
38
 
48
- interface DColorCube {
49
39
  /**
50
40
  * Sets the color to whatever [DColorCube:GetDefaultColor](https://wiki.facepunch.com/gmod/DColorCube:GetDefaultColor) returns
51
41
  *
@@ -53,9 +43,7 @@ interface DColorCube {
53
43
  * @source https://wiki.facepunch.com/gmod/DColorCube:ResetToDefaultValue
54
44
  */
55
45
  ResetToDefaultValue(self: DColorCube): void;
56
- }
57
46
 
58
- interface DColorCube {
59
47
  /**
60
48
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the base color and the color used to draw the color cube panel itself.
61
49
  *
@@ -66,27 +54,21 @@ interface DColorCube {
66
54
  * @source https://wiki.facepunch.com/gmod/DColorCube:SetBaseRGB
67
55
  */
68
56
  SetBaseRGB(self: DColorCube, color: Color): void;
69
- }
70
57
 
71
- interface DColorCube {
72
58
  /**
73
59
  * Sets the base color of the color cube and updates the slider position.
74
60
  * @realm client and menu
75
61
  * @source https://wiki.facepunch.com/gmod/DColorCube:SetColor
76
62
  */
77
63
  SetColor(self: DColorCube, color: Color): void;
78
- }
79
64
 
80
- interface DColorCube {
81
65
  /**
82
66
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that sets the color cube's default color. This value will be used to reset to on middle mouse click of the color cube's draggable slider.
83
67
  * @realm client and menu
84
68
  * @source https://wiki.facepunch.com/gmod/DColorCube:SetDefaultColor
85
69
  */
86
70
  SetDefaultColor(self: DColorCube, arg0: Color): void;
87
- }
88
71
 
89
- interface DColorCube {
90
72
  /**
91
73
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that appears to do nothing and unused.
92
74
  *
@@ -94,9 +76,7 @@ interface DColorCube {
94
76
  * @source https://wiki.facepunch.com/gmod/DColorCube:SetHue
95
77
  */
96
78
  SetHue(self: DColorCube, hue: number): void;
97
- }
98
79
 
99
- interface DColorCube {
100
80
  /**
101
81
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
102
82
  *
@@ -107,9 +87,7 @@ interface DColorCube {
107
87
  * @source https://wiki.facepunch.com/gmod/DColorCube:SetRGB
108
88
  */
109
89
  SetRGB(self: DColorCube, clr: Color): void;
110
- }
111
90
 
112
- interface DColorCube {
113
91
  /**
114
92
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
115
93
  *
@@ -120,9 +98,7 @@ interface DColorCube {
120
98
  * @source https://wiki.facepunch.com/gmod/DColorCube:TranslateValues
121
99
  */
122
100
  TranslateValues(self: DColorCube, x?: number, y?: number): (number, number);
123
- }
124
101
 
125
- interface DColorCube {
126
102
  /**
127
103
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
128
104
  *
@@ -134,4 +110,3 @@ interface DColorCube {
134
110
  */
135
111
  UpdateColor(self: DColorCube, x?: number, y?: number): void;
136
112
  }
137
-
@@ -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,7 @@ interface DColorMixer {
16
14
  * @source https://wiki.facepunch.com/gmod/DColorMixer:ConVarThink
17
15
  */
18
16
  ConVarThink(self: DColorMixer): void;
19
- }
20
17
 
21
- interface DColorMixer {
22
18
  /**
23
19
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
24
20
  *
@@ -26,27 +22,21 @@ interface DColorMixer {
26
22
  * @source https://wiki.facepunch.com/gmod/DColorMixer:DoConVarThink
27
23
  */
28
24
  DoConVarThink(self: DColorMixer, cvar: string): void;
29
- }
30
25
 
31
- interface DColorMixer {
32
26
  /**
33
27
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns true if alpha bar is shown, false if not.
34
28
  * @realm client and menu
35
29
  * @source https://wiki.facepunch.com/gmod/DColorMixer:GetAlphaBar
36
30
  */
37
31
  GetAlphaBar(self: DColorMixer): boolean;
38
- }
39
32
 
40
- interface DColorMixer {
41
33
  /**
42
34
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns the current selected color.
43
35
  * @realm client and menu
44
36
  * @source https://wiki.facepunch.com/gmod/DColorMixer:GetColor
45
37
  */
46
38
  GetColor(self: DColorMixer): Color;
47
- }
48
39
 
49
- interface DColorMixer {
50
40
  /**
51
41
  * 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
42
  *
@@ -59,9 +49,7 @@ interface DColorMixer {
59
49
  * @source https://wiki.facepunch.com/gmod/DColorMixer:GetConVarA
60
50
  */
61
51
  GetConVarA(self: DColorMixer): string;
62
- }
63
52
 
64
- interface DColorMixer {
65
53
  /**
66
54
  * 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
55
  *
@@ -74,9 +62,7 @@ interface DColorMixer {
74
62
  * @source https://wiki.facepunch.com/gmod/DColorMixer:GetConVarB
75
63
  */
76
64
  GetConVarB(self: DColorMixer): string;
77
- }
78
65
 
79
- interface DColorMixer {
80
66
  /**
81
67
  * 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
68
  *
@@ -89,9 +75,7 @@ interface DColorMixer {
89
75
  * @source https://wiki.facepunch.com/gmod/DColorMixer:GetConVarG
90
76
  */
91
77
  GetConVarG(self: DColorMixer): string;
92
- }
93
78
 
94
- interface DColorMixer {
95
79
  /**
96
80
  * 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
81
  *
@@ -104,45 +88,35 @@ interface DColorMixer {
104
88
  * @source https://wiki.facepunch.com/gmod/DColorMixer:GetConVarR
105
89
  */
106
90
  GetConVarR(self: DColorMixer): string;
107
- }
108
91
 
109
- interface DColorMixer {
110
92
  /**
111
93
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns true if palette is shown, false if not.
112
94
  * @realm client and menu
113
95
  * @source https://wiki.facepunch.com/gmod/DColorMixer:GetPalette
114
96
  */
115
97
  GetPalette(self: DColorMixer): boolean;
116
- }
117
98
 
118
- interface DColorMixer {
119
99
  /**
120
100
  * Returns the color as a normalized [Vector](https://wiki.facepunch.com/gmod/Vector).
121
101
  * @realm client and menu
122
102
  * @source https://wiki.facepunch.com/gmod/DColorMixer:GetVector
123
103
  */
124
104
  GetVector(self: DColorMixer): Vector;
125
- }
126
105
 
127
- interface DColorMixer {
128
106
  /**
129
107
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that returns true if the wangs are shown, false if not.
130
108
  * @realm client and menu
131
109
  * @source https://wiki.facepunch.com/gmod/DColorMixer:GetWangs
132
110
  */
133
111
  GetWangs(self: DColorMixer): boolean;
134
- }
135
112
 
136
- interface DColorMixer {
137
113
  /**
138
114
  * An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that show/hide the alpha bar in DColorMixer
139
115
  * @realm client and menu
140
116
  * @source https://wiki.facepunch.com/gmod/DColorMixer:SetAlphaBar
141
117
  */
142
118
  SetAlphaBar(self: DColorMixer, show: boolean): void;
143
- }
144
119
 
145
- interface DColorMixer {
146
120
  /**
147
121
  * Sets the base color of the [DColorCube](https://wiki.facepunch.com/gmod/DColorCube) part of the [DColorMixer](https://wiki.facepunch.com/gmod/DColorMixer).
148
122
  *
@@ -152,18 +126,14 @@ interface DColorMixer {
152
126
  * @source https://wiki.facepunch.com/gmod/DColorMixer:SetBaseColor
153
127
  */
154
128
  SetBaseColor(self: DColorMixer, clr: Color): void;
155
- }
156
129
 
157
- interface DColorMixer {
158
130
  /**
159
131
  * 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
132
  * @realm client and menu
161
133
  * @source https://wiki.facepunch.com/gmod/DColorMixer:SetColor
162
134
  */
163
135
  SetColor(self: DColorMixer, color: Color): void;
164
- }
165
136
 
166
- interface DColorMixer {
167
137
  /**
168
138
  * 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
139
  *
@@ -176,9 +146,7 @@ interface DColorMixer {
176
146
  * @source https://wiki.facepunch.com/gmod/DColorMixer:SetConVarA
177
147
  */
178
148
  SetConVarA(self: DColorMixer, convar: string): void;
179
- }
180
149
 
181
- interface DColorMixer {
182
150
  /**
183
151
  * 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
152
  *
@@ -191,9 +159,7 @@ interface DColorMixer {
191
159
  * @source https://wiki.facepunch.com/gmod/DColorMixer:SetConVarB
192
160
  */
193
161
  SetConVarB(self: DColorMixer, convar: string): void;
194
- }
195
162
 
196
- interface DColorMixer {
197
163
  /**
198
164
  * 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
165
  *
@@ -206,9 +172,7 @@ interface DColorMixer {
206
172
  * @source https://wiki.facepunch.com/gmod/DColorMixer:SetConVarG
207
173
  */
208
174
  SetConVarG(self: DColorMixer, convar: string): void;
209
- }
210
175
 
211
- interface DColorMixer {
212
176
  /**
213
177
  * 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
178
  *
@@ -221,45 +185,35 @@ interface DColorMixer {
221
185
  * @source https://wiki.facepunch.com/gmod/DColorMixer:SetConVarR
222
186
  */
223
187
  SetConVarR(self: DColorMixer, convar: string): void;
224
- }
225
188
 
226
- interface DColorMixer {
227
189
  /**
228
190
  * Sets the label's text to show.
229
191
  * @realm client and menu
230
192
  * @source https://wiki.facepunch.com/gmod/DColorMixer:SetLabel
231
193
  */
232
194
  SetLabel(self: DColorMixer, text?: string): void;
233
- }
234
195
 
235
- interface DColorMixer {
236
196
  /**
237
197
  * Show or hide the palette panel
238
198
  * @realm client and menu
239
199
  * @source https://wiki.facepunch.com/gmod/DColorMixer:SetPalette
240
200
  */
241
201
  SetPalette(self: DColorMixer, enabled: boolean): void;
242
- }
243
202
 
244
- interface DColorMixer {
245
203
  /**
246
204
  * 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
205
  * @realm client and menu
248
206
  * @source https://wiki.facepunch.com/gmod/DColorMixer:SetVector
249
207
  */
250
208
  SetVector(self: DColorMixer, vec: Vector): void;
251
- }
252
209
 
253
- interface DColorMixer {
254
210
  /**
255
211
  * Show / Hide the colors indicators in DColorMixer
256
212
  * @realm client and menu
257
213
  * @source https://wiki.facepunch.com/gmod/DColorMixer:SetWangs
258
214
  */
259
215
  SetWangs(self: DColorMixer, show: boolean): void;
260
- }
261
216
 
262
- interface DColorMixer {
263
217
  /**
264
218
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
265
219
  *
@@ -270,9 +224,7 @@ interface DColorMixer {
270
224
  * @source https://wiki.facepunch.com/gmod/DColorMixer:UpdateColor
271
225
  */
272
226
  UpdateColor(self: DColorMixer, clr: Color): void;
273
- }
274
227
 
275
- interface DColorMixer {
276
228
  /**
277
229
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
278
230
  *
@@ -280,9 +232,7 @@ interface DColorMixer {
280
232
  * @source https://wiki.facepunch.com/gmod/DColorMixer:UpdateConVar
281
233
  */
282
234
  UpdateConVar(self: DColorMixer, cvar: string, part: string, clr: Color): void;
283
- }
284
235
 
285
- interface DColorMixer {
286
236
  /**
287
237
  * **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
288
238
  *
@@ -290,9 +240,7 @@ interface DColorMixer {
290
240
  * @source https://wiki.facepunch.com/gmod/DColorMixer:UpdateConVars
291
241
  */
292
242
  UpdateConVars(self: DColorMixer, clr: Color): void;
293
- }
294
243
 
295
- interface DColorMixer {
296
244
  /**
297
245
  * sets the default color of the element to the currently selected color
298
246
  * @realm client and menu
@@ -300,4 +248,3 @@ interface DColorMixer {
300
248
  */
301
249
  UpdateDefaultColor(self: DColorMixer): void;
302
250
  }
303
-