~cairo-dock-team/ubuntu/natty/cairo-dock/2.3.0-1

« back to all changes in this revision

Viewing changes to src/gldit/cairo-dock-internal-background.h

  • Committer: matttbe
  • Date: 2011-04-11 20:57:15 UTC
  • Revision ID: matttbe@gmail.com-20110411205715-pw4p9bs9mu6r7hmg
Tags: upstream-2.3.0~0rc1
* New Upstream Version (LP: #723994)
* Added debian/source/format 3.0
* Removed the desktop-file-category patch (sync with debian packages)
* debian/rules:
 - Added a CMake flag to disable the gtk grip
 - No longer used simple-patchsys
* debian/control:
 - Updated the description (from launchpad.net/cairo-dock)
 - Added cairo-dock-plug-ins as a new suggestion for cairo-dock-core
* Updated the debian/watch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
* This file is a part of the Cairo-Dock project
3
 
*
4
 
* Copyright : (C) see the 'copyright' file.
5
 
* E-mail    : see the 'copyright' file.
6
 
*
7
 
* This program is free software; you can redistribute it and/or
8
 
* modify it under the terms of the GNU General Public License
9
 
* as published by the Free Software Foundation; either version 3
10
 
* of the License, or (at your option) any later version.
11
 
*
12
 
* This program is distributed in the hope that it will be useful,
13
 
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
* GNU General Public License for more details.
16
 
* You should have received a copy of the GNU General Public License
17
 
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
 
*/
19
 
 
20
 
 
21
 
#ifndef __CAIRO_DOCK_INTERNAL_BACKGROUND__
22
 
#define  __CAIRO_DOCK_INTERNAL_BACKGROUND__
23
 
 
24
 
#include <glib.h>
25
 
 
26
 
#include "cairo-dock-struct.h"
27
 
#include "cairo-dock-config.h"
28
 
 
29
 
 
30
 
typedef struct _CairoConfigBackground CairoConfigBackground;
31
 
#ifndef _INTERNAL_MODULE_
32
 
extern CairoConfigBackground myBackground;
33
 
#endif
34
 
G_BEGIN_DECLS
35
 
 
36
 
struct _CairoConfigBackground {
37
 
        // frame
38
 
        gint iDockRadius;
39
 
        gint iDockLineWidth;
40
 
        gint iFrameMargin;
41
 
        gdouble fLineColor[4];
42
 
        gboolean bRoundedBottomCorner;
43
 
        // background
44
 
        gchar *cBackgroundImageFile;
45
 
        gdouble fBackgroundImageAlpha;
46
 
        gboolean bBackgroundImageRepeat;
47
 
        gint iNbStripes;
48
 
        gdouble fStripesWidth;
49
 
        gdouble fStripesColorBright[4];
50
 
        gdouble fStripesColorDark[4];
51
 
        gdouble fStripesAngle;
52
 
        };
53
 
 
54
 
#define g_iDockLineWidth myBackground.iDockLineWidth
55
 
#define g_iDockRadius myBackground.iDockRadius
56
 
 
57
 
DEFINE_PRE_INIT (Background);
58
 
 
59
 
G_END_DECLS
60
 
#endif