Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

UINote.h

00001 #ifndef _UINOTE_H_
00002 #define _UINOTE_H_
00003 
00004 #include <string>
00005 #include <vector>
00006 #include <libxml/tree.h>
00007 
00008 namespace FD {
00009 
00010 //Copyright (C) Dominic Letourneau 2004
00011 //
00012 
00017 class UINote {
00018 
00019  protected:
00020   
00022   std::string m_text;  
00024   double m_x;
00026   double m_y;
00028   bool m_visible;
00029  public:
00030   
00037   UINote(const std::string &text, double x, double y, bool visible = true);
00038   
00040   virtual ~UINote();
00041   
00046   void saveXML(xmlNode *root);
00047   
00052   std::string getText() {return m_text;}
00053   
00058   void setText(const std::string &text){m_text =text;}
00059    
00063   bool isVisible() {return m_visible;}
00064   
00069   void setVisible(bool visible) {m_visible = visible;}
00070 
00071 };
00072 
00073 }//namespace FD
00074 #endif

Generated on Wed Oct 5 14:28:56 2005 for FlowDesigner by  doxygen 1.4.4