]> git.sesse.net Git - nageru/blobdiff - nageru/theme.h
IWYU-fix nageru/*.h.
[nageru] / nageru / theme.h
index ce232fcfa913acb8d9eaef44c5889b4d42f62c79..7fe0e8585a2b0993a359d362d6db95b08951d5ba 100644 (file)
@@ -5,17 +5,19 @@
 #include <movit/effect.h>
 #include <movit/flat_input.h>
 #include <movit/ycbcr_input.h>
-#include <stdbool.h>
+#include <array>
 #include <functional>
 #include <map>
+#include <memory>
 #include <mutex>
 #include <string>
 #include <unordered_map>
+#include <utility>
 #include <vector>
 
 #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);