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

Label.h

00001 /*
00002   File: Label.h
00003 
00004   Copyright(C) C. Kotterink, Computed Graphics
00005 */
00006 #ifndef LABEL_H
00007 #define LABEL_H
00008 
00009 #include<Region.h>
00010 
00011 #include<string>
00012 
00030 class Label : public Region
00031 {
00032     DYNAMIC_OBJECT;
00033 public:
00035     Label(const string t = "");
00036 
00038     void setText(const string &t);
00039 
00040     // Inherited from Widget
00041     void refresh();
00042 
00043     // Inherited from DynamicObject
00044     void parseSymbol(Token &t, ObjectFile &file);
00045     void writeParams(ostream &stream);
00046 
00047 protected:
00048     // Inherited from DynamicObject
00049     void createSymbols();
00050 
00052     string text;
00053 
00054 private:
00055     typedef Region super;
00056 };
00057 #endif

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