ReactOS  0.4.15-dev-5606-gf34e425
RubberTool Struct Reference
Inheritance diagram for RubberTool:
Collaboration diagram for RubberTool:

Public Member Functions

 RubberTool ()
 
virtual void draw (BOOL bLeftButton, LONG x, LONG y)
 
- Public Member Functions inherited from GenericDrawTool
 GenericDrawTool (TOOLTYPE type)
 
void OnButtonDown (BOOL bLeftButton, LONG x, LONG y, BOOL bDoubleClick)
 
void OnMouseMove (BOOL bLeftButton, LONG x, LONG y)
 
void OnButtonUp (BOOL bLeftButton, LONG x, LONG y)
 
void OnCancelDraw ()
 
- Public Member Functions inherited from ToolBase
 ToolBase (TOOLTYPE tool)
 
virtual ~ToolBase ()
 
virtual void OnFinishDraw ()
 
void beginEvent ()
 
void endEvent ()
 
void reset ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ToolBase
static ToolBasecreateToolObject (TOOLTYPE type)
 
- Public Attributes inherited from ToolBase
TOOLTYPE m_tool
 
HDC m_hdc
 
COLORREF m_fg
 
COLORREF m_bg
 
- Static Public Attributes inherited from ToolBase
static INT pointSP = 0
 
static POINT pointStack [256] = { { 0 } }
 

Detailed Description

Definition at line 288 of file mouse.cpp.

Constructor & Destructor Documentation

◆ RubberTool()

RubberTool::RubberTool ( )
inline

Definition at line 290 of file mouse.cpp.

291  {
292  }
GenericDrawTool(TOOLTYPE type)
Definition: mouse.cpp:257

Member Function Documentation

◆ draw()

virtual void RubberTool::draw ( BOOL  bLeftButton,
LONG  x,
LONG  y 
)
inlinevirtual

Implements GenericDrawTool.

Definition at line 294 of file mouse.cpp.

295  {
296  if (bLeftButton)
298  else
300  }
ToolsModel toolsModel
Definition: main.cpp:18
long y
Definition: polytest.cpp:48
long x
Definition: polytest.cpp:48
POINT last
Definition: font.c:46
HDC m_hdc
Definition: toolsmodel.h:37
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
void Replace(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, LONG radius)
Definition: drawing.cpp:134
int GetRubberRadius() const
Definition: toolsmodel.cpp:124
COLORREF m_bg
Definition: toolsmodel.h:38
void Erase(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, LONG radius)
Definition: drawing.cpp:117
COLORREF m_fg
Definition: toolsmodel.h:38
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

The documentation for this struct was generated from the following file: