home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
APPS
/
hl10osrc.zoo
/
Include
/
ScrollPrompt.h
< prev
next >
Wrap
Text File
|
2009-11-06
|
1KB
|
45 lines
/* -*- Mode: C -*- */
/* ScrollPrompt.h - ScrollWindow with prompt
* Created by Robert Heller on Fri Dec 13 23:10:51 1991
*
* ------------------------------------------------------------------
* Home Libarian by Deepwoods Software
* Common Header Files
* ------------------------------------------------------------------
* Modification History:
* ------------------------------------------------------------------
* Contents:
* ------------------------------------------------------------------
*
*
* Copyright (c) 1991,1992 by Robert heller (D/B/A Deepwoods Software)
* All Rights Reserved
*
*/
#ifndef _SCROLLPT_
#define _SCROLLPT_
#include <stream.h>
#include <common.h>
#include <ctype.h>
#include <Terminal.h>
class ScrollPrompt {
char Title[80];
int ScrollRow;
int ScrollCol;
int ScrollWidth;
int ScrollHeight;
int PromptRow;
public:
ScrollPrompt(const char* title,int row=3,int col=0,int width=80,
int height=15,int prow=20)
{strcpy(Title,title);ScrollRow=row;ScrollCol=col;
ScrollWidth=width;ScrollHeight=height;PromptRow=prow;}
int Scroll(const char* scrolltext,const char* prompt,
char* answer,int answersize);
friend class Terminal;
};
#endif