mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-01 20:18:15 +01:00
Setting reorganization, some changed strings, soft drop shadows for text on game screen
This commit is contained in:
1 parent
d5acc2bde1
commit
f9baffccb6
58 files changed
+173
-152
No files matched your search
@@ -23,12 +23,13 @@
|
||||
|
||||
// In UI units.
|
||||
static constexpr float UI_SHADOW_RADIUS = 3.0f;
|
||||
static constexpr float UI_SHADOW_INTENSITY = 0.66f;
|
||||
static constexpr float UI_SHADOW_INTENSITY = 0.7f;
|
||||
|
||||
DropShadowParams UIDropShadowParams(float pixelsPerUnit) {
|
||||
DropShadowParams params;
|
||||
params.radius = std::max(1, (int)(UI_SHADOW_RADIUS * pixelsPerUnit));
|
||||
params.intensity = UI_SHADOW_INTENSITY;
|
||||
params.offsetY = 1.0f * pixelsPerUnit;
|
||||
return params;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user