2013-09-11 08:57:08 -07:00
|
|
|
#define MAX_FONT_SIZE 5.0
|
|
|
|
#define MIN_FONT_SIZE 0.5
|
2014-01-27 22:22:26 -08:00
|
|
|
#define MAX_VIEW_SCALE 5.0
|
|
|
|
#define MIN_VIEW_SCALE 0.5
|
2013-09-11 08:57:08 -07:00
|
|
|
|
2014-01-29 09:45:10 -08:00
|
|
|
void config_init(const char *edc_path, const char *edc_img_path, const char *edc_snd_path, const char *edc_fnt_path, const char *edc_data_path);
|
2014-08-04 23:32:12 -07:00
|
|
|
void config_term(void);
|
|
|
|
const char *config_edc_path_get(void);
|
|
|
|
const char *config_edj_path_get(void);
|
|
|
|
const char *config_edc_img_path_get(void);
|
|
|
|
const char *config_edc_snd_path_get(void);
|
|
|
|
const char *config_edc_fnt_path_get(void);
|
|
|
|
const char *config_edc_data_path_get(void);
|
2014-01-29 09:45:10 -08:00
|
|
|
void config_edc_img_path_set(const char *edc_img_path);
|
|
|
|
void config_edc_snd_path_set(const char *edc_snd_path);
|
|
|
|
void config_edc_fnt_path_set(const char *edc_fnt_path);
|
|
|
|
void config_edc_data_path_set(const char *edc_fnt_path);
|
2014-08-04 23:32:12 -07:00
|
|
|
Eina_List *config_edc_img_path_list_get(void);
|
|
|
|
Eina_List *config_edc_snd_path_list_get(void);
|
|
|
|
Eina_List *config_edc_fnt_path_list_get(void);
|
|
|
|
Eina_List *config_edc_data_path_list_get(void);
|
2014-01-29 09:45:10 -08:00
|
|
|
void config_update_cb_set(void (*cb)(void *data), void *data);
|
|
|
|
void config_stats_bar_set(Eina_Bool enabled);
|
|
|
|
void config_linenumber_set(Eina_Bool enabled);
|
2014-08-04 23:32:12 -07:00
|
|
|
Eina_Bool config_stats_bar_get(void);
|
|
|
|
Eina_Bool config_linenumber_get(void);
|
|
|
|
void config_apply(void);
|
2014-01-29 09:45:10 -08:00
|
|
|
void config_edc_path_set(const char *edc_path);
|
|
|
|
void config_view_size_get(Evas_Coord *w, Evas_Coord *h);
|
|
|
|
void config_view_size_set(Evas_Coord w, Evas_Coord h);
|
2014-08-04 23:32:12 -07:00
|
|
|
Eina_Bool config_part_highlight_get(void);
|
2014-01-29 09:45:10 -08:00
|
|
|
void config_part_highlight_set(Eina_Bool highlight);
|
2014-08-04 23:32:12 -07:00
|
|
|
Eina_Bool config_dummy_swallow_get(void);
|
2014-01-29 09:45:10 -08:00
|
|
|
void config_dummy_swallow_set(Eina_Bool dummy_swallow);
|
|
|
|
void config_auto_indent_set(Eina_Bool auto_indent);
|
2014-08-04 23:32:12 -07:00
|
|
|
Eina_Bool config_auto_indent_get(void);
|
2014-07-18 21:31:08 -07:00
|
|
|
void config_auto_complete_set(Eina_Bool auto_complete);
|
2014-08-04 23:32:12 -07:00
|
|
|
Eina_Bool config_auto_complete_get(void);
|
2014-01-29 09:45:10 -08:00
|
|
|
void config_font_size_set(float font_size);
|
2014-08-04 23:32:12 -07:00
|
|
|
float config_font_size_get(void);
|
2014-01-29 09:45:10 -08:00
|
|
|
void config_view_scale_set(double view_scale);
|
2014-08-04 23:32:12 -07:00
|
|
|
double config_view_scale_get(void);
|
|
|
|
Eina_Bool config_tools_get(void);
|
2014-03-08 08:22:54 -08:00
|
|
|
void config_tools_set(Eina_Bool enabled);
|
2014-08-10 01:46:14 -07:00
|
|
|
Eina_Bool config_console_get(void);
|
|
|
|
void config_console_set(Eina_Bool enabled);
|