Started integration of new drawing code. Still so much work to do. Simplified some parts of the code. Scrollbars are broken in many ways, need refactoring

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13393 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2005-07-01 22:13:10 +00:00
parent bc1a7f9f09
commit 267b721430
2 changed files with 469 additions and 241 deletions
+9 -1
View File
@@ -107,7 +107,6 @@ private:
friend class BScrollArrowButton;
friend class Private;
friend status_t control_scrollbar(scroll_bar_info *info, BScrollBar *bar); // for use within the preflet
friend status_t scroll_by_value(float valueByWhichToScroll, BScrollBar *bar); // for use here within the IK
virtual void _ReservedScrollBar1();
virtual void _ReservedScrollBar2();
virtual void _ReservedScrollBar3();
@@ -117,6 +116,15 @@ virtual void _ReservedScrollBar4();
void DoScroll(float delta);
void InitObject(float min, float max, orientation o, BView *t);
void DrawButtons();
void DrawArrow(BPoint pos, int32 which, bool pressed = false);
void DrawButton(BRect frame, bool pressed = false);
bool DoubleArrows() const;
status_t ScrollByValue(float value);
float fMin;
float fMax;
float fSmallStep;