ReactOS  0.4.15-dev-5640-g0dde428
FillTool Struct Reference
Inheritance diagram for FillTool:
Collaboration diagram for FillTool:

Public Member Functions

 FillTool ()
 
void OnButtonDown (BOOL bLeftButton, LONG x, LONG y, BOOL bDoubleClick)
 
- Public Member Functions inherited from ToolBase
 ToolBase (TOOLTYPE tool)
 
virtual ~ToolBase ()
 
virtual void OnMouseMove (BOOL bLeftButton, LONG x, LONG y)
 
virtual void OnButtonUp (BOOL bLeftButton, LONG x, LONG y)
 
virtual void OnCancelDraw ()
 
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 304 of file mouse.cpp.

Constructor & Destructor Documentation

◆ FillTool()

FillTool::FillTool ( )
inline

Definition at line 306 of file mouse.cpp.

307  {
308  }
ToolBase(TOOLTYPE tool)
Definition: toolsmodel.h:42

Member Function Documentation

◆ OnButtonDown()

void FillTool::OnButtonDown ( BOOL  bLeftButton,
LONG  x,
LONG  y,
BOOL  bDoubleClick 
)
inlinevirtual

Reimplemented from ToolBase.

Definition at line 310 of file mouse.cpp.

311  {
313  Fill(m_hdc, x, y, bLeftButton ? m_fg : m_bg);
314  }
void CopyPrevious(void)
Definition: history.cpp:47
void Fill(HDC hdc, LONG x, LONG y, COLORREF color)
Definition: drawing.cpp:109
HDC m_hdc
Definition: toolsmodel.h:37
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
COLORREF m_bg
Definition: toolsmodel.h:38
COLORREF m_fg
Definition: toolsmodel.h:38
ImageModel imageModel
Definition: main.cpp:32
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

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