class Looper::MenuItem

Defined in:

looper/menu_item.cr

Constant Summary

PADDING = 25

Constructors

Instance Method Summary

Constructor Detail

def self.new(x = 0, y = 0, text = "", color = Color::Lime, focused : Bool = false, padding : Int32 = PADDING) #

[View source]

Instance Method Detail

def blur #

[View source]
def draw #

[View source]
def draw_focused #

[View source]
def focus #

[View source]
def focused? : Bool #

[View source]
def height #

[View source]
def text(*args, **options) #

[View source]
def text(*args, **options, &) #

[View source]
def width #

[View source]
def x #

[View source]
def x=(value : Int32 | Float32) #

[View source]
def y #

[View source]
def y=(value : Int32 | Float32) #

[View source]