X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=theme.h;h=48039734a840f58f90924b514eeaaf27f1f61657;hb=d3a801a9148345bec24f21e1184f7e97f53040b2;hp=a3bc8ea16844439f1d25bf988238701d87448e64;hpb=3cafda5de945dd02d321634abd61aa1e261f2384;p=nageru diff --git a/theme.h b/theme.h index a3bc8ea..4803973 100644 --- a/theme.h +++ b/theme.h @@ -40,6 +40,7 @@ public: class Theme { public: Theme(const char *filename, movit::ResourcePool *resource_pool, unsigned num_cards); + ~Theme(); struct Chain { movit::EffectChain *chain; @@ -63,6 +64,8 @@ public: void transition_clicked(int transition_num, float t); void channel_clicked(int preview_num); + movit::ResourcePool *get_resource_pool() const { return resource_pool; } + private: void register_class(const char *class_name, const luaL_Reg *funcs);