… | |
… | |
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 | |
|
|
95 | typedef 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 */ |
98 | typedef struct psiconv_color_s |
106 | typedef struct psiconv_color_s |
99 | { |
107 | { |
… | |
… | |
103 | } * psiconv_color; |
111 | } * psiconv_color; |
104 | |
112 | |
105 | typedef struct psiconv_font_s |
113 | typedef 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 | |
111 | typedef struct psiconv_border_s |
119 | typedef struct psiconv_border_s |
112 | { |
120 | { |
113 | psiconv_border_kind_t kind; |
121 | psiconv_border_kind_t kind; |
… | |
… | |
511 | |
519 | |
512 | extern int psiconv_compare_character_layout |
520 | extern 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. */ |
|
|
525 | extern 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 | |