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:
committed by
Adrien Destugues
parent
88510bc040
commit
2332ebfd52
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user