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
41 lines
923 B
C++
41 lines
923 B
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
class EditorComponent;
|
|
|
|
class TransformWindow : 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 clearButton;
|
|
|
|
wi::gui::TextInputField txInput;
|
|
wi::gui::TextInputField tyInput;
|
|
wi::gui::TextInputField tzInput;
|
|
|
|
wi::gui::TextInputField rollInput;
|
|
wi::gui::TextInputField pitchInput;
|
|
wi::gui::TextInputField yawInput;
|
|
|
|
wi::gui::TextInputField rxInput;
|
|
wi::gui::TextInputField ryInput;
|
|
wi::gui::TextInputField rzInput;
|
|
wi::gui::TextInputField rwInput;
|
|
|
|
wi::gui::TextInputField sxInput;
|
|
wi::gui::TextInputField syInput;
|
|
wi::gui::TextInputField szInput;
|
|
|
|
wi::gui::TextInputField snapScaleInput;
|
|
wi::gui::TextInputField snapRotateInput;
|
|
wi::gui::TextInputField snapTranslateInput;
|
|
|
|
void ResizeLayout() override;
|
|
};
|
|
|