\hypertarget{class_ogre_bites_1_1_window_event_listener}{}\doxysection{Ogre\+Bites\+::Window\+Event\+Listener Class Reference}
\label{class_ogre_bites_1_1_window_event_listener}\index{OgreBites::WindowEventListener@{OgreBites::WindowEventListener}}


Callback class used to send out window events to client app.  




{\ttfamily \#include $<$Ogre\+Window\+Event\+Utilities.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \mbox{\hyperlink{class_ogre_bites_1_1_window_event_listener_a4c8bbafdc0be7e012b50bd9953d9c1a3}{$\sim$\+Window\+Event\+Listener}} ()
\item 
virtual void \mbox{\hyperlink{class_ogre_bites_1_1_window_event_listener_a4366f69e2b027ec7ff94cb0c7fee0e96}{window\+Closed}} (\mbox{\hyperlink{class_ogre_1_1_render_window}{Ogre\+::\+Render\+Window}} $\ast$rw)
\item 
virtual bool \mbox{\hyperlink{class_ogre_bites_1_1_window_event_listener_a44ccf4facb3b833613373ee75fab7774}{window\+Closing}} (\mbox{\hyperlink{class_ogre_1_1_render_window}{Ogre\+::\+Render\+Window}} $\ast$rw)
\item 
virtual void \mbox{\hyperlink{class_ogre_bites_1_1_window_event_listener_a4b9c58e59bf05fb4b18cf03ced4dbc60}{window\+Focus\+Change}} (\mbox{\hyperlink{class_ogre_1_1_render_window}{Ogre\+::\+Render\+Window}} $\ast$rw)
\item 
virtual void \mbox{\hyperlink{class_ogre_bites_1_1_window_event_listener_acb0444e4672f453543d3231e36ef1129}{window\+Moved}} (\mbox{\hyperlink{class_ogre_1_1_render_window}{Ogre\+::\+Render\+Window}} $\ast$rw)
\item 
virtual void \mbox{\hyperlink{class_ogre_bites_1_1_window_event_listener_a40aa3cda4536da18cedddb545067b9d6}{window\+Resized}} (\mbox{\hyperlink{class_ogre_1_1_render_window}{Ogre\+::\+Render\+Window}} $\ast$rw)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Callback class used to send out window events to client app. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_bites_1_1_window_event_listener_a4c8bbafdc0be7e012b50bd9953d9c1a3}\label{class_ogre_bites_1_1_window_event_listener_a4c8bbafdc0be7e012b50bd9953d9c1a3}} 
\index{OgreBites::WindowEventListener@{OgreBites::WindowEventListener}!````~WindowEventListener@{$\sim$WindowEventListener}}
\index{````~WindowEventListener@{$\sim$WindowEventListener}!OgreBites::WindowEventListener@{OgreBites::WindowEventListener}}
\doxysubsubsection{\texorpdfstring{$\sim$WindowEventListener()}{~WindowEventListener()}}
{\footnotesize\ttfamily virtual Ogre\+Bites\+::\+Window\+Event\+Listener\+::$\sim$\+Window\+Event\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_bites_1_1_window_event_listener_acb0444e4672f453543d3231e36ef1129}\label{class_ogre_bites_1_1_window_event_listener_acb0444e4672f453543d3231e36ef1129}} 
\index{OgreBites::WindowEventListener@{OgreBites::WindowEventListener}!windowMoved@{windowMoved}}
\index{windowMoved@{windowMoved}!OgreBites::WindowEventListener@{OgreBites::WindowEventListener}}
\doxysubsubsection{\texorpdfstring{windowMoved()}{windowMoved()}}
{\footnotesize\ttfamily virtual void Ogre\+Bites\+::\+Window\+Event\+Listener\+::window\+Moved (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_window}{Ogre\+::\+Render\+Window}} $\ast$}]{rw }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

\begin{DoxyRemark}{Remarks}
Window has moved position 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em rw} & The Render\+Window which created this events \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_bites_1_1_window_event_listener_a40aa3cda4536da18cedddb545067b9d6}\label{class_ogre_bites_1_1_window_event_listener_a40aa3cda4536da18cedddb545067b9d6}} 
\index{OgreBites::WindowEventListener@{OgreBites::WindowEventListener}!windowResized@{windowResized}}
\index{windowResized@{windowResized}!OgreBites::WindowEventListener@{OgreBites::WindowEventListener}}
\doxysubsubsection{\texorpdfstring{windowResized()}{windowResized()}}
{\footnotesize\ttfamily virtual void Ogre\+Bites\+::\+Window\+Event\+Listener\+::window\+Resized (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_window}{Ogre\+::\+Render\+Window}} $\ast$}]{rw }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

\begin{DoxyRemark}{Remarks}
Window has resized 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em rw} & The Render\+Window which created this events \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_bites_1_1_window_event_listener_a44ccf4facb3b833613373ee75fab7774}\label{class_ogre_bites_1_1_window_event_listener_a44ccf4facb3b833613373ee75fab7774}} 
\index{OgreBites::WindowEventListener@{OgreBites::WindowEventListener}!windowClosing@{windowClosing}}
\index{windowClosing@{windowClosing}!OgreBites::WindowEventListener@{OgreBites::WindowEventListener}}
\doxysubsubsection{\texorpdfstring{windowClosing()}{windowClosing()}}
{\footnotesize\ttfamily virtual bool Ogre\+Bites\+::\+Window\+Event\+Listener\+::window\+Closing (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_window}{Ogre\+::\+Render\+Window}} $\ast$}]{rw }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

\begin{DoxyRemark}{Remarks}
Window is closing (Only triggered if user pressed the \mbox{[}X\mbox{]} button) 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em rw} & The Render\+Window which created this events \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
True will close the window(default). 
\end{DoxyReturn}
\mbox{\Hypertarget{class_ogre_bites_1_1_window_event_listener_a4366f69e2b027ec7ff94cb0c7fee0e96}\label{class_ogre_bites_1_1_window_event_listener_a4366f69e2b027ec7ff94cb0c7fee0e96}} 
\index{OgreBites::WindowEventListener@{OgreBites::WindowEventListener}!windowClosed@{windowClosed}}
\index{windowClosed@{windowClosed}!OgreBites::WindowEventListener@{OgreBites::WindowEventListener}}
\doxysubsubsection{\texorpdfstring{windowClosed()}{windowClosed()}}
{\footnotesize\ttfamily virtual void Ogre\+Bites\+::\+Window\+Event\+Listener\+::window\+Closed (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_window}{Ogre\+::\+Render\+Window}} $\ast$}]{rw }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

\begin{DoxyRemark}{Remarks}
Window has been closed (Only triggered if user pressed the \mbox{[}X\mbox{]} button) 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em rw} & The Render\+Window which created this events \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
The window has not actually close yet when this event triggers. It\textquotesingle{}s only closed after all window\+Closed events are triggered. This allows apps to deinitialise properly if they have services that needs the window to exist when deinitialising. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_bites_1_1_window_event_listener_a4b9c58e59bf05fb4b18cf03ced4dbc60}\label{class_ogre_bites_1_1_window_event_listener_a4b9c58e59bf05fb4b18cf03ced4dbc60}} 
\index{OgreBites::WindowEventListener@{OgreBites::WindowEventListener}!windowFocusChange@{windowFocusChange}}
\index{windowFocusChange@{windowFocusChange}!OgreBites::WindowEventListener@{OgreBites::WindowEventListener}}
\doxysubsubsection{\texorpdfstring{windowFocusChange()}{windowFocusChange()}}
{\footnotesize\ttfamily virtual void Ogre\+Bites\+::\+Window\+Event\+Listener\+::window\+Focus\+Change (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_render_window}{Ogre\+::\+Render\+Window}} $\ast$}]{rw }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

\begin{DoxyRemark}{Remarks}
Window has lost/gained focus 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em rw} & The Render\+Window which created this events \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_window_event_utilities_8h}{Ogre\+Window\+Event\+Utilities.\+h}}\end{DoxyCompactItemize}
