move ui helpers to own module

This commit is contained in:
Crispy 2024-12-22 13:03:12 +01:00
parent da12e8519e
commit 12b39467e3
5 changed files with 440 additions and 442 deletions

View file

@ -12,11 +12,13 @@ mod marble_engine;
mod solution;
mod theme;
mod util;
mod ui;
use editor::{Editor, ExitState};
use level::Level;
use solution::Solution;
use theme::*;
use ui::{simple_button, simple_option_button, text_input, ShapedText};
use util::*;
const TITLE_TEXT: &str = concat!("Marble Machinations v", env!("CARGO_PKG_VERSION"));