// rte_window.h
// LiVES (lives-exe)
// (c) G. Finch 2005 - 2013
// released under the GNU GPL 3 or later
// see file ../COPYING or www.gnu.org for licensing details

#ifndef HAS_LIVES_RTE_WINDOW_H
#define HAS_LIVES_RTE_WINDOW_H

#define RTE_INFO_WIDTH ((int)(350.*widget_opts.scale))
#define RTE_INFO_HEIGHT ((int)(200.*widget_opts.scale))


void on_assign_rte_keys_activate (GtkMenuItem *, gpointer);
void on_rte_info_clicked (GtkButton *, gpointer data);
void load_default_keymap(void);
void rtew_set_keych (int key, boolean on);
void rtew_set_keygr (int key);
void rtew_set_mode_radio (int key, int mode);
void rtew_set_grab_button (boolean on);
void redraw_pwindow (int key, int mode);
void restore_pwindow (lives_rfx_t *);
void update_pwindow (int key, int i, GList *list);

GtkWidget *rte_window;


void rte_set_defs_activate (GtkMenuItem *, gpointer user_data);
void rte_set_defs_cancel (GtkButton *, lives_rfx_t *);
void rte_set_defs_ok (GtkButton *, lives_rfx_t *);
void rte_reset_defs_clicked (GtkButton *, lives_rfx_t *rfx);
void rte_set_key_defs (GtkButton *, lives_rfx_t *);
void on_save_rte_defs_activate (GtkMenuItem *, gpointer);
boolean on_clear_all_clicked (GtkButton *, gpointer user_data);

#endif // HAS_LIVES_RTE_WINDOW_H
