Rev 5131 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5131 | Rev 9583 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | if(TTF_Init()!=0) |
29 | if(TTF_Init()!=0) |
30 | { |
30 | { |
31 | SDL_printf("Couldn't initialize TTF library\n"); |
31 | SDL_printf("Couldn't initialize TTF library\n"); |
32 | exit(-1); |
32 | exit(-1); |
33 | } |
33 | } |
34 | fnt=TTF_OpenFont("/RD/1/INDIGO.TTF",50); |
34 | fnt=TTF_OpenFont("/SYS/INDIGO.TTF",50); |
35 | fnt1=TTF_OpenFont("/RD/1/HYDROGEN.TTF",35); |
35 | fnt1=TTF_OpenFont("/SYS/HYDROGEN.TTF",35); |
36 | TTF_SetFontStyle(fnt,TTF_STYLE_ITALIC|TTF_STYLE_BOLD|TTF_STYLE_UNDERLINE); |
36 | TTF_SetFontStyle(fnt,TTF_STYLE_ITALIC|TTF_STYLE_BOLD|TTF_STYLE_UNDERLINE); |
37 | txt=TTF_RenderText_Solid(fnt,"MenuetOS",kolor); |
37 | txt=TTF_RenderText_Solid(fnt,"MenuetOS",kolor); |
38 | if(!txt) |
38 | if(!txt) |
39 | { |
39 | { |
40 | SDL_printf("Unable to create rendering surface\n"); |
40 | SDL_printf("Unable to create rendering surface\n"); |