summaryrefslogtreecommitdiff
path: root/gui.c
AgeCommit message (Collapse)Author
2023-01-23gui.c: Create separate create_window()legacy/sdl2xengineering
This splits the GUI code into smaller functions.
2023-01-23gui.c: Remove inline commentsxengineering
Not that helpful. Should be replaced by easy to read code and well written function docstrings.
2023-01-23Implement GUI init and deinit functionsxengineering
2023-01-23Bundle GUI variables in context structxengineering
This allows to pass all variables easily between small functions.
2023-01-09Fix reconnectionxengineering
This was not possible because gui.c did not reset the socket filedescriptor to the default value.
2023-01-08Adapt comment indent to Linux kernel codexengineering
2023-01-08Implement close on clickxengineering
This adds the option to close the XMPP connection.
2023-01-08Connect on mouse clickxengineering
With this commit the client starts the connection to the server as soon as the user clicks into the application window. Disconnect or reading / writing to the stream is not implemented.
2022-12-02Add GPL3 license header to relevant source filesxengineering
This should make the license more visible and prevent wrong usage.
2022-11-27Implement XMPP connect on SDL_MOUSEBUTTONDOWNxengineering
This removes xmpp_connect() from the main loop and delegates the calling to the GUI. This should be the case in the future.
2022-11-27Mark SDL2 window as resizablexengineering
This should be the long-term default and should be addressed in an early phase of development to implement the GUI with a resizable window in mind.
2022-11-27Switch completely to SDL2 versionxengineering
The now legacy version of LimoX with GTK4 and libstrophe is now not part of the main branch anymore. There might be a legacy branch keeping this version at the time of reading. This cut of implemented functionality is motivated by these reasons: - Implementing XMPP is fun, educative and gives full control. - Low level graphics with SDL2 is portable, fast, educative an mature. - I do not have to use GLib and a crazy event loop anymore (run and hide)
2022-08-15Implement XMPP connect / disconnectxengineering
2022-08-14First public versionxengineering