4 #include <opencv2/core.hpp> 21 virtual void addWidget(
const std::shared_ptr<Widget> &widget) = 0;
31 virtual std::shared_ptr<Widget>
rmvWidget(
const std::shared_ptr<Widget> &widget) = 0;
40 virtual const cv::Rect getBoundaries()
const = 0;
42 virtual bool addDirtyWidget(
Widget *widget) = 0;
43 virtual void rmvDirtyWidget(
Widget *widget) = 0;
45 virtual bool hasDirtyWidgets() = 0;
47 virtual void updateDirtyWidgets() = 0;
This namespace holds all the classes of the CanvasCV library.
Definition: canvas.h:20
The Layout class.
Definition: layout.h:17
virtual std::shared_ptr< Widget > rmvWidget(const std::shared_ptr< Widget > &widget)=0
rmvWidget
virtual void addWidget(const std::shared_ptr< Widget > &widget)=0
adds the widget to this Layout after removing it from it's previous layout