grim/guifications1
Clone
Summary
Browse
Changes
Graph
a useless feature.. dunno if this will work on windows.. datallah any ideas?
2004-01-14, grim
104f6faa875a
a useless feature.. dunno if this will work on windows.. datallah any ideas?
/*
Guifications - The notification plugin to end all notification plugins!
Copyright (C) 2003-2004 Gary Kramlich
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.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef GF_THEME_H
#define GF_THEME_H
#include
<glib.h>
#include
"gf_types.h"
typedef
enum
_gf_theme_info
{
gf_theme_info_name
=
0
,
gf_theme_info_version
,
gf_theme_info_description
,
gf_theme_info_author
,
gf_theme_info_website
}
gf_theme_info
;
typedef
struct
_gf_theme_item
{
gboolean
visible
;
gint
offset_horizontal
;
gint
offset_vertical
;
}
gf_theme_item
;
typedef
struct
_gf_theme_shadow
{
gf_theme_item
item
;
gchar
*
color
;
}
gf_theme_shadow
;
typedef
struct
_gf_theme_text
{
gf_theme_item
item
;
gchar
*
font
;
gchar
*
color
;
gchar
*
format
;
gf_item_position
position
;
gint
width
;
gf_text_clipping
clipping
;
gf_theme_shadow
shadow
;
}
gf_theme_text
;
typedef
struct
_gf_theme_icon
{
gf_theme_item
item
;
gf_icon
type
;
gf_item_position
position
;
gf_icon_size
size
;
gf_theme_shadow
shadow
;
}
gf_theme_icon
;
typedef
struct
_gf_theme_notification
{
gchar
*
image
;
gint
lines
;
gf_theme_text
*
text
;
gint
icons
;
gf_theme_icon
*
icon
;
}
gf_theme_notification
;
typedef
struct
_gf_theme
{
gchar
*
info
[
5
];
gf_theme_notification
notification
[
7
];
/* this member should be consider private, the plugin will fill it
in when it loads the theme, so we can use multiple theme dirs */
gchar
*
directory
;
}
gf_theme
;
#endif