X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Ftheme.h;h=7fe0e8585a2b0993a359d362d6db95b08951d5ba;hb=a0e57ec99e9dfdd7e79bcf21e8c996dc43b6cb49;hp=ce232fcfa913acb8d9eaef44c5889b4d42f62c79;hpb=ecaec75dd52d076ba53cafa1fed716ebc0d93da6;p=nageru diff --git a/nageru/theme.h b/nageru/theme.h index ce232fc..7fe0e85 100644 --- a/nageru/theme.h +++ b/nageru/theme.h @@ -5,17 +5,19 @@ #include #include #include -#include +#include #include #include +#include #include #include #include +#include #include #include "bmusb/bmusb.h" -#include "defs.h" #include "ref_counted_frame.h" +#include "shared/shared_defs.h" #include "tweaked_inputs.h" class Scene; @@ -49,6 +51,8 @@ enum EffectType { MULTIPLY_EFFECT, MIX_EFFECT, LIFT_GAMMA_GAIN_EFFECT, + BLUR_EFFECT, + UNSHARP_MASK_EFFECT, NO_EFFECT_TYPE }; @@ -192,6 +196,11 @@ public: std::string format_status_line(const std::string &disk_space_left_text, double file_length_seconds); + // Signal that the given card is going away and will not be replaced + // with a fake capture card, so remove all connections to it so that + // they don't automatically come back on the next frame. + void remove_card(unsigned card_index); + private: void register_globals(); void register_class(const char *class_name, const luaL_Reg *funcs, EffectType effect_type = NO_EFFECT_TYPE);