winstatb.h Source File

Main Page Class Hierarchy Compound List File List Compound Members

# winstatb.h

    00001 /*
    00002 Program STATUSB.H
    00003 Purpose Controls the statusbar of the application (header)
    00004                 This statusbar is a typical Windows statusbar
    00005                 For porting to another platform there must be a StatusBar class
    00006                 but you have to make one on your own.
    00007                 User interface element (See documentation for more details
    00008                 about the functions needed in this class)
    00009 Programmers     R. Spekreijse & N. Noorlander
    00010 Last Update     22-12-1995
    00011 */
    00012
    00013 #ifndef WINSTATB_H
    00014 #define WINSTATB_H
    00015
    00016 #ifdef __GNUG__
    00017 #pragma interface
    00018 #endif
    00019
    00020 class GDSMainWindow;
    00021
    00022 // because Windows can generate it's own statusbar inherite from it
    00023 class WinStatusBar: public StatusBar
    00024 {
    00025
    00026         public:
    00027                 // constructor & destructor
    00028                 WinStatusBar(GDSMainWindow*);
    00029                 ~WinStatusBar();
    00030
    00031                 // public memberfunctions (these are always needed in every platform!)
    00032                 void    SetXY(double = 0.0, double = 0.0);
    00033                 void    ResetCoord();
    00034                 void    SetFile(char* = 0);
    00035                 void    SetFile(const wxString&);
    00036                 void    SetProcess(char* = 0);
    00037                 void    SetTime(time_t seconds = 0);
    00038                 void    ResetTime();
    00039                 void    SetRecording(int status = 0);
    00040                 void  SetInsertLayer(const char* insertlayer);
    00041                 void    SetZoom(float factor = 1);
    00042                 void    Reset();
    00043
    00044         protected:
    00045                 GDSMainWindow*  frame;
    00046                 char                            _Status_process[80];
    00047                 char                            _Status_time[80];
    00048                 char                            _Status_recording[80];
    00049                 char                            _Status_filename[80];
    00050                 char                            _Status_zoomfactor[80];
    00051                 char                            _Status_XY[80];
    00052 };
    00053
    00054 #endif
    00055

winstatb.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page