summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--c++/window-opengl/SConstruct8
-rw-r--r--c++/window/xcb.cpp17
2 files changed, 24 insertions, 1 deletions
diff --git a/c++/window-opengl/SConstruct b/c++/window-opengl/SConstruct
index 42fb205..fc2c398 100644
--- a/c++/window-opengl/SConstruct
+++ b/c++/window-opengl/SConstruct
@@ -46,7 +46,13 @@ env_vars.Add('prefix',
env=Environment(ENV=os.environ, variables=env_vars, CPPPATH=[],
CPPDEFINES=['SAW_UNIX', 'SAW_UNIX_XCB', 'SAW_OGL'],
CXXFLAGS=['-std=c++20','-g','-Wall','-Wextra'],
- LIBS=['forstio-core', 'forstio-io', 'forstio-async', 'forstio-codec'])
+ LIBS=[
+ 'forstio-core',
+ 'forstio-io',
+ 'forstio-async',
+ 'forstio-codec'
+ ]
+);
env.__class__.add_source_files = add_kel_source_files
env.Tool('compilation_db');
env.cdb = env.CompilationDatabase('compile_commands.json');
diff --git a/c++/window/xcb.cpp b/c++/window/xcb.cpp
index a9d0715..dac5271 100644
--- a/c++/window/xcb.cpp
+++ b/c++/window/xcb.cpp
@@ -247,5 +247,22 @@ conveyor<data<schema::WindowEvents>> window<backend::linux_xcb>::on_event() {
return std::move(caf.conveyor);
}
+void window<backend::linux_xcb>::resize_event(uint64_t x, uint64_t y, uint64_t width, uint64_t height){
+ /// @todo implement
+ assert(false);
+}
+void window<backend::linux_xcb>::mouse_event(int16_t x, int16_t y, uint16_t state, bool pressed){
+ /// @todo implement
+ assert(false);
+}
+void window<backend::linux_xcb>::mouse_move_event(int16_t x, int16_t y){
+ /// @todo implement
+ assert(false);
+}
+void window<backend::linux_xcb>::keyboard_event(int16_t x, int16_t y, uint32_t keycode, bool pressed, bool repeat){
+ /// @todo implement
+ assert(false);
+}
+
}
}