Skip to content

Commit

Permalink
DGS Update 3.523
Browse files Browse the repository at this point in the history
## 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](<#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](<#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
  • Loading branch information
thisdp committed Apr 4, 2024
1 parent ced3505 commit a91eaee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meta.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<meta>
<info type="script" name="dgs" description="thisdp's directx graphic user interface system" author="DGS Community" version="3.522" />
<info type="script" name="dgs" description="thisdp's directx graphic user interface system" author="DGS Community" version="3.523" />
<file src="html/media.html" />
<file src="styleManager/styleMapper.lua"/>
<script src="lua.lua" type="server" />
Expand Down
2 changes: 1 addition & 1 deletion update.cfg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.522
3.523

0 comments on commit a91eaee

Please sign in to comment.