abstract class Cards::Menu

Direct Known Subclasses

Defined in:

cards/menu.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(items : Array(String)) #

[View source]

Instance Method Detail

def arrange_items #

[View source]
def back #

[View source]
def done=(done : Bool) #

[View source]
def done? : Bool #

[View source]
def draw #

[View source]
def draw_background #

[View source]
def draw_header(text : String) #

[View source]
def exit? : Bool #

[View source]
def focus(asc = true, wrap = true) #

[View source]
def focus_last #

[View source]
def focus_next #

[View source]
def hide #

[View source]
def items=(items : Array(String)) #

[View source]
def items_height #

[View source]
def items_width #

[View source]
def select_item #

[View source]
def show #

[View source]
def shown? : Bool #

[View source]
def update(frame_time) #

[View source]