Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Dialog.h

00001 /*
00002   File: Dialog.h
00003 
00004   Copyright(C) C. Kotterink, Computed Graphics
00005 */
00006 #ifndef DIALOG_H
00007 #define DIALOG_H
00008 
00009 #include<Frame.h>
00010 
00011 class Button;
00012 
00021 class Dialog : public Frame
00022 {
00023     DYNAMIC_OBJECT;
00024 public:
00026     Dialog(int id = 0);
00027 
00029     virtual void activate(Frame *p);
00030 
00032     virtual void dismiss();
00033 
00034     // Inherited from Region
00035     bool accepts(Event &event);
00036     void refresh();
00037     bool event(int regionId, int evnt);
00038     bool handleEvent(Event &evnt);
00039     void resize(unsigned short w, unsigned short h);
00040 
00041     // Inherited from DynamicObject
00042     void parseSymbol(Token &t, ObjectFile &file);
00043     void writeParams(ostream &stream);
00044 
00045 protected:
00046     // Inherited from DynamicObject
00047     void createSymbols();
00048 
00050     bool moving;
00051 
00053     string title;
00054 
00056     Button *exitButton;
00057 
00058 private:
00059     typedef Frame super;
00060 };
00061 #endif

This documentation was generated using doxygen. If you have any comments or additions please mail me.