| 1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef DEPTHGUIDE_TINY_PLAYER_H
- #define DEPTHGUIDE_TINY_PLAYER_H
- #include "core/object_manager.h"
- #include "module/image_player.h"
- #include "module/image_viewer.h"
- #include "impl/app_base.h"
- class app_tiny_player : public app_base {
- public:
- explicit app_tiny_player(const create_config &conf);
- ~app_tiny_player() override = default;
- const char *window_name() override { return "TinyPlayer V4.-1"; }
- void show_ui() override;
- void render_background() override;
- private:
- enum obj_names : object_manager::name_type {
- img_bg,
- };
- create_config conf;
- std::unique_ptr<image_viewer> bg_viewer; // background viewer
- std::unique_ptr<image_player> in_player; // input player
- };
- #endif //DEPTHGUIDE_TINY_PLAYER_H
|