Widgets: Fix new line selection not being bound to scissor box
This commit is contained in:
@@ -55,6 +55,7 @@ namespace Nz
|
||||
|
||||
inline const Color& GetBackgroundColor() const;
|
||||
inline Canvas* GetCanvas();
|
||||
inline const Canvas* GetCanvas() const;
|
||||
inline SystemCursor GetCursor() const;
|
||||
inline float GetHeight() const;
|
||||
|
||||
@@ -123,6 +124,7 @@ namespace Nz
|
||||
|
||||
void InvalidateNode(Invalidation invalidation) override;
|
||||
|
||||
Recti GetScissorBox() const;
|
||||
Rectf GetScissorRect() const;
|
||||
|
||||
virtual bool IsFocusable() const;
|
||||
|
||||
@@ -113,6 +113,11 @@ namespace Nz
|
||||
return m_canvas;
|
||||
}
|
||||
|
||||
inline const Canvas* BaseWidget::GetCanvas() const
|
||||
{
|
||||
return m_canvas;
|
||||
}
|
||||
|
||||
inline SystemCursor BaseWidget::GetCursor() const
|
||||
{
|
||||
return m_cursor;
|
||||
@@ -359,4 +364,5 @@ namespace Nz
|
||||
}
|
||||
|
||||
#include <Nazara/Widgets/DebugOff.hpp>
|
||||
#include "BaseWidget.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user