DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T w

⟦bf00119cf⟧ TextFile

    Length: 690 (0x2b2)
    Types: TextFile
    Names: »window.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Nobs/window.c« 

TextFile

#include "defs.h"
#include "globs.h"
#include "window.h"

initwins()
{
	initscr();
	Humanhand = subwin(stdscr, 3, 29, 16, 30);
	Programhand = subwin(stdscr, 3, 28, 5, 30);
	Prompt = subwin(stdscr, 2, 72, 22, 5);
	Select = subwin(stdscr, 1, 28, 19, 30);
	Crib = subwin(stdscr, 1, 20, 12, 1);
	Cut = subwin(stdscr, 1, 3, 12, 66);
	Hscore = subwin(stdscr, 5, 27, 15, 0);
	Pscore = subwin(stdscr, 5, 27, 2, 0);
	scrollok(Hscore, TRUE);
	scrollok(Pscore, TRUE);
	Board = subwin(stdscr, 3, 37, 11, 28);
	initboard();
}

initboard()
{
	int i;
	for (i=0; i<37; i++) if (1 != (i%6)) {
		mvwaddch(Board, 0, i, ':');
		mvwaddch(Board, 2, i, ':');
	}
}

termwins()
{
	clear();
	refresh();
	endwin();
}