BControlLook: Add DrawLabel() variants with icon
A label, a bitmap, or both can be specified.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <Slider.h>
|
||||
|
||||
|
||||
class BBitmap;
|
||||
class BControl;
|
||||
class BGradientLinear;
|
||||
class BView;
|
||||
@@ -336,6 +337,16 @@ public:
|
||||
const rgb_color& base, uint32 flags,
|
||||
const BPoint& where);
|
||||
|
||||
void DrawLabel(BView* view, const char* label,
|
||||
const BBitmap* icon, BRect rect,
|
||||
const BRect& updateRect,
|
||||
const rgb_color& base, uint32 flags);
|
||||
virtual void DrawLabel(BView* view, const char* label,
|
||||
const BBitmap* icon, BRect rect,
|
||||
const BRect& updateRect,
|
||||
const rgb_color& base, uint32 flags,
|
||||
const BAlignment& alignment);
|
||||
|
||||
virtual void GetFrameInsets(frame_type frameType,
|
||||
uint32 flags, float& _left, float& _top,
|
||||
float& _right, float& _bottom);
|
||||
|
||||
Reference in New Issue
Block a user