summaryrefslogtreecommitdiff
path: root/src/interface/Window.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-30 10:51:42 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-30 10:51:42 (GMT)
commit303b546ceb134df48763730cbfd8ce7b6df008a2 (patch)
tree6342d25a285fa1c73407511c2b5f6e6d5601ad0a /src/interface/Window.cpp
parent6d5388b221cdd37fe0103e9074edc052053847af (diff)
downloadpowder-303b546ceb134df48763730cbfd8ce7b6df008a2.zip
powder-303b546ceb134df48763730cbfd8ce7b6df008a2.tar.gz
Ensure CTRL, SHIFT and ALT states are reset when Window falls into background
Diffstat (limited to 'src/interface/Window.cpp')
-rw-r--r--src/interface/Window.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/interface/Window.cpp b/src/interface/Window.cpp
index 8dba69a..30e2205 100644
--- a/src/interface/Window.cpp
+++ b/src/interface/Window.cpp
@@ -107,6 +107,18 @@ void Window::DoInitialized()
OnInitialized();
}
+void Window::DoBlur()
+{
+
+ OnBlur();
+}
+
+void Window::DoFocus()
+{
+
+ OnFocus();
+}
+
void Window::DoDraw()
{
OnDraw();