1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2024-12-17 18:59:10 +01:00
bygfoot/src/options_callbacks.c
2005-03-24 13:00:01 +00:00

39 lines
810 B
C

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <gtk/gtk.h>
#include "options_callbacks.h"
#include "options_interface.h"
#include "option_gui.h"
#include "support.h"
#include "variables.h"
#include "window.h"
void
on_button_options_ok_clicked (GtkButton *button,
gpointer user_data)
{
option_gui_write_options();
window_destroy(&window.options, TRUE);
}
void
on_button_options_cancel_clicked (GtkButton *button,
gpointer user_data)
{
window_destroy(&window.options, TRUE);
}
void
on_button_font_name_clicked (GtkButton *button,
gpointer user_data)
{
window_create(WINDOW_FONT_SEL);
}