14 lines
456 B
Rust
14 lines
456 B
Rust
use eframe::egui;
|
|
use eframe::egui::Ui;
|
|
|
|
use crate::sheet::{Characteristic, CharacterSheet};
|
|
|
|
pub trait SheetGui where Self: Sized {
|
|
fn shortcut(&self, _ui: &mut Ui, category: &str, character_field: &Characteristic) -> (u32, u32, u32) { (0, 0, 0) }
|
|
fn gui_address(&mut self, ui: &mut Ui);
|
|
fn gui_stamina(&mut self, ui: &mut Ui);
|
|
fn gui_luck(&mut self, ui: &mut Ui);
|
|
fn gui_skill(&mut self, ui: &mut Ui);
|
|
fn secondary_stats(&mut self, ui: &mut Ui);
|
|
}
|