
Values set for each member of the structure "spec" are as follows..
posl line number of the upper left corner of the window
( >=2) (top line of the screen being "1")
posc column number of the upper left corner of the window
( >=2) (left-most column of the screen being "1")
sizev number of lines of the window ( >=1)
sizeh number of columns of the window( >=1)
(=number of single byte characters per window)
+-----------------------------------------------+
│ Full screen │<- Line 1
│ │
│ +--------------------------------+ │
│ │#<-(posl,posc) ^ window│ │
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │
│ │ │ sizev │ │
│ │ │ │ │
│ │<------------------+----------->│ │
│ │ sizeh │ │ │
│ │ │ │ │
│ │ │ │ │
│ │ v │ │
│ +--------------------------------+ │
│ ^ │
│ Window frame │
│ │<- Line N
+-----------------------------------------------+
^ ^
Column 1 Column M
N=30,M=80
Specify window title string by the argument "title". The length of
the window title string should be less than 32 single byte characters.
(single byte alpha-numeric and Katakana characters, symbols and double
byte alpha-numeric, Hirakana, Kanji characters and symbols can be
used.)
Specify one of the following window attributes by the argument "flag".
( "0" is equivalent to WIN_F_FULL.)
WIN_F_FULL Full screen window
WIN_F_FRM0 Frame line style: Normal (Thin line)
WIN_F_FRM1 Frame line style: Bold
WIN_F_FRM2 Frame line style: White space (When using this
mode, specify reverse attribute for frame
color by win_col() function.)
WIN_F_FRM3 Frame line style: User defined line (define
line style by win_setfrm() function)
WIN_F_NOFRM Frame-less window: Window size of the
frame-less window can be expanded to full
screen size, without specifying WIN_F_FUL
attribute.