change names of modules

This commit is contained in:
Nilton Constantino
2026-01-16 13:44:47 +00:00
parent 3ebb96acc1
commit ca2e1f8658
41 changed files with 18 additions and 18 deletions
@@ -0,0 +1,3 @@
mod prometeu_hub;
pub use prometeu_hub::PrometeuHub;
@@ -0,0 +1,37 @@
use crate::model::Color;
use crate::prometeu_os::PrometeuOS;
// TODO: Mover para arquivo próprio se crescer.
/// Sistema de janelas do PROMETEU.
pub struct WindowSystem {
pub theme_color: Color,
}
impl WindowSystem {
pub fn new() -> Self {
Self {
theme_color: Color::INDIGO,
}
}
}
/// PrometeuHub: Launcher e ambiente de UI do sistema.
pub struct PrometeuHub {
pub window_system: WindowSystem,
}
impl PrometeuHub {
pub fn new() -> Self {
Self {
window_system: WindowSystem::new(),
}
}
pub fn init(&mut self) {
// Inicializa o Window System e lista apps
}
pub fn gui_update(&mut self, _os: &mut PrometeuOS) {
// Atualiza a UI do Window System
}
}