4cbc74be35986557096e37e051013ff0f5b4dfaf
[reactos.git] / reactos / base / applications / mspaint_new / toolsmodel.h
1 /*
2 * PROJECT: PAINT for ReactOS
3 * LICENSE: LGPL
4 * FILE: base/applications/mspaint_new/toolsmodel.h
5 * PURPOSE: Keep track of tool parameters, notify listeners
6 * PROGRAMMERS: Benedikt Freisen
7 */
8
9 /* CLASSES **********************************************************/
10
11 class ToolsModel
12 {
13 private:
14 int m_lineWidth;
15 int m_shapeStyle;
16 int m_brushStyle;
17 int m_activeTool;
18 int m_airBrushWidth;
19 int m_rubberRadius;
20 BOOL m_transpBg;
21 int m_zoom;
22 public:
23 ToolsModel();
24 int GetLineWidth();
25 void SetLineWidth(int nLineWidth);
26 int GetShapeStyle();
27 void SetShapeStyle(int nShapeStyle);
28 int GetBrushStyle();
29 void SetBrushStyle(int nBrushStyle);
30 int GetActiveTool();
31 void SetActiveTool(int nActiveTool);
32 int GetAirBrushWidth();
33 void SetAirBrushWidth(int nAirBrushWidth);
34 int GetRubberRadius();
35 void SetRubberRadius(int nRubberRadius);
36 BOOL IsBackgroundTransparent();
37 void SetBackgroundTransparent(BOOL bTransparent);
38 int GetZoom();
39 void SetZoom(int nZoom);
40 };