home *** CD-ROM | disk | FTP | other *** search
- // Copyright (c) 1994, University of Kansas, All Rights Reserved
- //
- // Class: TDiskView
- // Include File: tdiskvie.h
- // Purpose: Display the total amound of free disk space.
- // Remarks/Portability/Dependencies/Restrictions:
- // Revision History:
- // 02-18-94 created
- #include"tdiskvie.h"
-
- void TDiskView::update() {
- // Purpose: Update the present and past amounts of free space.
- // Arguments: void
- // Return Value: void
- // Remarks/Portability/Dependencies/Restrictions:
- // If the size has changed, the view will be redrawn.
- // Revision History:
- // 02-18-94 created
-
- if((uli_pres = GetDiskFree()) != uli_past) {
- uli_past = uli_pres;
- drawView();
- }
- }