diff options
Diffstat (limited to 'src/ui/chat.h')
-rw-r--r-- | src/ui/chat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/chat.h b/src/ui/chat.h index 5d80fc4..42729aa 100644 --- a/src/ui/chat.h +++ b/src/ui/chat.h | |||
@@ -33,6 +33,8 @@ | |||
33 | 33 | ||
34 | #include <gnunet/gnunet_chat_lib.h> | 34 | #include <gnunet/gnunet_chat_lib.h> |
35 | 35 | ||
36 | #define UI_CHAT_SEND_BUTTON_HOLD_INTERVAL 500000 // in microseconds | ||
37 | |||
36 | typedef struct MESSENGER_Application MESSENGER_Application; | 38 | typedef struct MESSENGER_Application MESSENGER_Application; |
37 | typedef struct UI_MESSAGE_Handle UI_MESSAGE_Handle; | 39 | typedef struct UI_MESSAGE_Handle UI_MESSAGE_Handle; |
38 | typedef struct UI_PICKER_Handle UI_PICKER_Handle; | 40 | typedef struct UI_PICKER_Handle UI_PICKER_Handle; |
@@ -40,6 +42,8 @@ typedef struct UI_FILE_LOAD_ENTRY_Handle UI_FILE_LOAD_ENTRY_Handle; | |||
40 | 42 | ||
41 | typedef struct UI_CHAT_Handle | 43 | typedef struct UI_CHAT_Handle |
42 | { | 44 | { |
45 | gint64 send_pressed_time; | ||
46 | |||
43 | gboolean recorded; | 47 | gboolean recorded; |
44 | gboolean playing; | 48 | gboolean playing; |
45 | 49 | ||
@@ -122,6 +126,10 @@ typedef struct UI_CHAT_Handle | |||
122 | GtkButton *send_record_button; | 126 | GtkButton *send_record_button; |
123 | GtkImage *send_record_symbol; | 127 | GtkImage *send_record_symbol; |
124 | 128 | ||
129 | GtkPopover *send_popover; | ||
130 | GtkButton *send_later_button; | ||
131 | GtkButton *send_now_button; | ||
132 | |||
125 | GtkButton *recording_close_button; | 133 | GtkButton *recording_close_button; |
126 | GtkButton *recording_play_button; | 134 | GtkButton *recording_play_button; |
127 | GtkImage *play_pause_symbol; | 135 | GtkImage *play_pause_symbol; |