@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.
- package/package.json +1 -1
- package/types/achievementicon.d.tlua +0 -1
- package/types/achievements.d.tlua +0 -31
- package/types/ai.d.tlua +0 -11
- package/types/ai_schedule.d.tlua +0 -1
- package/types/ai_task.d.tlua +0 -1
- package/types/angle.d.tlua +0 -37
- package/types/avatarimage.d.tlua +0 -1
- package/types/awesomium.d.tlua +0 -1
- package/types/baseclass.d.tlua +0 -4
- package/types/bf_read.d.tlua +0 -23
- package/types/bit.d.tlua +0 -23
- package/types/button.d.tlua +0 -1
- package/types/cam.d.tlua +0 -33
- package/types/ceffectdata.d.tlua +0 -65
- package/types/chat.d.tlua +0 -11
- package/types/checkbutton.d.tlua +0 -1
- package/types/cleanup.d.tlua +0 -15
- package/types/cluaemitter.d.tlua +0 -25
- package/types/clualocomotion.d.tlua +0 -81
- package/types/cluaparticle.d.tlua +0 -89
- package/types/cmovedata.d.tlua +0 -95
- package/types/cnavarea.d.tlua +0 -155
- package/types/cnavladder.d.tlua +0 -45
- package/types/cnewparticleeffect.d.tlua +0 -53
- package/types/color.d.tlua +0 -57
- package/types/concommand.d.tlua +0 -9
- package/types/constraint.d.tlua +0 -57
- package/types/construct.d.tlua +0 -3
- package/types/contentheader.d.tlua +1 -6
- package/types/contenticon.d.tlua +1 -18
- package/types/contentsidebar.d.tlua +1 -8
- package/types/contentsidebartoolbox.d.tlua +0 -1
- package/types/contextbase.d.tlua +1 -8
- package/types/controlpanel.d.tlua +6 -31
- package/types/controlpresets.d.tlua +1 -26
- package/types/convar.d.tlua +0 -33
- package/types/cookie.d.tlua +0 -7
- package/types/coroutine.d.tlua +0 -15
- package/types/crecipientfilter.d.tlua +0 -33
- package/types/csent.d.tlua +0 -1
- package/types/csoundpatch.d.tlua +0 -29
- package/types/ctakedamageinfo.d.tlua +0 -67
- package/types/ctrllistbox.d.tlua +0 -1
- package/types/ctrlnumpad.d.tlua +0 -13
- package/types/cusercmd.d.tlua +0 -55
- package/types/custom_entity_fields.d.tlua +0 -1
- package/types/cvars.d.tlua +0 -13
- package/types/dadjustablemodelpanel.d.tlua +1 -14
- package/types/dalphabar.d.tlua +1 -6
- package/types/dbinder.d.tlua +1 -8
- package/types/dbubblecontainer.d.tlua +1 -4
- package/types/dbutton.d.tlua +1 -16
- package/types/dcategoryheader.d.tlua +0 -1
- package/types/dcategorylist.d.tlua +0 -1
- package/types/dcheckbox.d.tlua +1 -10
- package/types/dcheckboxlabel.d.tlua +0 -19
- package/types/dcollapsiblecategory.d.tlua +1 -46
- package/types/dcolorbutton.d.tlua +1 -14
- package/types/dcolorcombo.d.tlua +1 -10
- package/types/dcolorcube.d.tlua +1 -26
- package/types/dcolormixer.d.tlua +1 -54
- package/types/dcolorpalette.d.tlua +1 -46
- package/types/dcolumnsheet.d.tlua +1 -10
- package/types/dcombobox.d.tlua +1 -34
- package/types/ddragbase.d.tlua +1 -26
- package/types/ddrawer.d.tlua +1 -16
- package/types/debug.d.tlua +25 -60
- package/types/debugoverlay.d.tlua +0 -23
- package/types/dentityproperties.d.tlua +1 -10
- package/types/derma.d.tlua +0 -21
- package/types/dexpandbutton.d.tlua +1 -6
- package/types/dfilebrowser.d.tlua +0 -41
- package/types/dform.d.tlua +1 -36
- package/types/dframe.d.tlua +0 -49
- package/types/dgrid.d.tlua +1 -22
- package/types/dhorizontaldivider.d.tlua +1 -40
- package/types/dhorizontalscroller.d.tlua +1 -22
- package/types/dhscrollbar.d.tlua +1 -22
- package/types/dhtml.d.tlua +1 -16
- package/types/dhtmlcontrols.d.tlua +0 -11
- package/types/diconbrowser.d.tlua +1 -22
- package/types/diconlayout.d.tlua +1 -36
- package/types/dimage.d.tlua +1 -39
- package/types/dimagebutton.d.tlua +0 -19
- package/types/dkillicon.d.tlua +0 -1
- package/types/dlabel.d.tlua +1 -66
- package/types/dlabeleditable.d.tlua +1 -10
- package/types/dlabelurl.d.tlua +1 -20
- package/types/dlistbox.d.tlua +1 -16
- package/types/dlistboxitem.d.tlua +1 -8
- package/types/dlistlayout.d.tlua +0 -1
- package/types/dlistview.d.tlua +1 -68
- package/types/dlistview_column.d.tlua +1 -28
- package/types/dlistview_columnplain.d.tlua +0 -1
- package/types/dlistview_draggerbar.d.tlua +0 -1
- package/types/dlistview_line.d.tlua +1 -26
- package/types/dlistviewheaderlabel.d.tlua +0 -1
- package/types/dlistviewlabel.d.tlua +0 -1
- package/types/dlistviewline.d.tlua +0 -1
- package/types/dmenu.d.tlua +1 -53
- package/types/dmenubar.d.tlua +1 -11
- package/types/dmenuoption.d.tlua +1 -26
- package/types/dmenuoptioncvar.d.tlua +1 -12
- package/types/dmodelpanel.d.tlua +1 -44
- package/types/dmodelselect.d.tlua +1 -4
- package/types/dmodelselectmulti.d.tlua +1 -4
- package/types/dnotify.d.tlua +1 -20
- package/types/dnumberscratch.d.tlua +1 -52
- package/types/dnumberwang.d.tlua +1 -32
- package/types/dnumpad.d.tlua +0 -1
- package/types/dnumslider.d.tlua +0 -35
- package/types/dpanel.d.tlua +1 -28
- package/types/dpanellist.d.tlua +0 -23
- package/types/dpaneloverlay.d.tlua +1 -14
- package/types/dpanelselect.d.tlua +0 -1
- package/types/dpanpanel.d.tlua +1 -12
- package/types/dprogress.d.tlua +1 -6
- package/types/dproperties.d.tlua +1 -8
- package/types/dproperty_boolean.d.tlua +0 -1
- package/types/dproperty_combo.d.tlua +1 -6
- package/types/dproperty_entity.d.tlua +0 -1
- package/types/dproperty_float.d.tlua +0 -1
- package/types/dproperty_generic.d.tlua +1 -10
- package/types/dproperty_int.d.tlua +0 -1
- package/types/dproperty_vectorcolor.d.tlua +0 -1
- package/types/dpropertysheet.d.tlua +9 -41
- package/types/dragndrop.d.tlua +0 -21
- package/types/draw.d.tlua +0 -22
- package/types/drgbpicker.d.tlua +1 -8
- package/types/drive.d.tlua +6 -31
- package/types/dscrollbargrip.d.tlua +0 -1
- package/types/dscrollpanel.d.tlua +0 -21
- package/types/dshape.d.tlua +1 -14
- package/types/dsizetocontents.d.tlua +1 -10
- package/types/dslider.d.tlua +1 -56
- package/types/dsprite.d.tlua +1 -18
- package/types/dtab.d.tlua +1 -16
- package/types/dtextentry.d.tlua +1 -86
- package/types/dtilelayout.d.tlua +1 -42
- package/types/dtooltip.d.tlua +1 -12
- package/types/dtree.d.tlua +1 -32
- package/types/dtree_node.d.tlua +1 -136
- package/types/dtree_node_button.d.tlua +0 -1
- package/types/duplicator.d.tlua +0 -60
- package/types/dverticaldivider.d.tlua +1 -46
- package/types/dvscrollbar.d.tlua +1 -22
- package/types/editablepanel.d.tlua +0 -1
- package/types/effect.d.tlua +1 -8
- package/types/effects.d.tlua +0 -13
- package/types/engine.d.tlua +0 -43
- package/types/entity.d.tlua +2 -1319
- package/types/ents.d.tlua +0 -44
- package/types/enums.d.tlua +0 -1
- package/types/file.d.tlua +0 -79
- package/types/file_class.d.tlua +0 -1
- package/types/fingerposer.d.tlua +0 -1
- package/types/fingervar.d.tlua +0 -1
- package/types/frame.d.tlua +0 -1
- package/types/frame_blend.d.tlua +0 -15
- package/types/game.d.tlua +0 -79
- package/types/gameevent.d.tlua +4 -9
- package/types/gamemode.d.tlua +0 -6
- package/types/global.d.tlua +0 -18
- package/types/gm.d.tlua +0 -535
- package/types/gmod.d.tlua +0 -1
- package/types/gmsave.d.tlua +0 -9
- package/types/gui.d.tlua +0 -43
- package/types/gwen.d.tlua +0 -7
- package/types/halo.d.tlua +0 -5
- package/types/hammer.d.tlua +0 -1
- package/types/hook.d.tlua +0 -9
- package/types/html.d.tlua +0 -1
- package/types/http.d.tlua +0 -3
- package/types/iconeditor.d.tlua +1 -22
- package/types/igmodaudiochannel.d.tlua +0 -83
- package/types/imagecheckbox.d.tlua +1 -8
- package/types/imaterial.d.tlua +0 -53
- package/types/imesh.d.tlua +0 -11
- package/types/input.d.tlua +0 -47
- package/types/invalidateinternalentitycache.d.tlua +0 -1
- package/types/irestore.d.tlua +0 -19
- package/types/isave.d.tlua +0 -19
- package/types/itexture.d.tlua +0 -21
- package/types/ivideowriter.d.tlua +0 -11
- package/types/jit.d.tlua +9 -42
- package/types/killicon.d.tlua +0 -15
- package/types/label.d.tlua +0 -1
- package/types/language.d.tlua +0 -3
- package/types/list.d.tlua +0 -17
- package/types/makeballoon.d.tlua +0 -1
- package/types/markup.d.tlua +0 -5
- package/types/markupobject.d.tlua +0 -11
- package/types/material.d.tlua +0 -1
- package/types/math.d.tlua +200 -371
- package/types/matproxy.d.tlua +0 -7
- package/types/matselect.d.tlua +1 -22
- package/types/menu.d.tlua +0 -1
- package/types/menubar.d.tlua +0 -5
- package/types/mesh.d.tlua +0 -39
- package/types/modelimage.d.tlua +0 -1
- package/types/motionsensor.d.tlua +0 -21
- package/types/navmesh.d.tlua +0 -53
- package/types/net.d.tlua +0 -104
- package/types/nextbot.d.tlua +10 -83
- package/types/notification.d.tlua +0 -5
- package/types/npc.d.tlua +1 -364
- package/types/numpad.d.tlua +0 -15
- package/types/os.d.tlua +0 -8
- package/types/package.d.tlua +0 -1
- package/types/panel.d.tlua +2 -662
- package/types/panellist.d.tlua +0 -1
- package/types/pathfollower.d.tlua +0 -63
- package/types/permissions.d.tlua +0 -13
- package/types/physcollide.d.tlua +0 -7
- package/types/physenv.d.tlua +0 -23
- package/types/physobj.d.tlua +0 -157
- package/types/pixelvis_handle_t.d.tlua +0 -1
- package/types/player.d.tlua +11 -594
- package/types/player_manager.d.tlua +0 -27
- package/types/preseteditor.d.tlua +0 -1
- package/types/presets.d.tlua +0 -13
- package/types/projectedtexture.d.tlua +0 -97
- package/types/properties.d.tlua +0 -11
- package/types/propselect.d.tlua +1 -10
- package/types/radiobutton.d.tlua +0 -1
- package/types/render.d.tlua +0 -285
- package/types/resource.d.tlua +0 -5
- package/types/richtext.d.tlua +0 -1
- package/types/sandbox.d.tlua +1 -108
- package/types/saverestore.d.tlua +0 -25
- package/types/schedule.d.tlua +0 -13
- package/types/scripted_ents.d.tlua +0 -21
- package/types/search.d.tlua +0 -3
- package/types/serverlist.d.tlua +0 -15
- package/types/slidebar.d.tlua +0 -1
- package/types/slider.d.tlua +0 -1
- package/types/sound.d.tlua +0 -21
- package/types/spawnicon.d.tlua +1 -16
- package/types/spawnmenu.d.tlua +0 -48
- package/types/spawnmenucontentpanel.d.tlua +1 -10
- package/types/sql.d.tlua +0 -19
- package/types/stack.d.tlua +0 -11
- package/types/steamworks.d.tlua +0 -37
- package/types/string.d.tlua +0 -96
- package/types/structures.d.tlua +0 -7
- package/types/surface.d.tlua +0 -69
- package/types/surfaceinfo.d.tlua +0 -11
- package/types/system.d.tlua +0 -21
- package/types/table.d.tlua +0 -93
- package/types/task.d.tlua +0 -19
- package/types/team.d.tlua +0 -39
- package/types/textentry.d.tlua +0 -1
- package/types/tgaimage.d.tlua +0 -1
- package/types/timer.d.tlua +0 -29
- package/types/tool.d.tlua +1 -90
- package/types/ugcpublishwindow.d.tlua +1 -18
- package/types/umsg.d.tlua +0 -25
- package/types/undo.d.tlua +0 -21
- package/types/urllabel.d.tlua +0 -1
- package/types/usermessage.d.tlua +0 -5
- package/types/utf8.d.tlua +0 -15
- package/types/util.d.tlua +0 -185
- package/types/vector.d.tlua +0 -73
- package/types/vehicle.d.tlua +2 -102
- package/types/vgui.d.tlua +0 -33
- package/types/video.d.tlua +0 -1
- package/types/vmatrix.d.tlua +0 -71
- package/types/weapon.d.tlua +2 -168
- package/types/weapons.d.tlua +0 -12
- package/types/widgets.d.tlua +0 -3
- package/types/workshopfilebase.d.tlua +0 -11
package/types/dtextentry.d.tlua
CHANGED
|
@@ -11,9 +11,7 @@
|
|
|
11
11
|
* @realm client and menu
|
|
12
12
|
* @source https://wiki.facepunch.com/gmod/DTextEntry
|
|
13
13
|
*/
|
|
14
|
-
interface DTextEntry extends TextEntry {
|
|
15
|
-
|
|
16
|
-
interface DTextEntry {
|
|
14
|
+
interface DTextEntry extends TextEntry {
|
|
17
15
|
/**
|
|
18
16
|
* Adds an entry to [DTextEntry](https://wiki.facepunch.com/gmod/DTextEntry)'s history.
|
|
19
17
|
*
|
|
@@ -23,9 +21,7 @@ interface DTextEntry {
|
|
|
23
21
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:AddHistory
|
|
24
22
|
*/
|
|
25
23
|
AddHistory(self: DTextEntry, text: string): void;
|
|
26
|
-
}
|
|
27
24
|
|
|
28
|
-
interface DTextEntry {
|
|
29
25
|
/**
|
|
30
26
|
* Called whenever the value of the panel has been updated (whether by user input or otherwise).
|
|
31
27
|
*
|
|
@@ -41,9 +37,7 @@ interface DTextEntry {
|
|
|
41
37
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:AllowInput
|
|
42
38
|
*/
|
|
43
39
|
AllowInput(self: DTextEntry, char: string): boolean;
|
|
44
|
-
}
|
|
45
40
|
|
|
46
|
-
interface DTextEntry {
|
|
47
41
|
/**
|
|
48
42
|
* Returns whether a string is numeric or not.
|
|
49
43
|
* Always returns false if the [DTextEntry:SetNumeric](https://wiki.facepunch.com/gmod/DTextEntry:SetNumeric) is set to false.
|
|
@@ -52,27 +46,21 @@ interface DTextEntry {
|
|
|
52
46
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:CheckNumeric
|
|
53
47
|
*/
|
|
54
48
|
CheckNumeric(self: DTextEntry, strValue: string): boolean;
|
|
55
|
-
}
|
|
56
49
|
|
|
57
|
-
interface DTextEntry {
|
|
58
50
|
/**
|
|
59
51
|
* Called by the DTextEntry when a list of autocompletion options is requested. Meant to be overridden.
|
|
60
52
|
* @realm client and menu
|
|
61
53
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetAutoComplete
|
|
62
54
|
*/
|
|
63
55
|
GetAutoComplete(self: DTextEntry, inputText: string): table;
|
|
64
|
-
}
|
|
65
56
|
|
|
66
|
-
interface DTextEntry {
|
|
67
57
|
/**
|
|
68
58
|
* Returns the cursor color of a DTextEntry.
|
|
69
59
|
* @realm client and menu
|
|
70
60
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetCursorColor
|
|
71
61
|
*/
|
|
72
62
|
GetCursorColor(self: DTextEntry): Color;
|
|
73
|
-
}
|
|
74
63
|
|
|
75
|
-
interface DTextEntry {
|
|
76
64
|
/**
|
|
77
65
|
* Returns whether the textbox is disabled. Use [Panel:IsEnabled](https://wiki.facepunch.com/gmod/Panel:IsEnabled) instead.
|
|
78
66
|
*
|
|
@@ -81,9 +69,7 @@ interface DTextEntry {
|
|
|
81
69
|
* @deprecated Use Panel:IsEnabled instead.
|
|
82
70
|
*/
|
|
83
71
|
GetDisabled(self: DTextEntry): boolean;
|
|
84
|
-
}
|
|
85
72
|
|
|
86
|
-
interface DTextEntry {
|
|
87
73
|
/**
|
|
88
74
|
* Alias of [DTextEntry:GetPaintBackground](https://wiki.facepunch.com/gmod/DTextEntry:GetPaintBackground). Use that instead.
|
|
89
75
|
*
|
|
@@ -92,9 +78,7 @@ interface DTextEntry {
|
|
|
92
78
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetDrawBackground
|
|
93
79
|
*/
|
|
94
80
|
GetDrawBackground(self: DTextEntry): boolean;
|
|
95
|
-
}
|
|
96
81
|
|
|
97
|
-
interface DTextEntry {
|
|
98
82
|
/**
|
|
99
83
|
* Returns the value set by [DTextEntry:SetDrawBorder](https://wiki.facepunch.com/gmod/DTextEntry:SetDrawBorder).
|
|
100
84
|
*
|
|
@@ -102,27 +86,21 @@ interface DTextEntry {
|
|
|
102
86
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetDrawBorder
|
|
103
87
|
*/
|
|
104
88
|
GetDrawBorder(self: DTextEntry): boolean;
|
|
105
|
-
}
|
|
106
89
|
|
|
107
|
-
interface DTextEntry {
|
|
108
90
|
/**
|
|
109
91
|
* Returns whether pressing Enter can cause the panel to lose focus. Note that a multiline DTextEntry cannot be escaped using the Enter key even when this function returns true.
|
|
110
92
|
* @realm client and menu
|
|
111
93
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetEnterAllowed
|
|
112
94
|
*/
|
|
113
95
|
GetEnterAllowed(self: DTextEntry): boolean;
|
|
114
|
-
}
|
|
115
96
|
|
|
116
|
-
interface DTextEntry {
|
|
117
97
|
/**
|
|
118
98
|
* Returns the contents of the DTextEntry as a number.
|
|
119
99
|
* @realm client and menu
|
|
120
100
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetFloat
|
|
121
101
|
*/
|
|
122
102
|
GetFloat(self: DTextEntry): number;
|
|
123
|
-
}
|
|
124
103
|
|
|
125
|
-
interface DTextEntry {
|
|
126
104
|
/**
|
|
127
105
|
* Returns the highlight/text selection color of the text entry. If it was not overwritten, it will return the derma skin value. (`colTextEntryTextHighlight`)
|
|
128
106
|
*
|
|
@@ -130,9 +108,7 @@ interface DTextEntry {
|
|
|
130
108
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetHighlightColor
|
|
131
109
|
*/
|
|
132
110
|
GetHighlightColor(self: DTextEntry): Color;
|
|
133
|
-
}
|
|
134
111
|
|
|
135
|
-
interface DTextEntry {
|
|
136
112
|
/**
|
|
137
113
|
* Returns whether the history functionality of [DTextEntry](https://wiki.facepunch.com/gmod/DTextEntry) is enabled. See [DTextEntry:AddHistory](https://wiki.facepunch.com/gmod/DTextEntry:AddHistory).
|
|
138
114
|
*
|
|
@@ -140,90 +116,70 @@ interface DTextEntry {
|
|
|
140
116
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetHistoryEnabled
|
|
141
117
|
*/
|
|
142
118
|
GetHistoryEnabled(self: DTextEntry): boolean;
|
|
143
|
-
}
|
|
144
119
|
|
|
145
|
-
interface DTextEntry {
|
|
146
120
|
/**
|
|
147
121
|
* Similar to [DTextEntry:GetFloat](https://wiki.facepunch.com/gmod/DTextEntry:GetFloat), but rounds the value to the nearest integer.
|
|
148
122
|
* @realm client and menu
|
|
149
123
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetInt
|
|
150
124
|
*/
|
|
151
125
|
GetInt(self: DTextEntry): number;
|
|
152
|
-
}
|
|
153
126
|
|
|
154
|
-
interface DTextEntry {
|
|
155
127
|
/**
|
|
156
128
|
* Returns whether only numeric characters (`123456789.-`) can be entered into the DTextEntry.
|
|
157
129
|
* @realm client and menu
|
|
158
130
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetNumeric
|
|
159
131
|
*/
|
|
160
132
|
GetNumeric(self: DTextEntry): boolean;
|
|
161
|
-
}
|
|
162
133
|
|
|
163
|
-
interface DTextEntry {
|
|
164
134
|
/**
|
|
165
135
|
* Whether the background is displayed or not
|
|
166
136
|
* @realm client and menu
|
|
167
137
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetPaintBackground
|
|
168
138
|
*/
|
|
169
139
|
GetPaintBackground(self: DTextEntry): boolean;
|
|
170
|
-
}
|
|
171
140
|
|
|
172
|
-
interface DTextEntry {
|
|
173
141
|
/**
|
|
174
142
|
* Return current color of panel placeholder
|
|
175
143
|
* @realm client and menu
|
|
176
144
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetPlaceholderColor
|
|
177
145
|
*/
|
|
178
146
|
GetPlaceholderColor(self: DTextEntry): Color;
|
|
179
|
-
}
|
|
180
147
|
|
|
181
|
-
interface DTextEntry {
|
|
182
148
|
/**
|
|
183
149
|
* Returns the placeholder text set with [DTextEntry:SetPlaceholderText](https://wiki.facepunch.com/gmod/DTextEntry:SetPlaceholderText).
|
|
184
150
|
* @realm client and menu
|
|
185
151
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetPlaceholderText
|
|
186
152
|
*/
|
|
187
153
|
GetPlaceholderText(self: DTextEntry): string;
|
|
188
|
-
}
|
|
189
154
|
|
|
190
|
-
interface DTextEntry {
|
|
191
155
|
/**
|
|
192
156
|
* Returns whether or not the panel accepts tab key.
|
|
193
157
|
* @realm client and menu
|
|
194
158
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetTabbingDisabled
|
|
195
159
|
*/
|
|
196
160
|
GetTabbingDisabled(self: DTextEntry): boolean;
|
|
197
|
-
}
|
|
198
161
|
|
|
199
|
-
interface DTextEntry {
|
|
200
162
|
/**
|
|
201
163
|
* Returns the text color of a DTextEntry.
|
|
202
164
|
* @realm client and menu
|
|
203
165
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetTextColor
|
|
204
166
|
*/
|
|
205
167
|
GetTextColor(self: DTextEntry): Color;
|
|
206
|
-
}
|
|
207
168
|
|
|
208
|
-
interface DTextEntry {
|
|
209
169
|
/**
|
|
210
170
|
* Returns whether the [DTextEntry](https://wiki.facepunch.com/gmod/DTextEntry) is set to run [DTextEntry:OnValueChange](https://wiki.facepunch.com/gmod/DTextEntry:OnValueChange) every time a character is typed or deleted or only when Enter is pressed.
|
|
211
171
|
* @realm client and menu
|
|
212
172
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:GetUpdateOnType
|
|
213
173
|
*/
|
|
214
174
|
GetUpdateOnType(self: DTextEntry): boolean;
|
|
215
|
-
}
|
|
216
175
|
|
|
217
|
-
interface DTextEntry {
|
|
218
176
|
/**
|
|
219
177
|
* Returns whether this DTextEntry is being edited or not. (i.e. has focus)
|
|
220
178
|
* @realm client and menu
|
|
221
179
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:IsEditing
|
|
222
180
|
*/
|
|
223
181
|
IsEditing(self: DTextEntry): boolean;
|
|
224
|
-
}
|
|
225
182
|
|
|
226
|
-
interface DTextEntry {
|
|
227
183
|
/**
|
|
228
184
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
229
185
|
*
|
|
@@ -235,9 +191,7 @@ interface DTextEntry {
|
|
|
235
191
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:OnTextChanged
|
|
236
192
|
*/
|
|
237
193
|
OnTextChanged(self: DTextEntry, noMenuRemoval: boolean): void;
|
|
238
|
-
}
|
|
239
194
|
|
|
240
|
-
interface DTextEntry {
|
|
241
195
|
/**
|
|
242
196
|
* **INTERNAL**: You really should be using [DTextEntry:GetAutoComplete](https://wiki.facepunch.com/gmod/DTextEntry:GetAutoComplete) instead.
|
|
243
197
|
*
|
|
@@ -247,18 +201,14 @@ interface DTextEntry {
|
|
|
247
201
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:OpenAutoComplete
|
|
248
202
|
*/
|
|
249
203
|
OpenAutoComplete(self: DTextEntry, tab: table): void;
|
|
250
|
-
}
|
|
251
204
|
|
|
252
|
-
interface DTextEntry {
|
|
253
205
|
/**
|
|
254
206
|
* Sets the cursor's color in DTextEntry (the blinking line).
|
|
255
207
|
* @realm client and menu
|
|
256
208
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetCursorColor
|
|
257
209
|
*/
|
|
258
210
|
SetCursorColor(self: DTextEntry, color: Color): void;
|
|
259
|
-
}
|
|
260
211
|
|
|
261
|
-
interface DTextEntry {
|
|
262
212
|
/**
|
|
263
213
|
* Disables input on a DTextEntry and greys it out visually. This differs from [DTextEntry:SetEditable](https://wiki.facepunch.com/gmod/DTextEntry:SetEditable) which doesn't visually change the textbox.
|
|
264
214
|
*
|
|
@@ -267,18 +217,14 @@ interface DTextEntry {
|
|
|
267
217
|
* @deprecated Use Panel:SetEnabled instead.
|
|
268
218
|
*/
|
|
269
219
|
SetDisabled(self: DTextEntry, disabled: boolean): void;
|
|
270
|
-
}
|
|
271
220
|
|
|
272
|
-
interface DTextEntry {
|
|
273
221
|
/**
|
|
274
222
|
* Alias of [DTextEntry:SetPaintBackground](https://wiki.facepunch.com/gmod/DTextEntry:SetPaintBackground). Use that instead.
|
|
275
223
|
* @realm client and menu
|
|
276
224
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetDrawBackground
|
|
277
225
|
*/
|
|
278
226
|
SetDrawBackground(self: DTextEntry, show: boolean): void;
|
|
279
|
-
}
|
|
280
227
|
|
|
281
|
-
interface DTextEntry {
|
|
282
228
|
/**
|
|
283
229
|
* Does nothing.
|
|
284
230
|
*
|
|
@@ -286,36 +232,28 @@ interface DTextEntry {
|
|
|
286
232
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetDrawBorder
|
|
287
233
|
*/
|
|
288
234
|
SetDrawBorder(self: DTextEntry, bool: boolean): void;
|
|
289
|
-
}
|
|
290
235
|
|
|
291
|
-
interface DTextEntry {
|
|
292
236
|
/**
|
|
293
237
|
* Disables Input on a DTextEntry. This differs from [DTextEntry:SetDisabled](https://wiki.facepunch.com/gmod/DTextEntry:SetDisabled) - SetEditable will not affect the appearance of the textbox.
|
|
294
238
|
* @realm client and menu
|
|
295
239
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetEditable
|
|
296
240
|
*/
|
|
297
241
|
SetEditable(self: DTextEntry, enabled: boolean): void;
|
|
298
|
-
}
|
|
299
242
|
|
|
300
|
-
interface DTextEntry {
|
|
301
243
|
/**
|
|
302
244
|
* Sets whether pressing the Enter key will cause the DTextEntry to lose focus or not, provided it is not multiline. This is true by default.
|
|
303
245
|
* @realm client and menu
|
|
304
246
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetEnterAllowed
|
|
305
247
|
*/
|
|
306
248
|
SetEnterAllowed(self: DTextEntry, allowEnter: boolean): void;
|
|
307
|
-
}
|
|
308
249
|
|
|
309
|
-
interface DTextEntry {
|
|
310
250
|
/**
|
|
311
251
|
* Changes the font of the DTextEntry.
|
|
312
252
|
* @realm client and menu
|
|
313
253
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetFont
|
|
314
254
|
*/
|
|
315
255
|
SetFont(self: DTextEntry, font: string): void;
|
|
316
|
-
}
|
|
317
256
|
|
|
318
|
-
interface DTextEntry {
|
|
319
257
|
/**
|
|
320
258
|
* Sets/overrides the default highlight/text selection color of the text entry.
|
|
321
259
|
*
|
|
@@ -323,9 +261,7 @@ interface DTextEntry {
|
|
|
323
261
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetHighlightColor
|
|
324
262
|
*/
|
|
325
263
|
SetHighlightColor(self: DTextEntry, color: Color): void;
|
|
326
|
-
}
|
|
327
264
|
|
|
328
|
-
interface DTextEntry {
|
|
329
265
|
/**
|
|
330
266
|
* Enables or disables the history functionality of [DTextEntry](https://wiki.facepunch.com/gmod/DTextEntry). This allows the player to scroll through history elements using up and down arrow keys.
|
|
331
267
|
*
|
|
@@ -335,9 +271,7 @@ interface DTextEntry {
|
|
|
335
271
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetHistoryEnabled
|
|
336
272
|
*/
|
|
337
273
|
SetHistoryEnabled(self: DTextEntry, enable: boolean): void;
|
|
338
|
-
}
|
|
339
274
|
|
|
340
|
-
interface DTextEntry {
|
|
341
275
|
/**
|
|
342
276
|
* Sets whether or not to decline non-numeric characters as input.
|
|
343
277
|
*
|
|
@@ -347,36 +281,28 @@ interface DTextEntry {
|
|
|
347
281
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetNumeric
|
|
348
282
|
*/
|
|
349
283
|
SetNumeric(self: DTextEntry, numericOnly: boolean): void;
|
|
350
|
-
}
|
|
351
284
|
|
|
352
|
-
interface DTextEntry {
|
|
353
285
|
/**
|
|
354
286
|
* Sets whether to show the default background of the DTextEntry.
|
|
355
287
|
* @realm client and menu
|
|
356
288
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetPaintBackground
|
|
357
289
|
*/
|
|
358
290
|
SetPaintBackground(self: DTextEntry, show: boolean): void;
|
|
359
|
-
}
|
|
360
291
|
|
|
361
|
-
interface DTextEntry {
|
|
362
292
|
/**
|
|
363
293
|
* Allow you to set placeholder color.
|
|
364
294
|
* @realm client and menu
|
|
365
295
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetPlaceholderColor
|
|
366
296
|
*/
|
|
367
297
|
SetPlaceholderColor(self: DTextEntry, color?: Color): void;
|
|
368
|
-
}
|
|
369
298
|
|
|
370
|
-
interface DTextEntry {
|
|
371
299
|
/**
|
|
372
300
|
* Sets the placeholder text that will be shown while the text entry has no user text. The player will not need to delete the placeholder text if they decide to start typing.
|
|
373
301
|
* @realm client and menu
|
|
374
302
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetPlaceholderText
|
|
375
303
|
*/
|
|
376
304
|
SetPlaceholderText(self: DTextEntry, text?: string): void;
|
|
377
|
-
}
|
|
378
305
|
|
|
379
|
-
interface DTextEntry {
|
|
380
306
|
/**
|
|
381
307
|
* Sets whether or not the panel accepts tab key.
|
|
382
308
|
* **NOTE**: Disabling tab key prevents the panel from unfocusing by mouse, however, still works for focusing to other keyboard focus.
|
|
@@ -385,27 +311,21 @@ interface DTextEntry {
|
|
|
385
311
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetTabbingDisabled
|
|
386
312
|
*/
|
|
387
313
|
SetTabbingDisabled(self: DTextEntry, enabled: boolean): void;
|
|
388
|
-
}
|
|
389
314
|
|
|
390
|
-
interface DTextEntry {
|
|
391
315
|
/**
|
|
392
316
|
* Sets the text color of the [DTextEntry](https://wiki.facepunch.com/gmod/DTextEntry).
|
|
393
317
|
* @realm client and menu
|
|
394
318
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetTextColor
|
|
395
319
|
*/
|
|
396
320
|
SetTextColor(self: DTextEntry, color: Color): void;
|
|
397
|
-
}
|
|
398
321
|
|
|
399
|
-
interface DTextEntry {
|
|
400
322
|
/**
|
|
401
323
|
* Sets whether we should fire [DTextEntry:OnValueChange](https://wiki.facepunch.com/gmod/DTextEntry:OnValueChange) every time we type or delete a character or only when Enter is pressed.
|
|
402
324
|
* @realm client and menu
|
|
403
325
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:SetUpdateOnType
|
|
404
326
|
*/
|
|
405
327
|
SetUpdateOnType(self: DTextEntry, updateOnType: boolean): void;
|
|
406
|
-
}
|
|
407
328
|
|
|
408
|
-
interface DTextEntry {
|
|
409
329
|
/**
|
|
410
330
|
* **INTERNAL**: Used by [DTextEntry:OnTextChanged](https://wiki.facepunch.com/gmod/DTextEntry:OnTextChanged), [DTextEntry:OnEnter](https://wiki.facepunch.com/gmod/DTextEntry:OnEnter) and [DTextEntry:OnLoseFocus](https://wiki.facepunch.com/gmod/DTextEntry:OnLoseFocus)
|
|
411
331
|
*
|
|
@@ -416,9 +336,7 @@ interface DTextEntry {
|
|
|
416
336
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:UpdateConvarValue
|
|
417
337
|
*/
|
|
418
338
|
UpdateConvarValue(self: DTextEntry): void;
|
|
419
|
-
}
|
|
420
339
|
|
|
421
|
-
interface DTextEntry {
|
|
422
340
|
/**
|
|
423
341
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
424
342
|
*
|
|
@@ -427,9 +345,7 @@ interface DTextEntry {
|
|
|
427
345
|
* @source https://wiki.facepunch.com/gmod/DTextEntry:UpdateFromHistory
|
|
428
346
|
*/
|
|
429
347
|
UpdateFromHistory(self: DTextEntry): void;
|
|
430
|
-
}
|
|
431
348
|
|
|
432
|
-
interface DTextEntry {
|
|
433
349
|
/**
|
|
434
350
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
435
351
|
*
|
|
@@ -439,4 +355,3 @@ interface DTextEntry {
|
|
|
439
355
|
*/
|
|
440
356
|
UpdateFromMenu(self: DTextEntry): void;
|
|
441
357
|
}
|
|
442
|
-
|
package/types/dtilelayout.d.tlua
CHANGED
|
@@ -24,9 +24,7 @@
|
|
|
24
24
|
* @realm client
|
|
25
25
|
* @source https://wiki.facepunch.com/gmod/DTileLayout
|
|
26
26
|
*/
|
|
27
|
-
interface DTileLayout extends DDragBase {
|
|
28
|
-
|
|
29
|
-
interface DTileLayout {
|
|
27
|
+
interface DTileLayout extends DDragBase {
|
|
30
28
|
/**
|
|
31
29
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
32
30
|
* Clears the panel's tile table. Used by [DTileLayout:LayoutTiles](https://wiki.facepunch.com/gmod/DTileLayout:LayoutTiles).
|
|
@@ -34,9 +32,7 @@ interface DTileLayout {
|
|
|
34
32
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:ClearTiles
|
|
35
33
|
*/
|
|
36
34
|
ClearTiles(self: DTileLayout): void;
|
|
37
|
-
}
|
|
38
35
|
|
|
39
|
-
interface DTileLayout {
|
|
40
36
|
/**
|
|
41
37
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
42
38
|
* Called to designate a range of tiles as occupied by a panel.
|
|
@@ -44,27 +40,21 @@ interface DTileLayout {
|
|
|
44
40
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:ConsumeTiles
|
|
45
41
|
*/
|
|
46
42
|
ConsumeTiles(self: DTileLayout, x: number, y: number, w: number, h: number): void;
|
|
47
|
-
}
|
|
48
43
|
|
|
49
|
-
interface DTileLayout {
|
|
50
44
|
/**
|
|
51
45
|
* Creates and returns an exact copy of the DTileLayout.
|
|
52
46
|
* @realm client
|
|
53
47
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:Copy
|
|
54
48
|
*/
|
|
55
49
|
Copy(self: DTileLayout): Panel;
|
|
56
|
-
}
|
|
57
50
|
|
|
58
|
-
interface DTileLayout {
|
|
59
51
|
/**
|
|
60
52
|
* Creates copies of all the children from the given panel object and parents them to this one.
|
|
61
53
|
* @realm client
|
|
62
54
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:CopyContents
|
|
63
55
|
*/
|
|
64
56
|
CopyContents(self: DTileLayout, source: Panel): void;
|
|
65
|
-
}
|
|
66
57
|
|
|
67
|
-
interface DTileLayout {
|
|
68
58
|
/**
|
|
69
59
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
70
60
|
* Finds the coordinates of the first group of free tiles that fit the given size.
|
|
@@ -72,9 +62,7 @@ interface DTileLayout {
|
|
|
72
62
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:FindFreeTile
|
|
73
63
|
*/
|
|
74
64
|
FindFreeTile(self: DTileLayout, x: number, y: number, w: number, h: number): (number, number);
|
|
75
|
-
}
|
|
76
65
|
|
|
77
|
-
interface DTileLayout {
|
|
78
66
|
/**
|
|
79
67
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
80
68
|
* Determines if a group of tiles is vacant.
|
|
@@ -82,54 +70,42 @@ interface DTileLayout {
|
|
|
82
70
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:FitsInTile
|
|
83
71
|
*/
|
|
84
72
|
FitsInTile(self: DTileLayout, x: number, y: number, w: number, h: number): boolean;
|
|
85
|
-
}
|
|
86
73
|
|
|
87
|
-
interface DTileLayout {
|
|
88
74
|
/**
|
|
89
75
|
* Returns the size of each single tile, set with [DTileLayout:SetBaseSize](https://wiki.facepunch.com/gmod/DTileLayout:SetBaseSize).
|
|
90
76
|
* @realm client
|
|
91
77
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:GetBaseSize
|
|
92
78
|
*/
|
|
93
79
|
GetBaseSize(self: DTileLayout): number;
|
|
94
|
-
}
|
|
95
80
|
|
|
96
|
-
interface DTileLayout {
|
|
97
81
|
/**
|
|
98
82
|
* Returns the border spacing set by [DTileLayout:SetBorder](https://wiki.facepunch.com/gmod/DTileLayout:SetBorder).
|
|
99
83
|
* @realm client
|
|
100
84
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:GetBorder
|
|
101
85
|
*/
|
|
102
86
|
GetBorder(self: DTileLayout): number;
|
|
103
|
-
}
|
|
104
87
|
|
|
105
|
-
interface DTileLayout {
|
|
106
88
|
/**
|
|
107
89
|
* Returns the minimum height the DTileLayout can resize to.
|
|
108
90
|
* @realm client
|
|
109
91
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:GetMinHeight
|
|
110
92
|
*/
|
|
111
93
|
GetMinHeight(self: DTileLayout): number;
|
|
112
|
-
}
|
|
113
94
|
|
|
114
|
-
interface DTileLayout {
|
|
115
95
|
/**
|
|
116
96
|
* Returns the X axis spacing between 2 elements set by [DTileLayout:SetSpaceX](https://wiki.facepunch.com/gmod/DTileLayout:SetSpaceX).
|
|
117
97
|
* @realm client
|
|
118
98
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:GetSpaceX
|
|
119
99
|
*/
|
|
120
100
|
GetSpaceX(self: DTileLayout): number;
|
|
121
|
-
}
|
|
122
101
|
|
|
123
|
-
interface DTileLayout {
|
|
124
102
|
/**
|
|
125
103
|
* Returns the Y axis spacing between 2 elements set by [DTileLayout:SetSpaceY](https://wiki.facepunch.com/gmod/DTileLayout:SetSpaceY).
|
|
126
104
|
* @realm client
|
|
127
105
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:GetSpaceY
|
|
128
106
|
*/
|
|
129
107
|
GetSpaceY(self: DTileLayout): number;
|
|
130
|
-
}
|
|
131
108
|
|
|
132
|
-
interface DTileLayout {
|
|
133
109
|
/**
|
|
134
110
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
135
111
|
* Gets the occupied state of a tile.
|
|
@@ -137,18 +113,14 @@ interface DTileLayout {
|
|
|
137
113
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:GetTile
|
|
138
114
|
*/
|
|
139
115
|
GetTile(self: DTileLayout, x: number, y: number): any;
|
|
140
|
-
}
|
|
141
116
|
|
|
142
|
-
interface DTileLayout {
|
|
143
117
|
/**
|
|
144
118
|
* Resets the last width/height info, and invalidates the panel's layout, causing it to recalculate all child positions. It is called whenever a child is added or removed, and can be called to refresh the panel.
|
|
145
119
|
* @realm client
|
|
146
120
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:Layout
|
|
147
121
|
*/
|
|
148
122
|
Layout(self: DTileLayout): void;
|
|
149
|
-
}
|
|
150
123
|
|
|
151
|
-
interface DTileLayout {
|
|
152
124
|
/**
|
|
153
125
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
154
126
|
* Called by [PANEL:PerformLayout](https://wiki.facepunch.com/gmod/PANEL:PerformLayout) to arrange and lay out the child panels, if it has changed in size.
|
|
@@ -156,9 +128,7 @@ interface DTileLayout {
|
|
|
156
128
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:LayoutTiles
|
|
157
129
|
*/
|
|
158
130
|
LayoutTiles(self: DTileLayout): void;
|
|
159
|
-
}
|
|
160
131
|
|
|
161
|
-
interface DTileLayout {
|
|
162
132
|
/**
|
|
163
133
|
* Sets the size of a single tile. If a child panel is larger than this size, it will occupy several tiles.
|
|
164
134
|
*
|
|
@@ -168,45 +138,35 @@ interface DTileLayout {
|
|
|
168
138
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:SetBaseSize
|
|
169
139
|
*/
|
|
170
140
|
SetBaseSize(self: DTileLayout, size: number): void;
|
|
171
|
-
}
|
|
172
141
|
|
|
173
|
-
interface DTileLayout {
|
|
174
142
|
/**
|
|
175
143
|
* Sets the spacing between the border/edge of the [DTileLayout](https://wiki.facepunch.com/gmod/DTileLayout) and all the elements inside.
|
|
176
144
|
* @realm client
|
|
177
145
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:SetBorder
|
|
178
146
|
*/
|
|
179
147
|
SetBorder(self: DTileLayout, border: number): void;
|
|
180
|
-
}
|
|
181
148
|
|
|
182
|
-
interface DTileLayout {
|
|
183
149
|
/**
|
|
184
150
|
* Determines the minimum height the DTileLayout will resize to. This is useful if child panels will be added/removed often.
|
|
185
151
|
* @realm client
|
|
186
152
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:SetMinHeight
|
|
187
153
|
*/
|
|
188
154
|
SetMinHeight(self: DTileLayout, minH: number): void;
|
|
189
|
-
}
|
|
190
155
|
|
|
191
|
-
interface DTileLayout {
|
|
192
156
|
/**
|
|
193
157
|
* Sets the spacing between 2 elements in the [DTileLayout](https://wiki.facepunch.com/gmod/DTileLayout) on the X axis.
|
|
194
158
|
* @realm client
|
|
195
159
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:SetSpaceX
|
|
196
160
|
*/
|
|
197
161
|
SetSpaceX(self: DTileLayout, spacingX: number): void;
|
|
198
|
-
}
|
|
199
162
|
|
|
200
|
-
interface DTileLayout {
|
|
201
163
|
/**
|
|
202
164
|
* Sets the spacing between 2 elements in the [DTileLayout](https://wiki.facepunch.com/gmod/DTileLayout) on the Y axis.
|
|
203
165
|
* @realm client
|
|
204
166
|
* @source https://wiki.facepunch.com/gmod/DTileLayout:SetSpaceY
|
|
205
167
|
*/
|
|
206
168
|
SetSpaceY(self: DTileLayout, spaceY: number): void;
|
|
207
|
-
}
|
|
208
169
|
|
|
209
|
-
interface DTileLayout {
|
|
210
170
|
/**
|
|
211
171
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
212
172
|
* Called to set the occupied state of a tile.
|
|
@@ -215,4 +175,3 @@ interface DTileLayout {
|
|
|
215
175
|
*/
|
|
216
176
|
SetTile(self: DTileLayout, x: number, y: number, state: any): void;
|
|
217
177
|
}
|
|
218
|
-
|
package/types/dtooltip.d.tlua
CHANGED
|
@@ -11,18 +11,14 @@
|
|
|
11
11
|
* @realm client and menu
|
|
12
12
|
* @source https://wiki.facepunch.com/gmod/DTooltip
|
|
13
13
|
*/
|
|
14
|
-
interface DTooltip extends DLabel {
|
|
15
|
-
|
|
16
|
-
interface DTooltip {
|
|
14
|
+
interface DTooltip extends DLabel {
|
|
17
15
|
/**
|
|
18
16
|
* Forces the tooltip to close. This will remove the panel.
|
|
19
17
|
* @realm client and menu
|
|
20
18
|
* @source https://wiki.facepunch.com/gmod/DTooltip:Close
|
|
21
19
|
*/
|
|
22
20
|
Close(self: DTooltip): void;
|
|
23
|
-
}
|
|
24
21
|
|
|
25
|
-
interface DTooltip {
|
|
26
22
|
/**
|
|
27
23
|
* Used to draw a triangle beneath the [DTooltip](https://wiki.facepunch.com/gmod/DTooltip)
|
|
28
24
|
* **NOTE**: Requires [DTooltip:SetContents](https://wiki.facepunch.com/gmod/DTooltip:SetContents), without this it will error
|
|
@@ -32,9 +28,7 @@ interface DTooltip {
|
|
|
32
28
|
* @source https://wiki.facepunch.com/gmod/DTooltip:DrawArrow
|
|
33
29
|
*/
|
|
34
30
|
DrawArrow(self: DTooltip, x: number, y: number): void;
|
|
35
|
-
}
|
|
36
31
|
|
|
37
|
-
interface DTooltip {
|
|
38
32
|
/**
|
|
39
33
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
40
34
|
*
|
|
@@ -46,9 +40,7 @@ interface DTooltip {
|
|
|
46
40
|
* @source https://wiki.facepunch.com/gmod/DTooltip:OpenForPanel
|
|
47
41
|
*/
|
|
48
42
|
OpenForPanel(self: DTooltip, pnl: Panel): void;
|
|
49
|
-
}
|
|
50
43
|
|
|
51
|
-
interface DTooltip {
|
|
52
44
|
/**
|
|
53
45
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
54
46
|
*
|
|
@@ -59,9 +51,7 @@ interface DTooltip {
|
|
|
59
51
|
* @source https://wiki.facepunch.com/gmod/DTooltip:PositionTooltip
|
|
60
52
|
*/
|
|
61
53
|
PositionTooltip(self: DTooltip): void;
|
|
62
|
-
}
|
|
63
54
|
|
|
64
|
-
interface DTooltip {
|
|
65
55
|
/**
|
|
66
56
|
* What Panel you want put inside of the [DTooltip](https://wiki.facepunch.com/gmod/DTooltip)
|
|
67
57
|
*
|
|
@@ -73,4 +63,3 @@ interface DTooltip {
|
|
|
73
63
|
*/
|
|
74
64
|
SetContents(self: DTooltip, panel: Panel, _delete?: boolean): void;
|
|
75
65
|
}
|
|
76
|
-
|