comparison Framework/Widgets/TestCairoWidget.cpp @ 273:f21ba2468570 am-2

force all Widgets to have a name to ease debugging
author am@osimis.io
date Fri, 24 Aug 2018 11:26:59 +0200
parents fccffbf99ba1
children 8a86695fcbc3
comparison
equal deleted inserted replaced
272:d7d91d96b9d8 273:f21ba2468570
75 sprintf(buf, "(%d,%d)", x, y); 75 sprintf(buf, "(%d,%d)", x, y);
76 UpdateStatusBar(buf); 76 UpdateStatusBar(buf);
77 } 77 }
78 78
79 79
80 TestCairoWidget::TestCairoWidget(bool animate) : 80 TestCairoWidget::TestCairoWidget(const std::string& name, bool animate) :
81 CairoWidget(name),
81 width_(0), 82 width_(0),
82 height_(0), 83 height_(0),
83 value_(1), 84 value_(1),
84 animate_(animate) 85 animate_(animate)
85 { 86 {