home *** CD-ROM | disk | FTP | other *** search
- // Copyright (c) 1993, University of Kansas, All Rights Reserved
- //
- // Class: TDosLynx : public TApplication
- // Include File: TDosLynx.h
- // Purpose: Implement our application object.
- // Remarks/Portability/Dependencies/Restrictions:
- // Revision History:
- // 12-09-93 created
- // 02-09-04 Split all members to seperate files to enhance
- // overlay support.
- #define Uses_TDeskTop
- #include"tdoslynx.h"
-
- TDeskTop *TDosLynx::initDeskTop(TRect TR_r) {
- // Purpose: Initialize the desktop.
- // Arguments: TR_r Dimensions of the desktop.
- // Return Value: TDeskTop * the new desktop created.
- // Remarks/Portability/Dependencies/Restrictions:
- // Revision History:
- // 12-29-93 created
-
- // Adjust top and bottom to exclude the menu and status line.
- TR_r.grow(0, -1);
-
- // Return the created desktop
- auto TDeskTop *TDTp_desktop = new TDeskTop(TR_r);
-
- return(TDTp_desktop);
- }
-