comparison Framework/Widgets/CairoWidget.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 5412adf19980
children 3a4ca166fafa
comparison
equal deleted inserted replaced
272:d7d91d96b9d8 273:f21ba2468570
30 { 30 {
31 // TODO 31 // TODO
32 return true; 32 return true;
33 } 33 }
34 34
35 CairoWidget::CairoWidget(const std::string& name)
36 : WidgetBase(name)
37 {
38 }
35 39
36 void CairoWidget::SetSize(unsigned int width, 40 void CairoWidget::SetSize(unsigned int width,
37 unsigned int height) 41 unsigned int height)
38 { 42 {
39 surface_.SetSize(width, height); 43 surface_.SetSize(width, height);