Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

gui.h

Go to the documentation of this file.
00001 /*
00002  * $Id: gui.h,v 1.6 2005/06/29 14:24:28 daichik Exp $
00003  *
00004  * Copyright (c) 2004, Raphael Manfredi
00005  *
00006  *----------------------------------------------------------------------
00007  * This file is part of gtk-gnutella.
00008  *
00009  *  gtk-gnutella is free software; you can redistribute it and/or modify
00010  *  it under the terms of the GNU General Public License as published by
00011  *  the Free Software Foundation; either version 2 of the License, or
00012  *  (at your option) any later version.
00013  *
00014  *  gtk-gnutella is distributed in the hope that it will be useful,
00015  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  *  GNU General Public License for more details.
00018  *
00019  *  You should have received a copy of the GNU General Public License
00020  *  along with gtk-gnutella; if not, write to the Free Software
00021  *  Foundation, Inc.:
00022  *      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023  *----------------------------------------------------------------------
00024  */
00025 
00026 #ifndef _gtk_ui_h_
00027 #define _gtk_ui_h_
00028 
00029 #include "common.h"
00030 
00031 #include <gtk/gtk.h>
00032 
00033 #ifdef USE_GTK1
00034 #include "gtk1/support-glade.h"
00035 #endif
00036 #ifdef USE_GTK2
00037 #include "gtk2/support-glade.h"
00038 #endif
00039 
00040 #include "main.h"
00041 
00042 #ifdef USE_GTK1
00043 #define g_ascii_strcasecmp g_strcasecmp
00044 #define gdk_drawable_get_size gdk_window_get_size
00045 #endif
00046 
00047 /* Common padding values for GtkCellRenderer */
00048 #define GUI_CELL_RENDERER_XPAD ((guint) 4U)
00049 #define GUI_CELL_RENDERER_YPAD ((guint) 0U)
00050 
00055 enum sorting_order {
00056     SORT_DESC = -1,
00057     SORT_NONE = 0,
00058     SORT_ASC = 1,
00059     SORT_NO_COL = 2     
00060 };
00061 
00062 #endif /* _gtk_ui_h_ */
00063 
00064 /* vi: set ts=4 sw=4 cindent: */

Generated on Sun Feb 12 10:49:56 2006 for Gtk-Gnutella by doxygen 1.3.6