Skip to content

DGS Update 3.523 Stable(4/Apr/2024)

Latest
Compare
Choose a tag to compare
@thisdp thisdp released this 26 Apr 15:48
· 15 commits to master since this release

DGS Update 3.523 Stable(4/Apr/2024)

Improved

  1. "shift+tab" can now switch to previous edit
  2. Default font of items of combo box is now following "font" property, instead of remembering old font
  3. Shader default texture is now using DGSBuiltInTex.white_1x1 to eliminate if-condition in shader
  4. Decrease the usage of github api to reduce possibility of api cooling down
  5. Split lua and shader to optimise memory
  6. Make some "set" functions support a table of dgs elements as input element
  7. Rename property "length" -> "cursorLength" of scroll bar
  8. New Settings System: This will replace config.txt with the MTA settings system. Refer to #133 for more information
  9. Add validation for position and size checks for render target elements in relative mode
  10. Upgrade to version 1.6 #132
  11. Add warning for non-existing files in style

Fixed

  1. colorCoded of dgs-dxtab doesn't work
  2. alternative font issue of dgs-dxedit and dgs-dxtab
  3. typo of dgsGradientSetColor
  4. onDgsMouseLeave/Enter isn't triggered when cursor state changes
  5. edit auto complete malfunctions
  6. error when destroying opened combobox
  7. shadow color of icon image pf button @ihaswn

New Properties

  1. property "textPadding" of dgs button

New Elements

  • dgs-dxeffectview
  • dgs-dxquad: Any quadrilateral

New Functions

  • dgsCreateEffectView
  • dgsEffectViewSetEffectShader
  • dgsComboBoxSetScrollBarState
  • dgsComboBoxGetScrollBarState
  • dgsCreateQuad
  • dgsQuadSetVertices
  • dgsQuadGetVertices
  • dgsQuadSetTexture
  • dgsQuadGetTexture
  • dgsQuadSetColor
  • dgsQuadGetColor
  • dgsQuadSetColorOverwritten
  • dgsQuadGetColorOverwritten
  • dgsQuadSetRotation
  • dgsQuadSetRotation
  • dgsQuadSetTextureRotation
  • dgsQuadGetTextureRotation

New Events

  1. onDgsCursorStateChange

Removed

  1. file security check (using MTA official fileGetContents)
  2. element keeper