forked from Mirrors/openclonk
Fix non-Qt build
parent
25fa57cabf
commit
1b785da271
|
@ -127,7 +127,10 @@ int32_t C4EditCursorSelection::ObjectCount() const
|
|||
}
|
||||
|
||||
|
||||
C4EditCursor::C4EditCursor() : shapes(new C4ConsoleQtShapes())
|
||||
C4EditCursor::C4EditCursor()
|
||||
#ifdef WITH_QT_EDITOR
|
||||
: shapes(new C4ConsoleQtShapes())
|
||||
#endif
|
||||
{
|
||||
Default();
|
||||
}
|
||||
|
|
|
@ -118,7 +118,9 @@ public:
|
|||
bool AltDown();
|
||||
bool AltUp();
|
||||
void SetMouseHover(bool h) { has_mouse_hover = h; }
|
||||
#ifdef WITH_QT_EDITOR
|
||||
class C4ConsoleQtShapes *GetShapes() const { return shapes.get(); }
|
||||
#endif
|
||||
bool HasTransformCursor() const { return DragTransform || IsHoveringTransformMarker(); }
|
||||
bool IsHoveringTransformMarker() const;
|
||||
protected:
|
||||
|
|
Loading…
Reference in New Issue