mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 03:12:00 +00:00
* Create a branch for USB experiments.
svn path=/branches/usb-experiments/; revision=72629
This commit is contained in:
parent
28d8ba0d3e
commit
0ee830d7a4
23049 changed files with 0 additions and 1313991 deletions
45
base/applications/mspaint/toolsmodel.h
Normal file
45
base/applications/mspaint/toolsmodel.h
Normal file
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
* PROJECT: PAINT for ReactOS
|
||||
* LICENSE: LGPL
|
||||
* FILE: base/applications/mspaint/toolsmodel.h
|
||||
* PURPOSE: Keep track of tool parameters, notify listeners
|
||||
* PROGRAMMERS: Benedikt Freisen
|
||||
*/
|
||||
|
||||
/* CLASSES **********************************************************/
|
||||
|
||||
class ToolsModel
|
||||
{
|
||||
private:
|
||||
int m_lineWidth;
|
||||
int m_shapeStyle;
|
||||
int m_brushStyle;
|
||||
int m_activeTool;
|
||||
int m_airBrushWidth;
|
||||
int m_rubberRadius;
|
||||
BOOL m_transpBg;
|
||||
int m_zoom;
|
||||
|
||||
void NotifyToolChanged();
|
||||
void NotifyToolSettingsChanged();
|
||||
void NotifyZoomChanged();
|
||||
|
||||
public:
|
||||
ToolsModel();
|
||||
int GetLineWidth();
|
||||
void SetLineWidth(int nLineWidth);
|
||||
int GetShapeStyle();
|
||||
void SetShapeStyle(int nShapeStyle);
|
||||
int GetBrushStyle();
|
||||
void SetBrushStyle(int nBrushStyle);
|
||||
int GetActiveTool();
|
||||
void SetActiveTool(int nActiveTool);
|
||||
int GetAirBrushWidth();
|
||||
void SetAirBrushWidth(int nAirBrushWidth);
|
||||
int GetRubberRadius();
|
||||
void SetRubberRadius(int nRubberRadius);
|
||||
BOOL IsBackgroundTransparent();
|
||||
void SetBackgroundTransparent(BOOL bTransparent);
|
||||
int GetZoom();
|
||||
void SetZoom(int nZoom);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue