Resource:DxGUI
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 all things into your "resources" folder. dxGUI has exported functions, that make scripting GUI cleaner. You can also download the "dxGUI Examples" from the MTA:SA Forums.
Notice
The exported functions has some extra parameters.To see them, you should go to the MTA:SA Forums.
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
Events
- onClientDXClick
- onClientDXDoubleClick
- onClientDXMouseEnter
- onClientDXMouseLeave
- onClientDXChanged
- onClientDXPropertyChange
- onClientDXScroll
- onClientDXSpin
- onClientDXMove
- onClientDXDestroy
- onClientDXDestroyAll
TEST EDIT ASDASDASDASD