Move some types and consts from structs.h to other headers

- `foldinfo_T` to `fold.h`
 - `context_sha256_T` to `sha256.h`
 - `tagname_T` to `tag.h`
 - `pumitem_T` to `popupmnu.h`
 - `prt_*_T` to  hardcopy.h`
 - `CPT_*` consts to `edit.h`
 - `vimmenu_T`, `MNU_HIDDEN_CHAR`, and `MENU_*` constants to `menu.h`
This commit is contained in:
Felipe Oliveira Carvalho
2014-03-06 16:11:38 -03:00
committed by Thiago de Arruda
parent 3005681a02
commit a86da86d98
9 changed files with 136 additions and 136 deletions

View File

@@ -1,6 +1,39 @@
#ifndef NEOVIM_HARDCOPY_H
#define NEOVIM_HARDCOPY_H
/* hardcopy.c */
/*
* Structure to hold printing color and font attributes.
*/
typedef struct {
long_u fg_color;
long_u bg_color;
int bold;
int italic;
int underline;
int undercurl;
} prt_text_attr_T;
/*
* Structure passed back to the generic printer code.
*/
typedef struct {
int n_collated_copies;
int n_uncollated_copies;
int duplex;
int chars_per_line;
int lines_per_page;
int has_color;
prt_text_attr_T number;
int modec;
int do_syntax;
int user_abort;
char_u *jobname;
char_u *outfile;
char_u *arguments;
} prt_settings_T;
#define PRINT_NUMBER_WIDTH 8
char_u *parse_printoptions(void);
char_u *parse_printmbfont(void);
int prt_header_height(void);