Struct cognitive_aesthetics::PanelManager
[−]
[src]
pub struct PanelManager<'a, C> where
C: AestheticsCoordinationTrait, { /* fields omitted */ }
Creates and manages all the panels.
Methods
impl<'a, C> PanelManager<'a, C> where
C: AestheticsCoordinationTrait,
[src]
C: AestheticsCoordinationTrait,
fn new(workspace_state: WorkspaceState, coordinator: C) -> Self
Constructs new PanelManager
.
fn load_font() -> Option<Font<'a>>
Loads font from file.
impl<'a, C> PanelManager<'a, C> where
C: AestheticsCoordinationTrait + Clone,
[src]
C: AestheticsCoordinationTrait + Clone,
fn create_new_panel(&mut self, output: &OutputInfo)
Handles creation of display by creating new panel.
FIXME: Handle destruction of display to destroy panel.
fn update_workspace_state(&mut self, state: WorkspaceState)
Updates the workspace state and redraws panels.
fn redraw_all(&mut self)
Redraws panels.