home *** CD-ROM | disk | FTP | other *** search
/ Turbo Toolbox / Turbo_Toolbox.iso / spezial / 20 / dos_txl / source / windows.h < prev   
Encoding:
C/C++ Source or Header  |  1991-02-19  |  1.3 KB  |  39 lines

  1. /** Prototypen des Window-Moduls für TXL 
  2.     (c) 1991 by Elmar Warken  ***/
  3.  
  4. #define UChar unsigned char
  5.  
  6. typedef struct windowdata
  7.   struct windowdata *NextWindow;
  8.   char handle;
  9.   char x1,y1,x2,y2,Breite,Hoehe;
  10.   UChar FrameCol,BackCol,TopCol,BottomCol;
  11.   char *BackGround, *HelpSave;
  12.   char *TopL,*BottomL;
  13.   char FrameType;
  14. } WindowData;
  15.  
  16. void InitWindowSystem(void);
  17. char *SaveBGround(int x1,int y1,int x2,int y2);
  18. void RestoreBGround(int x1,int y1,int x2,int y2, char *BG);
  19. void WriteFirstWin(int x, int y,char a, char *string);
  20. void ClearFirstWin(void);
  21. void FrameFirstWin(void);
  22. void TopBottomFirstWin(char *top,char *bottom);
  23. int OpenWindow(char nx1,char ny1,char nx2,char ny2,
  24.            UChar c1,UChar c2,UChar c3,UChar c4);
  25. void CloseFirstWindow(void);
  26. void HideWindow(struct windowdata *Win);
  27. void ShowHiddenWindow(struct windowdata *Win);
  28. void NewKoorWindow(char nx1,char ny1,char nx2,char ny2);
  29. void ResizeWindow(int relx,int rely);
  30. void MoveWindow(int relx,int rely);
  31. struct windowdata *GetFirstWindow
  32.      (int number, struct windowdata *Win, struct windowdata *Prev);
  33. void NewFirstWindow(int number);
  34. void WR_STRMAX(char *str,unsigned char a,char max);  
  35. void WinReadStr(char *frage, char *ergebnis, int laenge);
  36. void Message(char *str);
  37. int csetcursor(void);    
  38.