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

Reintroduce native button rendering and CSS system colors after NEW_THEME removal #32

Merged
2 commits merged into from Feb 5, 2024
Merged

Reintroduce native button rendering and CSS system colors after NEW_THEME removal #32

2 commits merged into from Feb 5, 2024

Conversation

ghost
Copy link

@ghost ghost commented Jan 27, 2024

This also adds an implementation to render the spinbuttons Currently there is no api in haiku to let the controllook draw this so this is adapted from AbstractSpinner

This is UNTESTED
My build computer for haikuwebkit doesn't wanna boot.

…HEME removal

This also adds an implementation to render the spinbuttons
Currently there is no api in haiku to let the controllook draw this
so this is adapted from AbstractSpinner
@ghost ghost requested a review from pulkomandy January 27, 2024 16:11
float fgTint;
if (!isEnabled)
fgTint = B_DARKEN_1_TINT;
else if (fIsMouseDown)
Copy link
Author

Choose a reason for hiding this comment

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

else if (states.states().contains(ControlStates::States::Pressed))

@ghost ghost merged commit 50aeb12 into haiku:haiku Feb 5, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant