/* nullapp.c ** null application for gemskel.c application skeleton. ** ** 900129 kbad updated for textwind ** 890708 kbad Created */ #include /* * TURN OFF Turbo C "parameter X is never used" warnings */ #pragma warn -par /* * Comment this out to use do_windows() stub */ #define TEXTWIND /* GEMSKEL functions * ================================================================ */ void wind_init( void ) { } void evnt_init( void ) { /* this example only looks for message events */ evnt_set( MU_MESAG, 0, 0, 0, NULL, NULL, 0L ); } BOOLEAN evnt_hook( int event, int *msg, MRETS *mrets, int *key, int *nclicks ) { return FALSE; /* don't override event handling */ } #ifndef TEXTWIND void do_windows( int *msg, int *event ) { } #endif void acc_open( const int *msg ) { } void acc_close( const int *msg ) { } void msg_hook( const int *msg, int *event ) { } void do_timer( int *event ) { } void do_key( int kstate, int key, int *event ) { } void do_button( MRETS *mrets, int nclicks, int *event ) { } void do_m1( MRETS *mrets, int *event ) { } void do_m2( MRETS *mrets, int *event ) { } BOOLEAN wind_in( int *msg, WINFO *w ) { return FALSE; /* let do_windows() do its thing */ } void wind_adjust( const WINFO *w, GRECT *rect ) { }