* Refactored a method to draw a label when the location is already known.
(This one takes care of setting up the correct color.) * Added TODO about using either B_CONTROL_TEXT_COLOR, or elliminating that constant (which I am in favor of...). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35260 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -257,6 +257,14 @@ public:
|
||||
const rgb_color& base, uint32 flags,
|
||||
const BAlignment& alignment);
|
||||
|
||||
// TODO: This should also be virtual
|
||||
// TODO: Would be nice to have a (non-virtual) version of this method
|
||||
// which takes an array of labels and locations. That would save some
|
||||
// setup with the view graphics state.
|
||||
void DrawLabel(BView* view, const char* label,
|
||||
const rgb_color& base, uint32 flags,
|
||||
const BPoint& where);
|
||||
|
||||
protected:
|
||||
void _DrawButtonFrame(BView* view, BRect& rect,
|
||||
const BRect& updateRect,
|
||||
|
||||
Reference in New Issue
Block a user