@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/dform.d.tlua
CHANGED
|
@@ -5,9 +5,7 @@
|
|
|
5
5
|
* @realm client and menu
|
|
6
6
|
* @source https://wiki.facepunch.com/gmod/DForm
|
|
7
7
|
*/
|
|
8
|
-
interface DForm extends DCollapsibleCategory {
|
|
9
|
-
|
|
10
|
-
interface DForm {
|
|
8
|
+
interface DForm extends DCollapsibleCategory {
|
|
11
9
|
/**
|
|
12
10
|
* Adds one or two items to the DForm.
|
|
13
11
|
* If this method is called with only one argument, it is added to the bottom of the form. If two arguments are passed, they are placed side-by-side at the bottom of the form.
|
|
@@ -18,18 +16,14 @@ interface DForm {
|
|
|
18
16
|
* @source https://wiki.facepunch.com/gmod/DForm:AddItem
|
|
19
17
|
*/
|
|
20
18
|
AddItem(self: DForm, left: Panel, right?: Panel): void;
|
|
21
|
-
}
|
|
22
19
|
|
|
23
|
-
interface DForm {
|
|
24
20
|
/**
|
|
25
21
|
* Adds a [DButton](https://wiki.facepunch.com/gmod/DButton) onto the [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
26
22
|
* @realm client and menu
|
|
27
23
|
* @source https://wiki.facepunch.com/gmod/DForm:Button
|
|
28
24
|
*/
|
|
29
25
|
Button(self: DForm, text: string, concommand?: string, ...: any): DButton;
|
|
30
|
-
}
|
|
31
26
|
|
|
32
|
-
interface DForm {
|
|
33
27
|
/**
|
|
34
28
|
* Adds a [DCheckBoxLabel](https://wiki.facepunch.com/gmod/DCheckBoxLabel) onto the [DForm](https://wiki.facepunch.com/gmod/DForm).
|
|
35
29
|
* **NOTE**: This will run [DCheckBoxLabel:OnChange](https://wiki.facepunch.com/gmod/DCheckBoxLabel:OnChange) when being added. This is caused by [Panel:SetConVar](https://wiki.facepunch.com/gmod/Panel:SetConVar) being used when this function is used. To avoid this, use [DForm:AddItem](https://wiki.facepunch.com/gmod/DForm:AddItem) with a [DCheckBoxLabel](https://wiki.facepunch.com/gmod/DCheckBoxLabel).
|
|
@@ -38,27 +32,21 @@ interface DForm {
|
|
|
38
32
|
* @source https://wiki.facepunch.com/gmod/DForm:CheckBox
|
|
39
33
|
*/
|
|
40
34
|
CheckBox(self: DForm, label: string, convar: string): DCheckBoxLabel;
|
|
41
|
-
}
|
|
42
35
|
|
|
43
|
-
interface DForm {
|
|
44
36
|
/**
|
|
45
37
|
* Adds a [DComboBox](https://wiki.facepunch.com/gmod/DComboBox) onto the [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
46
38
|
* @realm client and menu
|
|
47
39
|
* @source https://wiki.facepunch.com/gmod/DForm:ComboBox
|
|
48
40
|
*/
|
|
49
41
|
ComboBox(self: DForm, title: string, convar: string): (DComboBox, DLabel);
|
|
50
|
-
}
|
|
51
42
|
|
|
52
|
-
interface DForm {
|
|
53
43
|
/**
|
|
54
44
|
* Adds a [DLabel](https://wiki.facepunch.com/gmod/DLabel) onto the [DForm](https://wiki.facepunch.com/gmod/DForm). Unlike [DForm:Help](https://wiki.facepunch.com/gmod/DForm:Help), this is indented and is colored blue, depending on the derma skin.
|
|
55
45
|
* @realm client and menu
|
|
56
46
|
* @source https://wiki.facepunch.com/gmod/DForm:ControlHelp
|
|
57
47
|
*/
|
|
58
48
|
ControlHelp(self: DForm, help: string): DLabel;
|
|
59
|
-
}
|
|
60
49
|
|
|
61
|
-
interface DForm {
|
|
62
50
|
/**
|
|
63
51
|
* An Accessor Function in DForm that does nothing.
|
|
64
52
|
*
|
|
@@ -66,9 +54,7 @@ interface DForm {
|
|
|
66
54
|
* @source https://wiki.facepunch.com/gmod/DForm:GetAutoSize
|
|
67
55
|
*/
|
|
68
56
|
GetAutoSize(self: DForm): boolean;
|
|
69
|
-
}
|
|
70
57
|
|
|
71
|
-
interface DForm {
|
|
72
58
|
/**
|
|
73
59
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that does nothing.
|
|
74
60
|
*
|
|
@@ -76,18 +62,14 @@ interface DForm {
|
|
|
76
62
|
* @source https://wiki.facepunch.com/gmod/DForm:GetSpacing
|
|
77
63
|
*/
|
|
78
64
|
GetSpacing(self: DForm): number;
|
|
79
|
-
}
|
|
80
65
|
|
|
81
|
-
interface DForm {
|
|
82
66
|
/**
|
|
83
67
|
* Adds a [DLabel](https://wiki.facepunch.com/gmod/DLabel) onto the [DForm](https://wiki.facepunch.com/gmod/DForm) as a helper
|
|
84
68
|
* @realm client and menu
|
|
85
69
|
* @source https://wiki.facepunch.com/gmod/DForm:Help
|
|
86
70
|
*/
|
|
87
71
|
Help(self: DForm, help: string): DLabel;
|
|
88
|
-
}
|
|
89
72
|
|
|
90
|
-
interface DForm {
|
|
91
73
|
/**
|
|
92
74
|
* Adds a [DListBox](https://wiki.facepunch.com/gmod/DListBox) onto the [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
93
75
|
*
|
|
@@ -96,27 +78,21 @@ interface DForm {
|
|
|
96
78
|
* @deprecated Use DListView with DForm:AddItem instead.
|
|
97
79
|
*/
|
|
98
80
|
ListBox(self: DForm, label?: string): (DListBox, DLabel);
|
|
99
|
-
}
|
|
100
81
|
|
|
101
|
-
interface DForm {
|
|
102
82
|
/**
|
|
103
83
|
* Adds a [DNumSlider](https://wiki.facepunch.com/gmod/DNumSlider) onto the [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
104
84
|
* @realm client and menu
|
|
105
85
|
* @source https://wiki.facepunch.com/gmod/DForm:NumSlider
|
|
106
86
|
*/
|
|
107
87
|
NumSlider(self: DForm, label: string, convar: string, min: number, max: number, decimals?: number): DNumSlider;
|
|
108
|
-
}
|
|
109
88
|
|
|
110
|
-
interface DForm {
|
|
111
89
|
/**
|
|
112
90
|
* Adds a [DNumberWang](https://wiki.facepunch.com/gmod/DNumberWang) onto the [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
113
91
|
* @realm client and menu
|
|
114
92
|
* @source https://wiki.facepunch.com/gmod/DForm:NumberWang
|
|
115
93
|
*/
|
|
116
94
|
NumberWang(self: DForm, label: string, convar: string, min: number, max: number, decimals?: number): (DNumberWang, DLabel);
|
|
117
|
-
}
|
|
118
95
|
|
|
119
|
-
interface DForm {
|
|
120
96
|
/**
|
|
121
97
|
* Creates a [DPanelSelect](https://wiki.facepunch.com/gmod/DPanelSelect) and docks it to the top of the DForm.
|
|
122
98
|
* @realm client and menu
|
|
@@ -124,18 +100,14 @@ interface DForm {
|
|
|
124
100
|
* @deprecated This is derived from the deprecated DPanelSelect.
|
|
125
101
|
*/
|
|
126
102
|
PanelSelect(self: DForm): DPanelSelect;
|
|
127
|
-
}
|
|
128
103
|
|
|
129
|
-
interface DForm {
|
|
130
104
|
/**
|
|
131
105
|
* Creates a [PropSelect](https://wiki.facepunch.com/gmod/PropSelect) panel and docks it to the top of the DForm.
|
|
132
106
|
* @realm client and menu
|
|
133
107
|
* @source https://wiki.facepunch.com/gmod/DForm:PropSelect
|
|
134
108
|
*/
|
|
135
109
|
PropSelect(self: DForm, label: string, convar: string, models: table, height?: number): PropSelect;
|
|
136
|
-
}
|
|
137
110
|
|
|
138
|
-
interface DForm {
|
|
139
111
|
/**
|
|
140
112
|
* Does nothing.
|
|
141
113
|
*
|
|
@@ -143,9 +115,7 @@ interface DForm {
|
|
|
143
115
|
* @source https://wiki.facepunch.com/gmod/DForm:Rebuild
|
|
144
116
|
*/
|
|
145
117
|
Rebuild(self: DForm): void;
|
|
146
|
-
}
|
|
147
118
|
|
|
148
|
-
interface DForm {
|
|
149
119
|
/**
|
|
150
120
|
* an [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that does nothing
|
|
151
121
|
*
|
|
@@ -153,9 +123,7 @@ interface DForm {
|
|
|
153
123
|
* @source https://wiki.facepunch.com/gmod/DForm:SetAutoSize
|
|
154
124
|
*/
|
|
155
125
|
SetAutoSize(self: DForm, arg0: boolean): void;
|
|
156
|
-
}
|
|
157
126
|
|
|
158
|
-
interface DForm {
|
|
159
127
|
/**
|
|
160
128
|
* An [Global.AccessorFunc](https://wiki.facepunch.com/gmod/Global.AccessorFunc) that does nothing.
|
|
161
129
|
*
|
|
@@ -163,9 +131,7 @@ interface DForm {
|
|
|
163
131
|
* @source https://wiki.facepunch.com/gmod/DForm:SetSpacing
|
|
164
132
|
*/
|
|
165
133
|
SetSpacing(self: DForm, arg0: number): void;
|
|
166
|
-
}
|
|
167
134
|
|
|
168
|
-
interface DForm {
|
|
169
135
|
/**
|
|
170
136
|
* Adds a [DTextEntry](https://wiki.facepunch.com/gmod/DTextEntry) to a [DForm](https://wiki.facepunch.com/gmod/DForm)
|
|
171
137
|
* @realm client and menu
|
|
@@ -173,4 +139,3 @@ interface DForm {
|
|
|
173
139
|
*/
|
|
174
140
|
TextEntry(self: DForm, label: string, convar: string): (DTextEntry, DLabel);
|
|
175
141
|
}
|
|
176
|
-
|
package/types/dframe.d.tlua
CHANGED
|
@@ -15,9 +15,7 @@ interface DFrame extends EditablePanel {
|
|
|
15
15
|
lblTitle: DLabel;
|
|
16
16
|
/** The icon image in the title bar, if set via DFrame:SetIcon. */
|
|
17
17
|
imgIcon?: DImage;
|
|
18
|
-
}
|
|
19
18
|
|
|
20
|
-
interface DFrame {
|
|
21
19
|
/**
|
|
22
20
|
* Hides or removes the DFrame, and calls [DFrame:OnClose](https://wiki.facepunch.com/gmod/DFrame:OnClose).
|
|
23
21
|
*
|
|
@@ -27,45 +25,35 @@ interface DFrame {
|
|
|
27
25
|
* @source https://wiki.facepunch.com/gmod/DFrame:Close
|
|
28
26
|
*/
|
|
29
27
|
Close(self: DFrame): void;
|
|
30
|
-
}
|
|
31
28
|
|
|
32
|
-
interface DFrame {
|
|
33
29
|
/**
|
|
34
30
|
* Gets whether the background behind the frame is being blurred.
|
|
35
31
|
* @realm client and menu
|
|
36
32
|
* @source https://wiki.facepunch.com/gmod/DFrame:GetBackgroundBlur
|
|
37
33
|
*/
|
|
38
34
|
GetBackgroundBlur(self: DFrame): boolean;
|
|
39
|
-
}
|
|
40
35
|
|
|
41
|
-
interface DFrame {
|
|
42
36
|
/**
|
|
43
37
|
* Determines whether or not the DFrame will be removed when it is closed. This is set with [DFrame:SetDeleteOnClose](https://wiki.facepunch.com/gmod/DFrame:SetDeleteOnClose).
|
|
44
38
|
* @realm client and menu
|
|
45
39
|
* @source https://wiki.facepunch.com/gmod/DFrame:GetDeleteOnClose
|
|
46
40
|
*/
|
|
47
41
|
GetDeleteOnClose(self: DFrame): boolean;
|
|
48
|
-
}
|
|
49
42
|
|
|
50
|
-
interface DFrame {
|
|
51
43
|
/**
|
|
52
44
|
* Gets whether or not the frame is draggable by the user.
|
|
53
45
|
* @realm client and menu
|
|
54
46
|
* @source https://wiki.facepunch.com/gmod/DFrame:GetDraggable
|
|
55
47
|
*/
|
|
56
48
|
GetDraggable(self: DFrame): boolean;
|
|
57
|
-
}
|
|
58
49
|
|
|
59
|
-
interface DFrame {
|
|
60
50
|
/**
|
|
61
51
|
* Gets whether or not the frame is part of a derma menu. This is set with [DFrame:SetIsMenu](https://wiki.facepunch.com/gmod/DFrame:SetIsMenu).
|
|
62
52
|
* @realm client and menu
|
|
63
53
|
* @source https://wiki.facepunch.com/gmod/DFrame:GetIsMenu
|
|
64
54
|
*/
|
|
65
55
|
GetIsMenu(self: DFrame): boolean;
|
|
66
|
-
}
|
|
67
56
|
|
|
68
|
-
interface DFrame {
|
|
69
57
|
/**
|
|
70
58
|
* Gets the minimum height the DFrame can be resized to by the user.
|
|
71
59
|
*
|
|
@@ -75,9 +63,7 @@ interface DFrame {
|
|
|
75
63
|
* @source https://wiki.facepunch.com/gmod/DFrame:GetMinHeight
|
|
76
64
|
*/
|
|
77
65
|
GetMinHeight(self: DFrame): number;
|
|
78
|
-
}
|
|
79
66
|
|
|
80
|
-
interface DFrame {
|
|
81
67
|
/**
|
|
82
68
|
* Gets the minimum width the DFrame can be resized to by the user.
|
|
83
69
|
*
|
|
@@ -87,27 +73,21 @@ interface DFrame {
|
|
|
87
73
|
* @source https://wiki.facepunch.com/gmod/DFrame:GetMinWidth
|
|
88
74
|
*/
|
|
89
75
|
GetMinWidth(self: DFrame): number;
|
|
90
|
-
}
|
|
91
76
|
|
|
92
|
-
interface DFrame {
|
|
93
77
|
/**
|
|
94
78
|
* Gets whether or not the shadow effect bordering the DFrame is being drawn.
|
|
95
79
|
* @realm client and menu
|
|
96
80
|
* @source https://wiki.facepunch.com/gmod/DFrame:GetPaintShadow
|
|
97
81
|
*/
|
|
98
82
|
GetPaintShadow(self: DFrame): boolean;
|
|
99
|
-
}
|
|
100
83
|
|
|
101
|
-
interface DFrame {
|
|
102
84
|
/**
|
|
103
85
|
* Gets whether or not the DFrame is restricted to the boundaries of the screen resolution.
|
|
104
86
|
* @realm client and menu
|
|
105
87
|
* @source https://wiki.facepunch.com/gmod/DFrame:GetScreenLock
|
|
106
88
|
*/
|
|
107
89
|
GetScreenLock(self: DFrame): boolean;
|
|
108
|
-
}
|
|
109
90
|
|
|
110
|
-
interface DFrame {
|
|
111
91
|
/**
|
|
112
92
|
* Gets whether or not the DFrame can be resized by the user.
|
|
113
93
|
*
|
|
@@ -117,63 +97,49 @@ interface DFrame {
|
|
|
117
97
|
* @source https://wiki.facepunch.com/gmod/DFrame:GetSizable
|
|
118
98
|
*/
|
|
119
99
|
GetSizable(self: DFrame): boolean;
|
|
120
|
-
}
|
|
121
100
|
|
|
122
|
-
interface DFrame {
|
|
123
101
|
/**
|
|
124
102
|
* Returns the title of the frame.
|
|
125
103
|
* @realm client and menu
|
|
126
104
|
* @source https://wiki.facepunch.com/gmod/DFrame:GetTitle
|
|
127
105
|
*/
|
|
128
106
|
GetTitle(self: DFrame): string;
|
|
129
|
-
}
|
|
130
107
|
|
|
131
|
-
interface DFrame {
|
|
132
108
|
/**
|
|
133
109
|
* Determines if the frame or one of its children has the screen focus.
|
|
134
110
|
* @realm client and menu
|
|
135
111
|
* @source https://wiki.facepunch.com/gmod/DFrame:IsActive
|
|
136
112
|
*/
|
|
137
113
|
IsActive(self: DFrame): boolean;
|
|
138
|
-
}
|
|
139
114
|
|
|
140
|
-
interface DFrame {
|
|
141
115
|
/**
|
|
142
116
|
* Indicate that the background elements won't be usable.
|
|
143
117
|
* @realm client and menu
|
|
144
118
|
* @source https://wiki.facepunch.com/gmod/DFrame:SetBackgroundBlur
|
|
145
119
|
*/
|
|
146
120
|
SetBackgroundBlur(self: DFrame, blur: boolean): void;
|
|
147
|
-
}
|
|
148
121
|
|
|
149
|
-
interface DFrame {
|
|
150
122
|
/**
|
|
151
123
|
* Determines whether or not the DFrame is removed when it is closed with [DFrame:Close](https://wiki.facepunch.com/gmod/DFrame:Close).
|
|
152
124
|
* @realm client and menu
|
|
153
125
|
* @source https://wiki.facepunch.com/gmod/DFrame:SetDeleteOnClose
|
|
154
126
|
*/
|
|
155
127
|
SetDeleteOnClose(self: DFrame, shouldDelete: boolean): void;
|
|
156
|
-
}
|
|
157
128
|
|
|
158
|
-
interface DFrame {
|
|
159
129
|
/**
|
|
160
130
|
* Sets whether the frame should be draggable by the user. The DFrame can only be dragged from its title bar.
|
|
161
131
|
* @realm client and menu
|
|
162
132
|
* @source https://wiki.facepunch.com/gmod/DFrame:SetDraggable
|
|
163
133
|
*/
|
|
164
134
|
SetDraggable(self: DFrame, draggable: boolean): void;
|
|
165
|
-
}
|
|
166
135
|
|
|
167
|
-
interface DFrame {
|
|
168
136
|
/**
|
|
169
137
|
* Adds or removes an icon on the left of the [DFrame](https://wiki.facepunch.com/gmod/DFrame)'s title.
|
|
170
138
|
* @realm client and menu
|
|
171
139
|
* @source https://wiki.facepunch.com/gmod/DFrame:SetIcon
|
|
172
140
|
*/
|
|
173
141
|
SetIcon(self: DFrame, path: string): void;
|
|
174
|
-
}
|
|
175
142
|
|
|
176
|
-
interface DFrame {
|
|
177
143
|
/**
|
|
178
144
|
* Sets whether the frame is part of a derma menu or not.
|
|
179
145
|
*
|
|
@@ -183,9 +149,7 @@ interface DFrame {
|
|
|
183
149
|
* @source https://wiki.facepunch.com/gmod/DFrame:SetIsMenu
|
|
184
150
|
*/
|
|
185
151
|
SetIsMenu(self: DFrame, isMenu: boolean): void;
|
|
186
|
-
}
|
|
187
152
|
|
|
188
|
-
interface DFrame {
|
|
189
153
|
/**
|
|
190
154
|
* Sets the minimum height the DFrame can be resized to by the user.
|
|
191
155
|
*
|
|
@@ -195,9 +159,7 @@ interface DFrame {
|
|
|
195
159
|
* @source https://wiki.facepunch.com/gmod/DFrame:SetMinHeight
|
|
196
160
|
*/
|
|
197
161
|
SetMinHeight(self: DFrame, minH: number): void;
|
|
198
|
-
}
|
|
199
162
|
|
|
200
|
-
interface DFrame {
|
|
201
163
|
/**
|
|
202
164
|
* Sets the minimum width the DFrame can be resized to by the user.
|
|
203
165
|
*
|
|
@@ -207,27 +169,21 @@ interface DFrame {
|
|
|
207
169
|
* @source https://wiki.facepunch.com/gmod/DFrame:SetMinWidth
|
|
208
170
|
*/
|
|
209
171
|
SetMinWidth(self: DFrame, minW: number): void;
|
|
210
|
-
}
|
|
211
172
|
|
|
212
|
-
interface DFrame {
|
|
213
173
|
/**
|
|
214
174
|
* Sets whether or not the shadow effect bordering the DFrame should be drawn.
|
|
215
175
|
* @realm client and menu
|
|
216
176
|
* @source https://wiki.facepunch.com/gmod/DFrame:SetPaintShadow
|
|
217
177
|
*/
|
|
218
178
|
SetPaintShadow(self: DFrame, shouldPaint: boolean): void;
|
|
219
|
-
}
|
|
220
179
|
|
|
221
|
-
interface DFrame {
|
|
222
180
|
/**
|
|
223
181
|
* Sets whether the DFrame is restricted to the boundaries of the screen resolution.
|
|
224
182
|
* @realm client and menu
|
|
225
183
|
* @source https://wiki.facepunch.com/gmod/DFrame:SetScreenLock
|
|
226
184
|
*/
|
|
227
185
|
SetScreenLock(self: DFrame, lock: boolean): void;
|
|
228
|
-
}
|
|
229
186
|
|
|
230
|
-
interface DFrame {
|
|
231
187
|
/**
|
|
232
188
|
* Sets whether or not the [DFrame](https://wiki.facepunch.com/gmod/DFrame) can be resized by the user.
|
|
233
189
|
*
|
|
@@ -239,18 +195,14 @@ interface DFrame {
|
|
|
239
195
|
* @source https://wiki.facepunch.com/gmod/DFrame:SetSizable
|
|
240
196
|
*/
|
|
241
197
|
SetSizable(self: DFrame, sizeable: boolean): void;
|
|
242
|
-
}
|
|
243
198
|
|
|
244
|
-
interface DFrame {
|
|
245
199
|
/**
|
|
246
200
|
* Sets the title of the frame.
|
|
247
201
|
* @realm client and menu
|
|
248
202
|
* @source https://wiki.facepunch.com/gmod/DFrame:SetTitle
|
|
249
203
|
*/
|
|
250
204
|
SetTitle(self: DFrame, title: string): void;
|
|
251
|
-
}
|
|
252
205
|
|
|
253
|
-
interface DFrame {
|
|
254
206
|
/**
|
|
255
207
|
* Determines whether the DFrame's control box (close, minimise and maximise buttons) is displayed.
|
|
256
208
|
* @realm client and menu
|
|
@@ -258,4 +210,3 @@ interface DFrame {
|
|
|
258
210
|
*/
|
|
259
211
|
ShowCloseButton(self: DFrame, show: boolean): void;
|
|
260
212
|
}
|
|
261
|
-
|
package/types/dgrid.d.tlua
CHANGED
|
@@ -10,63 +10,49 @@
|
|
|
10
10
|
* @realm client and menu
|
|
11
11
|
* @source https://wiki.facepunch.com/gmod/DGrid
|
|
12
12
|
*/
|
|
13
|
-
interface DGrid extends Panel {
|
|
14
|
-
|
|
15
|
-
interface DGrid {
|
|
13
|
+
interface DGrid extends Panel {
|
|
16
14
|
/**
|
|
17
15
|
* Adds a new item to the grid.
|
|
18
16
|
* @realm client and menu
|
|
19
17
|
* @source https://wiki.facepunch.com/gmod/DGrid:AddItem
|
|
20
18
|
*/
|
|
21
19
|
AddItem(self: DGrid, item: Panel): void;
|
|
22
|
-
}
|
|
23
20
|
|
|
24
|
-
interface DGrid {
|
|
25
21
|
/**
|
|
26
22
|
* Returns the width of each column of the [DGrid](https://wiki.facepunch.com/gmod/DGrid), which is set by [DGrid:SetColWide](https://wiki.facepunch.com/gmod/DGrid:SetColWide).
|
|
27
23
|
* @realm client and menu
|
|
28
24
|
* @source https://wiki.facepunch.com/gmod/DGrid:GetColWide
|
|
29
25
|
*/
|
|
30
26
|
GetColWide(self: DGrid): number;
|
|
31
|
-
}
|
|
32
27
|
|
|
33
|
-
interface DGrid {
|
|
34
28
|
/**
|
|
35
29
|
* Returns the number of columns of this [DGrid](https://wiki.facepunch.com/gmod/DGrid). Set by [DGrid:SetCols](https://wiki.facepunch.com/gmod/DGrid:SetCols).
|
|
36
30
|
* @realm client and menu
|
|
37
31
|
* @source https://wiki.facepunch.com/gmod/DGrid:GetCols
|
|
38
32
|
*/
|
|
39
33
|
GetCols(self: DGrid): number;
|
|
40
|
-
}
|
|
41
34
|
|
|
42
|
-
interface DGrid {
|
|
43
35
|
/**
|
|
44
36
|
* Returns a list of panels in the grid.
|
|
45
37
|
* @realm client and menu
|
|
46
38
|
* @source https://wiki.facepunch.com/gmod/DGrid:GetItems
|
|
47
39
|
*/
|
|
48
40
|
GetItems(self: DGrid): table;
|
|
49
|
-
}
|
|
50
41
|
|
|
51
|
-
interface DGrid {
|
|
52
42
|
/**
|
|
53
43
|
* Returns the height of each row of the [DGrid](https://wiki.facepunch.com/gmod/DGrid), which is set by [DGrid:SetRowHeight](https://wiki.facepunch.com/gmod/DGrid:SetRowHeight).
|
|
54
44
|
* @realm client and menu
|
|
55
45
|
* @source https://wiki.facepunch.com/gmod/DGrid:GetRowHeight
|
|
56
46
|
*/
|
|
57
47
|
GetRowHeight(self: DGrid): number;
|
|
58
|
-
}
|
|
59
48
|
|
|
60
|
-
interface DGrid {
|
|
61
49
|
/**
|
|
62
50
|
* Removes given panel from the [DGrid:GetItems](https://wiki.facepunch.com/gmod/DGrid:GetItems).
|
|
63
51
|
* @realm client and menu
|
|
64
52
|
* @source https://wiki.facepunch.com/gmod/DGrid:RemoveItem
|
|
65
53
|
*/
|
|
66
54
|
RemoveItem(self: DGrid, item: Panel, bDontDelete?: boolean): void;
|
|
67
|
-
}
|
|
68
55
|
|
|
69
|
-
interface DGrid {
|
|
70
56
|
/**
|
|
71
57
|
* Sets the width of each column.
|
|
72
58
|
*
|
|
@@ -76,9 +62,7 @@ interface DGrid {
|
|
|
76
62
|
* @source https://wiki.facepunch.com/gmod/DGrid:SetColWide
|
|
77
63
|
*/
|
|
78
64
|
SetColWide(self: DGrid, colWidth: number): void;
|
|
79
|
-
}
|
|
80
65
|
|
|
81
|
-
interface DGrid {
|
|
82
66
|
/**
|
|
83
67
|
* Sets the number of columns this panel should have.
|
|
84
68
|
*
|
|
@@ -88,9 +72,7 @@ interface DGrid {
|
|
|
88
72
|
* @source https://wiki.facepunch.com/gmod/DGrid:SetCols
|
|
89
73
|
*/
|
|
90
74
|
SetCols(self: DGrid, cols: number): void;
|
|
91
|
-
}
|
|
92
75
|
|
|
93
|
-
interface DGrid {
|
|
94
76
|
/**
|
|
95
77
|
* Sets the height of each row.
|
|
96
78
|
*
|
|
@@ -100,9 +82,7 @@ interface DGrid {
|
|
|
100
82
|
* @source https://wiki.facepunch.com/gmod/DGrid:SetRowHeight
|
|
101
83
|
*/
|
|
102
84
|
SetRowHeight(self: DGrid, rowHeight: number): void;
|
|
103
|
-
}
|
|
104
85
|
|
|
105
|
-
interface DGrid {
|
|
106
86
|
/**
|
|
107
87
|
* Sorts the items in the grid. Does not visually update the grid, use [Panel:InvalidateLayout](https://wiki.facepunch.com/gmod/Panel:InvalidateLayout) for that.
|
|
108
88
|
* @realm client and menu
|
|
@@ -110,4 +90,3 @@ interface DGrid {
|
|
|
110
90
|
*/
|
|
111
91
|
SortByMember(self: DGrid, key: string, desc?: boolean): void;
|
|
112
92
|
}
|
|
113
|
-
|
|
@@ -5,27 +5,21 @@
|
|
|
5
5
|
* @realm client
|
|
6
6
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider
|
|
7
7
|
*/
|
|
8
|
-
interface DHorizontalDivider extends DPanel {
|
|
9
|
-
|
|
10
|
-
interface DHorizontalDivider {
|
|
8
|
+
interface DHorizontalDivider extends DPanel {
|
|
11
9
|
/**
|
|
12
10
|
* Returns the width of the horizontal divider bar, set by [DHorizontalDivider:SetDividerWidth](https://wiki.facepunch.com/gmod/DHorizontalDivider:SetDividerWidth).
|
|
13
11
|
* @realm client
|
|
14
12
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetDividerWidth
|
|
15
13
|
*/
|
|
16
14
|
GetDividerWidth(self: DHorizontalDivider): number;
|
|
17
|
-
}
|
|
18
15
|
|
|
19
|
-
interface DHorizontalDivider {
|
|
20
16
|
/**
|
|
21
17
|
* Returns whether or not the player is currently dragging the middle divider bar.
|
|
22
18
|
* @realm client
|
|
23
19
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetDragging
|
|
24
20
|
*/
|
|
25
21
|
GetDragging(self: DHorizontalDivider): boolean;
|
|
26
|
-
}
|
|
27
22
|
|
|
28
|
-
interface DHorizontalDivider {
|
|
29
23
|
/**
|
|
30
24
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
31
25
|
*
|
|
@@ -36,72 +30,56 @@ interface DHorizontalDivider {
|
|
|
36
30
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetHoldPos
|
|
37
31
|
*/
|
|
38
32
|
GetHoldPos(self: DHorizontalDivider): number;
|
|
39
|
-
}
|
|
40
33
|
|
|
41
|
-
interface DHorizontalDivider {
|
|
42
34
|
/**
|
|
43
35
|
* Returns the left side content of the [DHorizontalDivider](https://wiki.facepunch.com/gmod/DHorizontalDivider)
|
|
44
36
|
* @realm client
|
|
45
37
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetLeft
|
|
46
38
|
*/
|
|
47
39
|
GetLeft(self: DHorizontalDivider): Panel;
|
|
48
|
-
}
|
|
49
40
|
|
|
50
|
-
interface DHorizontalDivider {
|
|
51
41
|
/**
|
|
52
42
|
* Returns the minimum width of the left side, set by [DHorizontalDivider:SetLeftMin](https://wiki.facepunch.com/gmod/DHorizontalDivider:SetLeftMin).
|
|
53
43
|
* @realm client
|
|
54
44
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetLeftMin
|
|
55
45
|
*/
|
|
56
46
|
GetLeftMin(self: DHorizontalDivider): number;
|
|
57
|
-
}
|
|
58
47
|
|
|
59
|
-
interface DHorizontalDivider {
|
|
60
48
|
/**
|
|
61
49
|
* Returns the current width of the left side, set by [DHorizontalDivider:SetLeftWidth](https://wiki.facepunch.com/gmod/DHorizontalDivider:SetLeftWidth) or by the user.
|
|
62
50
|
* @realm client
|
|
63
51
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetLeftWidth
|
|
64
52
|
*/
|
|
65
53
|
GetLeftWidth(self: DHorizontalDivider): number;
|
|
66
|
-
}
|
|
67
54
|
|
|
68
|
-
interface DHorizontalDivider {
|
|
69
55
|
/**
|
|
70
56
|
* Returns the middle content, set by [DHorizontalDivider:SetMiddle](https://wiki.facepunch.com/gmod/DHorizontalDivider:SetMiddle).
|
|
71
57
|
* @realm client
|
|
72
58
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetMiddle
|
|
73
59
|
*/
|
|
74
60
|
GetMiddle(self: DHorizontalDivider): Panel;
|
|
75
|
-
}
|
|
76
61
|
|
|
77
|
-
interface DHorizontalDivider {
|
|
78
62
|
/**
|
|
79
63
|
* Returns the right side content
|
|
80
64
|
* @realm client
|
|
81
65
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetRight
|
|
82
66
|
*/
|
|
83
67
|
GetRight(self: DHorizontalDivider): Panel;
|
|
84
|
-
}
|
|
85
68
|
|
|
86
|
-
interface DHorizontalDivider {
|
|
87
69
|
/**
|
|
88
70
|
* Returns the minimum width of the right side, set by [DHorizontalDivider:SetRightMin](https://wiki.facepunch.com/gmod/DHorizontalDivider:SetRightMin).
|
|
89
71
|
* @realm client
|
|
90
72
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:GetRightMin
|
|
91
73
|
*/
|
|
92
74
|
GetRightMin(self: DHorizontalDivider): number;
|
|
93
|
-
}
|
|
94
75
|
|
|
95
|
-
interface DHorizontalDivider {
|
|
96
76
|
/**
|
|
97
77
|
* Sets the width of the horizontal divider bar.
|
|
98
78
|
* @realm client
|
|
99
79
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetDividerWidth
|
|
100
80
|
*/
|
|
101
81
|
SetDividerWidth(self: DHorizontalDivider, width: number): void;
|
|
102
|
-
}
|
|
103
82
|
|
|
104
|
-
interface DHorizontalDivider {
|
|
105
83
|
/**
|
|
106
84
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
107
85
|
*
|
|
@@ -112,9 +90,7 @@ interface DHorizontalDivider {
|
|
|
112
90
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetDragging
|
|
113
91
|
*/
|
|
114
92
|
SetDragging(self: DHorizontalDivider, dragonot: boolean): void;
|
|
115
|
-
}
|
|
116
93
|
|
|
117
|
-
interface DHorizontalDivider {
|
|
118
94
|
/**
|
|
119
95
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
120
96
|
*
|
|
@@ -125,27 +101,21 @@ interface DHorizontalDivider {
|
|
|
125
101
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetHoldPos
|
|
126
102
|
*/
|
|
127
103
|
SetHoldPos(self: DHorizontalDivider, x: number): void;
|
|
128
|
-
}
|
|
129
104
|
|
|
130
|
-
interface DHorizontalDivider {
|
|
131
105
|
/**
|
|
132
106
|
* Sets the left side content of the [DHorizontalDivider](https://wiki.facepunch.com/gmod/DHorizontalDivider).
|
|
133
107
|
* @realm client
|
|
134
108
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetLeft
|
|
135
109
|
*/
|
|
136
110
|
SetLeft(self: DHorizontalDivider, pnl: Panel): void;
|
|
137
|
-
}
|
|
138
111
|
|
|
139
|
-
interface DHorizontalDivider {
|
|
140
112
|
/**
|
|
141
113
|
* Sets the minimum width of the left side
|
|
142
114
|
* @realm client
|
|
143
115
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetLeftMin
|
|
144
116
|
*/
|
|
145
117
|
SetLeftMin(self: DHorizontalDivider, minWidth: number): void;
|
|
146
|
-
}
|
|
147
118
|
|
|
148
|
-
interface DHorizontalDivider {
|
|
149
119
|
/**
|
|
150
120
|
* Sets the current/starting width of the left side.
|
|
151
121
|
*
|
|
@@ -155,36 +125,28 @@ interface DHorizontalDivider {
|
|
|
155
125
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetLeftWidth
|
|
156
126
|
*/
|
|
157
127
|
SetLeftWidth(self: DHorizontalDivider, width: number): void;
|
|
158
|
-
}
|
|
159
128
|
|
|
160
|
-
interface DHorizontalDivider {
|
|
161
129
|
/**
|
|
162
130
|
* Sets the middle content, over the draggable divider bar panel.
|
|
163
131
|
* @realm client
|
|
164
132
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetMiddle
|
|
165
133
|
*/
|
|
166
134
|
SetMiddle(self: DHorizontalDivider, middle: Panel): void;
|
|
167
|
-
}
|
|
168
135
|
|
|
169
|
-
interface DHorizontalDivider {
|
|
170
136
|
/**
|
|
171
137
|
* Sets the right side content
|
|
172
138
|
* @realm client
|
|
173
139
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetRight
|
|
174
140
|
*/
|
|
175
141
|
SetRight(self: DHorizontalDivider, pnl: Panel): void;
|
|
176
|
-
}
|
|
177
142
|
|
|
178
|
-
interface DHorizontalDivider {
|
|
179
143
|
/**
|
|
180
144
|
* Sets the minimum width of the right side
|
|
181
145
|
* @realm client
|
|
182
146
|
* @source https://wiki.facepunch.com/gmod/DHorizontalDivider:SetRightMin
|
|
183
147
|
*/
|
|
184
148
|
SetRightMin(self: DHorizontalDivider, minWidth: number): void;
|
|
185
|
-
}
|
|
186
149
|
|
|
187
|
-
interface DHorizontalDivider {
|
|
188
150
|
/**
|
|
189
151
|
* **INTERNAL**: This is used internally - although you're able to use it you probably shouldn't.
|
|
190
152
|
* TODO Document me
|
|
@@ -193,4 +155,3 @@ interface DHorizontalDivider {
|
|
|
193
155
|
*/
|
|
194
156
|
StartGrab(self: DHorizontalDivider): void;
|
|
195
157
|
}
|
|
196
|
-
|