24 virtual void drawDialog(
float menuScaling, ImGuiContext* )
override;
26 virtual bool blocking()
const override {
return false; };
30 enum class XfMode { Move, Rotate, Scale };
32 enum class XfTarget { Picked, Selected };
34 virtual bool onDragStart_(
MouseButton btn,
int modifiers )
override;
35 virtual bool onDrag_(
int x,
int y )
override;
36 virtual bool onDragEnd_(
MouseButton btn,
int modifiers )
override;
37 virtual void postDraw_()
override;
40 class MoveObjectByMouseWithSelected :
public MoveObjectByMouseImpl
44 std::vector<std::shared_ptr<Object>>& objects, Vector3f& centerPoint, Vector3f& startPoint )
override;
48 UI::RadioButtonOrModifierState modXfMode{};
49 UI::RadioButtonOrModifierState modXfTarget{};