diff options
Diffstat (limited to 'src/ui/message.h')
-rw-r--r-- | src/ui/message.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/ui/message.h b/src/ui/message.h index b55cb8d..1b3a80c 100644 --- a/src/ui/message.h +++ b/src/ui/message.h | |||
@@ -34,19 +34,23 @@ typedef struct MESSENGER_Application MESSENGER_Application; | |||
34 | 34 | ||
35 | typedef struct UI_MESSAGE_Handle | 35 | typedef struct UI_MESSAGE_Handle |
36 | { | 36 | { |
37 | GtkWidget* message_box; | 37 | GtkBuilder *builder; |
38 | GtkWidget *message_box; | ||
38 | 39 | ||
39 | HdyAvatar* sender_avatar; | 40 | HdyAvatar *sender_avatar; |
40 | GtkLabel* sender_label; | 41 | GtkLabel *sender_label; |
41 | 42 | ||
42 | GtkLabel* text_label; | 43 | GtkLabel *text_label; |
43 | 44 | ||
44 | GtkLabel* timestamp_label; | 45 | GtkLabel *timestamp_label; |
45 | GtkImage* read_receipt_image; | 46 | GtkImage *read_receipt_image; |
46 | } UI_MESSAGE_Handle; | 47 | } UI_MESSAGE_Handle; |
47 | 48 | ||
48 | UI_MESSAGE_Handle* | 49 | UI_MESSAGE_Handle* |
49 | ui_message_new(MESSENGER_Application *app, | 50 | ui_message_new(MESSENGER_Application *app, |
50 | bool sent); | 51 | bool sent); |
51 | 52 | ||
53 | void | ||
54 | ui_message_delete(UI_MESSAGE_Handle *handle); | ||
55 | |||
52 | #endif /* UI_MESSAGE_H_ */ | 56 | #endif /* UI_MESSAGE_H_ */ |