64
66
Icon *cairo_dock_calculate_dock_icons (CairoDock *pDock);
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.
74
75
void cairo_dock_reserve_space_for_dock (CairoDock *pDock, gboolean bReserve);
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.
80
void cairo_dock_prevent_dock_from_out_of_screen (CairoDock *pDock);
82
/* Calcule la position d'un dock etant donne ses nouvelles dimensions.
84
void cairo_dock_get_window_position_at_balance (CairoDock *pDock, int iNewWidth, int iNewHeight, int *iNewPositionX, int *iNewPositionY);
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).
88
void cairo_dock_move_resize_dock (CairoDock *pDock);
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.
80
93
void cairo_dock_place_root_dock (CairoDock *pDock);
82
* Borne la position d'un dock a l'interieur de l'ecran.
83
*@param pDock le dock.
85
void cairo_dock_prevent_dock_from_out_of_screen (CairoDock *pDock);
88
void cairo_dock_set_window_position_at_balance (CairoDock *pDock, int iNewWidth, int iNewHeight);
90
void cairo_dock_get_window_position_and_geometry_at_balance (CairoDock *pDock, CairoDockSizeType iSizeType, int *iNewWidth, int *iNewHeight);
92
void cairo_dock_set_subdock_position_linear (Icon *pPointedIcon, CairoDock *pParentDock);
95
/* Cree une zone d'input d'une taille donnee pour un dock.
97
GdkBitmap *cairo_dock_create_input_shape (CairoDock *pDock, int w, int h);
99
/* Met a jour les zones d'input d'un dock.
101
void cairo_dock_update_input_shape (CairoDock *pDock);
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);
102
void cairo_dock_update_input_shape (CairoDock *pDock);
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.
141
148
void cairo_dock_stop_marking_icons (CairoDock *pDock);
150
void cairo_dock_set_subdock_position_linear (Icon *pPointedIcon, CairoDock *pParentDock);
144
void cairo_dock_scroll_dock_icons (CairoDock *pDock, int iScrollAmount);
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);
160
void cairo_dock_trigger_redraw_subdock_content (CairoDock *pDock);
162
void cairo_dock_redraw_subdock_content (CairoDock *pDock);
164
void cairo_dock_trigger_set_WM_icons_geometry (CairoDock *pDock);