#pragma once #include "WickedEngine.h" class EditorComponent; class AnimationWindow : public wi::gui::Window { public: void Create(EditorComponent* editor); EditorComponent* editor = nullptr; wi::ecs::Entity entity = wi::ecs::INVALID_ENTITY; void SetEntity(wi::ecs::Entity entity); wi::gui::Label infoLabel; wi::gui::ComboBox modeComboBox; wi::gui::CheckBox loopedCheckBox; wi::gui::Button playButton; wi::gui::Button stopButton; wi::gui::Slider timerSlider; wi::gui::Slider amountSlider; wi::gui::Slider speedSlider; wi::gui::TextInputField startInput; wi::gui::TextInputField endInput; wi::gui::ComboBox recordCombo; wi::gui::TreeList keyframesList; void Update(); void RefreshKeyframesList(); void ResizeLayout() override; };