Shocking::UI::MainScreen
Constructors
new(screen : Crysterm::Screen, config : Config::Settings)
SourceInstance methods
config
Sourceconfig=(config : Config::Settings)
Sourcehistory_panel
Sourcehistory_panel=(history_panel : HistoryPanel | Nil)
Sourcepolicy_panel
Sourcepolicy_panel=(policy_panel : PolicyPanel | Nil)
Sourcescreen
Sourcescreen=(screen : Crysterm::Screen)
Sourcesetup
Sourcestatus_panel
Sourcestatus_panel=(status_panel : StatusPanel | Nil)
Sourceupdate_battery(status : Battery::Status)
Sourceusage_panel
Sourceusage_panel=(usage_panel : UsagePanel | Nil)
Source