home *** CD-ROM | disk | FTP | other *** search
/ Instant Doom Levels / Instant.Doom.Levels.-.Level.Master.II.iso / EDITORS / ZIPPED / WSCDEU52.ZIP / INCLUDE / MAINFRAM.H < prev    next >
C/C++ Source or Header  |  1995-03-05  |  2KB  |  72 lines

  1. /*----------------------------------------------------------------------------*
  2.  | This file is part of WinDEU, the port of DEU to Windows.                   |
  3.  | WinDEU was created by the DEU team:                                        |
  4.  |  Renaud Paquay, Raphael Quinet, Brendon Wyber and others...                |
  5.  |                                                                            |
  6.  | DEU is an open project: if you think that you can contribute, please join  |
  7.  | the DEU team.  You will be credited for any code (or ideas) included in    |
  8.  | the next version of the program.                                           |
  9.  |                                                                            |
  10.  | If you want to make any modifications and re-distribute them on your own,  |
  11.  | you must follow the conditions of the WinDEU license. Read the file        |
  12.  | LICENSE or README.TXT in the top directory.  If do not  have a copy of     |
  13.  | these files, you can request them from any member of the DEU team, or by   |
  14.  | mail: Raphael Quinet, Rue des Martyrs 9, B-4550 Nandrin (Belgium).         |
  15.  |                                                                            |
  16.  | This program comes with absolutely no warranty.  Use it at your own risks! |
  17.  *----------------------------------------------------------------------------*
  18.  
  19.     Project WinDEU
  20.     DEU team
  21.     Jul-Dec 1994, Jan-Mar 1995
  22.  
  23.     FILE:         mainfram.h
  24.  
  25.     OVERVIEW
  26.     ========
  27.     Class definition for TMainFrame (TDecoratedFrame).
  28. */
  29. #if !defined(__mainfram_h)              // Sentry, use file only if it's not already included.
  30. #define __mainfram_h
  31.  
  32. #ifndef __common_h
  33.     #include "common.h"
  34. #endif
  35.  
  36. #ifndef __windeu_h
  37.     #include "windeu.h"
  38. #endif
  39.  
  40. #ifndef __OWL_OPENSAVE_H
  41.     #include <owl\opensave.h>
  42. #endif
  43.  
  44. #ifndef __OWL_STATUSBA_H
  45.     #include <owl\statusba.h>
  46. #endif
  47.  
  48.  
  49. //{{TDecoratedFrame = TMainFrame}}
  50. class TMainFrame : public TDecoratedFrame
  51. {
  52. private:
  53.     TStatusBar *statusBar ;
  54.  
  55. public:
  56.     BOOL inEditor ;        // Currently editing a level ?
  57.  
  58.     TMainFrame (const char far *title, TModule* module = 0);
  59.     virtual ~TMainFrame ();
  60.  
  61.     void EditLevel (char *levelName, BOOL newLevel);
  62.     BOOL StopEditLevel ();
  63.  
  64.     TStatusBar *GetStatusBar() { return statusBar; } ;
  65.  
  66.     void SetMenuAndAccel (TResId id);
  67.     void ToggleStatusBar ();
  68. };    //{{TMainFrame}}
  69.  
  70. #endif                                      // __mainfram_h sentry.
  71.  
  72.