class Crysterm::Styles
- Crysterm::Styles
- Reference
- Object
Overview
Class holding different styles, depending on widget state.
Defined in:
namespace.crConstant Summary
-
DEFAULT =
new
Constructors
Class Method Summary
-
.default
Returns a copy of the default style
Instance Method Summary
- #blurred : Style
- #blurred=(blurred : Style)
- #focused : Style
- #focused=(focused : Style)
- #hovered : Style
- #hovered=(hovered : Style)
- #normal : Style
- #normal=(normal : Style)
- #selected : Style
- #selected=(selected : Style)
Constructor Detail
def self.new(normal : Crysterm::Style = @normal, blurred : Nil | Crysterm::Style = @blurred, focused : Nil | Crysterm::Style = @focused, hovered : Nil | Crysterm::Style = @hovered, selected : Nil | Crysterm::Style = @selected)
#