/[public]/psiconv/trunk/lib/psiconv/data.h
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/data.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 78 Revision 90
90 psiconv_border_dashed, 90 psiconv_border_dashed,
91 psiconv_border_dotdashed, 91 psiconv_border_dotdashed,
92 psiconv_border_dotdotdashed 92 psiconv_border_dotdotdashed
93} psiconv_border_kind_t; 93} psiconv_border_kind_t;
94 94
95typedef enum psiconv_screenfont
96{
97 psiconv_font_misc,
98 psiconv_font_sansserif,
99 psiconv_font_nonprop,
100 psiconv_font_serif
101} psiconv_screenfont_t;
102
95/* Colors. 103/* Colors.
96 black: 0x00 0x00 0x00 104 black: 0x00 0x00 0x00
97 white: 0xff 0xff 0xff */ 105 white: 0xff 0xff 0xff */
98typedef struct psiconv_color_s 106typedef struct psiconv_color_s
99{ 107{
103} * psiconv_color; 111} * psiconv_color;
104 112
105typedef struct psiconv_font_s 113typedef struct psiconv_font_s
106{ 114{
107 char *name; 115 char *name;
108 psiconv_u8 screenfont; 116 psiconv_screenfont_t screenfont;
109} *psiconv_font; 117} *psiconv_font;
110 118
111typedef struct psiconv_border_s 119typedef struct psiconv_border_s
112{ 120{
113 psiconv_border_kind_t kind; 121 psiconv_border_kind_t kind;
511 519
512extern int psiconv_compare_character_layout 520extern int psiconv_compare_character_layout
513 (const psiconv_character_layout value1, 521 (const psiconv_character_layout value1,
514 const psiconv_character_layout value2); 522 const psiconv_character_layout value2);
515 523
524/* Get a newly allocated file with sensible defaults, ready to generate. */
525extern psiconv_file psiconv_empty_file(psiconv_file_type_t type);
526
516 527
517#ifdef __cplusplus 528#ifdef __cplusplus
518} 529}
519#endif /* __cplusplus */ 530#endif /* __cplusplus */
520 531

Legend:
Removed from v.78  
changed lines
  Added in v.90

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26