summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-07-19 01:42:55 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-07-19 01:42:55 -0400
commit0250229e8184ea18b8799feb1cc3622d847adec3 (patch)
tree79a361cf535f24c83a1e76ad0f8bfc0384f2f568 /components
parent8a4283edd126366472af588ebf89580eca9c95c6 (diff)
downloadabaddon-portaudio-0250229e8184ea18b8799feb1cc3622d847adec3.tar.gz
abaddon-portaudio-0250229e8184ea18b8799feb1cc3622d847adec3.zip
less than ideal solution for category expander color
Diffstat (limited to 'components')
-rw-r--r--components/channels.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/channels.cpp b/components/channels.cpp
index e67d014..0208975 100644
--- a/components/channels.cpp
+++ b/components/channels.cpp
@@ -748,7 +748,8 @@ void CellRendererChannels::render_vfunc_category(const Cairo::RefPtr<Cairo::Cont
cr->move_to(x1, y1);
cr->line_to(x2, y2);
cr->line_to(x3, y3);
- cr->set_source_rgb(1.0, 0.3255, 0.4392);
+ static const auto expander_color = Gdk::RGBA(Abaddon::Get().GetSettings().GetChannelsExpanderColor());
+ cr->set_source_rgb(expander_color.get_red(), expander_color.get_green(), expander_color.get_blue());
cr->stroke();
Gtk::Requisition text_minimum, text_natural;