30 lines
526 B
C++
Executable File
30 lines
526 B
C++
Executable File
#ifndef __ABOUT_H
|
|
#define __ABOUT_H
|
|
|
|
#ifndef __WINDOW_H
|
|
#include <window.h>
|
|
#endif
|
|
|
|
class TProperty_sheet : public TObject
|
|
{
|
|
TWindow* _ps;
|
|
|
|
protected:
|
|
void freeze(bool f);
|
|
|
|
public:
|
|
void add_cat(const char* prompt);
|
|
void add_prop(const char* prompt, const char* value);
|
|
void add_prop(const char* prompt, long value);
|
|
|
|
void set_read_only(bool ro = true);
|
|
KEY run();
|
|
TProperty_sheet(const char* title = "", int width = 78, int height = 20);
|
|
virtual ~TProperty_sheet();
|
|
};
|
|
|
|
void about();
|
|
void history();
|
|
|
|
#endif
|