Foundation classes for a basic GUI implementing simple widgets and events
Dependents: TouchScreenGUIDemo
Diff: Widgets/TextWidget.cpp
- Revision:
- 10:e9d13e3a9d4f
- Parent:
- 9:616a9686d5db
- Child:
- 11:b485561aa112
--- a/Widgets/TextWidget.cpp Mon Apr 11 19:15:53 2016 +0000 +++ b/Widgets/TextWidget.cpp Mon Apr 11 19:19:54 2016 +0000 @@ -45,16 +45,6 @@ _gui->display()->fillrect(_x, _y, _x+_width, _y+_height, _bg); _renderer->puts(_text, _gui->display(), _font); - /** - char c; - char *p = _text; - - while(*p != NULL) { - c = *p; - p++; - _renderer->putc(c, _gui->display(), _font); - } -**/ _gui->display()->copy_to_lcd(); }