huge BSlider cleanup, it doesn't use an offscreen bitmap anymore by default (compile time switch), updated drawing for Haiku features and disabled look, work in progress

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12948 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2005-06-03 19:57:34 +00:00
parent 0c3344f4a1
commit c10a3393e2
2 changed files with 535 additions and 384 deletions
+7
View File
@@ -54,6 +54,7 @@ enum thumb_style {
// Globals ---------------------------------------------------------------------
#define USE_OFF_SCREEN_VIEW 0
// BSlider class ---------------------------------------------------------------
class BSlider : public BControl {
@@ -225,8 +226,10 @@ virtual void _ReservedSlider12();
int32 fHashMarkCount;
hash_mark_location fHashMarks;
#if USE_OFF_SCREEN_VIEW
BBitmap* fOffScreenBits;
BView* fOffScreenView;
#endif
thumb_style fStyle;
@@ -236,7 +239,11 @@ virtual void _ReservedSlider12();
orientation fOrientation;
float fBarThickness;
#if USE_OFF_SCREEN_VIEW
uint32 _reserved[8];
#else
uint32 _reserved[10];
#endif
};
//------------------------------------------------------------------------------
File diff suppressed because it is too large Load Diff