Implemented auto horizontal scrolling (by fixed steps for now), moved

auto scrolling to its own method, introduced a new private 
StyledWidthUTF8Safe method.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19694 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2007-01-04 10:44:29 +00:00
parent 3a4269fb0e
commit 25df172b72
2 changed files with 67 additions and 38 deletions
+7 -1
View File
@@ -311,6 +311,11 @@ virtual void _ReservedTextView12();
int32 length,
float *outAscent = NULL,
float *outDescent = NULL) const;
float StyledWidthUTF8Safe(int32 fromOffset,
int32 numChars,
float *outAscent = NULL,
float *outDescent = NULL) const;
float ActualTabWidth(float location) const;
void DoInsertText(const char *inText,
@@ -343,7 +348,8 @@ virtual void _ReservedTextView12();
bool MessageDropped(BMessage *inMessage,
BPoint where,
BPoint offset);
void PerformAutoScrolling();
void UpdateScrollbars();
void AutoResize(bool doredraw=true);