~ubuntu-branches/ubuntu/oneiric/cairo-dock/oneiric-201106091216

« back to all changes in this revision

Viewing changes to src/cairo-dock-dock-facility.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe), Matthieu Baerts (matttbe), Didier Roche
  • Date: 2010-03-01 21:24:00 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100301212400-3a3csog6eonse3in
Tags: 2.1.3-6-0ubuntu1
[ Matthieu Baerts (matttbe) ]
* New Upstream Version. (LP: #521534)
* Updated debian/watch and debian/copyright with LP account.
* Removed debian/patches/02-merge-changelog.patch'
 - data/ChangeLog.txt has to respect a syntax and is used by CD.
* debian/cairo-dock.1:
 - Updated with the latest release.
 - The domain name 'cairo-dock.org' has changed to 'glx-dock.org'
* debian/control:
 - Changed the homepage and other links (glx-dock.org)
 - Updated cairo-dock-dev architecture to 'all' (it no longer contains compiled files)
* debian/cairo-dock-dev.install
 - libcairo-dock.a and libcairo-dock.so no longer exist
* debian/rules
 - removed uneeded changelog file
* Updated debian/patches/01-desktop-file-category.patch

[ Didier Roche ]
* Fix debian/watch
* Fix some issue in versionning
* debian/control: clean the packaging and add right -plugins depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
 
1
/*
2
2
* This file is a part of the Cairo-Dock project
3
3
*
4
4
* Copyright : (C) see the 'copyright' file.
44
44
*/
45
45
#define cairo_dock_is_extended_dock(pDock) (myAccessibility.bExtendedMode && (pDock->iRefCount == 0))
46
46
 
 
47
#define cairo_dock_is_hidden(pDock) ((pDock)->iRefCount == 0 && (pDock)->bAutoHide && (pDock)->fHideOffset == 1)
 
48
 
47
49
/*
48
50
* Recharge les reflets (cairo) d'un dock. Utile si le dock a changé de position.
49
51
* @param pDock un dock.
64
66
Icon *cairo_dock_calculate_dock_icons (CairoDock *pDock);
65
67
 
66
68
 
67
 
/*
68
 
* Demande au WM d'empecher les autres fenetres d'empieter sur l'espace du dock.
 
69
/* Demande au WM d'empecher les autres fenetres d'empieter sur l'espace du dock.
69
70
* L'espace reserve est pris sur la taille minimale du dock, c'est-a-dire la taille de la zone de rappel si l'auto-hide est active,
70
71
* ou la taille du dock au repos sinon.
71
72
* @param pDock le dock.
73
74
*/
74
75
void cairo_dock_reserve_space_for_dock (CairoDock *pDock, gboolean bReserve);
75
76
 
76
 
/*
77
 
* Met un dock principal a sa taille et a sa place initiale.
 
77
/* Borne la position d'un dock a l'interieur de l'ecran.
 
78
*@param pDock le dock.
 
79
*/
 
80
void cairo_dock_prevent_dock_from_out_of_screen (CairoDock *pDock);
 
81
 
 
82
/* Calcule la position d'un dock etant donne ses nouvelles dimensions.
 
83
*/
 
84
void cairo_dock_get_window_position_at_balance (CairoDock *pDock, int iNewWidth, int iNewHeight, int *iNewPositionX, int *iNewPositionY);
 
85
 
 
86
/* Deplace et redimensionne un dock a ses position et taille attitrees. Ne change pas la zone d'input (cela doit etre fait par ailleurs), et ne la replace pas (cela est fait lors du configure).
 
87
*/
 
88
void cairo_dock_move_resize_dock (CairoDock *pDock);
 
89
 
 
90
/* Met un dock principal a ses position et taille attitrees. Meme remarque qu'au-dessus sur la zone d'input.
78
91
*@param pDock le dock.
79
92
*/
80
93
void cairo_dock_place_root_dock (CairoDock *pDock);
81
 
/*
82
 
* Borne la position d'un dock a l'interieur de l'ecran.
83
 
*@param pDock le dock.
84
 
*/
85
 
void cairo_dock_prevent_dock_from_out_of_screen (CairoDock *pDock);
86
 
 
87
 
 
88
 
void cairo_dock_set_window_position_at_balance (CairoDock *pDock, int iNewWidth, int iNewHeight);
89
 
 
90
 
void cairo_dock_get_window_position_and_geometry_at_balance (CairoDock *pDock, CairoDockSizeType iSizeType, int *iNewWidth, int *iNewHeight);
91
 
 
92
 
void cairo_dock_set_subdock_position_linear (Icon *pPointedIcon, CairoDock *pParentDock);
 
94
 
 
95
/* Cree une zone d'input d'une taille donnee pour un dock.
 
96
*/
 
97
GdkBitmap *cairo_dock_create_input_shape (CairoDock *pDock, int w, int h);
 
98
 
 
99
/* Met a jour les zones d'input d'un dock.
 
100
*/
 
101
void cairo_dock_update_input_shape (CairoDock *pDock);
93
102
 
94
103
/** Pop up a sub-dock.
95
104
*@param pPointedIcon icon pointing on the sub-dock.
99
108
void cairo_dock_show_subdock (Icon *pPointedIcon, CairoDock *pParentDock, gboolean bUpdateBefore);
100
109
 
101
110
 
102
 
void cairo_dock_update_input_shape (CairoDock *pDock);
103
 
 
104
 
/** Calculate the position at rest (when the mouse is outside of the dock and its size is normal) of the icons of a linear dock. 
 
111
/** Calculate the position at rest (when the mouse is outside of the dock and its size is normal) of the icons of a linear dock.
105
112
*@param pIconList a list of icons.
106
113
*@param fFlatDockWidth width of all the icons placed next to each other.
107
114
*@param iXOffset an offset on the position of the first icon.
140
147
 
141
148
void cairo_dock_stop_marking_icons (CairoDock *pDock);
142
149
 
 
150
void cairo_dock_set_subdock_position_linear (Icon *pPointedIcon, CairoDock *pParentDock);
143
151
 
144
 
void cairo_dock_scroll_dock_icons (CairoDock *pDock, int iScrollAmount);
145
152
 
146
153
/** Get the first icon to be drawn inside a linear dock, so that if you draw from left to right, the pointed icon will be drawn at last.
147
154
*@param icons a list of icons of a linear dock.
150
157
GList *cairo_dock_get_first_drawn_element_linear (GList *icons);
151
158
 
152
159
 
 
160
void cairo_dock_trigger_redraw_subdock_content (CairoDock *pDock);
 
161
 
 
162
void cairo_dock_redraw_subdock_content (CairoDock *pDock);
 
163
 
 
164
void cairo_dock_trigger_set_WM_icons_geometry (CairoDock *pDock);
 
165
 
 
166
 
153
167
G_END_DECLS
154
168
#endif