class

Shocking::UI::PolicyPanel

Inherits Reference < Object

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)
Source

Instance methods

box=(box : Crysterm::Widget::Box)
Source
current_profile
Source
current_profile=(current_profile : String)
Source
update(profile : String)
Source