mirror of
https://github.com/szymon-jozef/checkers.git
synced 2026-10-27 19:20:44 +01:00
fix: remove unused import
This commit is contained in:
@@ -1,17 +1,15 @@
|
|||||||
use log::info;
|
|
||||||
use macroquad::{
|
use macroquad::{
|
||||||
color::{BLACK, WHITE},
|
color::WHITE,
|
||||||
input::is_mouse_button_pressed,
|
|
||||||
math::vec2,
|
math::vec2,
|
||||||
ui::{StyleBuilder, hash, root_ui},
|
ui::{hash, root_ui},
|
||||||
window::{clear_background, next_frame, screen_height, screen_width},
|
window::{next_frame, screen_height, screen_width},
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::ui::state::GuiState;
|
use crate::ui::state::GuiState;
|
||||||
|
|
||||||
pub async fn draw_main_menu(state: &mut GuiState) {
|
pub async fn draw_main_menu(state: &mut GuiState) {
|
||||||
let style = root_ui().style_builder().text_color(WHITE).font_size(64);
|
let _style = root_ui().style_builder().text_color(WHITE).font_size(64);
|
||||||
let text_style = root_ui().style_builder().text_color(WHITE).font_size(32);
|
let _text_style = root_ui().style_builder().text_color(WHITE).font_size(32);
|
||||||
|
|
||||||
let window_size = vec2(370.0, 320.0);
|
let window_size = vec2(370.0, 320.0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user