… | |
… | |
51 | #define MAP_EXTEND_X 32 |
51 | #define MAP_EXTEND_X 32 |
52 | #define MAP_EXTEND_Y 512 |
52 | #define MAP_EXTEND_Y 512 |
53 | |
53 | |
54 | #define MIN_FONT_HEIGHT 10 |
54 | #define MIN_FONT_HEIGHT 10 |
55 | |
55 | |
56 | #if 1 |
56 | #if 0 |
57 | # define PARACHUTE SDL_INIT_NOPARACHUTE |
57 | # define PARACHUTE SDL_INIT_NOPARACHUTE |
58 | #else |
58 | #else |
59 | # define PARACHUTE 0 |
59 | # define PARACHUTE 0 |
60 | #endif |
60 | #endif |
61 | |
61 | |
… | |
… | |
766 | MODULE = CFClient PACKAGE = CFClient::Layout |
766 | MODULE = CFClient PACKAGE = CFClient::Layout |
767 | |
767 | |
768 | void |
768 | void |
769 | clear_font_cache () |
769 | clear_font_cache () |
770 | CODE: |
770 | CODE: |
771 | pango_fc_font_map_cache_clear ((PangoFcFontMap *)opengl_fontmap); |
|
|
772 | tc_clear (); |
771 | tc_clear (); |
773 | |
772 | |
774 | CFClient::Layout |
773 | CFClient::Layout |
775 | new (SV *class, int type = 0) |
774 | new (SV *class) |
776 | CODE: |
775 | CODE: |
777 | New (0, RETVAL, 1, struct cf_layout); |
776 | New (0, RETVAL, 1, struct cf_layout); |
778 | |
777 | |
779 | RETVAL->pl = pango_layout_new (opengl_context); |
778 | RETVAL->pl = pango_layout_new (opengl_context); |
780 | RETVAL->r = 1.; |
779 | RETVAL->r = 1.; |