~ubuntu-branches/ubuntu/oneiric/cairo-dock-plug-ins/oneiric-updates

« back to all changes in this revision

Viewing changes to desklet-rendering/src/rendering-desklet-panel.h

  • Committer: Kees Cook
  • Date: 2011-08-11 23:17:39 UTC
  • mfrom: (20.1.1 cairo-dock-plug-ins)
  • Revision ID: kees@outflux.net-20110811231739-cteedan51tmdg77v
Tags: 2.4.0~0beta2-0ubuntu1
releasing version 2.4.0~0beta2-0ubuntu1

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 __RENDERING_DESKLET_PANEL__
 
22
#define  __RENDERING_DESKLET_PANEL__
 
23
 
 
24
#include "cairo-dock.h"
 
25
 
 
26
 
 
27
typedef struct {
 
28
        // from config
 
29
        gint iNbLinesForced;
 
30
        gboolean bHorizontalPackaging;
 
31
        gdouble fBgColor[4];
 
32
        gint iRadius;
 
33
        gint iLineWidth;
 
34
        // computed data
 
35
        gdouble fMargin;
 
36
        gint iNbIcons;
 
37
        gint iIconSize;
 
38
        gint iMainIconSize;
 
39
        gint iNbLines, iNbColumns;
 
40
        } CDPanelParameters;
 
41
 
 
42
 
 
43
void rendering_register_panel_desklet_renderer (void);
 
44
 
 
45
 
 
46
#endif