musicus mpd client 0.1d
definitions_gtk.h
Go to the documentation of this file.
00001 
00008 /**********************************************************************
00009  * Copyright 2006 - 2008 by Simon Gerber <simugerber@student.ethz.ch>
00010  *
00011  * This file is part of Musicus.
00012  * Musicus is free software: you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation, either version 3 of the License, or
00015  * (at your option) any later version.
00016  *
00017  * Musicus is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License
00023  * along with Musicus.  If not, see <http://www.gnu.org/licenses/>.
00024  **********************************************************************/
00025 
00026 #ifndef __definitions_gtk_h
00027 #define __definitions_gtk_h
00028 
00033 
00034 #include "definitions.h"
00035 #include <gtk/gtk.h>
00036 
00040 char sb_text[BUF_LEN];
00041 
00045 #define GEOM_LEN 64
00046 
00051 typedef struct {
00053     GtkWidget *win;
00055 
00059     int window_creation_finished;
00061     struct {
00063         gchar geom[GEOM_LEN];
00065         gboolean filled;
00066     } characteristics;
00067 } WinInfo;
00068 
00072 enum {
00074     COLUMN_FILE,
00076     COLUMN_PL_ID,
00078     COLUMN_PLAYING,
00080     COLUMN_TITLE,
00082     COLUMN_ARTIST,
00084     COLUMN_ALBUM,
00086     COLUMN_TIME,
00088     COLUMN_HUMAN_TIME,
00090     N_COLUMNS
00091 };
00092 
00093 
00095 #endif
00096 
00097 /* vim:sts=4:shiftwidth=4
00098  */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines