History log of /haiku-fatelf/src/preferences/appearance/ColorWhichItem.cpp
Revision Date Author Comments
# 91c78f09 20-Aug-2012 John Scipione <jscipione@gmail.com>

Create and use new list view item colors

* B_LIST_BACKGROUND_COLOR
* B_LIST_SELECTED_BACKGROUND_COLOR
* B_LIST_ITEM_TEXT_COLOR
* B_LIST_SELECTED_ITEM_TEXT_COLOR


# 2c1f6c10 20-Aug-2012 John Scipione <jscipione@gmail.com>

Update ListItem's to use menu item colors.

* Selected bg uses B_MENU_SELECTED_BACKGROUND_COLOR
* Selected text uses B_MENU_SELECTED_ITEM_TEXT_COLOR
* Unselected text uses B_MENU_ITEM_TEXT_COLOR

Update BStringItem, but also the custom Listitem code in the
Appearance and Locale preflets.


# c3c5b8e8 15-Jul-2012 John Scipione <jscipione@gmail.com>

Update the Color Box border color in Appearance and put a TODO in.


# 20b3f78f 09-Jun-2012 Ryan Leavengood <leavengood@gmail.com>

Draw the chosen color next to the name of system colors.

I copied BStringItem::Draw then modified it. I couldn't find a clean way
of doing it otherwise, since the color box drawing needs to occur between the
selection and text drawing, and the text needs to be offset while the selection
shouldn't be.


# b3c05fb6 06-Sep-2008 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Remember changing the color of an ui_color.
* Simplified code a lot when doing that and removed lots of unused code.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27347 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f6d52cb7 29-Feb-2008 Rene Gollent <anevilyak@gmail.com>

- Added operator = implementation to rgb_color for convenience.
- Major cleanup of Appearance prefs - colors are now dynamically
read from the app_server, and updating them also works, but
triggers a bug: the state of the current window somehow gets
confused, i.e. if I update the panel background color, for some
reason the color of the BButtons in the appearance pref change color
and also the textviews begin misbehaving. Have not yet tracked down
the cause of this, but newly created windows after making the change
do show up with the updated color and behave properly. Also vastly
simplified the pref and cleaned up some obsolete definitions.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24185 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3d5da9f4 30-Oct-2006 DarkWyrm <darkwyrm@gmail.com>

Updated style to come pretty close to matching OT style guidelines


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19158 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a10cf76e 24-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/prefs to "preferences", as the directory is usually called in BeOS.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13263 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 91c78f092f17e1cc233f7f85a075f72b72b3f246 20-Aug-2012 John Scipione <jscipione@gmail.com>

Create and use new list view item colors

* B_LIST_BACKGROUND_COLOR
* B_LIST_SELECTED_BACKGROUND_COLOR
* B_LIST_ITEM_TEXT_COLOR
* B_LIST_SELECTED_ITEM_TEXT_COLOR


# 2c1f6c10cea42833d502ed3e97cae02565d9f885 20-Aug-2012 John Scipione <jscipione@gmail.com>

Update ListItem's to use menu item colors.

* Selected bg uses B_MENU_SELECTED_BACKGROUND_COLOR
* Selected text uses B_MENU_SELECTED_ITEM_TEXT_COLOR
* Unselected text uses B_MENU_ITEM_TEXT_COLOR

Update BStringItem, but also the custom Listitem code in the
Appearance and Locale preflets.


# c3c5b8e8ae931ac99282a2cd84fbb2f563b60d7c 15-Jul-2012 John Scipione <jscipione@gmail.com>

Update the Color Box border color in Appearance and put a TODO in.


# 20b3f78f8d7e5a2df62aa59c7e15bc5ffd7431ab 09-Jun-2012 Ryan Leavengood <leavengood@gmail.com>

Draw the chosen color next to the name of system colors.

I copied BStringItem::Draw then modified it. I couldn't find a clean way
of doing it otherwise, since the color box drawing needs to occur between the
selection and text drawing, and the text needs to be offset while the selection
shouldn't be.


# b3c05fb63ede179668921e618f0ef40c323b128e 06-Sep-2008 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

* Remember changing the color of an ui_color.
* Simplified code a lot when doing that and removed lots of unused code.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27347 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f6d52cb737f40a71b861fbb95d43e5fa04cf4fbc 29-Feb-2008 Rene Gollent <anevilyak@gmail.com>

- Added operator = implementation to rgb_color for convenience.
- Major cleanup of Appearance prefs - colors are now dynamically
read from the app_server, and updating them also works, but
triggers a bug: the state of the current window somehow gets
confused, i.e. if I update the panel background color, for some
reason the color of the BButtons in the appearance pref change color
and also the textviews begin misbehaving. Have not yet tracked down
the cause of this, but newly created windows after making the change
do show up with the updated color and behave properly. Also vastly
simplified the pref and cleaned up some obsolete definitions.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24185 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3d5da9f46c351cbb1c6da355715c4fac0e307a6a 30-Oct-2006 DarkWyrm <darkwyrm@gmail.com>

Updated style to come pretty close to matching OT style guidelines


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19158 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a10cf76ef5b9e8c726ebc47183abd6943023cf8f 24-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed src/prefs to "preferences", as the directory is usually called in BeOS.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13263 a95241bf-73f2-0310-859d-f6bbb57e9c96