yuzu: config: Draw turbo buttons with a different color

This commit is contained in:
german77 2023-01-29 12:23:30 -06:00 committed by Narr the Reg
parent 75e81885b0
commit ce1895497d
2 changed files with 23 additions and 14 deletions
src/yuzu/configuration

View file

@ -81,6 +81,7 @@ private:
QColor right{};
QColor button{};
QColor button2{};
QColor button_turbo{};
QColor font{};
QColor font2{};
QColor highlight{};
@ -183,6 +184,7 @@ private:
const Common::Input::ButtonStatus& pressed, float size = 1.0f);
void DrawTriggerButton(QPainter& p, QPointF center, Direction direction,
const Common::Input::ButtonStatus& pressed);
QColor GetButtonColor(QColor default_color, bool is_pressed, bool turbo);
// Draw battery functions
void DrawBattery(QPainter& p, QPointF center, Common::Input::BatteryLevel battery);