|
ReXGlue SDK
|
Public Member Functions | |
| bool | operator== (const Metrics &other) const =default |
Public Attributes | |
| f32 | window_rounding = 0 |
| f32 | rounding = 0 |
| f32 | frame_rounding = 0 |
| f32 | child_rounding = 0 |
| f32 | popup_rounding = 0 |
| f32 | grab_rounding = 0 |
| f32 | border = 1 |
| Vec2 | window_padding {8, 8} |
| Vec2 | item_spacing {8, 4} |
| Vec2 | frame_padding {4, 3} |
| f32 | icon_size = 44 |
| f32 | row_rounding = 3 |
| f32 | toast_rounding = 6 |
| f32 | toast_padding = 16 |
| f32 | toast_width = 320 |
| f32 | toast_height = 70 |
| f32 | toast_stack_height = 80 |
| f32 | footer_height = 30 |
| f32 | side_panel_width = 160 |
| f32 | button_width = 140 |
| f32 | value_width = 160 |
| WindowAlpha | window_alpha |
| f32 rex::ui::Metrics::child_rounding = 0 |
Corner radius of child windows.
| f32 rex::ui::Metrics::footer_height = 30 |
Height of the bar below the settings list.
| f32 rex::ui::Metrics::grab_rounding = 0 |
Corner radius of slider and scrollbar grabs.
| f32 rex::ui::Metrics::popup_rounding = 0 |
Corner radius of popups.
| f32 rex::ui::Metrics::rounding = 0 |
Corner radius of scrollbars and tabs.
| f32 rex::ui::Metrics::row_rounding = 3 |
Corner radius of an achievement row band.
| f32 rex::ui::Metrics::side_panel_width = 160 |
Width of the settings category column.
| f32 rex::ui::Metrics::toast_padding = 16 |
Gap between the toast and the screen edges.
| f32 rex::ui::Metrics::toast_stack_height = 80 |
Distance from the bottom edge that the toast reserves: its height plus a margin.