Renamed section left/right images
Since we adopted the circular navigation, there is no more need for separate enabled and disabled images.
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 265 B |
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 278 B |
Before Width: | Height: | Size: 398 B |
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 462 B |
@ -229,8 +229,8 @@ void Menu::paint(Surface &s) {
|
|||||||
s.write(&font, sections[j], x, topBarHeight - sectionLinkPadding,
|
s.write(&font, sections[j], x, topBarHeight - sectionLinkPadding,
|
||||||
Font::HAlignCenter, Font::VAlignBottom);
|
Font::HAlignCenter, Font::VAlignBottom);
|
||||||
}
|
}
|
||||||
sc.skinRes("imgs/l_enabled.png")->blit(&s, 0, 0);
|
sc.skinRes("imgs/section-l.png")->blit(&s, 0, 0);
|
||||||
sc.skinRes("imgs/r_enabled.png")->blit(&s, width - 10, 0);
|
sc.skinRes("imgs/section-r.png")->blit(&s, width - 10, 0);
|
||||||
|
|
||||||
vector<Link*> §ionLinks = links[iSection];
|
vector<Link*> §ionLinks = links[iSection];
|
||||||
const uint numLinks = sectionLinks.size();
|
const uint numLinks = sectionLinks.size();
|
||||||
|