ReactOS 0.4.15-dev-8119-g4fb2fdb
RectSelTool Struct Reference
Inheritance diagram for RectSelTool:
Collaboration diagram for RectSelTool:

Public Member Functions

void OnDrawOverlayOnImage (HDC hdc) override
 
- Public Member Functions inherited from SelectionBaseTool
BOOL isRectSelect () const
 
void OnDrawOverlayOnImage (HDC hdc) override
 
void OnDrawOverlayOnCanvas (HDC hdc) override
 
void OnButtonDown (BOOL bLeftButton, LONG x, LONG y, BOOL bDoubleClick) override
 
BOOL OnMouseMove (BOOL bLeftButton, LONG &x, LONG &y) override
 
BOOL OnButtonUp (BOOL bLeftButton, LONG &x, LONG &y) override
 
void OnEndDraw (BOOL bCancel) override
 
void OnSpecialTweak (BOOL bMinus) override
 
- Public Member Functions inherited from ToolBase
 ToolBase ()
 
virtual ~ToolBase ()
 
virtual void OnButtonDown (BOOL bLeftButton, LONG x, LONG y, BOOL bDoubleClick)
 
virtual BOOL OnMouseMove (BOOL bLeftButton, LONG &x, LONG &y)
 
virtual BOOL OnButtonUp (BOOL bLeftButton, LONG &x, LONG &y)
 
virtual void OnDrawOverlayOnImage (HDC hdc)
 
virtual void OnDrawOverlayOnCanvas (HDC hdc)
 
virtual void OnSpecialTweak (BOOL bMinus)
 
virtual void OnEndDraw (BOOL bCancel)
 
void beginEvent ()
 
void endEvent ()
 
void reset ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ToolBase
static ToolBasecreateToolObject (TOOLTYPE type)
 
- Public Attributes inherited from SelectionBaseTool
BOOL m_bLeftButton = FALSE
 
BOOL m_bCtrlKey = FALSE
 
BOOL m_bShiftKey = FALSE
 
BOOL m_bDrawing = FALSE
 
BOOL m_bNoDrawBack = FALSE
 
HITTEST m_hitSelection = HIT_NONE
 
- Public Attributes inherited from ToolBase
HDC m_hdc
 
COLORREF m_fg
 
COLORREF m_bg
 

Detailed Description

Definition at line 569 of file mouse.cpp.

Member Function Documentation

◆ OnDrawOverlayOnImage()

void RectSelTool::OnDrawOverlayOnImage ( HDC  hdc)
inlineoverridevirtual

Reimplemented from SelectionBaseTool.

Definition at line 571 of file mouse.cpp.

572 {
574
576 {
578 if (!rc.IsRectEmpty())
579 RectSel(hdc, rc.left, rc.top, rc.right, rc.bottom);
580 }
581 }
SelectionModel selectionModel
BOOL IsRectEmpty() const noexcept
Definition: atltypes.h:351
void RectSel(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2)
Definition: drawing.cpp:233
HDC hdc
Definition: main.c:9
void OnDrawOverlayOnImage(HDC hdc) override
Definition: mouse.cpp:387
LONG right
Definition: windef.h:308
LONG bottom
Definition: windef.h:309
LONG top
Definition: windef.h:307
LONG left
Definition: windef.h:306

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