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

Editable_Degrees.h

00001 #ifndef EDITABLE_DEGREES_H
00002 #define EDITABLE_DEGREES_H
00003 
00004 #include "AbstractEditable.h"
00005 #include "Editable_Int.h"
00006 #include "Editor_Degrees.h"
00007 
00008 
00010 class VEditable_Degrees : public VEditable_Int
00011 {
00012 public:
00013         VEditable_Degrees( ) { m_nValue = 0; }
00014         VEditable_Degrees( int n ) { m_nValue = n; }
00015         VEditable_Degrees( const VEditable_Degrees& i ) { m_nValue = i.m_nValue; }
00016 
00018         VAbstractEditor* CreateEditor() 
00019         {
00020                 VEditor_Int* pEditor = new VEditor_Int(&m_nValue);
00021                 if (pEditor == NULL)
00022                         return (VAbstractEditor*) VOUTOFMEMORYCONSTANT;
00023                 pEditor->SetLabel(_T("°"));
00024                 return pEditor;
00025         }
00026 };
00027 
00028 #endif

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