~ubuntu-branches/ubuntu/wily/xpenguins-applet/wily

« back to all changes in this revision

Viewing changes to src/toon_globals.c

  • Committer: Bazaar Package Importer
  • Author(s): Bas Zoetekouw
  • Date: 2001-07-21 16:59:06 UTC
  • Revision ID: james.westby@ubuntu.com-20010721165906-b3mgcd0blpwvud8d
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* toon_globals.c - declare and initialise global variables
 
2
 * Copyright (C) 1999-2001  Robin Hogan
 
3
 *
 
4
 *  This program is free software; you can redistribute it and/or modify
 
5
 *  it under the terms of the GNU General Public License as published by
 
6
 *  the Free Software Foundation; either version 2 of the License, or
 
7
 *  (at your option) any later version.
 
8
 *
 
9
 *  This program is distributed in the hope that it will be useful,
 
10
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 *  GNU General Public License for more details.
 
13
 *
 
14
 *  You should have received a copy of the GNU General Public License
 
15
 *  along with this program; if not, write to the Free Software
 
16
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
17
 */
 
18
#include "toon.h"
 
19
 
 
20
Display *toon_display;
 
21
Window toon_root;
 
22
Window toon_parent;
 
23
Window toon_root_override = 0;
 
24
int toon_x_offset = 0;
 
25
int toon_y_offset = 0;
 
26
int toon_display_width, toon_display_height;
 
27
GC toon_drawGC = NULL;
 
28
Region toon_windows = NULL;
 
29
unsigned int toon_nwindows = 0;
 
30
 
 
31
__ToonWindowData *toon_windata = NULL;
 
32
ToonData **toon_data = NULL;
 
33
int toon_ngenera = 0;
 
34
int toon_ntypes = 0;
 
35
int toon_errno = 0;
 
36
/* Do the edges block movement?
 
37
 * If only the sides and the bottom block movement then toon_edge_block = 2 */
 
38
char toon_edge_block = 0;
 
39
char toon_shaped_windows = 1;
 
40
/* If solid_popups is set to 0 then the toons fall behind `popup' windows.
 
41
 * This includes the KDE panel */
 
42
char toon_solid_popups = 1;
 
43
int toon_signal = 0;
 
44
char toon_error_message[TOON_MESSAGE_LENGTH] = "";
 
45
char toon_message[TOON_MESSAGE_LENGTH] = "";
 
46
int toon_max_relocate_up = TOON_DEFAULTMAXRELOCATE;
 
47
int toon_max_relocate_down = TOON_DEFAULTMAXRELOCATE;
 
48
int toon_max_relocate_left = TOON_DEFAULTMAXRELOCATE;
 
49
int toon_max_relocate_right = TOON_DEFAULTMAXRELOCATE;