2
* This file is a part of the Cairo-Dock project
4
* Copyright : (C) see the 'copyright' file.
5
* E-mail : see the 'copyright' file.
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.
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/>.
21
#ifndef __RENDERING_DESKLET_TREE__
22
#define __RENDERING_DESKLET_TREE__
26
#define MY_APPLET_TREE_DESKLET_RENDERER_NAME "Tree"
32
gdouble fTreeWidthFactor;
33
gdouble fTreeHeightFactor;
34
cairo_surface_t *pBrancheSurface[2];
37
CDTreeParameters *rendering_configure_tree (CairoDesklet *pDesklet, cairo_t *pSourceContext, gpointer *pConfig);
39
void rendering_load_tree_data (CairoDesklet *pDesklet, cairo_t *pSourceContext);
41
void rendering_free_tree_data (CairoDesklet *pDesklet);
43
void rendering_load_icons_for_tree (CairoDesklet *pDesklet, cairo_t *pSourceContext);
46
void rendering_draw_tree_in_desklet (cairo_t *pCairoContext, CairoDesklet *pDesklet, gboolean bRenderOptimized);
48
void rendering_register_tree_desklet_renderer (void);