Mercurial > hg > orthanc-stone
comparison Framework/Widgets/EmptyWidget.h @ 726:4f2416d519b4
moving layers, widgets and loaders to Deprecated namespace
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 May 2019 11:43:25 +0200 |
parents | 3b4df9925db6 |
children |
comparison
equal
deleted
inserted
replaced
714:d2c0e347ddc2 | 726:4f2416d519b4 |
---|---|
21 | 21 |
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #include "IWidget.h" | 24 #include "IWidget.h" |
25 | 25 |
26 namespace OrthancStone | 26 namespace Deprecated |
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 **/ |
71 { | 71 { |
72 } | 72 } |
73 | 73 |
74 virtual bool Render(Orthanc::ImageAccessor& surface); | 74 virtual bool Render(Orthanc::ImageAccessor& surface); |
75 | 75 |
76 virtual IMouseTracker* CreateMouseTracker(MouseButton button, | 76 virtual IMouseTracker* CreateMouseTracker(OrthancStone::MouseButton button, |
77 int x, | 77 int x, |
78 int y, | 78 int y, |
79 KeyboardModifiers modifiers, | 79 OrthancStone::KeyboardModifiers modifiers, |
80 const std::vector<Touch>& touches) | 80 const std::vector<Touch>& touches) |
81 { | 81 { |
82 return NULL; | 82 return NULL; |
83 } | 83 } |
84 | 84 |
86 int x, | 86 int x, |
87 int y) | 87 int y) |
88 { | 88 { |
89 } | 89 } |
90 | 90 |
91 virtual void MouseWheel(MouseWheelDirection direction, | 91 virtual void MouseWheel(OrthancStone::MouseWheelDirection direction, |
92 int x, | 92 int x, |
93 int y, | 93 int y, |
94 KeyboardModifiers modifiers) | 94 OrthancStone::KeyboardModifiers modifiers) |
95 { | 95 { |
96 } | 96 } |
97 | 97 |
98 virtual void KeyPressed(KeyboardKeys key, | 98 virtual void KeyPressed(OrthancStone::KeyboardKeys key, |
99 char keyChar, | 99 char keyChar, |
100 KeyboardModifiers modifiers) | 100 OrthancStone::KeyboardModifiers modifiers) |
101 { | 101 { |
102 } | 102 } |
103 | 103 |
104 virtual bool HasAnimation() const | 104 virtual bool HasAnimation() const |
105 { | 105 { |