Resource:DxGUI: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Resource page}} | {{Resource page}} | ||
'''Current Version: 1. | '''Current Version: 1.4.0''' | ||
This page lists all the dxGUI framework functions and events. This will only work with [http://community.mtasa.com/index.php?p=resources&s=details&id=4871 this resource.] | This page lists all the dxGUI framework functions and events. This will only work with [http://community.mtasa.com/index.php?p=resources&s=details&id=4871 this resource.] |
Revision as of 21:42, 14 June 2012
Current Version: 1.4.0
This page lists all the dxGUI framework functions and events. This will only work with this resource.
This system is created by Skyline (a.k.a laserlaser)
dxGUI was made to create an enhanced, extensible user interface whilst keeping it user friendly. The GUI can also be designed with skins to make sure your users get the best content and design in your server.
Installation
The installation is pretty simple. All you need to do is copy and paste the folder "dxGUI/" into your resource which you want to use this custom GUI in. Then just copy the lines from "meta.xml" into your meta.xml. dxGUI is not actually a resource that has exported functions, it just includes all the classes that make scripting GUI cleaner.
You can also start this resource and uncomment some examples which are located in "dxGUIDemo.lua" to test it.
GUI Functions
- dxCreateRootPane
- dxGetRootPane
- dxRefreshThemes
- dxGetTheme
- dxGetDefaultTheme
- dxGetPosition
- dxGetSize
- dxGetVisible
- dxGetElementTheme
- dxGetFont
- dxGetColor
- dxGetColorCoded
- dxGetText
- dxGetAlpha
- dxSetPosition
- dxSetSize
- dxSetVisible
- dxSetElementTheme
- dxSetFont
- dxSetColor
- dxSetColorCoded
- dxSetText
- dxSetAlpha
- dxMove
- dxRefreshStates
- dxRefreshClickStates
- guiAttachToDirectX
- dxGetAlwaysOnTop
- dxSetAlwaysOnTop
- dxGetZOrder
- dxSetZOrder
- dxBringToFront
- dxMoveToBack
- dxDestroyElement
- dxDestroyElements
Buttons
Checkboxes
Labels
- dxCreateLabel
- dxLabelGetScale
- dxLabelGetHorizontalAlign
- dxLabelGetVerticalAlign
- dxLabelSetScale
- dxLabelSetHorizontalAlign
- dxLabelSetVerticalAlign
- dxLabelRender
Progressbars
- dxCreateProgressBar
- dxProgressBarGetProgress
- dxProgressBarGetProgressPercent
- dxProgressBarGetMaxProgress
- dxProgressBarSetProgress
- dxProgressBarSetProgressPercent
- dxProgressBarSetMaxProgress
- dxProgressBarRender
Radio buttons
- dxCreateRadioButton
- dxRadioButtonGetSelected
- dxRadioButtonGetGroup
- dxRadioButtonSetSelected
- dxRadioButtonSetGroup
- dxRadioButtonRender
Scrollbars
- dxCreateScrollBar
- dxScrollBarGetProgress
- dxScrollBarGetProgressPercent
- dxScrollBarGetMaxProgress
- dxScrollBarSetProgress
- dxScrollBarSetProgressPercent
- dxScrollBarSetMaxProgress
- dxScrollBarRender
Spinners
- dxCreateSpinner
- dxSpinnerGetPosition
- dxSpinnerGetMin
- dxSpinnerGetMin
- dxSpinnerSetPosition
- dxSpinnerSetMin
- dxSpinnerSetMin
- dxSpinnerRender
Static Images
- dxCreateStaticImage
- dxCreateStaticImageSection
- dxStaticImageGetLoadedImage
- dxStaticImageGetSection
- dxStaticImageGetRotation
- dxStaticImageLoadImage
- dxStaticImageSetSection
- dxStaticImageSetRotation
- dxStaticImageRender
Windows
- dxCreateWindow
- dxWindowGetTitlePosition
- dxWindowGetMovable
- dxWindowIsMoving
- dxWindowGetTitleVisible
- dxWindowSetTitlePosition
- dxWindowSetMovable
- dxWindowGetTitleVisible
- dxWindowGetPostGUI
- dxWindowSetPostGUI
- dxWindowRender
- dxWindowMoveControl
- dxWindowComponentRender
Listboxes
- dxCreateList
- dxListClear
- dxListGetSelectedItem
- dxListSetSelectedItem
- dxListGetItemCount
- dxListRemoveRow
- dxListAddRow
- dxListSetTitleShow
- dxListGetTitleShow
- dxListSetVisible
- dxListGetVisible
- dxListRender