mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 20:15:46 +00:00
Settings: Add depth to Joysticks on Pro Controller preview (#5894)
* Add some depth to ProJoysticks * address comments * clang * address nits * fix wrong inner_offset when offset.x was 0
This commit is contained in:
parent
b6736db324
commit
2e32ab4e0b
2 changed files with 30 additions and 6 deletions
|
@ -140,7 +140,7 @@ private:
|
|||
void DrawJoystickSideview(QPainter& p, QPointF center, float angle, float size, bool pressed);
|
||||
void DrawRawJoystick(QPainter& p, QPointF center, const QPointF value,
|
||||
const Input::AnalogProperties properties);
|
||||
void DrawProJoystick(QPainter& p, QPointF center, bool pressed);
|
||||
void DrawProJoystick(QPainter& p, QPointF center, QPointF offset, float scalar, bool pressed);
|
||||
void DrawGCJoystick(QPainter& p, QPointF center, bool pressed);
|
||||
|
||||
// Draw button functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue