annotate src/gtkgaim.h @ 11868:4b71193448b3

[gaim-migrate @ 14159] Sean used tabs, not spaces. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 27 Oct 2005 21:48:05 +0000
parents 59ae71ae0b7c
children bfbb1798535e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
1 /**
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
2 * @file gtkgaim.h UI definitions and includes
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
3 * @ingroup gtkui
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
4 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
5 * gaim
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
6 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
7 * Gaim is the legal property of its developers, whose names are too numerous
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
8 * to list here. Please refer to the COPYRIGHT file distributed with this
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
9 * source distribution.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
10 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
11 * This program is free software; you can redistribute it and/or modify
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
12 * it under the terms of the GNU General Public License as published by
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
13 * the Free Software Foundation; either version 2 of the License, or
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
14 * (at your option) any later version.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
15 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
16 * This program is distributed in the hope that it will be useful,
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
19 * GNU General Public License for more details.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
20 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
21 * You should have received a copy of the GNU General Public License
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
22 * along with this program; if not, write to the Free Software
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
24 */
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
25 #ifndef _GAIM_GTKGAIM_H_
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
26 #define _GAIM_GTKGAIM_H_
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
27
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
28 #ifndef _WIN32
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
29 # include <gdk/gdkx.h>
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
30 #endif
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
31
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
32 #include <gtk/gtk.h>
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
33
10400
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
34 /**
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
35 * Our UI's identifier.
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
36 */
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
37 #define GAIM_GTK_UI "gtk-gaim"
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
38
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
39 #ifndef _WIN32
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
40 # define GAIM_ALERT_TITLE ""
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
41 #else
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
42 # define GAIM_ALERT_TITLE "Gaim"
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
43 #endif
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
44
11149
239918d22c5f [gaim-migrate @ 13228]
Gary Kramlich <grim@reaperworld.com>
parents: 11035
diff changeset
45 /*
10062
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
46 * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x)
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
47 * It defines the new wrap behavior (unknown in earlier versions)
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
48 * as the old (slightly buggy) wrap behavior.
11753
59ae71ae0b7c [gaim-migrate @ 14044]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11243
diff changeset
49 * It also includes our back-ported GtkExpander
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
50 */
11149
239918d22c5f [gaim-migrate @ 13228]
Gary Kramlich <grim@reaperworld.com>
parents: 11035
diff changeset
51 /** @cond */
10062
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
52 #if (!GTK_CHECK_VERSION(2,4,0))
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
53 #define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
11753
59ae71ae0b7c [gaim-migrate @ 14044]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11243
diff changeset
54 #include "gtkexpander.h"
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
55 #endif
11149
239918d22c5f [gaim-migrate @ 13228]
Gary Kramlich <grim@reaperworld.com>
parents: 11035
diff changeset
56 /** @endcond */
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
57
11243
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
58 /*
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
59 * Spacings between components, as defined by the
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
60 * Gnome Human Interface Guidelines.
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
61 */
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
62 #define GAIM_HIG_CAT_SPACE 18
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
63 #define GAIM_HIG_BORDER 12
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
64 #define GAIM_HIG_BOX_SPACE 6
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
65
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
66 #endif /* _GAIM_GTKGAIM_H_ */
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
67