| 1 |
/* |
| 2 |
Copyright (C) 1999/2002 Kai Sterker <[email protected]> |
| 3 |
Part of the Adonthell Project <http://adonthell.nongnu.org> |
| 4 |
|
| 5 |
Dlgedit is free software; you can redistribute it and/or modify |
| 6 |
it under the terms of the GNU General Public License as published by |
| 7 |
the Free Software Foundation; either version 2 of the License, or |
| 8 |
(at your option) any later version. |
| 9 |
|
| 10 |
Dlgedit is distributed in the hope that it will be useful, |
| 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
GNU General Public License for more details. |
| 14 |
|
| 15 |
You should have received a copy of the GNU General Public License |
| 16 |
along with Dlgedit. If not, see <http://www.gnu.org/licenses/>. |
| 17 |
*/ |
| 18 |
|
| 19 |
/** |
| 20 |
* @file gui_dlgedit_events.h |
| 21 |
* |
| 22 |
* @author Kai Sterker |
| 23 |
* @brief The Events triggered via the Dialogue Editor's main window |
| 24 |
*/ |
| 25 |
|
| 26 |
#ifndef GUI_DLGEDIT_EVENTS_H |
| 27 |
#define GUI_DLGEDIT_EVENTS_H |
| 28 |
|
| 29 |
void on_widget_destroy (GtkWidget *, gpointer); |
| 30 |
|
| 31 |
// Menu Callbacks |
| 32 |
void on_file_new_activate (GtkMenuItem *, gpointer); |
| 33 |
void on_file_load_activate (GtkMenuItem *, gpointer); |
| 34 |
void on_file_save_activate (GtkMenuItem *, gpointer); |
| 35 |
void on_file_save_as_activate (GtkMenuItem *, gpointer); |
| 36 |
void on_file_revert_activate (GtkMenuItem *, gpointer); |
| 37 |
void on_file_close_activate (GtkMenuItem *, gpointer); |
| 38 |
void on_dialogue_compile_activate (GtkMenuItem *, gpointer); |
| 39 |
void on_dialogue_run_activate (GtkMenuItem *, gpointer); |
| 40 |
void on_dialogue_preview_activate (GtkMenuItem *, gpointer); |
| 41 |
void on_dialogue_functions_activate (GtkMenuItem *, gpointer); |
| 42 |
void on_dialogue_player_activate (GtkMenuItem *, gpointer); |
| 43 |
void on_window_activate (GtkMenuItem *, gpointer); |
| 44 |
|
| 45 |
// Statusbar callbacks |
| 46 |
gboolean on_display_help (GtkWidget *widget, GdkEventCrossing *event, gpointer user_data); |
| 47 |
gboolean on_clear_help (GtkWidget *widget, GdkEventCrossing *event, gpointer user_data); |
| 48 |
|
| 49 |
#endif // GUI_DLGEDIT_EVENTS_H |