Logo Search packages:      
Sourcecode: abook version File versions  Download package

edit.h

#ifndef _EDIT_H
#define _EDIT_H

void        edit_item(int item);
void        get_first_email(char *str, int item);
void        add_item();

#define EDITW_COLS      (COLS - 6)
#define EDITW_LINES     (LINES - 5)
#define EDITW_TOP 2
#define EDITW_X         3

#define EDITOR_HELPLINE "?:help c:contact a:address p:phone o:other"

#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_CUSTOM
};

#define MAX_TAB         TAB_CUSTOM

#define TABS            (MAX_TAB+1)

#endif

Generated by  Doxygen 1.6.0   Back to index