/***************************************************************************
                          window.h  -  description
                             -------------------
    begin                : Tue Nov 21 2000
    copyright            : (C) 2001 by cosmo
    email                : cosmo@operamail.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/xpm.h>

unsigned long white_pixel;
unsigned long black_pixel;

Display *mainDisplay;
int screen;
Window Root;
Window mainWindow;
Window iconWindow;

XWMHints WmHints;

Pixmap drawWindow;

Status status;
XClassHint classHint;
XSizeHints* win_size_hints;
XTextProperty title;
XEvent Event;

 	Atom wm_delete_window;
	Atom wm_protocols;

/* this variable will contain the handle to the returned graphics context. */
GC gc;
GC maingc;

/* these variables are used to specify various attributes for the GC. */
/* initial values for the GC. */
XGCValues values;

/* which values in 'values' to check when creating the GC. */
unsigned long valuemask;

XpmAttributes pixatt;
Pixmap currentPixmap;
Pixmap currentShape;
XImage currentImage;
XImage currentImageShape;
Pixmap shapeMaskPixmap;




