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


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




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

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


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

\subsection{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{Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}!````~Window\+Event\+Listener@{$\sim$\+Window\+Event\+Listener}}
\index{````~Window\+Event\+Listener@{$\sim$\+Window\+Event\+Listener}!Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}}
\subsubsection{\texorpdfstring{$\sim$\+Window\+Event\+Listener()}{~WindowEventListener()}}
{\footnotesize\ttfamily virtual Ogre\+Bites\+::\+Window\+Event\+Listener\+::$\sim$\+Window\+Event\+Listener (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\subsection{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{Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}!window\+Moved@{window\+Moved}}
\index{window\+Moved@{window\+Moved}!Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}}
\subsubsection{\texorpdfstring{window\+Moved()}{windowMoved()}}
{\footnotesize\ttfamily virtual void Ogre\+Bites\+::\+Window\+Event\+Listener\+::window\+Moved (\begin{DoxyParamCaption}\item[{\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{Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}!window\+Resized@{window\+Resized}}
\index{window\+Resized@{window\+Resized}!Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}}
\subsubsection{\texorpdfstring{window\+Resized()}{windowResized()}}
{\footnotesize\ttfamily virtual void Ogre\+Bites\+::\+Window\+Event\+Listener\+::window\+Resized (\begin{DoxyParamCaption}\item[{\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{Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}!window\+Closing@{window\+Closing}}
\index{window\+Closing@{window\+Closing}!Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}}
\subsubsection{\texorpdfstring{window\+Closing()}{windowClosing()}}
{\footnotesize\ttfamily virtual bool Ogre\+Bites\+::\+Window\+Event\+Listener\+::window\+Closing (\begin{DoxyParamCaption}\item[{\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{Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}!window\+Closed@{window\+Closed}}
\index{window\+Closed@{window\+Closed}!Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}}
\subsubsection{\texorpdfstring{window\+Closed()}{windowClosed()}}
{\footnotesize\ttfamily virtual void Ogre\+Bites\+::\+Window\+Event\+Listener\+::window\+Closed (\begin{DoxyParamCaption}\item[{\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{Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}!window\+Focus\+Change@{window\+Focus\+Change}}
\index{window\+Focus\+Change@{window\+Focus\+Change}!Ogre\+Bites\+::\+Window\+Event\+Listener@{Ogre\+Bites\+::\+Window\+Event\+Listener}}
\subsubsection{\texorpdfstring{window\+Focus\+Change()}{windowFocusChange()}}
{\footnotesize\ttfamily virtual void Ogre\+Bites\+::\+Window\+Event\+Listener\+::window\+Focus\+Change (\begin{DoxyParamCaption}\item[{\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 
\hyperlink{_ogre_window_event_utilities_8h}{Ogre\+Window\+Event\+Utilities.\+h}\end{DoxyCompactItemize}
