X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=theme.h;h=91c5c2e1a11deb2f25229104d4ae581e78f7d91d;hb=177725e4f259a75dcdbd4260ac57e5dd9c01fd57;hp=20d736738a89d94718c9344e624bdc253e4b3db6;hpb=008017058f4fe14fd1ba2e44acdd12a5b4028a68;p=nageru diff --git a/theme.h b/theme.h index 20d7367..91c5c2e 100644 --- a/theme.h +++ b/theme.h @@ -38,7 +38,7 @@ public: class Theme { public: - Theme(const char *filename, movit::ResourcePool *resource_pool, unsigned num_cards); + Theme(const std::string &filename, const std::vector &search_dirs, movit::ResourcePool *resource_pool, unsigned num_cards); ~Theme(); struct Chain { @@ -58,6 +58,7 @@ public: int get_channel_signal(unsigned channel); bool get_supports_set_wb(unsigned channel); void set_wb(unsigned channel, double r, double g, double b); + std::string get_channel_color(unsigned channel); std::vector get_transition_names(float t);