Mercurial > pidgin
comparison src/ui.h @ 2442:895e2469cb3a
[gaim-migrate @ 2455]
aim_user is split. mod_user probably only needs to be in multi.c but eh. moved struct conversation to ui.h. still need to create struct buddy_chat for the prpls to use.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 06 Oct 2001 04:05:53 +0000 |
parents | 8306c042bac7 |
children | 1b7a1133962d |
comparison
equal
deleted
inserted
replaced
2441:2c2c1f717616 | 2442:895e2469cb3a |
---|---|
81 int width; | 81 int width; |
82 int height; | 82 int height; |
83 int entry_height; | 83 int entry_height; |
84 }; | 84 }; |
85 | 85 |
86 /* struct buddy_chat went away and got merged with this. */ | |
87 struct conversation { | |
88 struct gaim_connection *gc; | |
89 | |
90 /* stuff used for both IM and chat */ | |
91 GtkWidget *window; | |
92 char name[80]; | |
93 GtkWidget *text; | |
94 GtkWidget *entry; | |
95 GtkWidget *italic; | |
96 GtkWidget *bold; | |
97 GtkWidget *underline; | |
98 GtkWidget *fgcolorbtn; | |
99 GtkWidget *bgcolorbtn; | |
100 GtkWidget *link; | |
101 GtkWidget *wood; | |
102 GtkWidget *log_button; | |
103 GtkWidget *strike; | |
104 GtkWidget *font; | |
105 GtkWidget *smiley; | |
106 GtkWidget *fg_color_dialog; | |
107 GtkWidget *bg_color_dialog; | |
108 GtkWidget *font_dialog; | |
109 GtkWidget *smiley_dialog; | |
110 GtkWidget *link_dialog; | |
111 GtkWidget *log_dialog; | |
112 int makesound; | |
113 char fontface[128]; | |
114 int hasfont; | |
115 int fontsize; | |
116 int hassize; | |
117 GdkColor bgcol; | |
118 int hasbg; | |
119 GdkColor fgcol; | |
120 int hasfg; | |
121 | |
122 GString *history; | |
123 | |
124 GtkWidget *send; | |
125 | |
126 /* stuff used just for IM */ | |
127 GtkWidget *lbox; | |
128 GtkWidget *bbox; | |
129 GtkWidget *sw; | |
130 GtkWidget *info; | |
131 GtkWidget *warn; | |
132 GtkWidget *block; | |
133 GtkWidget *add; | |
134 GtkWidget *sep1; | |
135 GtkWidget *sep2; | |
136 GtkWidget *menu; | |
137 GtkWidget *check; | |
138 gboolean unseen; | |
139 | |
140 #if USE_PIXBUF | |
141 /* buddy icon stuff. sigh. */ | |
142 GtkWidget *icon; | |
143 GdkPixbuf *unanim; | |
144 GdkPixbufAnimation *anim; | |
145 guint32 icon_timer; | |
146 int frame; | |
147 #endif | |
148 | |
149 /* stuff used just for chat */ | |
150 GList *in_room; | |
151 GList *ignored; | |
152 char *topic; | |
153 int id; | |
154 GtkWidget *count; | |
155 GtkWidget *list; | |
156 GtkWidget *whisper; | |
157 GtkWidget *invite; | |
158 GtkWidget *close; | |
159 GtkWidget *topic_text; | |
160 | |
161 /* something to distinguish */ | |
162 gboolean is_chat; | |
163 }; | |
164 | |
86 struct log_conversation { | 165 struct log_conversation { |
87 char name[80]; | 166 char name[80]; |
88 char filename[512]; | 167 char filename[512]; |
89 struct log_conversation *next; | 168 struct log_conversation *next; |
90 }; | 169 }; |
103 char name[80]; | 182 char name[80]; |
104 char *message; | 183 char *message; |
105 time_t tm; | 184 time_t tm; |
106 struct gaim_connection *gc; | 185 struct gaim_connection *gc; |
107 int flags; | 186 int flags; |
187 }; | |
188 | |
189 struct mod_user { | |
190 struct aim_user *user; | |
191 | |
192 /* these are temporary */ | |
193 int options; | |
194 int protocol; | |
195 char proto_opt[7][256]; | |
196 | |
197 /* stuff for modify window */ | |
198 GtkWidget *mod; | |
199 GtkWidget *main; | |
200 GtkWidget *name; | |
201 GtkWidget *pwdbox; | |
202 GtkWidget *pass; | |
203 GtkWidget *rempass; | |
204 GList *opt_entries; | |
205 | |
206 /* stuff for icon selection */ | |
207 char iconfile[256]; | |
208 GtkWidget *iconsel; | |
209 GtkWidget *iconentry; | |
210 GtkWidget *icondlg; | |
211 | |
212 /* stuff for mail check prompt */ | |
213 GtkWidget *checkmail; | |
108 }; | 214 }; |
109 | 215 |
110 #define EDIT_GC 0 | 216 #define EDIT_GC 0 |
111 #define EDIT_GROUP 1 | 217 #define EDIT_GROUP 1 |
112 #define EDIT_BUDDY 2 | 218 #define EDIT_BUDDY 2 |