struct CryTUI::Widgets::Gauge

Defined in:

crytui/widgets.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ratio : Float64, label : Nil | String = nil, filled_style : CryTUI::Style = Style.new, unfilled_style : CryTUI::Style = Style.new, block : CryTUI::Widgets::Block | Nil = nil) #

[View source]

Instance Method Detail

def block : Block | Nil #

[View source]
def filled_style : Style #

[View source]
def label : String | Nil #

[View source]
def ratio : Float64 #

[View source]
def render(area : Rect, buffer : Buffer) #

[View source]
def unfilled_style : Style #

[View source]