KiCad PCB EDA Suite
Loading...
Searching...
No Matches
EDA_CURSOR_OWNER Class Referenceabstract

Interface implemented by a GAL canvas that wants to participate in cross-window cursor ownership broadcasting. More...

#include <eda_cursor_broadcaster.h>

Inheritance diagram for EDA_CURSOR_OWNER:
EDA_DRAW_PANEL_GAL TEST_CURSOR_OWNER GERBVIEW_DRAW_PANEL_GAL PCB_DRAW_PANEL_GAL PL_DRAW_PANEL_GAL SCH_DRAW_PANEL SCH_PREVIEW_PANEL WIDGET_DIFF_CANVAS FOOTPRINT_PREVIEW_PANEL ZONE_PREVIEW_CANVAS

Public Member Functions

virtual ~EDA_CURSOR_OWNER ()=default
 
virtual bool IsCursorInCanvas () const =0
 
virtual void HideCursorInCanvas ()=0
 Give up canvas ownership, because the pointer has been shown to be somewhere else.
 

Detailed Description

Interface implemented by a GAL canvas that wants to participate in cross-window cursor ownership broadcasting.

See EDA_CURSOR_BROADCASTER.

Definition at line 29 of file eda_cursor_broadcaster.h.

Constructor & Destructor Documentation

◆ ~EDA_CURSOR_OWNER()

virtual EDA_CURSOR_OWNER::~EDA_CURSOR_OWNER ( )
virtualdefault

Member Function Documentation

◆ HideCursorInCanvas()

virtual void EDA_CURSOR_OWNER::HideCursorInCanvas ( )
pure virtual

Give up canvas ownership, because the pointer has been shown to be somewhere else.

Implemented in EDA_DRAW_PANEL_GAL, and TEST_CURSOR_OWNER.

◆ IsCursorInCanvas()

virtual bool EDA_CURSOR_OWNER::IsCursorInCanvas ( ) const
pure virtual
Returns
true if this owner currently believes the pointer is inside its canvas.

Implemented in EDA_DRAW_PANEL_GAL, and TEST_CURSOR_OWNER.

Referenced by EDA_CURSOR_BROADCASTER::NotifyCursorEntered().


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