ControlLook: Add side parameter to tab drawing functions.

* This allows drawing tabs on any side of the view.

Signed-off-by: Adrien Destugues <[email protected]>
This commit is contained in:
Kacper Kasper
2017-01-22 09:36:38 +01:00
committed by Adrien Destugues
parent 88510bc040
commit 2332ebfd52
2 changed files with 141 additions and 34 deletions
+4 -2
View File
@@ -288,12 +288,14 @@ public:
virtual void DrawActiveTab(BView* view, BRect& rect,
const BRect& updateRect,
const rgb_color& base, uint32 flags = 0,
uint32 borders = B_ALL_BORDERS);
uint32 borders = B_ALL_BORDERS,
uint32 side = B_TOP_BORDER);
virtual void DrawInactiveTab(BView* view, BRect& rect,
const BRect& updateRect,
const rgb_color& base, uint32 flags = 0,
uint32 borders = B_ALL_BORDERS);
uint32 borders = B_ALL_BORDERS,
uint32 side = B_TOP_BORDER);
/*virtual*/ void DrawSplitter(BView* view, BRect& rect,
const BRect& updateRect,