home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / hl10osrc.zoo / Include / LLScrollPrompt.h < prev    next >
Text File  |  2009-11-06  |  1KB  |  46 lines

  1. /* -*- Mode: C -*- */
  2. /* LLScrollPrompt.h - LineList scroll w/prompt window
  3.  * Created by Robert Heller on Tue Mar 24 19:33:28 1992
  4.  *
  5.  * ------------------------------------------------------------------
  6.  * Home Libarian by Deepwoods Software
  7.  * Common Header Files
  8.  * ------------------------------------------------------------------
  9.  * Modification History:
  10.  * ------------------------------------------------------------------
  11.  * Contents:
  12.  * ------------------------------------------------------------------
  13.  * 
  14.  * 
  15.  * Copyright (c) 1991,1992 by Robert heller (D/B/A Deepwoods Software)
  16.  *        All Rights Reserved
  17.  * 
  18.  */
  19.  
  20. #ifndef _LLSCRLLPT_
  21. #define _LLSCRLLPT_
  22. #include <stream.h>
  23. #include <common.h>
  24. #include <ctype.h>
  25. #include <LList.h>
  26. #include <Terminal.h>
  27.  
  28. class LLScrollPrompt {
  29.     char Title[80];
  30.     int  ScrollRow;
  31.     int  ScrollCol;
  32.     int  ScrollWidth;
  33.     int  ScrollHeight;
  34.     int  PromptRow;
  35. public:
  36.          LLScrollPrompt(const char* title,int row=3,int col=0,int width=80,
  37.               int height=15,int prow=20)
  38.              {strcpy(Title,title);ScrollRow=row;ScrollCol=col;
  39.          ScrollWidth=width;ScrollHeight=height;PromptRow=prow;}
  40.     int Scroll(const LineList* scrolltext,const char* prompt,
  41.              char* answer,int answersize);
  42.     friend class Terminal;
  43. };
  44.  
  45. #endif
  46.