eff37576b5
* improving component window layouts * sound window update * transform window update * editor top gui animation; delete callback for entity tree * layer window update * other layout changes * grid helper ini * don't allow negative or zero local scale * version bump * camera fps config check if exists
27 lines
565 B
C++
27 lines
565 B
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
class EditorComponent;
|
|
|
|
class SpringWindow : public wi::gui::Window
|
|
{
|
|
public:
|
|
void Create(EditorComponent* editor);
|
|
|
|
EditorComponent* editor = nullptr;
|
|
wi::ecs::Entity entity;
|
|
void SetEntity(wi::ecs::Entity entity);
|
|
|
|
wi::gui::Button resetAllButton;
|
|
wi::gui::CheckBox debugCheckBox;
|
|
wi::gui::CheckBox disabledCheckBox;
|
|
wi::gui::CheckBox stretchCheckBox;
|
|
wi::gui::CheckBox gravityCheckBox;
|
|
wi::gui::Slider stiffnessSlider;
|
|
wi::gui::Slider dragSlider;
|
|
wi::gui::Slider windSlider;
|
|
|
|
void ResizeLayout() override;
|
|
};
|
|
|