X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=edit.h;h=54310d788dfb11a0aa7a737eb672c30fe594982c;hb=2d06c6a4e54434ec600aec1e3cc3216ab629d286;hp=1b8c8f609b50725d5e4b1946b9dc9b8fcbf6546c;hpb=0d3c17d9ab127e5596c8fb97d65122b3b90f6b11;p=pkg%2Fabook.git diff --git a/edit.h b/edit.h index 1b8c8f6..54310d7 100644 --- a/edit.h +++ b/edit.h @@ -12,16 +12,23 @@ void add_item(); #define EDITOR_HELPLINE "?:help c:contact a:address p:phone o:other" -#define TABLINE 2 +#define TABLINE 1 + +#define MAX_TAB_FIELDS 7 + +#define TAB_COLON_POS 28 +#define FIELDS_START_Y 4 +#define FIELDS_START_X 4 enum { TAB_CONTACT, TAB_ADDRESS, TAB_PHONE, - TAB_OTHER + TAB_OTHER, + TAB_CUSTOM }; -#define MAX_TAB TAB_OTHER +#define MAX_TAB TAB_CUSTOM #define TABS (MAX_TAB+1)