fshake3d  0.0.1
FreeformDensity3DSurfaceEditor
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
ui_SceneRuler.hpp
Go to the documentation of this file.
00001 #ifndef UI_RULER_HPP
00002 #define UI_RULER_HPP
00003 
00004 #include "ui_View.hpp"
00005 #include "ui_fonts.hpp"
00006 
00007 class Ruler : public View
00008 {
00009 public:
00010   Ruler();
00011   void setVisible(bool visible) { mVisible = visible; }
00012   virtual void display();
00013   void setSize(double size) { mSize = size; }
00014   void setLeft(double left) { mLeft = left; }
00015   void setBottom(double bottom) { mBottom = bottom; }
00016   void setHeight(double height) { mHeight = height; }
00017   void setWidth(double width) { mWidth = width; }
00018   void setTick(double tick) { mTick = tick; }
00019 private:
00020   Font* mpFont;
00021   double mSize;
00022   double mLeft;
00023   double mBottom;
00024   double mWidth;
00025   double mHeight;
00026   double mTick;
00027   bool mVisible;
00028 };
00029 
00030 #endif // UI_RULER_HPP