mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 21:26:26 +01:00
add some more outline enums to ArdourCanvas::Rectangle
This commit is contained in:
parent
589e59d7a1
commit
f3d349bc9a
1 changed files with 4 additions and 7 deletions
|
|
@ -65,19 +65,16 @@ public:
|
||||||
void set_y1 (Coord);
|
void set_y1 (Coord);
|
||||||
|
|
||||||
enum What {
|
enum What {
|
||||||
|
NOTHING = 0x0,
|
||||||
LEFT = 0x1,
|
LEFT = 0x1,
|
||||||
RIGHT = 0x2,
|
RIGHT = 0x2,
|
||||||
TOP = 0x4,
|
TOP = 0x4,
|
||||||
BOTTOM = 0x8
|
BOTTOM = 0x8,
|
||||||
|
ALL = LEFT|RIGHT|TOP|BOTTOM,
|
||||||
};
|
};
|
||||||
|
|
||||||
void set_outline_what (What);
|
void set_outline_what (What);
|
||||||
void set_outline_all () {
|
void set_outline_all () { set_outline_what (ArdourCanvas::Rectangle::ALL); }
|
||||||
set_outline_what (ArdourCanvas::Rectangle::What (ArdourCanvas::Rectangle::TOP|
|
|
||||||
ArdourCanvas::Rectangle::LEFT|
|
|
||||||
ArdourCanvas::Rectangle::RIGHT|
|
|
||||||
ArdourCanvas::Rectangle::BOTTOM));
|
|
||||||
}
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void render_self (Rect const &, Cairo::RefPtr<Cairo::Context>, Rect) const;
|
void render_self (Rect const &, Cairo::RefPtr<Cairo::Context>, Rect) const;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue