haiku/src
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
..
add-ons * tcp_header::urgent_offset must be set in network byte order as well. 2008-04-29 12:31:57 +00:00
apps Fix for #676, an oldie (from 2 years ago): if the MediaPlayer window is moved 2008-04-29 03:37:41 +00:00
bin Fix building for BeOS. 2008-04-26 15:58:25 +00:00
build * Include KMessage in libbe_haiku.so again. 2008-04-26 21:57:22 +00:00
data - Added Brazilian(ABNT2) keymap originally included in the International 2008-04-04 00:34:11 +00:00
documentation removed former haiku_book and headersampler tool 2007-10-04 22:15:58 +00:00
kits Rewrote parts related to drawing the labels. The order of drawing happens as 2008-04-29 12:42:10 +00:00
libs gcc4 complains about missing proto for strcpy(). 2008-04-25 12:47:07 +00:00
preferences fixes bug #2169 2008-04-27 20:23:50 +00:00
servers * fDragBitmap was never initialized, leading to occasional crashes after the 2008-04-25 11:39:47 +00:00
system Ctrl-L clears the KDL screen. 2008-04-29 01:24:41 +00:00
tests * Added the "sock" test application (as used in Steven's TCP Illustrated) to 2008-04-29 09:30:29 +00:00
tools Missing close() calls just for the sake of it. 2008-04-26 19:35:00 +00:00
Jamfile libshared.a doesn't deserve a src/ subdirectory. Moved to 2007-06-15 18:32:50 +00:00