+
Point of view
All features
class CURSES_DESC_LAYOUT_BORDER
Summary
A layout that manages four "borders" and a center (i.e. five zones):
   +-----------------------------------------------------------------+
   |                                                                 |
   |                             NORTH                               |
   |                                                                 |
   +--------+-----------------------------------------------+--------+
   |        |                                               |        |
   |        |                                               |        |
   |        |                                               |        |
   |  WEST  |                    CENTER                     |  EAST  |
   |        |                                               |        |
   |        |                                               |        |
   |        |                                               |        |
   +--------+-----------------------------------------------+--------+
   |                                                                 |
   |                             SOUTH                               |
   |                                                                 |
   +-----------------------------------------------------------------+
Direct parents
Inherit list: CURSES_DESC_LAYOUT
Overview
Creation features
{CURSES_DESC_PANEL}
Features
{CURSES_DESCRIPTOR}
{}
{}
{}
{ANY}
{ANY}
{}
  • log: LOGGER
    There is one logger per concrete type; for performance reasons it is cached in each instance.
  • log_memory__0_: LOGGER
    The cached logger.
build (parent: NCURSES_WINDOW)
effective procedure
require
  • parent /= Void
  • ncurses_widget = Void
ensure
  • ncurses_widget /= Void
layout (a_x: INTEGER_32, a_y: INTEGER_32, a_width: INTEGER_32, a_height: INTEGER_32)
effective procedure
require
  • ncurses_widget /= Void
  • a_width > 0
  • a_height > 0
  • a_x.in_range(0, a_width - 1)
  • a_y.in_range(0, a_height - 1)
ensure
  • x = a_x
  • y = a_y
  • width = a_width
  • height = a_height
writable attribute
writable attribute
width: INTEGER_32
writable attribute
height: INTEGER_32
writable attribute
min_width: INTEGER_32
effective function
max_width: INTEGER_32
effective function
min_height: INTEGER_32
effective function
max_height: INTEGER_32
effective function
effective function
{}
make (ui: UI_WINDOW, options: JSON_ARRAY, desc_widgets: JSON_VALUE)
effective procedure
{}
require
  • ui /= Void
  • options = Void or else options.count > 1
  • desc_widgets /= Void
writable attribute
{}
writable attribute
{}
writable attribute
{}
writable attribute
{}
writable attribute
{}
center_win: NCURSES_WINDOW
writable attribute
{}
north_win: NCURSES_WINDOW
writable attribute
{}
south_win: NCURSES_WINDOW
writable attribute
{}
east_win: NCURSES_WINDOW
writable attribute
{}
west_win: NCURSES_WINDOW
writable attribute
{}
ncurses_widget: NCURSES_WINDOW
writable attribute
{}
effective function
{}
once function
{}
new_panel (ui: UI_WINDOW, value: JSON_OBJECT): CURSES_DESC_PANEL
effective function
{}
new_button (ui: UI_WINDOW, value: JSON_OBJECT): CURSES_DESC_BUTTON
effective function
{}
new_text_field (ui: UI_WINDOW, value: JSON_OBJECT): CURSES_DESC_TEXT_FIELD
effective function
{}
ncurses: NCURSES
once function
{ANY}
Access to the ncurses singleton.
invisible_cursor_mode: INTEGER_32
is 0
constant attribute
{ANY}
In this mode the cursor is invisible.
default_visible_cursor_mode: INTEGER_32
is 1
constant attribute
{ANY}
The default visible cursor mode.
special_visible_cursor_mode: INTEGER_32
is 2
constant attribute
{ANY}
In this mode cursor may blink in a more special or in a more visible way.
valid_cursor_visibility (code: INTEGER_32): BOOLEAN
effective function
{ANY}
ensure
log: LOGGER
effective function
{}
There is one logger per concrete type; for performance reasons it is cached in each instance.
ensure
  • Result /= Void
log_memory__0_: LOGGER
writable attribute
{}
The cached logger.
The ugly name is intentional. Don't use directly.