]> git.deb.at Git - pkg/abook.git/blob - edit.h
Upload 0.6.1-2 to unstable
[pkg/abook.git] / edit.h
1 #ifndef _EDIT_H
2 #define _EDIT_H
3
4 #include "misc.h"       /* for rotate_dir enum definition */
5
6
7 void            edit_item(int item);
8 void            get_first_email(char *str, int item);
9 void            roll_emails(int item, enum rotate_dir dir);
10 void            add_item();
11 int             parse_date_string(char *s, int *day, int *month, int *year);
12
13 #define EDITW_COLS      (COLS - 6)
14 #define EDITW_LINES     (LINES - 5)
15 #define EDITW_TOP       2
16 #define EDITW_X         3
17
18 #define EDITOR_HELPLINE N_("?:help q:quit editor")
19
20 #define TABLINE         1
21
22 #define TAB_COLON_POS   28
23 #define FIELDNAME_MAX_WIDTH     20
24 #define FIELD_MAX_WIDTH (EDITW_COLS - TAB_COLON_POS - FIELDS_START_X - 2)
25
26 #define FIELDS_START_Y  4
27 #define FIELDS_START_X  4
28
29 #endif