ReactOS 0.4.15-dev-6662-g1b3eed5
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) override
 
- Public Member Functions inherited from ToolBase
 ToolBase (TOOLTYPE tool)
 
virtual ~ToolBase ()
 
virtual void OnButtonDown (BOOL bLeftButton, LONG x, LONG y, BOOL bDoubleClick)
 
virtual void OnMouseMove (BOOL bLeftButton, LONG x, LONG y)
 
virtual void OnButtonUp (BOOL bLeftButton, LONG x, LONG y)
 
virtual void OnCancelDraw ()
 
virtual void OnFinishDraw ()
 
virtual void OnDrawOverlayOnImage (HDC hdc)
 
virtual void OnDrawOverlayOnCanvas (HDC hdc)
 
virtual void OnSpecialTweak (BOOL bMinus)
 
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 s_pointSP = 0
 
static POINT s_pointStack [256] = { { 0 } }
 
- Protected Member Functions inherited from ToolBase
void OnDrawSelectionOnCanvas (HDC hdc)
 

Detailed Description

Definition at line 403 of file mouse.cpp.

Constructor & Destructor Documentation

◆ FillTool()

FillTool::FillTool ( )
inline

Definition at line 405 of file mouse.cpp.

406 {
407 }
@ TOOL_FILL
Definition: toolsmodel.h:15

Member Function Documentation

◆ OnButtonDown()

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

Reimplemented from ToolBase.

Definition at line 409 of file mouse.cpp.

410 {
412 Fill(m_hdc, x, y, bLeftButton ? m_fg : m_bg);
413 }
void PushImageForUndo(HBITMAP hbm=NULL)
Definition: history.cpp:106
void Fill(HDC hdc, LONG x, LONG y, COLORREF color)
Definition: drawing.cpp:108
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
ImageModel imageModel
Definition: history.cpp:11
HDC m_hdc
Definition: toolsmodel.h:36
COLORREF m_fg
Definition: toolsmodel.h:37
COLORREF m_bg
Definition: toolsmodel.h:37

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