class

CRT::Ncurses::Matrix

Inherits CRT::Ncurses::CRTObjs < CRT::Ncurses::Formattable < CRT::Ncurses::CommonControls < CRT::Ncurses::WindowHooks < CRT::Ncurses::WindowInput < CRT::Ncurses::HasTitle < CRT::Ncurses::HasScreen < CRT::Ncurses::ExitConditions < CRT::Ncurses::Bindings < CRT::Ncurses::Focusable < CRT::Ncurses::Borders < CRT::Ncurses::Movement < CRT::Ncurses::Converters < CRT::Ncurses::Justifications < CRT::Ncurses::Alignments < Reference < Object

Constants

MAX_MATRIX_COLS = 1000
MAX_MATRIX_ROWS = 1000

Constructors

new(screen : CRT::Ncurses::Screen, *, x : Int32, y : Int32, rows : Int32, cols : Int32, vrows : Int32, vcols : Int32, rowtitles : Array(String), coltitles : Array(String), colwidths : Array(Int32), colvalues : Array(CRT::Ncurses::DisplayType), title : String = "", rspace : Int32 = 1, cspace : Int32 = 1, filler : Char = '.', dominant : Dominant = Dominant::None, box : Bool | CRT::Ncurses::Framing | Nil = nil, box_cell : Bool = true, shadow : Bool = false)
Source

Instance methods

activate(actions : Array(Int32) | Nil = nil) : Int32
Source
background=(attrib : Int32)
Source
ccol
Source
clean
Source
clean_cell(row : Int32, col : Int32)
Source
colvalues
Source
colwidths
Source
crow
Source
cur_matrix_cell
Source
destroy
Source
draw(box : Bool = @box)
Source
erase
Source
filler
Source
focus
Source
get_cell(row : Int32, col : Int32) : String
Source
info
Source
inject(input : Int32) : Int32
Source
move_to_cell(newrow : Int32, newcol : Int32) : Int32
Source
object_type
Source
set_cell(row : Int32, col : Int32, value : String) : Int32
Source
unfocus
Source