ekg2
GIT master
Strona główna
Dodatkowe strony
Moduły
Struktury Danych
Pliki
Lista plików
Globalne
All
Struktury Danych
Pliki
Funkcje
Zmienne
Definicje typów
Wyliczenia
Wartości wyliczeń
Definicje
Grupay
Strony
plugins
gtk
main.h
Idź do dokumentacji tego pliku.
1
#include <gtk/gtkwidget.h>
2
#include <gtk/gtkcontainer.h>
3
#include <gtk/gtksignal.h>
4
5
extern
int
ui_quit
;
6
7
extern
plugin_t
gtk_plugin
;
8
9
typedef
struct
{
10
GtkWidget
11
*
xtext
, *vscrollbar, *
window
,
/* toplevel */
12
*topic_entry, *note_book, *main_table, *user_tree,
/* GtkTreeView */
13
*user_box,
/* userlist box */
14
*dialogbutton_box, *topicbutton_box,
15
*topic_bar, *hpane_left, *hpane_right, *vpane_left, *vpane_right, *menu, *bar,
/* connecting progress bar */
16
*nick_box,
/* contains label to the left of input_box */
17
*nick_label, *op_xpm,
/* icon to the left of nickname */
18
*namelistinfo,
/* label above userlist */
19
*input_box;
20
21
#define MENU_ID_NUM 12
22
GtkWidget *menu_item[
MENU_ID_NUM
+ 1];
/* some items we may change state of */
23
24
void
*
chanview
;
/* chanview.h */
25
26
int
pane_left_size
;
/*last position of the pane */
27
int
pane_right_size
;
28
29
guint16
is_tab
;
/* is tab or toplevel? */
30
guint16
ul_hidden
;
/* userlist hidden? */
31
}
gtk_window_ui_t
;
32
33
typedef
struct
{
34
gtk_window_ui_t
*
gui
;
35
36
void
*
tab
;
/* (chan *) */
37
38
/* information stored when this tab isn't front-most */
39
void
*
user_model
;
/* for filling the GtkTreeView */
40
void
*
buffer
;
/* xtext_Buffer */
41
gfloat
old_ul_value
;
/* old userlist value (for adj) */
42
}
gtk_window_t
;
43
44
45
/* config */
46
extern
int
mainwindow_width_config
;
47
extern
int
mainwindow_height_config
;
48
extern
int
gui_pane_left_size_config
;
49
extern
int
gui_tweaks_config
;
50
extern
int
tab_small_config
;
51
extern
int
tab_pos_config
;
52
extern
int
max_auto_indent_config
;
53
extern
int
thin_separator_config
;
54
55
extern
int
show_marker_config
;
56
extern
int
tint_red_config
;
57
extern
int
tint_green_config
;
58
extern
int
tint_blue_config
;
59
extern
int
transparent_config
;
60
extern
int
wordwrap_config
;
61
extern
int
indent_nicks_config
;
62
extern
int
show_separator_config
;
63
extern
char
*
font_normal_config
;
64
extern
int
transparent_config
;
65
66
extern
int
gui_ulist_pos_config
;
67
extern
int
tab_pos_config
;
68
69
extern
int
tab_layout_config
;
70
extern
int
contacts_config
;
71
extern
int
backlog_size_config
;
72
73
extern
int
gui_pane_left_size_config
;
74
extern
int
gui_pane_right_size_config
;
75
76
extern
int
new_window_in_tab_config
;
77
78
#define hidemenu_config 0
79
#define topicbar_config 1
80
81
#define mainwindow_left_config 0
82
#define mainwindow_top_config 0
83
#define newtabstofront_config 2
84
85
#define gtk_private_ui(w) (((gtk_window_t*) w->priv_data)->gui)
86
#define gtk_private(w) ((gtk_window_t*) w->priv_data)
87
88
#define gui_win_state_config 0
89
90
#define truncchans_config 20
91
#define tab_sort_config 1
92
#define style_namelistgad_config 0
93
94
#define chanmodebuttons_config -1
95
#define gui_quit_dialog_config -1
96
97
#define FOCUS_NEW_ALL 1
98
#define FOCUS_NEW_ONLY_ASKED 2
99
100
#define paned_userlist_config 0
/* XXX xchat def: 1 */
101
#define style_inputbox_config 0
/* XXX xchat commented def: 1 */
102
103
extern
int
gtk_ui_window_switch_lock
;
Wygenerowano Wt, 29 paź 2013 20:17:04 dla ekg2 programem
1.8.4