diff options
Diffstat (limited to 'hal/ui/widget/list_widget.cpp')
-rw-r--r-- | hal/ui/widget/list_widget.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hal/ui/widget/list_widget.cpp b/hal/ui/widget/list_widget.cpp new file mode 100644 index 0000000..5a759fe --- /dev/null +++ b/hal/ui/widget/list_widget.cpp @@ -0,0 +1,9 @@ +#include "list_widget.hpp" + +ListWidget::ListWidget(Api *app_api, Geometry geometry) { + printf("On init: m_x=%d and x=%d", m_geometry.x, geometry.x); +} + +void ListWidget::paint(bool invert_colors) { + m_app_api->display_draw_rectange(m_geometry.x, m_geometry.y, m_geometry.x+m_geometry.width, m_geometry.y+m_geometry.height, 1, 1); +} |