|
C++ DevKit
C++ set of OOP library
|
A widget used when we need to simply print but still want to take advantage of the status change management. More...
#include <widget.h>


Public Member Functions | |
| PrintWidget (PrinterDevice *display_device, Model *actual_displayed_model=nullptr) | |
| Construct a new Dummy Widget object. | |
Public Member Functions inherited from Widget | |
| Widget (Model *actual_displayed_model, DisplayDevice *graphic_display_device=nullptr) | |
| contructor for generic widget | |
| void | add_widget (Widget *_sub_widget) |
| add sub_widget to the current widget | |
| void | set_display_device (DisplayDevice *_new_display_device) |
| Set the display screen object. | |
| virtual void | draw ()=0 |
| a pure virtual member that is called to effectively draw the widget. | |
Additional Inherited Members | |
Protected Attributes inherited from Widget | |
| DisplayDevice * | display_device {nullptr} |
| the display device where the attached to the frame buffer | |
| Model * | actual_displayed_model {nullptr} |
| a pointer to the Model actually displayed by the widget | |
| std::vector< Widget * > | widgets |
| A widget can be composed by several widgets. | |
A widget used when we need to simply print but still want to take advantage of the status change management.
| PrintWidget::PrintWidget | ( | PrinterDevice * | display_device, |
| Model * | actual_displayed_model = nullptr ) |
Construct a new Dummy Widget object.
| display_device | the pointer to the printer display device |
| actual_displayed_model | the pointer to the displayed model. Default to nullptr |
