~cairo-dock-team/ubuntu/oneiric/cairo-dock/2.3.0-3

« back to all changes in this revision

Viewing changes to src/cairo-dock-global-variables.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2010-08-09 23:26:12 UTC
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: james.westby@ubuntu.com-20100809232612-pocdxliaxjdetm37
Tags: upstream-2.2.0~0beta4
ImportĀ upstreamĀ versionĀ 2.2.0~0beta4

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
 
#ifndef __CAIRO_DOCK_GLOBAL_VARIABLES_H__
21
 
#define __CAIRO_DOCK_GLOBAL_VARIABLES_H__
22
 
 
23
 
#include "cairo-dock-struct.h"
24
 
#include "cairo-dock-file-manager.h"  // pour g_iDesktopEnv
25
 
G_BEGIN_DECLS
26
 
 
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;
33
 
/// Le chemin vers le repertoire du theme courant.
34
 
extern gchar *g_cCurrentThemePath;
35
 
/// Le chemin vers le repertoire des lanceurs/icones du theme courant.
36
 
extern gchar *g_cCurrentLaunchersPath;
37
 
 
38
 
/// Dimensions de l'ecran en mode horizontal/vertical.
39
 
extern int g_iScreenWidth[2], g_iScreenHeight[2];
40
 
/// Dimensions de l'ecran logique en mode horizontal/vertical.
41
 
extern int g_iXScreenWidth[2], g_iXScreenHeight[2];
42
 
/// Nombre de bureaux virtuels.
43
 
extern int g_iNbDesktops;
44
 
/// Nombre de "faces" du cube en largeur et en hauteur.
45
 
extern int g_iNbViewportX, g_iNbViewportY ;
46
 
 
47
 
/// zone de rappel.
48
 
extern CairoDockImageBuffer g_pVisibleZoneBuffer;
49
 
/// background
50
 
extern CairoDockImageBuffer g_pDockBackgroundBuffer;
51
 
/// indicateur de tache
52
 
extern CairoDockImageBuffer g_pIndicatorBuffer;
53
 
/// boite
54
 
extern CairoDockImageBuffer g_pBoxAboveBuffer;
55
 
extern CairoDockImageBuffer g_pBoxBelowBuffer;
56
 
/// icon bg
57
 
extern CairoDockImageBuffer g_pIconBackgroundBuffer;
58
 
 
59
 
 
60
 
/// Environnement de bureau detecte.
61
 
extern CairoDockDesktopEnv g_iDesktopEnv;
62
 
 
63
 
extern gboolean g_bEasterEggs;
64
 
 
65
 
extern gboolean g_bUseOpenGL;
66
 
 
67
 
extern GLuint g_pGradationTexture[2];
68
 
extern GLuint g_iIndicatorTexture;
69
 
extern double g_fIndicatorWidth, g_fIndicatorHeight;
70
 
 
71
 
extern CairoDockModuleInstance *g_pCurrentModule;
72
 
 
73
 
G_END_DECLS
74
 
#endif