5b35a5a47d
* translator tool upgrades, renderpath2D hdr improvement * fix * rewritten rotation tool * visual update * screen aligned rotation mode * rotation snap mode fix * non uniform scaling fix * improvements to transform undo/redo * added snap mode configuration * mirroring transform tool based on camera relative position; axis text display; * origin drag visualizer * minor refactor
42 lines
920 B
C++
42 lines
920 B
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
class EditorComponent;
|
|
|
|
class TransformWindow : public wi::gui::Window
|
|
{
|
|
public:
|
|
void Create(EditorComponent* editor);
|
|
|
|
wi::ecs::Entity entity;
|
|
void SetEntity(wi::ecs::Entity entity);
|
|
|
|
wi::gui::Button createButton;
|
|
wi::gui::Button clearButton;
|
|
|
|
wi::gui::ComboBox parentCombo;
|
|
|
|
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;
|
|
|
|
};
|
|
|