Mercurial > hg > orthanc-stone
diff Framework/Widgets/LayoutWidget.h @ 53:c2dc924f1a63 wasm
removing threading out of the framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Apr 2017 16:57:49 +0200 |
parents | 25befef48c35 |
children | 01aa453d4d5b |
line wrap: on
line diff
--- a/Framework/Widgets/LayoutWidget.h Thu Apr 27 14:50:40 2017 +0200 +++ b/Framework/Widgets/LayoutWidget.h Thu Apr 27 16:57:49 2017 +0200 @@ -23,6 +23,8 @@ #include "WidgetBase.h" +#include <vector> +#include <memory> namespace OrthancStone { @@ -45,6 +47,7 @@ unsigned int paddingRight_; unsigned int paddingBottom_; unsigned int paddingInternal_; + bool hasUpdateContent_; void ComputeChildrenExtents(); @@ -123,5 +126,12 @@ virtual void KeyPressed(char key, KeyboardModifiers modifiers); + + virtual bool HasUpdateContent() const + { + return hasUpdateContent_; + } + + virtual void UpdateContent(); }; }