class Sonicri::Display

Defined in:

sonicri/display.cr

Constant Summary

HeadingColor = 7
HIT_SPACE = 0
InfoColor = 5
ItemColor = 6
ItemInactiveColor = 8
KeyColor = 9
NonSelectColor = 3
ProgressColor = 10
SelectColor = 2
SelectionColor = 4
TitleColor = 1

Constructors

Instance Method Summary

Constructor Detail

def self.new(page : Page) #

[View source]

Instance Method Detail

def close #

[View source]
def draw_help #

[View source]
def draw_page #

[View source]
def draw_partial_page #

[View source]
def list : Array(String) #

[View source]
def list_win : NCurses::Window #

[View source]
def list_win=(list_win : NCurses::Window) #

[View source]
def load_list(list : Array(String)) #

[View source]
def page : Sonicri::Page #

[View source]
def page=(page : Sonicri::Page) #

[View source]
def progress : Progress #

[View source]
def progress=(progress : Progress) #

[View source]
def redraw(key) #

[View source]
def select_maybe(key) #

[View source]
def selected #

[View source]
def selection #

[View source]