CRT::Ncurses::Draw
Constants
ACS_BTEE = 'v'.ord | LibNCurses::Attribute::AltCharSet.value.to_i32
ACS_HLINE = 'q'.ord | LibNCurses::Attribute::AltCharSet.value.to_i32
ACS_LLCORNER = 'm'.ord | LibNCurses::Attribute::AltCharSet.value.to_i32
ACS_LRCORNER = 'j'.ord | LibNCurses::Attribute::AltCharSet.value.to_i32
ACS_LTEE = 't'.ord | LibNCurses::Attribute::AltCharSet.value.to_i32
ACS_PLUS = 'n'.ord | LibNCurses::Attribute::AltCharSet.value.to_i32
ACS_RTEE = 'u'.ord | LibNCurses::Attribute::AltCharSet.value.to_i32
ACS_TTEE = 'w'.ord | LibNCurses::Attribute::AltCharSet.value.to_i32
ACS_ULCORNER = 'l'.ord | LibNCurses::Attribute::AltCharSet.value.to_i32
ACS_URCORNER = 'k'.ord | LibNCurses::Attribute::AltCharSet.value.to_i32
ACS_VLINE = 'x'.ord | LibNCurses::Attribute::AltCharSet.value.to_i32
Class methods
attrbox(win : NCurses::Window, tlc : Int32, trc : Int32, blc : Int32, brc : Int32, horz : Int32, vert : Int32, attr : Int32)
Draw a box with custom characters
Print a box around a window with attributes
draw_line(window : NCurses::Window, startx : Int32, starty : Int32, endx : Int32, endy : Int32, line : Int32)
Draw a line on the given window
draw_obj_box(win : NCurses::Window, object)
Draw a box using the object's defined line-drawing characters
write_blanks(window : NCurses::Window, xpos : Int32, ypos : Int32, align : Direction, start : Int32, endn : Int32)
Write a string of blanks
write_char(window : NCurses::Window, xpos : Int32, ypos : Int32, string : String, align : Direction, start : Int32, endn : Int32)
Write a char string with no attributes
write_char_attrib(window : NCurses::Window, xpos : Int32, ypos : Int32, string : String, attr : Int32, align : Direction, start : Int32, endn : Int32)
Write a char string with attributes