haiku/headers/os/interface
Stephan Aßmus f466d35d9c Rewrote parts related to drawing the labels. The order of drawing happens as
this (seems to be what R5 BStatusBar does):
* combine the "trailing text" with the "trailing label" and truncate the
  resulting string on the left side according to the width of the entire
  control
* combine the "label" with the "text" and truncate that on the right side
  according to the space left by the right hand text.

-> No more overlaps (theoretically, in practise there are still overlaps
  because our BFont::TruncateString() does not respect the width in some
  situations.)

* Changed _SetTextData() accordingly, it is not used anymore for the
  label and trailing label, and could therefor be simplified a little.
* fixed _BarFrame() to not return fractional coords, which could sometimes
  leave a dirty line of pixels.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-29 12:42:10 +00:00
..
AbstractLayoutItem.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
Alert.h Rewrote BAlert button layout routine. Made it much simpler, and it's now 2006-06-16 16:22:53 +00:00
Alignment.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
Bitmap.h * Introduced a monitor_info structure and means to let it be filled by the 2007-10-15 11:41:47 +00:00
Box.h * Added layout-friendly constructors and implemented Min/Max/PreferredSize(), 2007-06-08 23:40:16 +00:00
Button.h * Added default value for message in two arguments constructor. 2007-06-09 10:51:15 +00:00
CardLayout.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
ChannelControl.h Applied our style guide as someone (cough! *** Axel *** cough!) bugged me (correctly) about it :) 2005-02-01 14:29:06 +00:00
ChannelSlider.h Vertical() can be const and should be, when invoked on a const instance. 2005-02-02 13:33:34 +00:00
CheckBox.h Added layout-friendly constructors and implemented Min/Max/PreferredSize(). 2007-06-09 10:52:36 +00:00
ColorControl.h Applied patch by Alexander Deckner (with a few small changes by myself): 2008-01-20 21:20:12 +00:00
Control.h Added layout-friendly constructor. 2007-06-09 10:47:05 +00:00
Deskbar.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
Dragger.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
Font.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
GraphicsDefs.h - Added operator = implementation to rgb_color for convenience. 2008-03-01 00:57:18 +00:00
GridLayout.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
GridLayoutBuilder.h Added convenience methods to allow a group or grid layout's insets to be set 2007-01-31 20:30:20 +00:00
GridView.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
GroupLayout.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
GroupLayoutBuilder.h Added convenience methods to allow a group or grid layout's insets to be set 2007-01-31 20:30:20 +00:00
GroupView.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
Input.h Rewrote Input.h, adjusted Input.cpp accordingly, added nothrow on 2008-02-07 10:50:39 +00:00
InterfaceDefs.h * Cleaned up InterfaceDefs.h, added TODO about getting rid of declaring 2008-04-09 10:07:35 +00:00
Layout.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
LayoutContext.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
LayoutItem.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
LayoutUtils.h * Added FixSizeConstraints() functions, which adjust the elements of a (min, 2007-06-08 23:14:48 +00:00
ListItem.h patch by Rene Gollent: 2008-02-24 14:15:28 +00:00
ListView.h - Fix an error in SwapItems where the item tops would not be swapped 2008-02-26 13:27:24 +00:00
Menu.h Renamed some private methods to have the underline prefix, now that 2008-04-11 08:53:25 +00:00
MenuBar.h Rewrote PopUpMenu.h and MenuBar.h. Adjusted source files accordingly. 2007-10-29 10:40:16 +00:00
MenuField.h cleanups 2007-11-20 12:59:59 +00:00
MenuItem.h * Rewrote the trigger selection mechanism: it now searches for uppercase 2007-09-30 10:52:45 +00:00
MultiChannelControl.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00
OptionControl.h Rewrote OptionPopUp.h and OptionControl.h 2007-10-22 14:59:04 +00:00
OptionPopUp.h Rewrote OptionPopUp.h and OptionControl.h 2007-10-22 14:59:04 +00:00
OutlineListView.h Implement BOutlineListView's derivative of SwapItems(). This makes things like Vision's network reordering shortcuts 2008-02-27 22:54:37 +00:00
Picture.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
PictureButton.h New addition, with required modification to build file. 2002-08-28 03:41:58 +00:00
Point.h * Removed the _IMPEXP* stuff from the headers Ingo clearly identified as ours. 2007-07-06 10:35:17 +00:00
Polygon.h This hopefully stops BPoligon from corrupting memory. 2007-11-10 21:23:04 +00:00
PopUpMenu.h Rewrote PopUpMenu.h and MenuBar.h. Adjusted source files accordingly. 2007-10-29 10:40:16 +00:00
PrintJob.h Restored the copyright notice before r24684, as pointed out by Marcus Overhagen on the Haiku-commits mailing list, r24684 is a copyright violation. 2008-04-05 11:55:14 +00:00
RadioButton.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
Rect.h Removed the BSize(const BRect&) constructor and added BRect::Size() 2007-05-12 16:50:16 +00:00
Region.h * expose the XOR function for BRegions (for now called "ExclusiveInclude") 2008-01-11 13:42:21 +00:00
Screen.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
ScrollBar.h * Removed trailing spaces in ScrollBar.h 2008-04-06 15:11:31 +00:00
ScrollView.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
SeparatorItem.h Rewrote PopUpMenu.h and MenuBar.h. Adjusted source files accordingly. 2007-10-29 10:40:16 +00:00
Shape.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
Shelf.h Put the code to Extract a replicant into its own function. 2007-12-28 11:07:28 +00:00
Size.h Defined B_SIZE_UNSET to -2. -1 is actually a valid size, meaning 0 pixels. 2007-06-17 01:10:12 +00:00
Slider.h BSlider had code for doing double buffered drawing, but was 2008-03-06 00:03:02 +00:00
SpaceLayoutItem.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
SplitLayoutBuilder.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
SplitView.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
StatusBar.h Rewrote parts related to drawing the labels. The order of drawing happens as 2008-04-29 12:42:10 +00:00
StringItem.h * Implemented BOutlineListView::FullListSortItems() and SortItemsUnder() - dunno 2006-02-11 15:23:23 +00:00
StringView.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
TabView.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
TextControl.h BTextControl: 2008-02-24 20:39:29 +00:00
TextView.h Further improvements to auto scrolling and text rect + container view resizing: 2008-02-25 23:34:23 +00:00
TwoDimensionalLayout.h Merge from layout management branch. 2006-08-26 16:21:15 +00:00
UnicodeBlockObjects.h It is accomplished ... 2002-07-09 12:24:59 +00:00
View.h Applied patch by Artur Wyszynski: 2008-04-16 17:11:40 +00:00
Window.h Removed unused BWindow friend classes, renamed some BView member 2008-04-11 09:26:11 +00:00