-
-
Save LaylBongers/0aeece1db9e0f173e00bfe3d151e5ba0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn new() -> Self { | |
let mut background_area = Rect::new(50.0, 500.0, 1180.0, 200.0); | |
background_area.x = 25.0; | |
Menu { | |
options: Vec::new(), | |
background_area, | |
options_anchor: Point2::new(96.0, 516.0), | |
col_max: 5, | |
col_offset: 238.0, | |
row_max: 5, | |
row_offset: 35.0, | |
selected_option: 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment