src/context.c

changeset 81
84a546e282b7
parent 68
823c03733e42
child 86
943bf9d7c6d6
equal deleted inserted replaced
80:9f7bfc0a1dc3 81:84a546e282b7
52 memset(&asc_context, 0, sizeof(AscContext)); 52 memset(&asc_context, 0, sizeof(AscContext));
53 53
54 // initialize the font cache 54 // initialize the font cache
55 asc_font_cache_init(); 55 asc_font_cache_init();
56 56
57 // set a default font, but do not load it 57 // set a default font but do not load it
58 asc_context.active_font.style = ASC_FONT_REGULAR; 58 asc_context.active_font.style = ASC_FONT_REGULAR;
59 asc_context.active_font.size = 14; 59 asc_context.active_font.size = 14;
60 60
61 // no window, yet 61 // no window, yet
62 asc_context.active_window = ASC_MAX_WINDOWS; 62 asc_context.active_window = ASC_MAX_WINDOWS;

mercurial