home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703A.ISO / VPR_DATA / DOGA / SOURCES / POLYEDIT.LZH / MODEL / MODEL.H < prev    next >
C/C++ Source or Header  |  1996-05-22  |  1KB  |  75 lines

  1.  
  2. #ifndef    POLY
  3. #    include "poly.h"
  4. #endif
  5.  
  6. #ifndef    VIEW
  7. #    include "view.h"
  8. #endif
  9.  
  10. #ifndef    EVENT
  11. #    include "event.h"
  12. #endif
  13.  
  14. #ifndef    MENU
  15. #    include "menu.h"
  16. #endif
  17.  
  18. #ifndef BUTTON_H
  19. #    include "button.h"
  20. #endif
  21.  
  22. #ifndef    DLOG
  23. #    include "dlog.h"
  24. #endif
  25.  
  26. #ifdef    X68K
  27. #    define    DISPLAY_X    768
  28. #    define    DISPLAY_Y    512
  29. #endif
  30. #ifdef    PC98
  31. #    define    DISPLAY_X    640
  32. #    define    DISPLAY_Y    400
  33. #endif
  34. #if defined(PC) || defined(WINDOWS)
  35. #if 0
  36. #    define    DISPLAY_X    (Cols*FontH)
  37. #    define    DISPLAY_Y    (Lines*FontV)
  38. #else
  39. #    define    DISPLAY_X    (Display_X)
  40. #    define    DISPLAY_Y    (Display_Y)
  41. #endif
  42. #endif
  43.  
  44.  
  45. extern    int        QuitFlag ;
  46. extern    int        InputKey, CursorMoveKey ;
  47. extern    char    **ModelrcName ;
  48. extern    char    **ModelrcValue ;
  49. extern    int        IdentControl, IdentAttrSelect, IdentObjSelect;
  50.  
  51. #ifdef __cplusplus
  52. extern "C" {
  53. #endif
  54. /*    model.c    */
  55. extern    int        WaitEvent( void );
  56. extern    void    InternalError( char* );
  57. extern    void    Message( char* );
  58. extern    void    Warning( void );
  59. #ifdef WINDOWS
  60. extern void        WinMessage(char *mess);
  61. extern void        GetDCParameter(char *dc);
  62. #endif
  63.  
  64. /*    init.c    */
  65. extern    void    ModelInit( void );
  66. extern    void    ModelExit( void );
  67. extern    void    ChildExec( char*, int waitflag, int iconify);
  68. extern    void    WriteModelrc(char *name, char *value);
  69.  
  70. /*    syslib.c    */
  71. extern    void    SysLibInit( void );
  72. #ifdef __cplusplus
  73. }
  74. #endif
  75.