/* * Ardesia -- a program for painting on the screen * with this program you can play, draw, learn and teach * This program has been written such as a freedom sonet * We believe in the freedom and in the freedom of education * * Copyright (C) 2009 Pilolli Pietro * * Ardesia is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Ardesia is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . * */ #include /* Expose event: this occurs when the windows is show .*/ G_MODULE_EXPORT gboolean on_expose (GtkWidget *widget, GdkEventExpose *event, gpointer func_data); /* This is called when the button is pushed. */ G_MODULE_EXPORT gboolean on_button_press (GtkWidget *win, GdkEventButton *ev, gpointer func_data); /* This shots when the pointer is moving. */ G_MODULE_EXPORT gboolean on_motion_notify (GtkWidget *win, GdkEventMotion *ev, gpointer func_data); /* This shots when the button is released. */ G_MODULE_EXPORT gboolean on_button_release (GtkWidget *win, GdkEventButton *ev, gpointer func_data); /* Device touch. */ G_MODULE_EXPORT gboolean on_proximity_in (GtkWidget *win, GdkEventProximity *ev, gpointer func_data); /* Device lease. */ G_MODULE_EXPORT gboolean on_proximity_out (GtkWidget *win, GdkEventProximity *ev, gpointer func_data);