-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.h
53 lines (41 loc) · 1.27 KB
/
main.h
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef MAIN_H
#define MAIN_H
#include "gtk/gtk.h"
#include "xu_ly_btree.h"
int control_mode;
#define WORD_MAX_LEN 100000
//Giai nhuy wrote
/* MAIN WINDOW *********************************/
GtkBuilder *builder;
GtkWidget *main_window;
dict_t currentDict;
GtkEntry * lookupEntry;
GtkTextBuffer * meaningViewBuff;
GtkTextView *meaningView;
/* MAIN WINDOW *********************************/
//Giai nhuy wrote
// entry completion
GtkEntryCompletion *lookupEntryCompletion;
GtkListStore *lookupEntryWordList;
//Tuan Vu wrote
/* MANAGE DICT BUTTON **************************/
GtkWidget *manager_dict_window;
GtkWidget *add_dict_with_path_window;
GtkWidget *error_when_add_window;
/* MANAGE DICT BUTTON **************************/
/* ABOUT ME BUTTON *****************************/
GtkWidget *about_me_window;
/* ABOUT ME BUTTON *****************************/
/* ADD & EDIT BUTTON - SHARE GENERAL WINDOW ****/
GtkWidget *edit_add_words_window;
GtkEntry *edit_add_words_entry;
GtkTextBuffer *edit_add_text_view_buffer;
/* ADD & EDIT BUTTON - SHARE GENERAL WINDOW ****/
/* DELETE WORDS BUTTON *************************/
GtkDialog *confirm_delete_dialog;
/* DELETE WORDS BUTTON *************************/
//Tuan Vu wrote
// history
GtkTextView * history_view;
GtkTextBuffer * history_buff;
#endif