Resource:DGS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 44: | Line 44: | ||
* Window (dgs-dxwindow): A window. | * Window (dgs-dxwindow): A window. | ||
='''Client Functions'''= | |||
*dgsGetPosition | *dgsGetPosition | ||
*dgsSetPosition | *dgsSetPosition | ||
Line 73: | Line 73: | ||
*dgsDxGetMouseEnterGUI | *dgsDxGetMouseEnterGUI | ||
=Window= | ==Window== | ||
dgsDxCreateWindow | *dgsDxCreateWindow | ||
dgsDxWindowSetSizable | *dgsDxWindowSetSizable | ||
dgsDxWindowSetMovable | *dgsDxWindowSetMovable | ||
dgsDxGUICloseWindow | *dgsDxGUICloseWindow | ||
=Scroll Pane= | ==Scroll Pane== | ||
dgsDxCreateScrollPane | *dgsDxCreateScrollPane | ||
dgsDxScrollPaneGetScrollBar | *dgsDxScrollPaneGetScrollBar | ||
=Button= | ==Button== | ||
dgsDxCreateButton | *dgsDxCreateButton | ||
=CMD= | ==CMD== | ||
dgsDxCreateCmd | *dgsDxCreateCmd | ||
dgsDxCmdSetMode | *dgsDxCmdSetMode | ||
dgsDxEventCmdSetPreName | *dgsDxEventCmdSetPreName | ||
outputCmdMessage | *outputCmdMessage | ||
dgsGetCmdEdit | *dgsGetCmdEdit | ||
dgsDxCmdAddEventToWhiteList | *dgsDxCmdAddEventToWhiteList | ||
dgsDxCmdRemoveEventFromWhiteList | *dgsDxCmdRemoveEventFromWhiteList | ||
dgsDxCmdRemoveAllEvents | *dgsDxCmdRemoveAllEvents | ||
dgsDxCmdIsInWhiteList | *dgsDxCmdIsInWhiteList | ||
dgsAddCommandHandler | *dgsAddCommandHandler | ||
dgsRemoveCommandHandler | *dgsRemoveCommandHandler | ||
=Edit= | ==Edit== | ||
dgsDxCreateEdit | *dgsDxCreateEdit | ||
dgsDxEditMoveCaret | *dgsDxEditMoveCaret | ||
dgsDxEditGetCaretPosition | *dgsDxEditGetCaretPosition | ||
dgsDxEditSetCaretStyle | *dgsDxEditSetCaretStyle | ||
dgsDxEditSetWhiteList | *dgsDxEditSetWhiteList | ||
dgsDxEditGetMaxLength | *dgsDxEditGetMaxLength | ||
dgsDxEditSetMaxLength | *dgsDxEditSetMaxLength | ||
=Image= | ==Image== | ||
dgsDxCreateImage | *dgsDxCreateImage | ||
dgsDxImageLoadImage | *dgsDxImageLoadImage | ||
=Label= | ==Label== | ||
dgsDxCreateLabel | *dgsDxCreateLabel | ||
Scroll Bar | ==Scroll Bar== | ||
dgsDxCreateScrollBar | *dgsDxCreateScrollBar | ||
dgsDxScrollBarSetScrollBarPosition | *dgsDxScrollBarSetScrollBarPosition | ||
dgsDxScrollBarGetScrollBarPosition | *dgsDxScrollBarGetScrollBarPosition | ||
dgsDxScrollBarSetColor | *dgsDxScrollBarSetColor | ||
Grid List | ==Grid List== | ||
dgsDxCreateGridList | *dgsDxCreateGridList | ||
dgsDxScrollPaneGetScrollBar | *dgsDxScrollPaneGetScrollBar | ||
dgsDxGridListSetColumnRelative | *dgsDxGridListSetColumnRelative | ||
dgsDxGridListGetColumnRelative | *dgsDxGridListGetColumnRelative | ||
dgsDxGridListAddColumn | *dgsDxGridListAddColumn | ||
dgsDxGridListGetColumnCount | *dgsDxGridListGetColumnCount | ||
dgsDxGridListRemoveColumn | *dgsDxGridListRemoveColumn | ||
dgsDxGridListGetColumnAllLength | *dgsDxGridListGetColumnAllLength | ||
dgsDxGridListGetColumnLength | *dgsDxGridListGetColumnLength | ||
dgsDxGridListGetColumnTitle | *dgsDxGridListGetColumnTitle | ||
dgsDxGridListSetColumnTitle | *dgsDxGridListSetColumnTitle | ||
dgsDxGridListAddRow | *dgsDxGridListAddRow | ||
dgsDxGridListRemoveRow | *dgsDxGridListRemoveRow | ||
dgsDxGridListClearRow | *dgsDxGridListClearRow | ||
dgsDxGridListGetRowCount | *dgsDxGridListGetRowCount | ||
dgsDxGridListSetItemText | *dgsDxGridListSetItemText | ||
dgsDxGridListGetItemText | *dgsDxGridListGetItemText | ||
dgsDxGridListGetSelectedItem | *dgsDxGridListGetSelectedItem | ||
dgsDxGridListSetSelectedItem | *dgsDxGridListSetSelectedItem | ||
dgsDxGridListSetItemColor | *dgsDxGridListSetItemColor | ||
dgsDxGridListGetItemColor | *dgsDxGridListGetItemColor | ||
dgsDxGridListGetItemBackGroundImage | *dgsDxGridListGetItemBackGroundImage | ||
dgsDxGridListSetItemBackGroundImage | *dgsDxGridListSetItemBackGroundImage | ||
dgsDxGridListSetRowColor | *dgsDxGridListSetRowColor | ||
dgsDxGridListGetRowColor | *dgsDxGridListGetRowColor | ||
=Client Events= | =Client Events= |
Revision as of 12:37, 31 May 2017
This is a resource designed to allow you create dx gui on the screen instead of the original gui.
Full Name : Thisdp's DX Graphical User Interface System
Author : thisdp
State : OpenSource (WIP)
Features
How it works?
- DGS is just like the original gui system that is based on element system. I use a simple way that can make everyone easier to understand.
- DGS elements are rendered in "onClientRender". There is two or more tables store DGS elements. When "onClientRender" is called, "for" loop will loop and calculate every DGS element.
What's different?
- This resource is based on dx* functions. It allows us to edit our gui and make it customlization.
Update System
- It have an update system that can keep your DGS least.
- Execute "updatedgs" to check the least version and update your DGS.
Debug
- You can enter debug mode by execute the command "debugdgs"
DGS Type
- Button (dgs-dxbutton): A button.
- Command (dgs-dxcmd): A command just like one of windows.
- Cyclehitshape (dgs-dxcyclehitshape): A check area that is cycle.
- Edit (dgs-dxedit): A edit.
- Gridlist (dgs-dxgridlist): A grid list.
- Image (dgs-dximage): A static image.
- Label (dgs-dxlabel): A text label.
- ScrollBar (dgs-dxscrollbar): A scroll bar.
- ScrollPane (dgs-dxscrollpane): A scroll pane.
- Window (dgs-dxwindow): A window.
Client Functions
- dgsGetPosition
- dgsSetPosition
- dgsSetParent
- dgsGetParent
- dgsGetChild
- dgsGetChildren
- dgsGetSize
- dgsSetSize
- dgsGetType
- dgsSetBottom
- dgsDxGUIGetProperty
- dgsDxGUISetProperty
- dgsDxGUIGetVisible
- dgsDxGUISetVisible
- dgsDxGUIGetEnabled
- dgsDxGUISetEnabled
- dgsDxGUIGetSide
- dgsDxGUISetSide
- dgsDxGUIGetAlpha
- dgsDxGUISetAlpha
- dgsDxGUIGetFont
- dgsDxGUISetFont
- dgsDxGUIGetText
- dgsDxGUISetText
- dgsDxGUICreateFont
- dgsDxGUIBringToFront
- dgsDxGetMouseEnterGUI
Window
- dgsDxCreateWindow
- dgsDxWindowSetSizable
- dgsDxWindowSetMovable
- dgsDxGUICloseWindow
Scroll Pane
- dgsDxCreateScrollPane
- dgsDxScrollPaneGetScrollBar
Button
- dgsDxCreateButton
CMD
- dgsDxCreateCmd
- dgsDxCmdSetMode
- dgsDxEventCmdSetPreName
- outputCmdMessage
- dgsGetCmdEdit
- dgsDxCmdAddEventToWhiteList
- dgsDxCmdRemoveEventFromWhiteList
- dgsDxCmdRemoveAllEvents
- dgsDxCmdIsInWhiteList
- dgsAddCommandHandler
- dgsRemoveCommandHandler
Edit
- dgsDxCreateEdit
- dgsDxEditMoveCaret
- dgsDxEditGetCaretPosition
- dgsDxEditSetCaretStyle
- dgsDxEditSetWhiteList
- dgsDxEditGetMaxLength
- dgsDxEditSetMaxLength
Image
- dgsDxCreateImage
- dgsDxImageLoadImage
Label
- dgsDxCreateLabel
Scroll Bar
- dgsDxCreateScrollBar
- dgsDxScrollBarSetScrollBarPosition
- dgsDxScrollBarGetScrollBarPosition
- dgsDxScrollBarSetColor
Grid List
- dgsDxCreateGridList
- dgsDxScrollPaneGetScrollBar
- dgsDxGridListSetColumnRelative
- dgsDxGridListGetColumnRelative
- dgsDxGridListAddColumn
- dgsDxGridListGetColumnCount
- dgsDxGridListRemoveColumn
- dgsDxGridListGetColumnAllLength
- dgsDxGridListGetColumnLength
- dgsDxGridListGetColumnTitle
- dgsDxGridListSetColumnTitle
- dgsDxGridListAddRow
- dgsDxGridListRemoveRow
- dgsDxGridListClearRow
- dgsDxGridListGetRowCount
- dgsDxGridListSetItemText
- dgsDxGridListGetItemText
- dgsDxGridListGetSelectedItem
- dgsDxGridListSetSelectedItem
- dgsDxGridListSetItemColor
- dgsDxGridListGetItemColor
- dgsDxGridListGetItemBackGroundImage
- dgsDxGridListSetItemBackGroundImage
- dgsDxGridListSetRowColor
- dgsDxGridListGetRowColor
Client Events
Last
Welcome everyone else to made suggestions, tested the script, helped me to finish the wiki, etc