Mercurial > hg > orthanc-stone
comparison Framework/Viewport/IViewport.h @ 404:ba4ace20454e
use of MessageBroker in DicomStructureSetSlicer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 11 Nov 2018 13:02:38 +0100 |
parents | e33659decec5 |
children | b70e9be013e4 |
comparison
equal
deleted
inserted
replaced
403:99e31898910e | 404:ba4ace20454e |
---|---|
81 virtual bool HasAnimation() = 0; | 81 virtual bool HasAnimation() = 0; |
82 | 82 |
83 virtual void DoAnimation() = 0; | 83 virtual void DoAnimation() = 0; |
84 | 84 |
85 // Should only be called from IWidget | 85 // Should only be called from IWidget |
86 // TODO Why should this be virtual? | |
86 virtual void NotifyContentChanged() | 87 virtual void NotifyContentChanged() |
87 { | 88 { |
88 ViewportChangedMessage message(*this); | 89 EmitMessage(ViewportChangedMessage(*this)); |
89 EmitMessage(message); | |
90 } | 90 } |
91 }; | 91 }; |
92 } | 92 } |