home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / src / tdosly11.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  897 b   |  30 lines

  1. //    Copyright (c) 1993, University of Kansas, All Rights Reserved
  2. //
  3. //    Class:        TDosLynx : public TApplication
  4. //    Include File:    TDosLynx.h
  5. //    Purpose:    Implement our application object.
  6. //    Remarks/Portability/Dependencies/Restrictions:
  7. //    Revision History:
  8. //        12-09-93    created
  9. //        02-09-04    Split all members to seperate files to enhance
  10. //                overlay support.
  11. #define Uses_TDeskTop
  12. #include"tdoslynx.h"
  13.  
  14. TDeskTop *TDosLynx::initDeskTop(TRect TR_r)    {
  15. //    Purpose:    Initialize the desktop.
  16. //    Arguments:    TR_r    Dimensions of the desktop.
  17. //    Return Value:    TDeskTop *    the new desktop created.
  18. //    Remarks/Portability/Dependencies/Restrictions:
  19. //    Revision History:
  20. //        12-29-93    created
  21.  
  22.     //    Adjust top and bottom to exclude the menu and status line.
  23.     TR_r.grow(0, -1);
  24.  
  25.     //    Return the created desktop
  26.     auto TDeskTop *TDTp_desktop = new TDeskTop(TR_r);
  27.  
  28.     return(TDTp_desktop);
  29. }
  30.