summaryrefslogtreecommitdiffstats
path: root/msg_sender/gui.h
blob: 8236c7396ec8cc92cea66ddfafe074e9a2493a24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __GUI_H_
#define __GUI_H_

//structs
//typedef struct _ginfo ginfo;
#include "Evas.h"

//callback functions
static void on_cancel(void *data, Evas_Object *obj, void *event_info);
static void on_send_message(void *data, Evas_Object *obj, void *event_info);
static void on_message(void *data, Evas_Object *obj, void *event_info);
static void on_options(void *data, Evas_Object *obj, void *event_info);
static void on_chat(void *data, Evas_Object *obj, void *event_info);
static void on_history(void *data, Evas_Object *obj, void *event_info);


//other functions
void set_bubble_text(Evas_Object *bb, char *username, char *text);
void show_message(current_msg);
char* get_current_time();
//init functions
void init_options();
void init_window_parts();
void init_toolbar();
void init_history();
void init_buttons(Evas_Object *box, Evas_Object *msg);
void elm_main();
#endif