User contributions for Thisdp
Jump to navigation
Jump to search
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
- 10:4710:47, 24 December 2022 diff hist +118 Template:DGSFUNCTIONS →SVG
- 10:4610:46, 24 December 2022 diff hist +140 Template:DGSPROPERTIES →Unique Properties current
- 10:4610:46, 24 December 2022 diff hist −71 Resource:DGS No edit summary Tag: Manual revert
- 10:4510:45, 24 December 2022 diff hist −6 Resource:DGS →DGS Basic Element Properties
- 10:4510:45, 24 December 2022 diff hist +77 Resource:DGS →DGS Element Properties
22 December 2022
- 04:3604:36, 22 December 2022 diff hist −2 EngineLoadIMGContainer →Code current
20 December 2022
- 10:1810:18, 20 December 2022 diff hist 0 DgsIsMouseWithinGUI →Example 2 current
- 10:1710:17, 20 December 2022 diff hist +558 DgsIsMouseWithinGUI →Example
- 10:1310:13, 20 December 2022 diff hist +120 DgsIsMouseWithinGUI No edit summary
- 10:1110:11, 20 December 2022 diff hist +49 DgsIsMouseWithinGUI No edit summary
- 07:3707:37, 20 December 2022 diff hist −2 Dgs-dxscrollpane →basePointOffset
7 November 2022
- 12:2912:29, 7 November 2022 diff hist +15 DgsGridListGetSelectedItem →Example
- 12:2812:28, 7 November 2022 diff hist −9 DgsGridListGetSelectedItem →Example
- 12:2812:28, 7 November 2022 diff hist +2 DgsGridListGetSelectedItem →Example
- 12:2812:28, 7 November 2022 diff hist +34 DgsGridListGetSelectedItem →Example
- 12:2712:27, 7 November 2022 diff hist +35 DgsGridListGetSelectedItem No edit summary
6 November 2022
- 02:1002:10, 6 November 2022 diff hist +462 Dgs-dxgridlist No edit summary
3 November 2022
- 15:1215:12, 3 November 2022 diff hist +107 Dgs-dxedit →autoCompleteShow
- 14:2014:20, 3 November 2022 diff hist +478 Dgs-dxscrollpane →moveHardness
- 14:1614:16, 3 November 2022 diff hist +597 Dgs-dxscrollpane →Properties
- 14:1014:10, 3 November 2022 diff hist +317 Dgs-dxgridlist →rowShadow
- 14:0014:00, 3 November 2022 diff hist +1,056 N DgsWindowGetTextSize Created page with "{{Client function}} __NOTOC__ This function retrieves the theoretical width and height (in pixels) of a certain piece of title text of dgs window. ==Syntax== <syntaxhighlight lang="lua"> float, float dgsWindowGetTextSize( element theWindow ) </syntaxhighlight> ===Required Arguments=== *'''theWindow:''' The window of whose text you wish to retrieve the width and height. ===Returns=== Returns two floats representing the width and height of the text in pixels. ==Examp..." current
- 13:5513:55, 3 November 2022 diff hist +1,142 N DgsWindowGetFontHeight Created page with "{{Client function}} __NOTOC__ This function returns the height of the font currently used in title text of a DGS window. ==Syntax== <syntaxhighlight lang="lua"> float dgsWindowGetFontHeight ( element theWindow ) </syntaxhighlight> ===Required Arguments=== *'''theWindow:''' The window to get the font height from. ===Returns=== Returns the absolute height of the font currently used in the window if the function is successful, ''false'' otherwise. ==Example== This ex..." current
- 13:5413:54, 3 November 2022 diff hist −30 DgsWindowGetTextExtent →Example current
- 13:5213:52, 3 November 2022 diff hist +1,129 N DgsButtonGetFontHeight Created page with "{{Client function}} __NOTOC__ This function returns the height of the font currently used in a DGS button. ==Syntax== <syntaxhighlight lang="lua"> float dgsButtonGetFontHeight ( element theButton ) </syntaxhighlight> ===Required Arguments=== *'''theButton:''' The button to get the font height from. ===Returns=== Returns the absolute height of the font currently used in the button if the function is successful, ''false'' otherwise. ==Example== This example creates..." current
- 13:5113:51, 3 November 2022 diff hist +1,138 N DgsButtonGetTextExtent Created page with "{{Client function}} __NOTOC__ This function returns the extent, or width, of the current text inside a DGS button. ==Syntax== <syntaxhighlight lang="lua"> float dgsButtonGetTextExtent ( element theButton ) </syntaxhighlight> ===Required Arguments=== *'''theButton:''' The button to get the text extent from. ===Returns=== Returns the absolute width of the current text inside the button if the function is successful, ''false'' otherwise. ==Example== This example crea..." current
- 13:5013:50, 3 November 2022 diff hist +1,027 N DgsButtonGetTextSize Created page with "{{Client function}} __NOTOC__ This function retrieves the theoretical width and height (in pixels) of a certain piece of text of dgs button. ==Syntax== <syntaxhighlight lang="lua"> float, float dgsButtonGetTextSize( element theButton ) </syntaxhighlight> ===Required Arguments=== *'''theButton:''' The button of whose text you wish to retrieve the width and height. ===Returns=== Returns two floats representing the width and height of the text in pixels. ==Example==..." current