feat: add window effect support for treeland platform#394
Open
18202781743 wants to merge 1 commit into
Open
Conversation
Implement WindowEffect feature that allows disabling window border and shadow based on parameter values: 0 disables, -1 enables defaults. This extends the window effect enum to control individual visual elements like border radius, shadow, and border visibility. Log: Added window effect control for border and shadow settings Influence: 1. Test setting window effect to 0 to verify border and shadow are disabled 2. Test setting window effect to -1 to verify defaults are used 3. Test individual effect flags (NoRadius, NoShadow, NoBorder) independently 4. Verify window appearance changes correctly when effects are modified 5. Test multiple platforms to ensure treeland-specific behavior doesn't affect others feat: 为 treeland 平台添加窗口效果支持 实现 WindowEffect 功能,根据参数值控制是否禁用窗口边框和阴影:0表示禁 用,-1表示使用默认值。通过扩展效果枚举,可单独控制圆角半径、阴影和边框等 视觉元素的可见性。 Log: 新增窗口边框和阴影效果控制功能 Influence: 1. 测试将窗口效果设为0,验证边框和阴影是否被禁用 2. 测试将窗口效果设为-1,验证是否使用默认值 3. 单独测试各个效果标志(无圆角、无阴影、无边框)的功能 4. 验证修改效果后窗口外观是否正确变化 5. 测试多个平台以确保treeland专有行为不影响其他平台
There was a problem hiding this comment.
Sorry @18202781743, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement WindowEffect feature that allows disabling window border and
shadow based on parameter values: 0 disables, -1 enables defaults. This
extends the window effect enum to control individual visual elements
like border radius, shadow, and border visibility.
Log: Added window effect control for border and shadow settings
Influence:
disabled
independently
affect others
feat: 为 treeland 平台添加窗口效果支持
实现 WindowEffect 功能,根据参数值控制是否禁用窗口边框和阴影:0表示禁
用,-1表示使用默认值。通过扩展效果枚举,可单独控制圆角半径、阴影和边框等
视觉元素的可见性。
Log: 新增窗口边框和阴影效果控制功能
Influence: