added some comments

This commit is contained in:
Mark
2023-08-14 00:58:31 +02:00
parent 5add9c477e
commit 0ae0126f04
11 changed files with 89 additions and 24 deletions

View File

@@ -10,6 +10,13 @@ use speedy2d::{
use crate::gui::{GuiAction, GuiElem, GuiElemCfg, GuiElemTrait};
/*
Some basic structs to use everywhere,
except they are all text-related.
*/
#[derive(Clone)]
pub struct Label {
config: GuiElemCfg,