home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / yacl-012.zip / uidemo / graphic1 / graphic1.cxx < prev    next >
C/C++ Source or Header  |  1995-04-08  |  489b  |  23 lines

  1.  
  2.  
  3. // A simple graphics demo using YACL
  4. //
  5. // M. A. Sridhar
  6. // March 1, 1994
  7.  
  8. #include "ui/applic.h"
  9. #include "ui/cntroler.h"
  10. #include "appwin.h"
  11.  
  12. int UI_Application::Main (int, char* [])
  13. {
  14.     Controller().DispatchPendingEvents (); // Without this, Windows
  15.                                            // sometimes gives an extra mouse
  16.                                            // click at the beginning
  17.     MakeTopWindow (new AppWindow);
  18.     Run();
  19.     return 0;
  20. }
  21.  
  22.  
  23.