more cleanup of deps against display
This commit is contained in:
parent
a032d22aa1
commit
f70fa4a8d1
1 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ bool show_intro_part(display& screen, const config& part,
|
|||
for(; start_word != end_word; ++start_word) {
|
||||
word.append(start_word.substr().first, start_word.substr().second);
|
||||
}
|
||||
const SDL_Rect rect = font::draw_text(NULL,screen.screen_area(),
|
||||
const SDL_Rect rect = font::draw_text(NULL,screen_area(),
|
||||
font::SIZE_PLUS,font::NORMAL_COLOUR,
|
||||
word, xpos, ypos, false);
|
||||
|
||||
|
@ -258,7 +258,7 @@ bool show_intro_part(display& screen, const config& part,
|
|||
std::string tmp;
|
||||
tmp.append(itor.substr().first, itor.substr().second);
|
||||
const SDL_Rect rect = font::draw_text(&screen.video(),
|
||||
screen.screen_area(),font::SIZE_PLUS,
|
||||
screen_area(),font::SIZE_PLUS,
|
||||
font::NORMAL_COLOUR,tmp,xpos,ypos,
|
||||
false);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue