class Crysterm::Styles

Overview

Class holding different styles, depending on widget state.

Defined in:

namespace.cr

Constant Summary

DEFAULT = new

Constructors

Class Method Summary

Instance Method Summary

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

[View source]

Class Method Detail

def self.default #

Returns a copy of the default style


[View source]

Instance Method Detail

def blurred : Style #

[View source]
def blurred=(blurred : Style) #

[View source]
def focused : Style #

[View source]
def focused=(focused : Style) #

[View source]
def hovered : Style #

[View source]
def hovered=(hovered : Style) #

[View source]
def normal : Style #

[View source]
def normal=(normal : Style) #

[View source]
def selected : Style #

[View source]
def selected=(selected : Style) #

[View source]