haiku/headers/os
Stephan Aßmus b8872c02c1 BTextControl:
* Placed _BTextInput_ into BPrivate namespace.
* Made _BTextInput_::AlignTextRect() smarter, it centers the line vertically,
  for the case that the BTextControl has a larger label font. Improved insets
  for asthetics.
* Used _BTextInput_::AlignTextRect() consistently in BTextControl, no more
  custom calls to SetTextRect(). Account for minimum vertical inset of 2
  pixels in GetPreferredSize().
* Consistendly select all text when gaining focus in _BTextInput_.
* Override MouseDown() in case the control did not have focus before, or else
  BTextView::MouseDown() will deselct the text again and place the cursor.
  (in line with BeOS behavior)
* Removed unused fBool member from _BTextInput_ and other cleanup.

BTextView:
* Reimplemented BTextView::_AutoResize() so that it works well with
  BTextControl and autoscrolling when the alignment is not B_ALIGN_LEFT.
  I needed two new members for this, fLeftInset and fRightInset which are
  the original insets from the fTextRects. It might currently be broken
  for renaming things in Tracker, I will have to check. _AutoResize() no
  longer messes up the fTextRect insets.
* Fixed stray carrets sometimes being left over, mostly when auto scrolling,
  but I observed them in other cases as well.
* Prevent negative scrolling offsets when autoscrolling. Fixes weird scrolling
  offsets when navigating to the left.
* Reset scrolling to B_ORIGIN when SetText() is called. Fixes for example
  starting to type in the middle of the control in Vision when entering new
  text and autoscrolling was triggered before.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-24 20:39:29 +00:00
..
add-ons * Rewrote TrackerAddOn.h header :-) 2007-10-15 22:56:37 +00:00
app fix a bit of gcc4 build 2007-10-15 22:35:52 +00:00
arch tag warnings with M68K: 2007-10-25 12:43:05 +00:00
be_apps Added the public header to allow apps to take advantage of the services daemon's app restart capabilities 2007-01-06 02:27:52 +00:00
bluetooth Add using namespace pragmas 2008-02-21 22:17:54 +00:00
device * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
drivers Made DPC module binary compatible with BeOS one. 2008-02-06 23:10:13 +00:00
game declared entry_ref 2008-02-08 21:37:25 +00:00
interface BTextControl: 2008-02-24 20:39:29 +00:00
kernel Added experimental ktrace_[v]printf() functions to libroot. Their output 2008-01-21 15:10:05 +00:00
mail fix a bit of gcc4 build 2007-10-15 22:35:52 +00:00
media fix a bit of gcc4 build 2007-10-15 22:35:52 +00:00
midi * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
midi2 style cleanup 2006-09-21 13:04:59 +00:00
net * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
opengl Corrected GLRenderer's instantiation function name. 2008-01-26 22:51:51 +00:00
storage * include StorageDefs.h for convenience, otherwise stuff like B_READ_ONLY 2008-01-20 14:44:02 +00:00
support * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
translation * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
AppKit.h
Be.h
BeBuild.h * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
DeviceKit.h
GameKit.h
InterfaceKit.h
KernelKit.h
MailKit.h
MediaKit.h
MidiKit.h
NetKit.h
NetworkKit.h Official place for socket.h is sys/ 2007-07-14 09:26:22 +00:00
OpenGLKit.h
StorageKit.h StorageKit.h still included the Alias.h header file I removed with the previous commit. 2007-07-06 12:52:01 +00:00
SupportKit.h
TranslationKit.h