mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-10 03:21:31 -06:00
overlays: Use ellipse SDF for circles
This commit is contained in:
parent
45bae0046a
commit
57e37862f4
@ -99,7 +99,7 @@ namespace rsx::overlays
|
||||
}
|
||||
|
||||
auto ellipse_part = std::make_unique<rounded_rect>();
|
||||
auto circle_part = std::make_unique<rounded_rect>();
|
||||
auto circle_part = std::make_unique<ellipse>();
|
||||
|
||||
ellipse_part->set_size(dim * 2, dim / 2);
|
||||
ellipse_part->set_pos(0, dim / 4);
|
||||
|
||||
@ -29,7 +29,7 @@ namespace rsx::overlays
|
||||
// Base components
|
||||
auto background = std::make_unique<rounded_rect>();
|
||||
auto foreground = std::make_unique<rounded_rect>();
|
||||
auto indicator = std::make_unique<rounded_rect>();
|
||||
auto indicator = std::make_unique<ellipse>();
|
||||
auto value_label = std::make_unique<label>();
|
||||
auto min_label = std::make_unique<label>();
|
||||
auto max_label = std::make_unique<label>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user