home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
AEWIN100.ZIP
/
CONTRIB
/
WINDOWS
/
SRC
/
TEST.CC
< prev
next >
Wrap
C/C++ Source or Header
|
1991-10-28
|
465b
|
31 lines
#include "w.h"
void
main()
{
initscr(LASTMODE, "W");
Window w(10,10,20,60);
w.setmap(0, 7);
w.setmap(1, 112);
w << setattr(1);
w.frame(Window::boxLine2, Window::boxLine2);
w.closebox();
w << setattr(0) << clear;
w.maketop();
for (int i = 0;i < 10; i++)
w.printf("%d ", i).refresh();
w.NL();
uchar buf[100];
w.getstr(buf);
w.getkey();
}