-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the coloring for different system themes
* Use B_LIST_SELECTED_ITEM_TEXT_COLOR when drawing text of a selected item. * When calling GetMutedTint() to draw items of a closed account, it's not OK to check always against B_PANEL_BACKGROUND_COLOR to determine if to lighten or darken. We need to compare to the background colour the text will be drawn on or - vice-versa - the text colour that will be drawn on the background colour. Therefore, we call GetMutedTint() with the colour we want it have compared to. * Added TODO to use Haiku's IsDark() once Haiku Beta 5 is out. * Replace SetHighUIColor() with SetHighColor(), because the former can only deal with the system color_which constants, not rgb_color. * Fixed "No memo" not being drawn tinted in closed accounts.
- Loading branch information
1 parent
349b6d8
commit 03db804
Showing
5 changed files
with
47 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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