comparison Framework/Widgets/EmptyWidget.h @ 385:6cc3ce74dc05

using message broker in widgets
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 07 Nov 2018 20:49:41 +0100
parents 7a364e44fbb4
children e33659decec5
comparison
equal deleted inserted replaced
384:d20d75f20c5d 385:6cc3ce74dc05
24 #include "IWidget.h" 24 #include "IWidget.h"
25 25
26 namespace OrthancStone 26 namespace OrthancStone
27 { 27 {
28 /** 28 /**
29 * This is a test widget that simply fills its surface with an 29 * This is a test widget that simply fills its surface with an
30 * uniform color. 30 * uniform color.
31 **/ 31 **/
32 class EmptyWidget : public IWidget 32 class EmptyWidget : public IWidget
33 { 33 {
34 private: 34 private:
35 uint8_t red_; 35 uint8_t red_;
36 uint8_t green_; 36 uint8_t green_;
52 52
53 virtual void SetParent(IWidget& widget) 53 virtual void SetParent(IWidget& widget)
54 { 54 {
55 } 55 }
56 56
57 virtual void SetViewport(IViewport& viewport) 57 virtual void SetViewport(WidgetViewport& viewport)
58 { 58 {
59 } 59 }
60 60
61 virtual void NotifyContentChanged() 61 virtual void NotifyContentChanged()
62 { 62 {