LibreSplit/include/keybinds/keybinds_callbacks.h
Penaz 3f2ba7f54c Restructuring project folders
This should allow for plugins to refer to LibreSplit's functions without
having to pull in half of the codebase.
2026-03-25 21:57:10 +01:00

28 lines
960 B
C

#include "include/gui/app_window.h"
#include "include/settings/definitions.h"
#include <gtk/gtk.h>
extern void timer_start_split(LSAppWindow* win);
extern void timer_cancel_run(LSAppWindow* win);
extern void timer_skip(LSAppWindow* win);
extern void timer_unsplit(LSAppWindow* win);
extern void toggle_decorations(LSAppWindow* win);
extern void toggle_win_on_top(LSAppWindow* win);
gboolean ls_app_window_keypress(GtkWidget* widget, GdkEvent* event, gpointer data);
void keybind_start_split(GtkWidget* widget, LSAppWindow* win);
void keybind_stop_reset(const char* str, LSAppWindow* win);
void keybind_cancel(const char* str, LSAppWindow* win);
void keybind_skip(const char* str, LSAppWindow* win);
void keybind_unsplit(const char* str, LSAppWindow* win);
void keybind_toggle_decorations(const char* str, LSAppWindow* win);
void keybind_toggle_win_on_top(const char* str, LSAppWindow* win);
void bind_global_hotkeys(AppConfig cfg, LSAppWindow* win);