Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to 1.6 #132

Merged
merged 10 commits into from
Dec 6, 2023
Merged

Upgrade to 1.6 #132

merged 10 commits into from
Dec 6, 2023

Conversation

xLive
Copy link
Collaborator

@xLive xLive commented Dec 6, 2023

To be able to use the latest functions and events of MTA, DGS will no longer support version 1.5 in the upcoming release. This PR removes any old code compatibility with version 1.5. If you are still using version 1.5, we strongly advise you to upgrade to 1.6 as soon as possible.

@xLive xLive merged commit a5f61b2 into master Dec 6, 2023
@xLive xLive deleted the 1.6 branch December 6, 2023 20:48
thisdp added a commit that referenced this pull request Apr 4, 2024
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant