crystalview.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef CRYSTAL_VIEW_H
00026 #define CRYSTAL_VIEW_H
00027
00028 #include <libxml/parser.h>
00029 #include <gcu/matrix.h>
00030 #include <gcu/glview.h>
00031 #include <list>
00032 #include <map>
00033 #include <gtk/gtkwidget.h>
00034
00036 namespace gcu
00037 {
00038 class CrystalDoc;
00039
00045 class CrystalView: public GLView
00046 {
00047 public:
00049
00054 CrystalView (CrystalDoc* pDoc);
00056
00059 virtual ~CrystalView ();
00060
00066 virtual bool Load (xmlNodePtr node);
00071 virtual xmlNodePtr Save (xmlDocPtr xml) const;
00072
00073 protected:
00077 gdouble m_height;
00081 gdouble m_width;
00082 };
00083
00084 }
00085
00086 #endif //CRYSTAL_VIEW_H