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

GH-59 Support border/corner radius & gradient title bars #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Naros
Copy link
Member

@Naros Naros commented Jan 6, 2024

Fixes #59

@Naros Naros added this to the 2.0 milestone Jan 6, 2024

Ref<StyleBoxTexture> titlebar_tex(memnew(StyleBoxTexture));
titlebar_tex->set_texture(texture);
titlebar_tex->set_modulate(p_color);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than apply the color on the modulate function, we should apply that to override the white component in the above PackedColorsArray. Additionally, the user should be able to supply a secondary Gradient color in the settings that would effectively replace the black. By default, the second color would be #000000.

@Naros Naros modified the milestones: 2.0, 2.1 Mar 30, 2024
@Naros Naros added cherrypick:2.0 Requires cherry-pick to Orchestrator 2.0 and removed cherrypick:2.0 Requires cherry-pick to Orchestrator 2.0 labels Mar 30, 2024
@Naros Naros removed this from the 2.1 milestone Jul 14, 2024
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.

Visual Improvements - Border/Corner Radius & Gradient Titlebars
1 participant