~ubuntu-branches/ubuntu/trusty/ggz-gtk-client/trusty

« back to all changes in this revision

Viewing changes to ggz-gtk/xtext-ggz.h

  • Committer: Bazaar Package Importer
  • Author(s): Peter Eisentraut, Josef Spillner, Peter Eisentraut
  • Date: 2006-10-20 23:06:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061020230651-u1vcph06q6fmbaa7
Tags: 0.0.13-3
[ Josef Spillner ]
* Section change: libggz-gtk0 is in libs

[ Peter Eisentraut ]
* Fixed package dependencies for binNMU compatibility
* Disabled gaim plugin for the time being (closes: #392457)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * File: xtext-ggz.h
 
3
 * Author: Jason Short
 
4
 * Project: GGZ GTK Client
 
5
 * $Id: xtext-ggz.h 7730 2006-01-06 05:31:52Z jdorje $
 
6
 *
 
7
 * This file is included from xtext.c to add additional ggz-specific
 
8
 * directives.
 
9
 *
 
10
 * Copyright (C) 2005 GGZ Development Team
 
11
 *
 
12
 * This program is free software; you can redistribute it and/or modify
 
13
 * it under the terms of the GNU General Public License as published by
 
14
 * the Free Software Foundation; either version 2 of the License, or
 
15
 * (at your option) any later version.
 
16
 *
 
17
 * This program is distributed in the hope that it will be useful,
 
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
 * GNU General Public License for more details.
 
21
 *
 
22
 * You should have received a copy of the GNU General Public License
 
23
 * along with this program; if not, write to the Free Software
 
24
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 
25
 */
 
26
 
 
27
 
 
28
/*
 
29
 * xtext.c and xtext.h was taken from xchat-2.6.0.  I then made the following
 
30
 * modifications to xtext.c:
 
31
 *
 
32
 * - Remove the following code from xtext.c
 
33
 *     #ifdef XCHAT
 
34
 *     #include "../../config.h"
 
35
 *     #else
 
36
 *     #define USE_XLIB
 
37
 *     #endif
 
38
 *   and add #include "xtext-ggz.h" in its place.
 
39
 * - Add #include "xtext-ggz.h" at the *bottom* of xtext.h.
 
40
 *
 
41
 * This file therefore contains extra code that xtext.c and xtext.h will
 
42
 * need.  It's contained here so that large changes to xtext.c aren't
 
43
 * necessary.
 
44
 */
 
45
 
 
46
#ifdef HAVE_CONFIG_H
 
47
#  include <config.h>
 
48
#endif
 
49
 
 
50
#undef XCHAT
 
51
#ifndef WIN32
 
52
#define USE_XLIB
 
53
#endif
 
54
 
 
55
#undef XTEXT_MARK_FG
 
56
#undef XTEXT_MARK_BG
 
57
#undef XTEXT_FG
 
58
#undef XTEXT_BG
 
59
#undef XTEXT_MARKER
 
60
 
 
61
#define XTEXT_MARK_FG 18       /* for marking text */
 
62
#define XTEXT_MARK_BG 14
 
63
#define XTEXT_FG 18
 
64
#define XTEXT_BG 19
 
65
#define XTEXT_MARKER 5         /* for marker line */
 
66
 
 
67
#include <strings.h> /* For strcasecmp */