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/>.
20
#ifndef __CAIRO_DOCK_GLOBAL_VARIABLES_H__
21
#define __CAIRO_DOCK_GLOBAL_VARIABLES_H__
23
#include "cairo-dock-struct.h"
24
#include "cairo-dock-file-manager.h" // pour g_iDesktopEnv
27
/// Pointeur sur le dock principal.
28
extern CairoDock *g_pMainDock;
29
/// Chemin du fichier de conf de l'appli.
30
extern gchar *g_cConfFile;
31
/// Le chemin vers le repertoire racine.
32
extern gchar *g_cCairoDockDataDir;
34
extern int g_iMajorVersion, g_iMinorVersion, g_iMicroVersion;
36
/// indicateur de tache
37
extern CairoDockImageBuffer g_pIndicatorBuffer;
39
extern CairoDockImageBuffer g_pBoxAboveBuffer;
40
extern CairoDockImageBuffer g_pBoxBelowBuffer;
42
extern CairoDockImageBuffer g_pIconBackgroundBuffer;
45
extern CairoDockDesktopGeometry g_desktopGeometry;
47
/// Environnement de bureau detecte.
48
extern CairoDockDesktopEnv g_iDesktopEnv;
50
extern gboolean g_bEasterEggs;
52
extern gboolean g_bUseOpenGL;
54
extern GLuint g_pGradationTexture[2];
56
extern CairoDockModuleInstance *g_pCurrentModule;