diff options
author | xengineering <me@xengineering.eu> | 2022-10-07 19:58:38 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-10-07 20:40:42 +0200 |
commit | 54732fa0ffc24c87aa9dc786a47545c675c28cec (patch) | |
tree | 44019c1452b98f327668d8c5e8a83b33693fe74f | |
parent | 5154cdd51ddb4beed58f0082b5792516343966ed (diff) | |
download | limox-54732fa0ffc24c87aa9dc786a47545c675c28cec.tar limox-54732fa0ffc24c87aa9dc786a47545c675c28cec.tar.zst limox-54732fa0ffc24c87aa9dc786a47545c675c28cec.zip |
Add empty SDL based gui.h implementation
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | sdl.c | 29 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 9bd034a..4b57931 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,6 @@ project('LimoX', 'c') gtkdep = dependency('gtk4') strophedep = dependency('libstrophe') +sdldep = dependency('sdl2') executable('limox', ['main.c', 'gtk.c', 'net.c', 'data.c'], dependencies : [gtkdep, strophedep]) +executable('limox_sdl', ['main.c', 'sdl.c', 'net.c', 'data.c'], dependencies : [sdldep, strophedep]) @@ -0,0 +1,29 @@ + + +#include "net.h" +#include "data.h" + + +void gui_run(void) { + +} + +void gui_connected(char* jid, char* password) { + +} + +void gui_disconnected(void) { + +} + +void gui_add_roster_item_widget(roster_item_t* item) { + +} + +void gui_add_chat_widget(chat_t* chat) { + +} + +void gui_add_message_widget(message_t* message, chat_t* chat) { + +} |