summaryrefslogtreecommitdiff
path: root/src/interface/Component.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-26 20:51:30 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-26 20:51:30 (GMT)
commitf8ca8af387b8611c18ca7c5357efd19c8bc28941 (patch)
treefe790e2abede326949bb299b564ba8e75a979ecf /src/interface/Component.h
parent121e7c772cfc7b3e1305a03144264fc5b66564c2 (diff)
downloadpowder-f8ca8af387b8611c18ca7c5357efd19c8bc28941.zip
powder-f8ca8af387b8611c18ca7c5357efd19c8bc28941.tar.gz
Scroll Panel
Diffstat (limited to 'src/interface/Component.h')
-rw-r--r--src/interface/Component.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface/Component.h b/src/interface/Component.h
index bd3878a..5ef672d 100644
--- a/src/interface/Component.h
+++ b/src/interface/Component.h
@@ -37,6 +37,8 @@ namespace ui
inline Window* const GetParentWindow() const { return parentstate_; }
bool IsFocused() const;
+ void Invalidate() { drawn = false; }
+
Point Position;
Point Size;
bool Locked;