|
|
1.1 ! root 1: /*---------------------------------------------------------------------------*\ ! 2: | RANDOM OBJECTS DEMO HEADER FILE ! 3: | ! 4: | ! 5: | created: 31-Oct-90 ! 6: | history: 31-Oct-90 <chriswil> created. ! 7: | ! 8: \*---------------------------------------------------------------------------*/ ! 9: ! 10: #ifdef WIN16 ! 11: #define APIENTRY FAR PASCAL ! 12: typedef WORD WPARAM; ! 13: //#else ! 14: //typedef DWORD WPARAM; ! 15: #endif ! 16: ! 17: #define DRAWCLASS "DRAWDEMO" ! 18: #define DRAWTITLE "Random Objects Demo" ! 19: ! 20: ! 21: #define OBJ_RECTANGLE 0 ! 22: #define OBJ_ELLIPSE 1 ! 23: #define OBJ_ROUNDRECT 2 ! 24: #define OBJ_CHORD 3 ! 25: #define OBJ_PIE 4 ! 26: ! 27: ! 28: typedef struct _DRAWDATA ! 29: { ! 30: int nObject; ! 31: } DRAWDATA; ! 32: typedef DRAWDATA *PDRAWDATA; ! 33: typedef DRAWDATA NEAR *NPDRAWDATA; ! 34: typedef DRAWDATA FAR *LPDRAWDATA; ! 35: ! 36: ! 37: /* ! 38: ** DRAW WINDOW ROUTINES (draw.c) ! 39: */ ! 40: HWND FAR CreateDrawWindow(HWND,int); ! 41: LONG APIENTRY DrawProc(HWND,UINT,WPARAM,LONG); ! 42: BOOL DrawCreateProc(HWND); ! 43: VOID DrawDestroyProc(HWND); ! 44: BOOL DrawCommandProc(HWND,WPARAM,LONG); ! 45: VOID DrawPaintProc(HWND); ! 46: ! 47: ! 48: VOID DrawObject(HWND);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.