Handbook
Glossary
WINDOW
Vocabulary
curses
.
ffi
Definition
USING:
alien.c-types
classes.struct
specialized-arrays.instances.alien.c-types.ushort
;
IN:
curses.ffi
STRUCT:
WINDOW
{
_cury
NCURSES_SIZE_T
initial:
0
}
{
_curx
NCURSES_SIZE_T
initial:
0
}
{
_maxy
NCURSES_SIZE_T
initial:
0
}
{
_maxx
NCURSES_SIZE_T
initial:
0
}
{
_begy
NCURSES_SIZE_T
initial:
0
}
{
_begx
NCURSES_SIZE_T
initial:
0
}
{
_flags
short
initial:
0
}
{
_attrs
attr_t
initial:
0
}
{
_bkgd
chtype
initial:
0
}
{
_notimeout
bool
}
{
_clear
bool
}
{
_leaveok
bool
}
{
_scroll
bool
}
{
_idlok
bool
}
{
_idcok
bool
}
{
_immed
bool
}
{
_sync
bool
}
{
_use_keypad
bool
}
{
_delay
int
initial:
0
}
{
_line
c-string
}
{
_regtop
NCURSES_SIZE_T
initial:
0
}
{
_regbottom
NCURSES_SIZE_T
initial:
0
}
{
_parx
int
initial:
0
}
{
_pary
int
initial:
0
}
{
_parent WINDOW*
}
{
_pad
pdat
initial:
S{
pdat
{
_pad_y 0
}
{
_pad_x 0
}
{
_pad_top 0
}
{
_pad_left 0
}
{
_pad_bottom 0
}
{
_pad_right 0
}
}
}
{
_yoffset
NCURSES_SIZE_T
initial:
0
}
{
_bkgrnd
cchar_t
initial:
S{
cchar_t
{
attr 0
}
{
chars
ushort-array{
0 0 0 0 0
}
}
}
}
;
Methods
USING:
classes.struct
classes.struct.private
curses.ffi
kernel
;
M:
WINDOW
clone
clone-underlying
\
WINDOW
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
curses.ffi
;
M:
WINDOW
struct-slot-values
{
[
_cury>>
]
[
_curx>>
]
[
_maxy>>
]
[
_maxx>>
]
[
_begy>>
]
[
_begx>>
]
[
_flags>>
]
[
_attrs>>
]
[
_bkgd>>
]
[
_notimeout>>
]
[
_clear>>
]
[
_leaveok>>
]
[
_scroll>>
]
[
_idlok>>
]
[
_idcok>>
]
[
_immed>>
]
[
_sync>>
]
[
_use_keypad>>
]
[
_delay>>
]
[
_line>>
]
[
_regtop>>
]
[
_regbottom>>
]
[
_parx>>
]
[
_pary>>
]
[
_parent>>
]
[
_pad>>
]
[
_yoffset>>
]
[
_bkgrnd>>
]
}
cleave>array
;
inline