void RunState::RenderTitleBar(SDL_Surface *screen, const Vector<int> &offset) {
int height(battle->Res().titleFrame->BorderHeight() * 2 + battle->Res().titleFont->CharHeight());
void RunState::RenderTitleBar(SDL_Surface *screen, const Vector<int> &offset) {
int height(battle->Res().titleFrame->BorderHeight() * 2 + battle->Res().titleFont->CharHeight());
- battle->Res().titleFrame->Draw(screen, Point<int>(offset.X(), offset.Y()), battle->BackgroundWidth(), height);
+ battle->Res().titleFrame->Draw(screen, Point<int>(offset.X(), offset.Y()), battle->Width(), height);
battle->Res().titleFrame->BorderHeight());
battle->Res().titleFont->DrawString(battle->Res().escapeText, screen, textPosition + offset);
}
battle->Res().titleFrame->BorderHeight());
battle->Res().titleFont->DrawString(battle->Res().escapeText, screen, textPosition + offset);
}