From 984257fffc0b31ec41e5c72219a396183d3358ab Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Wed, 20 Jan 2016 20:57:26 +0100 Subject: Very dirty first attempt at glib mainloop in switcher (not yet dmenu.) --- include/rofi.h | 1 + include/textbox.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/rofi.h b/include/rofi.h index 95fd06c6..69763325 100644 --- a/include/rofi.h +++ b/include/rofi.h @@ -93,5 +93,6 @@ const char * menu_state_get_user_input ( const MenuState *state ); void menu_state_free ( MenuState *state ); void menu_state_restart ( MenuState *state ); void menu_state_set_selected_line ( MenuState *state, unsigned int selected_line ); +void menu_state_queue_redraw ( void ); /*@}*/ #endif diff --git a/include/textbox.h b/include/textbox.h index ecc52784..c321eb47 100644 --- a/include/textbox.h +++ b/include/textbox.h @@ -36,6 +36,8 @@ typedef struct cairo_t *main_draw; int update; + int blink; + guint blink_timeout; } textbox; typedef enum -- cgit v1.2.3