aboutsummaryrefslogtreecommitdiff
path: root/src/ui/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/message.h')
-rw-r--r--src/ui/message.h16
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
35typedef struct UI_MESSAGE_Handle 35typedef 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
48UI_MESSAGE_Handle* 49UI_MESSAGE_Handle*
49ui_message_new(MESSENGER_Application *app, 50ui_message_new(MESSENGER_Application *app,
50 bool sent); 51 bool sent);
51 52
53void
54ui_message_delete(UI_MESSAGE_Handle *handle);
55
52#endif /* UI_MESSAGE_H_ */ 56#endif /* UI_MESSAGE_H_ */