#
7f9368ca |
|
09-Dec-2015 |
looncraz <looncraz@looncraz.net> |
Set*UIColor, etc. The inseparable changes necessary to support live color updating across the system in a sane, safe, and performant manner. BView gains: HasSystemColors() HasDefaultColors() AdoptSystemColors() AdoptParentColors() AdoptViewColor(BView*) SetViewUIColor(color_which, float tint) SetHighUIColor(... SetLowUIColor(... ViewUIColor(float* tint) HighUIColor(... LowUIColor(... DelayedInvalidate() BWindow gains a simple helper method: IsOffscreenWindow() BMessage gains: AddColor() FindColor() GetColor() HasColor() * allegedly this API is deprecated, but I implemented it anyway ReplaceColor() SetColor() Previous private ColorTools methods are made public and moved into GraphicsDefs: mix_color, blend_color, disable_color These are fully compatible with BeOS dan0 R5.1 methods and are just code cleanup of BeOS example code under the OpenTracker license. In addition, four new colors are created: B_LINK_TEXT_COLOR B_LINK_HOVER_COLOR B_LINK_ACTIVE_COLOR B_LINK_VISITED_COLOR These changes are documented in their proper user documentation files. In addition, due to a history rewrite, B_FOLLOW_LEFT_TOP has been defined and used in lieu of B_FOLLOW_TOP | B_FOLLOW_LEFT and is included in this commit. On the app_server side, the following has changed: Add DelayedMessage - a system by which messages can be sent at a scheduled time, and can also be merged according to set rules. A single thread is used to service the message queue and multiple recipients can be set for each message. Desktop gains the ability to add message ports to a DelayedMessage so that said messages can target either all applications or all windows, as needed. Desktop maintains a BMessage which is used to queue up all pending color changes and the delayed messaging system is used to enact these changes after a short period of time has passed. This prevents abuse and allows the system to merge repeated set_ui_color events into one event for client applications, improving performance drastically. In addition, B_COLORS_UPDATED is sent to the BApplication, which forwards the message to each BWindow. This is done to improve performance over having the app_server independently informing each window. Decorator changes are live now, which required some reworking. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
df459da6 |
|
15-Jul-2015 |
Rene Gollent <rene@gollent.com> |
{Tree,Table}: Add cell rect accessor. BColumnListView: - Add helper method for getting the visible rect of a given field. Refactor SuggestTextPosition to use it. {Tree,Table}: - Add wrapper to retrieve table cell rect using the aforementioned BCLV helper.
|
#
85b350ed |
|
05-Apr-2015 |
Janus <janus2@ymail.com> |
BColumnListView: BRow height is proportional to font size. * Add a BRow default constructor that use font size to compute height. * Min height size for Title and Row are decoupled. * The font ratio for Title and Row are decoupled. * For small font use min height (set to usual 16.0). * Better baseline formula. * Fixes #11944.
|
#
ed6f171a |
|
16-Sep-2013 |
Stephan Aßmus <superstippi@gmx.de> |
BColumnListView: Enable invalidating rows, fix SetField() * Seems like there was no easy way to simply invalidate a given BRow. Introduced BColumnListView::InvalidateRow(). * BRow::SetField() tried to invalidate the row, but invalidated the listview instead of the BOutlineView responsible for drawing the list contents. Use the new InvaalidateRow().
|
#
bdd7ba66 |
|
16-Sep-2013 |
Stephan Aßmus <superstippi@gmx.de> |
BColumnListView: Enable invalidating rows, fix SetField() * Seems like there was no easy way to simply invalidate a given BRow. Introduced BColumnListView::InvalidateRow(). * BRow::SetField() tried to invalidate the row, but invalidated the listview instead of the BOutlineView responsible for drawing the list contents. Use the new InvaalidateRow().
|
#
49126a0e |
|
03-Jan-2013 |
Tri-Edge AI <triedgeai@gmail.com> |
Added ResourceEdit and modified BColumnListView, BRow and BMenu. Signed-off-by: Matt Madia <mattmadia@gmail.com>
|
#
902a98ad |
|
20-Jul-2012 |
Rene Gollent <anevilyak@gmail.com> |
Fix #8753. - Store whether or not the use of the horizontal scrollbar is desired on the class itself. If the CLV was set to use the horizontal scrollbar, and then asked to lay itself out while hidden, it would incorrectly assume the horizontal scrollbar wasn't in use, and consequently repositioned its views such that the horizontal scrollbar and outline view overlapped.
|
#
61eb1f1d |
|
22-Oct-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Replace remaining InvalidateLayout()'s with LayoutInvalidated(). Also do a bit of cleanup/move methods around.
|
#
2fc49d9b |
|
14-Oct-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added ColumnAt(BPoint) version. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33587 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9b37feb4 |
|
31-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Some methods were unnecessarily/inconveniently protected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32860 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d571c583 |
|
09-May-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced methods ResizeColumnToPreferred() and ResizeAllColumnsToPreferred(). * Automatic white space cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30683 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bfc1a92f |
|
31-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Make BColumnListView layout-friendly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29848 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
827c6cd4 |
|
31-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Sorry, should have been part of last commit. Fixes the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29842 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6104360c |
|
31-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Header indentation and *-style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29835 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
432bac0e |
|
01-Feb-2009 |
Rene Gollent <anevilyak@gmail.com> |
BColumnListView was hiding BView::ScrollTo(BPoint), due to its own child variant ScrollTo(BRow *). Fixed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29126 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2c558054 |
|
29-Oct-2008 |
Jérôme Duval <korli@users.berlios.de> |
supports double clicking column title separator to preferred column size git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28371 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
896d01df |
|
06-Jun-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Removed trailing white space. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25837 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5c99440e |
|
16-Sep-2004 |
Jérôme Duval <korli@users.berlios.de> |
Added ColorTools and ColumnListView from Vision cvs repository (ColorTools.h : 1.2, ColorTools.cpp : 1.4, ColumnListView.h : 1.13, ColumnListView.cpp : 1.3) Original code from OpenTracker git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8984 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
df459da6ed9a147f1c3fb2ca70429ee20c2d1058 |
|
15-Jul-2015 |
Rene Gollent <rene@gollent.com> |
{Tree,Table}: Add cell rect accessor. BColumnListView: - Add helper method for getting the visible rect of a given field. Refactor SuggestTextPosition to use it. {Tree,Table}: - Add wrapper to retrieve table cell rect using the aforementioned BCLV helper.
|
#
85b350edda4aeadaf382acefd349b13737a4df5d |
|
05-Apr-2015 |
Janus <janus2@ymail.com> |
BColumnListView: BRow height is proportional to font size. * Add a BRow default constructor that use font size to compute height. * Min height size for Title and Row are decoupled. * The font ratio for Title and Row are decoupled. * For small font use min height (set to usual 16.0). * Better baseline formula. * Fixes #11944.
|
#
ed6f171aa6886208a0a2f2e695fbee97133ca3aa |
|
16-Sep-2013 |
Stephan Aßmus <superstippi@gmx.de> |
BColumnListView: Enable invalidating rows, fix SetField() * Seems like there was no easy way to simply invalidate a given BRow. Introduced BColumnListView::InvalidateRow(). * BRow::SetField() tried to invalidate the row, but invalidated the listview instead of the BOutlineView responsible for drawing the list contents. Use the new InvaalidateRow().
|
#
bdd7ba66b535f8c428c84958c801c59216ac693e |
|
16-Sep-2013 |
Stephan Aßmus <superstippi@gmx.de> |
BColumnListView: Enable invalidating rows, fix SetField() * Seems like there was no easy way to simply invalidate a given BRow. Introduced BColumnListView::InvalidateRow(). * BRow::SetField() tried to invalidate the row, but invalidated the listview instead of the BOutlineView responsible for drawing the list contents. Use the new InvaalidateRow().
|
#
49126a0e9b1b7a8a148dab17d0c3aa4eb6e798ed |
|
03-Jan-2013 |
Tri-Edge AI <triedgeai@gmail.com> |
Added ResourceEdit and modified BColumnListView, BRow and BMenu. Signed-off-by: Matt Madia <mattmadia@gmail.com>
|
#
902a98ad8340bbbef72bf98b6096ed091abf08f1 |
|
20-Jul-2012 |
Rene Gollent <anevilyak@gmail.com> |
Fix #8753. - Store whether or not the use of the horizontal scrollbar is desired on the class itself. If the CLV was set to use the horizontal scrollbar, and then asked to lay itself out while hidden, it would incorrectly assume the horizontal scrollbar wasn't in use, and consequently repositioned its views such that the horizontal scrollbar and outline view overlapped.
|
#
61eb1f1d19eed26b6138b0701612e8eb31bb1d86 |
|
22-Oct-2011 |
Alex Wilson <yourpalal2@gmail.com> |
Replace remaining InvalidateLayout()'s with LayoutInvalidated(). Also do a bit of cleanup/move methods around.
|
#
2fc49d9b364ca23babfbed19fed4d6f23d2664c1 |
|
14-Oct-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added ColumnAt(BPoint) version. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33587 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9b37feb4a819fd0baa54293a56703b6a6b1cfdd8 |
|
31-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Some methods were unnecessarily/inconveniently protected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32860 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d571c5835d099e1f96b47e630dfa8479fa0e6b04 |
|
09-May-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced methods ResizeColumnToPreferred() and ResizeAllColumnsToPreferred(). * Automatic white space cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30683 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bfc1a92f8813d767d4e194b9557eedb26ec29c8e |
|
31-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Make BColumnListView layout-friendly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29848 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
827c6cd4d6273d10e4139a3f08af3d3fd25874c3 |
|
31-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Sorry, should have been part of last commit. Fixes the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29842 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6104360c708249ec18da7e0c3dd4f5dc15817573 |
|
31-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Header indentation and *-style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29835 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
432bac0e7a92b14f1a3b7934d7fca1f7ac0c763c |
|
01-Feb-2009 |
Rene Gollent <anevilyak@gmail.com> |
BColumnListView was hiding BView::ScrollTo(BPoint), due to its own child variant ScrollTo(BRow *). Fixed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29126 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2c558054feef23be08bfdbdf1eade199af97bde8 |
|
29-Oct-2008 |
Jérôme Duval <korli@users.berlios.de> |
supports double clicking column title separator to preferred column size git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28371 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
896d01df1edd016d8d6c14fbad55f6ddf396baed |
|
06-Jun-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Removed trailing white space. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25837 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5c99440e0fc0dbde09bbd475a010efb2a600b4aa |
|
16-Sep-2004 |
Jérôme Duval <korli@users.berlios.de> |
Added ColorTools and ColumnListView from Vision cvs repository (ColorTools.h : 1.2, ColorTools.cpp : 1.4, ColumnListView.h : 1.13, ColumnListView.cpp : 1.3) Original code from OpenTracker git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8984 a95241bf-73f2-0310-859d-f6bbb57e9c96
|