Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Properties.h

00001 #ifndef PROPERTIES_H
00002 #define PROPERTIES_H
00003 
00004 #include "SpecificProperty.h"
00005 #include "Color.h"
00006 
00007 #include "Editor_Int.h"
00008 #include "Editor_VColor.h"
00009 
00010 #include "Editable_Int.h"
00011 #include "Editable_Percent.h"
00012 
00013 // defines the identities of various properties
00014 
00015 
00016 
00018 class VProperty_ColorFill : public VSpecificProperty<VColor>
00019 {
00020 public:
00021         VProperty_ColorFill(VProperty_ColorFill* p) : VSpecificProperty<VColor>(p) {}
00022         VProperty_ColorFill() : VSpecificProperty<VColor>() {}
00024         string Identify() const  { return string("Fill Color"); }
00025 
00026 };
00027 
00029 class VProperty_ColorLine : public VSpecificProperty<VColor>
00030 {
00031 public:
00032         VProperty_ColorLine(VProperty_ColorLine* p) : VSpecificProperty<VColor>(p) {}
00033         VProperty_ColorLine() : VSpecificProperty<VColor>() {}
00035         string Identify() const  { return string("Line Color"); }
00036 };
00037 
00039 class VProperty_LineWidth : public VSpecificProperty<VEditable_Int>
00040 {
00041 public:
00042         VProperty_LineWidth(VProperty_LineWidth* p) : VSpecificProperty<VEditable_Int>(p) {}
00043         VProperty_LineWidth() : VSpecificProperty<VEditable_Int>() { m_BaseValue = 2; }
00045         string Identify() const  { return string("Line Width"); }
00046 };
00047 
00049 class VProperty_Opacity : public VSpecificProperty<VEditable_Percent>
00050 {
00051 public:
00052         VProperty_Opacity(VProperty_Opacity* p) : VSpecificProperty<VEditable_Percent>(p) {}
00053         VProperty_Opacity() : VSpecificProperty<VEditable_Percent>() { m_BaseValue = 100; }
00055         string Identify() const  { return string("Opacity"); }
00056 };
00057 #endif

Generated at Wed Aug 29 19:58:55 2001 for Pocket Animator by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001