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 __APPLET_NOTIFICATIONS__
22
#define __APPLET_NOTIFICATIONS__
24
#include <cairo-dock.h>
29
CD_APPLET_ON_BUILD_MENU_H
31
CD_APPLET_ON_MIDDLE_CLICK_H
35
gboolean on_change_desktop (GldiModuleInstance *myApplet);
37
gboolean on_change_screen_geometry (GldiModuleInstance *myApplet);
39
gboolean on_change_wallpaper (GldiModuleInstance *myApplet);
41
gboolean on_window_size_position_changed (GldiModuleInstance *myApplet, GldiWindowsManager *actor);
43
gboolean on_change_window_order (GldiModuleInstance *myApplet);
45
gboolean on_change_window_state (GldiModuleInstance *myApplet, GldiWindowActor *actor, gboolean bHiddenChanged, G_GNUC_UNUSED gboolean bMaximizedChanged, G_GNUC_UNUSED gboolean bFullScreenChanged);
47
gboolean on_change_desktop_names (GldiModuleInstance *myApplet);
50
gboolean on_mouse_moved (GldiModuleInstance *myApplet, GldiContainer *pContainer, gboolean *bStartAnimation);
52
gboolean on_update_desklet (GldiModuleInstance *myApplet, GldiContainer *pContainer, gboolean *bContinueAnimation);
54
gboolean on_render_desklet (GldiModuleInstance *myApplet, GldiContainer *pContainer, cairo_t *pCairoContext);
56
gboolean on_leave_desklet (GldiModuleInstance *myApplet, GldiContainer *pContainer, gboolean *bStartAnimation);