diff options
Diffstat (limited to 'include/cru/platform')
-rw-r--r-- | include/cru/platform/graphics/Base.h | 2 | ||||
-rw-r--r-- | include/cru/platform/graphics/direct2d/WindowRenderTarget.h | 3 | ||||
-rw-r--r-- | include/cru/platform/gui/win/InputMethod.h | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/include/cru/platform/graphics/Base.h b/include/cru/platform/graphics/Base.h index 3bb9b7b4..3f3ae0b4 100644 --- a/include/cru/platform/graphics/Base.h +++ b/include/cru/platform/graphics/Base.h @@ -28,7 +28,7 @@ struct IPainter; struct ITextLayout; struct TextHitTestResult { - gsl::index position; + Index position; bool trailing; bool inside_text; }; diff --git a/include/cru/platform/graphics/direct2d/WindowRenderTarget.h b/include/cru/platform/graphics/direct2d/WindowRenderTarget.h index c0251880..f77ce471 100644 --- a/include/cru/platform/graphics/direct2d/WindowRenderTarget.h +++ b/include/cru/platform/graphics/direct2d/WindowRenderTarget.h @@ -5,8 +5,7 @@ namespace cru::platform::graphics::direct2d { // Represents a window render target. class CRU_WIN_GRAPHICS_DIRECT_API D2DWindowRenderTarget : public Object { public: - D2DWindowRenderTarget(gsl::not_null<DirectGraphicsFactory*> factory, - HWND hwnd); + D2DWindowRenderTarget(DirectGraphicsFactory* factory, HWND hwnd); CRU_DELETE_COPY(D2DWindowRenderTarget) CRU_DELETE_MOVE(D2DWindowRenderTarget) diff --git a/include/cru/platform/gui/win/InputMethod.h b/include/cru/platform/gui/win/InputMethod.h index 8e28f857..3a9faeaa 100644 --- a/include/cru/platform/gui/win/InputMethod.h +++ b/include/cru/platform/gui/win/InputMethod.h @@ -39,7 +39,7 @@ class CRU_WIN_GUI_API WinInputMethodContext CRU_DEFINE_CLASS_LOG_TAG(u"WinInputMethodContext") public: - WinInputMethodContext(gsl::not_null<WinNativeWindow*> window); + WinInputMethodContext(WinNativeWindow* window); CRU_DELETE_COPY(WinInputMethodContext) CRU_DELETE_MOVE(WinInputMethodContext) |