}
private:
- void register_constants();
+ void register_globals();
void register_class(const char *class_name, const luaL_Reg *funcs, EffectType effect_type = NO_EFFECT_TYPE);
int set_theme_menu(lua_State *L);
Chain get_chain_from_effect_chain(movit::EffectChain *effect_chain, unsigned num, const InputState &input_state);
std::unique_ptr<MenuEntry> theme_menu;
std::function<void()> theme_menu_callback;
+ std::map<unsigned, std::string> channel_names; // Set using Nageru.set_theme(). Protected by <m>.
+
friend class LiveInputWrapper;
friend class Scene;
friend int ThemeMenu_set(lua_State *L);
+ friend int Nageru_set_channel_name(lua_State *L);
};
// LiveInputWrapper is a facade on top of an YCbCrInput, exposed to