home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 106 / EnigmaAmiga106CD.iso / software / utilities / installer / gui api / example / igui_message.c < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-27  |  1001 b   |  54 lines

  1.  
  2. #include "includes.h"
  3. #include "installergui_data.h"
  4.  
  5. /********************************************************************
  6.  *
  7.  *  DESCRIPTION
  8.  *
  9.  */
  10.  
  11. /********************************************************************
  12.  *
  13.  *  STATIC
  14.  *
  15.  */
  16.  
  17. /********************************************************************
  18.  *
  19.  *  EXTERN
  20.  *
  21.  */
  22.  
  23. /********************************************************************
  24.  *
  25.  *  PUBLIC
  26.  *
  27.  */
  28.  
  29. /********************************************************************
  30.  *
  31.  *  CODE
  32.  *
  33.  */
  34.  
  35. char * __asm igui_Message(register __a0 APTR application,
  36.                           register __a1 struct FunctionEnvironment *localenv,
  37.                           register __a2 char *text)
  38. {
  39.   #ifdef DEBUG
  40.   DEBUG_MAKRO
  41.   #endif
  42.  
  43.   // create a simple text object an sho it
  44.   if (guistuff_NewContent(application, guistuff_InitSimpleText(text)))
  45.   {
  46.     // wait for the user
  47.     igui_WaitApp(application);
  48.   }
  49.  
  50.   // the empty panel...
  51.   igui_EmptyPanel(application);
  52.   return (text);
  53. }
  54.