diff options
author | Frederic Culot <calcurse@culot.org> | 2007-05-06 13:31:09 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-05-06 13:31:09 +0000 |
commit | 3d043d9ae2e35d7a0193a40d1d3d1de73155edb6 (patch) | |
tree | 44dd36c8b4ac593ed7790327615959eeef1de2c0 /src | |
parent | 083670638388d9ed468b46b3760e8503376a344a (diff) | |
download | calcurse-3d043d9ae2e35d7a0193a40d1d3d1de73155edb6.tar.gz calcurse-3d043d9ae2e35d7a0193a40d1d3d1de73155edb6.zip |
custom_load_conf() prototype modified
configuration variables enum added
Diffstat (limited to 'src')
-rwxr-xr-x | src/custom.h | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/src/custom.h b/src/custom.h index 3f0af2d..b8ca843 100755 --- a/src/custom.h +++ b/src/custom.h @@ -1,4 +1,4 @@ -/* $calcurse: custom.h,v 1.4 2007/03/24 23:19:15 culot Exp $ */ +/* $calcurse: custom.h,v 1.5 2007/05/06 13:31:09 culot Exp $ */ /* * Calcurse - text-based organizer @@ -43,6 +43,24 @@ enum { /* Color pairs */ COLR_CUSTOM }; +enum { /* Configuration variables */ + CUSTOM_CONF_NOVARIABLE, + CUSTOM_CONF_AUTOSAVE, + CUSTOM_CONF_CONFIRMQUIT, + CUSTOM_CONF_CONFIRMDELETE, + CUSTOM_CONF_SKIPSYSTEMDIALOGS, + CUSTOM_CONF_SKIPPROGRESSBAR, + CUSTOM_CONF_WEEKBEGINSONMONDAY, + CUSTOM_CONF_COLORTHEME, + CUSTOM_CONF_LAYOUT, + CUSTOM_CONF_NOTIFYBARSHOW, + CUSTOM_CONF_NOTIFYBARDATE, + CUSTOM_CONF_NOTIFYBARCLOCK, + CUSTOM_CONF_NOTIFYBARWARNING, + CUSTOM_CONF_NOTIFYBARCOMMAND, + CUSTOM_CONF_VARIABLES +}; + struct attribute_s { int color[7]; int nocolor[7]; @@ -51,8 +69,7 @@ struct attribute_s { void custom_init_attr(void); void custom_apply_attr(WINDOW *win, int attr_num); void custom_remove_attr(WINDOW *win, int attr_num); -void custom_load_conf(conf_t *conf, int background, int layout, int nc_bar, - int nl_bar); +void custom_load_conf(conf_t *conf, int background, int nc_bar, int nl_bar); void config_bar(void); int layout_config(int layout); void custom_color_config(int notify_bar); |