yuzu: config: Draw turbo buttons with a different color
This commit is contained in:
parent
75e81885b0
commit
ce1895497d
2 changed files with 23 additions and 14 deletions
src/yuzu/configuration
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue