]> Shamusworld >> Repos - architektonas/blob - src/base/staticgraphicview.h
Initial removal of unnecessary rs_ prefixes from files.
[architektonas] / src / base / staticgraphicview.h
1 #ifndef __STATICGRAPHICVIEW_H__
2 #define __STATICGRAPHICVIEW_H__
3
4 #include "graphicview.h"
5
6 class PaintInterface;
7
8 /**
9  * This is an implementation of a graphic viewer with a fixed size
10  * for drawing onto fixed devices (such as bitmaps).
11  */
12 class RS_StaticGraphicView: public GraphicView
13 {
14         public:
15                 RS_StaticGraphicView(int w, int h, PaintInterface * p);
16                 virtual ~RS_StaticGraphicView();
17
18                 virtual int getWidth();
19                 virtual int getHeight();
20                 virtual void redraw();
21                 virtual void adjustOffsetControls();
22                 virtual void adjustZoomControls();
23                 virtual void setMouseCursor(RS2::CursorType);
24
25                 virtual void emulateMouseMoveEvent();
26                 virtual void updateGridStatusWidget(const QString &);
27
28                 void paint();
29
30         private:
31                 //! Width
32                 int width;
33                 //! Height
34                 int height;
35 };
36
37 #endif