DGS Updates Log: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 21: Line 21:
10. Added: dgs-dxselector:
10. Added: dgs-dxselector:


  Added Function:dgsCreateSelector
*Added Function:dgsCreateSelector


  Added Function:dgsSelectorAddItem
*Added Function:dgsSelectorAddItem


  Added Function:dgsSelectorRemoveItem
*Added Function:dgsSelectorRemoveItem


  Added Function:dgsSelectorSetSelectedItem
*Added Function:dgsSelectorSetSelectedItem


  Added Function:dgsSelectorGetSelectedItem
*Added Function:dgsSelectorGetSelectedItem


  Added Function:dgsSelectorGetItemText
*Added Function:dgsSelectorGetItemText


  Added Function:dgsSelectorSetItemText
*Added Function:dgsSelectorSetItemText


  Added Function:dgsSelectorSetItemData
*Added Function:dgsSelectorSetItemData


  Added Function:dgsSelectorGetItemData
*Added Function:dgsSelectorGetItemData


11. Fixed: selection index keeps 0 when selecting line of dgs memo is below 1
11. Fixed: selection index keeps 0 when selecting line of dgs memo is below 1

Revision as of 08:44, 11 August 2020

DGS Update 3.503 Stable(10/Aug/2020)

1. Changed: remove OOP Class, add Class Library (from scratch). This will make class readable enough to make further development.

2. Added Function: dgsIsMouseWithinGUI

3. Added Function: dgsGridListGetColumnTextSize

4. Added Function: dgsGridListSetColumnTextSize

5. Added Function: dgsGridListSetItemFont

6. Added Function: dgsGridListGetItemFont

7. Added Function: dgsGridListSetItemTextSize

8. Added Function: dgsGridListGetItemTextSize

9. Fixed: error when creating tab panel

10. Added: dgs-dxselector:

  • Added Function:dgsCreateSelector
  • Added Function:dgsSelectorAddItem
  • Added Function:dgsSelectorRemoveItem
  • Added Function:dgsSelectorSetSelectedItem
  • Added Function:dgsSelectorGetSelectedItem
  • Added Function:dgsSelectorGetItemText
  • Added Function:dgsSelectorSetItemText
  • Added Function:dgsSelectorSetItemData
  • Added Function:dgsSelectorGetItemData

11. Fixed: selection index keeps 0 when selecting line of dgs memo is below 1

12. Fixed: Error when resizing scroll pane

13. Fixed: Dimension for 3d text (xLive)

14. Fixed: destroy function is broken in OOP

15. Changed: DoubleClick.Interval change from 500 to 250

16. Fixed: Error when using some functions of grid list with G2D Hooker

17. Fixed: Some typo

18. Fixed: Error when using dgsSelectorSet/GetItemData

19. Fixed: Wrong behavior of dgsGetEnabled/dgsGetVisible

20. Fixed: C Stack Overflow of dgs importer

21. Fixed: Wrong behavior of HLDisk color picker

22. Added Event: onDgsSelectorSelect

DGS Update 3.502 Stable(05/Jun/2020)

1. Fixed: memory leak of memo

2. Optimized:

  • dgsGridListAddRow: 1.6x faster
  • dgsGridListAddColumn: 1.5x faster
  • dgsGridListSetItemText: 3.6x faster
  • Speed Up the handler of onDestroy

3. Added: dgsAttachToGridList

4. Added: dgsDetachFromGridList

5. Fixed: destroy color picker will cause error when updating bound component selector

6. Fixed: isReversed for component selector is buggy

7. Fixed: OOP Position/Size method is buggy

8. Fixed: OOP getProperties returns an empty table

9. Optimize: DGS folder structure optimization

DGS Update 3.501 Stable(20/May/2020)

1. Added Property: iconImage/iconColor/iconDirection/iconSize/iconOffset for dgs button

2. Fixed: Error when set progress of progress bar

3. Fixed: Wrong function name in meta.xml (dgsMemoSet/GetWordWrap)

4. Fixed: Area extend/reduce problem of scroll pane

5. Added: Performance browser in cmd

6. Fixed: Duplicated references to external resource can not be cleared after destroying the dgs element

7. Added: Smooth moving of scroll pane/grid list/combo box. Property: moveHardness

8. Fixed: arrow_up and arrow_down can select section

9. Added Function: dgsGridListGetRowSelectable

10. Added Function: dgsGridListSetRowSelectable

11. Added Function: dgsGridListGetRowHoverable

12. Added Function: dgsGridListSetRowHoverable

13. Added Function: dgsGridListGetItemSelectable

14. Added Function: dgsGridListSetItemSelectable

15. Added Function: dgsGridListGetItemHoverable

16. Added Function: dgsGridListSetItemHoverable

17. Changed: default "normal" style of progress bar has changed into "normal-horizontal"

18. Added: "normal-vertical" style for progress bar

19. Added: table can be accepted by indicatorColor/indicatorImage now

20. Added Property: troughClickAction for scroll bar

  • none — same as at the moment
  • step — similar to page up/page down
  • jump — jump at the clicked position

21. Fixed: Wrong algorithm of "map" property of progress bar

DGS Update 3.5 Beta(13/May/2020)

0. Code Clean Up: Deleted unused files

1. Fixed: Indicator of progress bar exists even progress is 0

2. Fixed: Wrong return value of dgsComboBoxGetEditEnabled

3. Fixed: Wrong effect of dgsAttachElements

4. Added: assert for "dgsRoundRectSetBorderThickness" when using a round rectangle without "borderOnly"

5. Fixed: Missing add event of "onDgsQRCodeLoad"

6. Changed: Argument of dgsAttachElements, see wiki

7. Fixed: underline for dgs edit

8. Changed: Property textImageSpace -> textPadding. textImageSpace is hard to understand

9. Extend: Usage of property "filter" of scroll pane

10. Added Property: subPixelPositioning for label

11. Added: position/size interface for DGS OOP

12. Changed: dgs oop create function: Window -> dgsWindow

13. Fixed: Wrong selecting result of dgs edit when using masked & horizontal alignment

14. Added: Parent List in /debugdgs 2

15. Removed: dgs-dxeda

16. Added: built-in function for detect area (include circle detect area, which was dgs-dxeda's function)

17. Fixed: render issue for scroll pane.

18. Fixed: DGS translation typo.

19. Added Function: dgs3DTextSetPosition

20. Added Function: dgs3DTextSetPosition

21. DGS OOP Class Structure Optimization.

22. Remove: dgs-arrowlist

23. Added: OOP functions for 3d text

24. Added: resourceRoot,root,dgsRoot OOP Variable

25. BlurBox Rework:

  • Added Function:dgsBlurBoxSetResolution
  • Added Function:dgsBlurBoxSetIntensity
  • Added Function:dgsBlurBoxSetLevel
  • Added Function:dgsBlurBoxGetResolution
  • Added Function:dgsBlurBoxGetLevel
  • Added Function:dgsBlurBoxGetIntensity

26. Fixed: Wrong mouse detect on 3d interface

27. Improved: Debug message on failed to create render target

28. Fixed: Grid list render issue

29. Added: padding for memo

30. DGS Renderer has been rewritten, all renderers are split into pieces, which allows you to override renderer of dgs element. This need be tested for a long time.

31. Fixed: Alpha problem of grid list/scroll pane's scroll bar.