home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / GENEVA_3.LZH / GENEVA_3.MSA / PROGRAM / NEW_AES.H < prev    next >
C/C++ Source or Header  |  1994-01-03  |  3KB  |  116 lines

  1. /* New AES definitions for MultiTOS */
  2. /* These are missing from Pure C's AES.H file as of 1.1 */
  3.  
  4. #ifndef __NEW_AES__
  5.   #define __NEW_AES__
  6.   #include "aes.h"
  7.  
  8. #ifndef WM_ICONIFY    /* evnt_mesag messages */
  9.   #define WM_ICONIFY    34    /* AES 4.1 and newer */
  10.   #define WM_UNICONIFY    35    /* AES 4.1 */
  11.   #define WM_ALLICONIFY    36    /* AES 4.1 */
  12.   #define WM_TOOLBAR    37    /* AES 4.1 */
  13. #endif
  14. #define RESCH_COMPLETED 61    /* typo corrected from AES.H */
  15. #define SH_WDRAW    72
  16.  
  17. #ifndef appl_getinfo
  18. int appl_getinfo( int ap_gtype, int *ap_gout1, int *ap_gout2, int *ap_gout3,
  19.     int *ap_gout4 );
  20. #endif
  21.  
  22. #define G_CICON         33    /* ob_type */
  23.  
  24. #ifndef FL3DMASK    /* ob_flags */
  25.   #define FL3DMASK    0x0600
  26.   #define FL3DNONE    0x0000
  27.   #define FL3DIND    0x0200
  28.   #define FL3DBAK    0x0400
  29.   #define FL3DACT    0x0600
  30. #endif
  31.  
  32. #if 0
  33.    /* This is the correct definition of MENU (with the mn_keystate element)
  34.       but you will need to remove the current definition from AES.H if
  35.       you have an older version of the header file where it is incorrect. */
  36.   typedef struct
  37.   {
  38.         OBJECT  *mn_tree;
  39.         int     mn_menu;
  40.         int     mn_item;
  41.         int     mn_scroll;
  42.         int     mn_keystate;
  43.   } MENU;
  44. #endif
  45.  
  46. #ifndef objc_sysvar
  47.   #define LK3DIND    1
  48.   #define LK3DACT    2
  49.   #define INDBUTCOL    3
  50.   #define ACTBUTCOL    4
  51.   #define BACKGRCOL    5
  52.   #define AD3DVALUE    6
  53.   int objc_sysvar( int ob_smode, int ob_swhich, int ob_sival1,
  54.                    int ob_sival2, int *ob_soval1, int *ob_soval2 );
  55. #endif
  56.  
  57. #ifndef M_SAVE        /* graf_mouse forms */
  58.   #define M_SAVE    258
  59.   #define M_RESTORE    259
  60.   #define M_PREVIOUS    260
  61. #endif
  62.  
  63. #ifndef GDOS_PROP    /* TEDINFO te_font values */
  64.   #define GDOS_PROP    0
  65.   #define GDOS_MONO    1
  66.   #define GDOS_BITM    2
  67. #endif
  68.  
  69. #ifndef SMALLER        /* wind_create, wind_calc */
  70.   #define SMALLER    0x1000    /* AES 4.1 and newer */
  71. #endif
  72.  
  73. #ifndef WF_BOTTOM    /* wind_get/set */
  74.   #define WF_BOTTOM    25    /* 1/25/93 */
  75. #endif
  76. #ifndef WF_ICONIFY    /* wind_get/set */
  77.   #define WF_ICONIFY    26    /* AES 4.1 and newer */
  78.   #define WF_UNICONIFY    27    /* AES 4.1 */
  79.   #define WF_UNICONIFYXYWH 28    /* AES 4.1 */
  80.   #define WF_TOOLBAR      30    /* AES 4.1 */
  81.   #define WF_FTOOLBAR     31    /* AES 4.1 */
  82.   #define WF_NTOOLBAR     32    /* AES 4.1 */
  83. #endif
  84.  
  85. /* The following definitions are ones I've added, to make using
  86.    shel_write easier */
  87.  
  88. /* shel_write sh_wdoex parameter flags in LSB */
  89. #define SHW_RUNANY    0    /* Run and let AES decide mode */
  90. #define SHW_RUNAPP    1    /* Run an application */
  91. #define SHW_RUNACC    3    /* Run a desk accessory */
  92. #define SHW_SHUTDOWN    4    /* Enter shutdown mode */
  93. #define SHW_NEWREZ    5    /* Change resolution */
  94. #define SHW_BROADCAST    6    /* Broadcast to all processes */
  95. #define SHW_ENVIRON    8    /* Modify environment */
  96. #define SHW_MSGTYPE    9    /* What kind of message app can understand */
  97. #define SHW_SENDTOAES    10    /* Send AES a message */
  98.  
  99. /* shel_write sh_wdoex parameter flags in MSB */
  100. #define SHD_ENVIRON    (1<<11)    /* Environment string */
  101. #define SHD_DFLTDIR    (1<<10)    /* Default directory string */
  102. #define SHD_PRENICE    (1<<9)    /* MiNT Prenice (priority) level */
  103. #define SHD_PSETLIM    (1<<8)    /* MiNT memory allocation limit */
  104.  
  105. /* shel_write alternative structure for sh_wpcmd parameter */
  106. typedef struct
  107. {
  108.   char *name;
  109.   long psetlimit;
  110.   long prenice;
  111.   char *dflt_dir;
  112.   char *environ;
  113. } SHWRCMD;
  114.  
  115. #endif __NEW_AES__
  116.