00001 // Copyright (c) 2003 - 2004 Anselm R. Garbe <anselmg at t-online.de> 00002 // See ../LICENSE.txt for license details. 00003 // 00004 // $Id: cursors.h 7 2007-05-24 11:03:53Z eg1981 $ 00005 00006 #ifndef __CURSORS_H 00007 #define __CURSORS_H 00008 00009 extern "C" { 00010 #include <X11/Xlib.h> 00011 } 00012 00016 class Cursors { 00017 00018 public: 00019 00020 static void initCursors(); 00021 00022 static Cursor NORMAL_CURSOR; 00023 static Cursor RESIZE_LEFT_CURSOR; 00024 static Cursor RESIZE_RIGHT_CURSOR; 00025 static Cursor RESIZE_UP_CURSOR; 00026 static Cursor RESIZE_DOWN_CURSOR; 00027 00028 static Cursor RESIZE_NORTH_WEST_CURSOR; 00029 static Cursor RESIZE_NORTH_EAST_CURSOR; 00030 static Cursor RESIZE_SOUTH_EAST_CURSOR; 00031 static Cursor RESIZE_SOUTH_WEST_CURSOR; 00032 00033 static void cleanup(); 00034 00035 private: 00036 00037 static bool initialized_; 00038 }; 00039 00040 #endif // __CURSORS_H