1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * Copyright (C) 2004 Hiroyuki Ikezoe
4 * Copyright (C) 2004-2005 Takuro Ashie
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * 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, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #ifndef __SCIM_ANTHY_SETUP_H__
22 #define __SCIM_ANTHY_SETUP_H__
29 #include <gdk/gdkkeysyms.h>
31 #define SCIM_ANTHY_USE_GTK
33 #include "scim_anthy_style_file.h"
35 namespace scim_anthy {
37 GtkWidget *create_check_button (const char *config_key);
38 GtkWidget *create_spin_button (const char *config_key,
41 GtkWidget *create_entry (const char *config_key,
44 GtkWidget *create_combo (const char *config_key,
45 gpointer candidates_p,
48 GtkWidget *create_option_menu (const char *config_key,
49 gpointer candidates_p,
52 GtkWidget *create_color_button (const char *config_key);
53 GtkWidget *create_key_select_button (const char *config_key,
57 extern StyleFiles __style_list;
58 extern StyleFile __user_style_file;
59 extern bool __config_changed;
60 extern bool __style_changed;
64 #endif /* __SCIM_ANTHY_SETUP_H__ */