comparison Framework/Widgets/CairoWidget.h @ 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 4cff7b1ed31d
children b70e9be013e4
comparison
equal deleted inserted replaced
272:d7d91d96b9d8 273:f21ba2468570
36 virtual void RenderMouseOverCairo(CairoContext& context, 36 virtual void RenderMouseOverCairo(CairoContext& context,
37 int x, 37 int x,
38 int y) = 0; 38 int y) = 0;
39 39
40 public: 40 public:
41 CairoWidget(const std::string& name);
42
41 virtual void SetSize(unsigned int width, 43 virtual void SetSize(unsigned int width,
42 unsigned int height); 44 unsigned int height);
43 45
44 virtual bool Render(Orthanc::ImageAccessor& target); 46 virtual bool Render(Orthanc::ImageAccessor& target);
45 47