mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Rename PopupHeaderStyle to PopupTitleStyle
This commit is contained in:
1 parent
4822680d62
commit
825d358072
7 files changed
+19
-19
No files matched your search
+3
-3
@@ -711,11 +711,11 @@ void PopupHeader::Draw(UIContext &dc) {
|
||||
}
|
||||
|
||||
// Header background
|
||||
dc.FillRect(dc.theme->popupHeaderStyle.background, bounds_);
|
||||
dc.FillRect(dc.theme->popupTitleStyle.background, bounds_);
|
||||
// Header title text
|
||||
dc.DrawText(text_, bounds_.x + tx, bounds_.centerY(), dc.theme->popupHeaderStyle.fgColor, ALIGN_LEFT | ALIGN_VCENTER);
|
||||
dc.DrawText(text_, bounds_.x + tx, bounds_.centerY(), dc.theme->popupTitleStyle.fgColor, ALIGN_LEFT | ALIGN_VCENTER);
|
||||
// Underline
|
||||
dc.Draw()->DrawImageCenterTexel(dc.theme->whiteImage, bounds_.x, bounds_.y2()-2, bounds_.x2(), bounds_.y2(), dc.theme->popupHeaderStyle.fgColor);
|
||||
dc.Draw()->DrawImageCenterTexel(dc.theme->whiteImage, bounds_.x, bounds_.y2()-2, bounds_.x2(), bounds_.y2(), dc.theme->popupTitleStyle.fgColor);
|
||||
|
||||
if (availableWidth < tw) {
|
||||
dc.PopScissor();
|
||||
|
||||
Reference in new issue
Block a user