diff options
author | Doug McLain <doug@nostar.net> | 2006-01-01 15:31:59 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2006-01-01 15:31:59 +0000 |
commit | 8073c4da5e099091c73a85900d5ed701d59807d9 (patch) | |
tree | 2281f99f5fdfe43bcccc7ed1366c0faf87937d70 /gtk2_ardour/utils.cc | |
parent | c1b2177d274b6e46202cf0b9ced20d845d21055a (diff) |
add ability to specify row colors for region treeview
git-svn-id: svn://localhost/trunk/ardour2@220 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r-- | gtk2_ardour/utils.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc index 448f1b57fe..012d184fef 100644 --- a/gtk2_ardour/utils.cc +++ b/gtk2_ardour/utils.cc @@ -524,3 +524,11 @@ canvas_item_visible (ArdourCanvas::Item* item) { return (item->gobj()->object.flags & GNOME_CANVAS_ITEM_VISIBLE) ? true : false; } + +void +set_color (Gdk::Color& c, gint r, gint g, gint b) +{ + c.set_red(65535); + c.set_green(0); + c.set_blue(0); +} |