]> git.deb.at Git - pkg/abook.git/blob - edit.h
Imported Debian patch 0.5.4-1
[pkg/abook.git] / edit.h
1 #ifndef _EDIT_H
2 #define _EDIT_H
3
4 void            edit_item(int item);
5 void            get_first_email(char *str, int item);
6 void            add_item();
7
8 #define EDITW_COLS      (COLS - 6)
9 #define EDITW_LINES     (LINES - 5)
10 #define EDITW_TOP       2
11 #define EDITW_X         3
12
13 #define EDITOR_HELPLINE "?:help c:contact a:address p:phone o:other"
14
15 #define TABLINE         1
16
17 #define MAX_TAB_FIELDS  7
18
19 #define TAB_COLON_POS   28
20 #define FIELDS_START_Y  4
21 #define FIELDS_START_X  4
22
23 enum {
24         TAB_CONTACT,
25         TAB_ADDRESS,
26         TAB_PHONE,
27         TAB_OTHER,
28         TAB_CUSTOM
29 };
30
31 #define MAX_TAB         TAB_CUSTOM
32
33 #define TABS            (MAX_TAB+1)
34
35 #endif