Lumiera  0.pre.03
»edit your freedom«
FakeCanvas Class Reference

Description

Definition at line 73 of file canvas-hook-test.cpp.

Public Member Functions

bool empty () const
 
void hook (DummyWidget &elm, int xPos, int yPos) override
 
void move (DummyWidget &elm, int xPos, int yPos) override
 
void remove (DummyWidget &elm) override
 
bool testContains (int someWidgetID)
 
bool testVerifyPos (DummyWidget const &someWidget, int x_expected, int y_expected)
 
- Public Member Functions inherited from CanvasHook< DummyWidget >
virtual ~CanvasHook ()
 this is an interface
 
virtual CanvasHook< DummyWidget > & getAnchorHook () noexcept
 Anchor point to build chains of related View Hooks.
 
virtual void hook (DummyWidget &widget, int xPos, int yPos)=0
 
Pos hookedAt (int x, int y)
 
Pos hookedAt (Time start, int downshift=0)
 build the "construction hook" for a CanvasHooked element, which is to be attached to some timeline canvas view. More...
 
virtual void move (DummyWidget &widget, int xPos, int yPos)=0
 
virtual void remove (DummyWidget &widget)=0
 

Classes

struct  Attachment
 

Protected Member Functions

DisplayMetricgetMetric () const override
 access the component to handle layout metric
 

Private Member Functions

auto allWidgetIDs () const
 
auto findEntry (DummyWidget const &someWidget)
 

Private Attributes

forward_list< Attachmentwidgets_
 

Class Documentation

◆ stage::model::test::anonymous_namespace{canvas-hook-test.cpp}::FakeCanvas::Attachment

struct stage::model::test::anonymous_namespace{canvas-hook-test.cpp}::FakeCanvas::Attachment
Class Members
DummyWidget & widget
int posX
int posY
+ Collaboration diagram for FakeCanvas::Attachment:
+ Inheritance diagram for FakeCanvas:
+ Collaboration diagram for FakeCanvas:

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