diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-09-22 21:43:22 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-09-22 21:44:04 +0800 |
commit | 39b4261324bd61a9df7861c314459746bc0acd30 (patch) | |
tree | 4d7676ca240c1ea6b123b4b293a699d76c69d09f /src/platform/gui/xcb/Window.cpp | |
parent | 3e8b388f022816344cfc9df40656741a4c597c9f (diff) | |
download | cru-39b4261324bd61a9df7861c314459746bc0acd30.tar.gz cru-39b4261324bd61a9df7861c314459746bc0acd30.tar.bz2 cru-39b4261324bd61a9df7861c314459746bc0acd30.zip |
SetCursor and GetInputMethodContext stub impl.
Diffstat (limited to 'src/platform/gui/xcb/Window.cpp')
-rw-r--r-- | src/platform/gui/xcb/Window.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platform/gui/xcb/Window.cpp b/src/platform/gui/xcb/Window.cpp index 4d28e6e6..5e63e08e 100644 --- a/src/platform/gui/xcb/Window.cpp +++ b/src/platform/gui/xcb/Window.cpp @@ -260,6 +260,8 @@ bool XcbWindow::ReleaseMouse() { return true; } +void XcbWindow::SetCursor(std::shared_ptr<ICursor> cursor) { NotImplemented(); } + std::unique_ptr<graphics::IPainter> XcbWindow::BeginPaint() { assert(cairo_surface_); @@ -308,6 +310,8 @@ IEvent<NativeKeyEventArgs> *XcbWindow::KeyDownEvent() { IEvent<NativeKeyEventArgs> *XcbWindow::KeyUpEvent() { return &key_up_event_; } +IInputMethodContext *XcbWindow::GetInputMethodContext() { NotImplemented(); } + std::optional<xcb_window_t> XcbWindow::GetXcbWindow() { return xcb_window_; } xcb_window_t XcbWindow::DoCreateWindow() { |