Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#3875 closed defect (fixed)

[PATCH] gui.scale does not affect the cursor size

Reported by: Dario Ostuni Owned by: elexis
Priority: Should Have Milestone: Alpha 22
Component: Core engine Keywords: patch
Cc: another.code.996@… Patch:

Description

When changing gui.scale to scale the whole gui the size of the cursor is not affected, so in HiDPI screens it remains very small

Attachments (1)

3875_cursor_hidpi_scaling_1.patch (6.6 KB ) - added by Dario Ostuni 7 years ago.

Download all attachments as: .zip

Change History (6)

by Dario Ostuni, 7 years ago

comment:1 by Dario Ostuni, 7 years ago

Cc: another.code.996@… added
Keywords: rfc patch added
Milestone: BacklogWork In Progress
Summary: gui.scale does not affect the cursor size[PATCH] gui.scale does not affect the cursor size

comment:2 by elexis, 7 years ago

Component: UI & SimulationCore engine
Keywords: gui.scale hidpi cursor removed
Milestone: Work In ProgressAlpha 22

Dariost: It would be nice to have it for the next release, it's one of the three big things still missing for proper HiDPI support

https://code.wildfiregames.com/D320 https://code.wildfiregames.com/D328

comment:3 by elexis, 7 years ago

Owner: set to elexis
Resolution: fixed
Status: newclosed

In 19667:

Scale the cursor according to the GUI scale (HiDPI support).

Differential Revision: https://code.wildfiregames.com/D320
Fixes #3875
Patch By: Dariost
Reviewed By: domdomegg

comment:4 by elexis, 7 years ago

Keywords: rfc removed

comment:5 by elexis, 7 years ago

In r19774:

Use direct gui.scale instead of reciprocal gui.scale Patch by Dariost.

Differential Revision: ​https://code.wildfiregames.com/D328
Reviewed By: domdomegg

Note: See TracTickets for help on using tickets.