Shocking::UI::PolicyPanel
Constants
PROFILES = {"power-saver" => {icon: "Eco", desc: "Maximum battery life"}, "balanced" => {icon: "Bal", desc: "Balance performance & battery"}, "performance" => {icon: "Prf", desc: "Maximum performance"}}
Constructors
new(parent : Crysterm::Screen, top, left, width, height)
SourceInstance methods
box
Sourcebox=(box : Crysterm::Widget::Box)
Sourcecurrent_profile
Source