User contributions for Thisdp
Jump to navigation
Jump to search
10 January 2023
- 12:0212:02, 10 January 2023 diff hist +914 N DgsLineGetItemColor Created page with "__NOTOC__ {{Client function}} This function gets the color of an item of DGS Line. ==Syntax== <syntaxhighlight lang="lua"> int dgsLineSetItemColor( element line, int index ) </syntaxhighlight> ===Required Arguments=== *'''line''': The DGS Line. *'''index''': The item index. ===Returns=== Returns an ''integer'' indicates the color of the item if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local line = DGS:dgsCreate..."
- 12:0012:00, 10 January 2023 diff hist +982 N Dgs3DLineGetItemWidth Created page with "__NOTOC__ {{Client function}} This function gets the width of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> bool dgs3DLineGetItemWidth( element line3D, int index ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line. *'''index''': The item index of DGS 3D Line. ===Returns=== Returns an ''float'' indicates the width of the item if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = ex..." current
- 11:5911:59, 10 January 2023 diff hist −12 Dgs3DLineGetItemColor No edit summary
- 11:5911:59, 10 January 2023 diff hist +984 N Dgs3DLineSetItemWidth Created page with "__NOTOC__ {{Client function}} This function sets the width of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> bool dgs3DLineSetItemWidth( element line3D, int index, float width ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line element. *'''index''': The item index of DGS 3D Line. *'''width :''' A float of the width of the item. ===Returns=== Returns ''true'' if successful, ''false'' otherwise. ==Example== <sy..." current
- 11:5511:55, 10 January 2023 diff hist −8 Dgs3DLineRemoveItem No edit summary current
- 11:5511:55, 10 January 2023 diff hist −8 Dgs3DLineAddItem No edit summary current
- 11:5511:55, 10 January 2023 diff hist −8 Dgs3DLineSetItemPosition →Required Arguments
- 11:5511:55, 10 January 2023 diff hist −8 Dgs3DLineGetItemPosition →Required Arguments
- 11:5411:54, 10 January 2023 diff hist +169 Dgs3DLineGetItemPosition No edit summary
- 11:5411:54, 10 January 2023 diff hist +169 Dgs3DLineSetItemPosition No edit summary
- 11:5311:53, 10 January 2023 diff hist +1,025 N Dgs3DLineGetItemColor Created page with "__NOTOC__ {{Client function}} This function gets the color of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> bool dgs3DLineSetItemColor( element line3D, int index, int color ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line. *'''index''': The item index of DGS 3D Line. ===Returns=== Returns an ''integer'' indicates the color of the item if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="l..."
- 11:5311:53, 10 January 2023 diff hist +209 Dgs3DLineSetItemColor No edit summary current
- 11:5011:50, 10 January 2023 diff hist +946 N Dgs3DLineSetItemColor Created page with "__NOTOC__ {{Client function}} This function sets the color of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> bool dgs3DLineSetItemColor( element line3D, int index, int color ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line element. *'''index''': The item index of DGS 3D Line. *'''color:''' An integer of color (0-4294967295), use tocolor for converting RGBA to color number. If not set, default color of DG..."
- 11:4811:48, 10 January 2023 diff hist −2 Dgs3DLineGetItemPosition No edit summary
- 11:4811:48, 10 January 2023 diff hist −1 Dgs3DLineSetItemPosition No edit summary
- 11:4711:47, 10 January 2023 diff hist +1,035 N Dgs3DLineSetItemPosition Created page with "__NOTOC__ {{Client function}} This function sets the position of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> bool dgs3DLineSetItemPosition( element line3D , int index, float x, float y, float z ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line element. *'''index''': The item index of DGS 3D Line. *'''x:''' A float of the 3D x position of the item of DGS 3D Line in the world. *'''y:''' A float of the 3D y pos..."
- 11:4111:41, 10 January 2023 diff hist +868 N Dgs3DLineGetItemPosition Created page with "__NOTOC__ {{Client function}} This function gets the position of the specified item of DGS 3D Line. ==Syntax== <syntaxhighlight lang="lua"> float, float, float dgs3DLineGetItemPosition( element line3D , int index ) </syntaxhighlight> ===Required Arguments=== *'''line3D''': The DGS 3D Line element. *'''index ''': The item index of DGS 3D Line. ===Returns=== Returns 3 ''float''s indicates x, y and z coordinates of the item, ''false'' otherwise. ==Example== <syntax..."
- 11:3111:31, 10 January 2023 diff hist +52 Template:DGS 3D Line Functions No edit summary current
9 January 2023
- 15:1115:11, 9 January 2023 diff hist +24 DgsCreate3DLine No edit summary current
- 15:0215:02, 9 January 2023 diff hist +2,014 DGS Updates Log No edit summary
- 15:0015:00, 9 January 2023 diff hist 0 Resource:DGS No edit summary
8 January 2023
- 04:5604:56, 8 January 2023 diff hist −3 DgsGetCursorPosition →Required Arguments current Tag: Manual revert
- 04:5604:56, 8 January 2023 diff hist +3 DgsGetCursorPosition →Required Arguments
- 04:5504:55, 8 January 2023 diff hist +17 DgsGetCursorPosition →Returns
- 04:5304:53, 8 January 2023 diff hist +4 DgsGetCursorPosition →Returns
- 04:5304:53, 8 January 2023 diff hist +14 DgsGetCursorPosition →Returns
- 04:5104:51, 8 January 2023 diff hist +191 DgsGetCursorPosition →Syntax
24 December 2022
- 11:2811:28, 24 December 2022 diff hist 0 DgsSetMouseStayDelay →Example current
- 11:2811:28, 24 December 2022 diff hist −1 DgsSetMultiClickInterval →Example current
- 11:2811:28, 24 December 2022 diff hist +216 DgsSetMultiClickInterval No edit summary
- 11:2711:27, 24 December 2022 diff hist +940 N DgsSetMouseStayDelay Created page with "{{Client function}} __NOTOC__ This function sets the delay time that from mouse stops moving and cursor stays at a DGS element to onDgsMouseStay event triggers. ==Syntax== <syntaxhighlight lang="lua"> bool dgsSetMouseStayDelay( int interval ) </syntaxhighlight> ===Required Arguments=== *'''delay:''' An int of the delay time. ===Returns=== Returns ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs DGS:dgsSetMou..."
- 11:2511:25, 24 December 2022 diff hist −15 DgsGetMouseStayDelay No edit summary current
- 11:2411:24, 24 December 2022 diff hist +739 N DgsGetMouseStayDelay Created page with "{{Client function}} __NOTOC__ This function gets the delay time that from mouse stops moving and cursor stays at a DGS element to onDgsMouseStay event triggers. ==Syntax== <syntaxhighlight lang="lua"> int dgsGetMouseStayDelay( ) </syntaxhighlight> ===Returns=== Returns a ''integer'' indicates the delay of staying of mouse. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local interval = DGS:dgsGetMouseStayDelay() outputChatBox(interval) </syntaxhighli..."
- 11:2011:20, 24 December 2022 diff hist +52 Template:DGS General Functions No edit summary
- 11:1811:18, 24 December 2022 diff hist −45 DgsTooltipRemoveFrom No edit summary current
- 11:1811:18, 24 December 2022 diff hist +760 N DgsTooltipRemoveFrom Created page with "__NOTOC__ {{Client function}} This function removes tooltip from a DGS element. ==Syntax== <syntaxhighlight lang="lua"> bool dgsTooltipRemoveFrom( element targetElement ) </syntaxhighlight> thumb|example ===Required Arguments=== *'''targetElement:''' A DGS element that you want to remove the tooltip from. ===Returns=== Returns ''true'' if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --..."
- 11:1711:17, 24 December 2022 diff hist +12 DgsCreateToolTip No edit summary current
- 11:1711:17, 24 December 2022 diff hist −33 DgsTooltipApplyTo No edit summary current
- 11:1611:16, 24 December 2022 diff hist +204 DgsTooltipApplyTo No edit summary
- 11:1011:10, 24 December 2022 diff hist +994 N DgsCreateToolTip Created page with "__NOTOC__ {{Client function}} This function creates a tooltip as template that can be applied to any DGS elements. ==Syntax== <syntaxhighlight lang="lua"> element dgsCreateToolTip( [ int textColor = 0xFFFFFFFF, int bgColor = 0x80000000, texture bgImage = nil ] ) </syntaxhighlight> thumb|example ===Optional Arguments=== *'''textColor :''' An integer of the color of the text of the tooltip. *'''bgColor:''' An integer of the background c..."
- 11:0911:09, 24 December 2022 diff hist 0 N File:DGSTooltipExample.png No edit summary current
- 11:0811:08, 24 December 2022 diff hist +9 DgsTooltipApplyTo No edit summary
- 11:0811:08, 24 December 2022 diff hist +986 N DgsTooltipApplyTo Created page with "__NOTOC__ {{Client function}} This function creates a tooltip as template that can be applied to any DGS elements. ==Syntax== <syntaxhighlight lang="lua"> element dgsTooltipApplyTo( [ int textColor = 0xFFFFFFFF, int bgColor = 0x80000000, texture bgImage = nil ] ) </syntaxhighlight> thumb|example ===Optional Arguments=== *'''textColor :''' An integer of the color of the text of the tooltip. *'''bgColor:''' An integer of the background color of..."
- 11:0111:01, 24 December 2022 diff hist +13 OnDgsMouseStay No edit summary current
- 11:0111:01, 24 December 2022 diff hist +1,032 N OnDgsMouseStay Created page with "{{Client event}} __NOTOC__ This event is fired when the cursor first stays at a DGS element without moving. ==Parameters== <syntaxhighlight lang="lua"> int absoluteX, int absoluteY, element leftGUI </syntaxhighlight> * '''absoluteX''': the X position of the mouse cursor, in pixels, measured from the left side of the screen. * '''absoluteY''': the Y position of the mouse cursor, in pixels, measured from the top of the screen. ==Source== The event system#Event sour..."
- 10:5510:55, 24 December 2022 diff hist +2,393 N OnDgsMouseDoubleClickDown Created page with "{{Client event}} __NOTOC__ This event will be fired when double clicking on any dgs element but detects clicking down (Mouse press). {{Note|This event will not trigger when onDgsMouseClick is cancelled.}} ==Parameters== <syntaxhighlight lang="lua"> string button, string state, int absoluteX, int absoluteY, bool isCoolingDown </syntaxhighlight> *'''button''': the name of the button which will be clicked , it can be ''left'', ''right'', ''middle''. *'''state''': a s..." current
- 10:5510:55, 24 December 2022 diff hist −3 OnDgsMouseDoubleClickUp No edit summary current
- 10:5410:54, 24 December 2022 diff hist +2,385 N OnDgsMouseDoubleClickUp Created page with "{{Client event}} __NOTOC__ This event will be fired when double clicking on any dgs element but detects clicking up (Mouse release). {{Note|This event will not trigger when onDgsMouseClick is cancelled.}} ==Parameters== <syntaxhighlight lang="lua"> string button, string state, int absoluteX, int absoluteY, bool isCoolingDown </syntaxhighlight> *'''button''': the name of the button which will be clicked , it can be ''left'', ''right'', ''middle''. *'''state''': a s..."
- 10:5010:50, 24 December 2022 diff hist +20 Template:DGS Events/Mouse No edit summary current
- 10:4910:49, 24 December 2022 diff hist +71 N Template:DGS Plugin/Tooltips Created page with " *dgsCreateToolTip *dgsTooltipApplyTo *dgsTooltipRemoveFrom" current