* Now draws the UpdateText() label as well (was obviously forgotten before).

To reduce the number of calls to UpdateText(), the value returned is now
  buffered. This fixes bug #443.
* SetValue() now calls UpdateText() and also invalidates the region where
  that label is drawn.
* In asynchronous mode, B_NO_POINTER_HISTORY is set now for tracking.
* Increased minimum snooze time in synchronous mode.
* Minor cleanup, renamed fMinLimitStr to fMinLimitLabel, etc.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17146 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-04-16 20:45:22 +00:00
parent c4d51ab434
commit e762848ab2
2 changed files with 106 additions and 76 deletions
+6 -5
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2001-2005, Haiku.
* Copyright 2001-2006, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
@@ -171,8 +171,9 @@ class BSlider : public BControl {
rgb_color fFillColor;
bool fUseFillColor;
char* fMinLimitStr;
char* fMaxLimitStr;
char* fMinLimitLabel;
char* fMaxLimitLabel;
char* fUpdateText;
int32 fMinValue;
int32 fMaxValue;
@@ -195,9 +196,9 @@ class BSlider : public BControl {
float fBarThickness;
#if USE_OFF_SCREEN_VIEW
uint32 _reserved[8];
uint32 _reserved[7];
#else
uint32 _reserved[10];
uint32 _reserved[9];
#endif
};