Definition at line 218 of file SizableWindow.h. References East, mMoveCursorNr, mMoveFeedback, Move, North, South, and West. Referenced by MouseFunc(). 00219 { 00220 int cursor = oglCursorArrow; 00221 if ((action & South) && (action & West)) 00222 cursor = oglCursorSW; 00223 else if ((action & North) && (action & East)) 00224 cursor = oglCursorNE; 00225 else if ((action & North) && (action & West)) 00226 cursor = oglCursorNW; 00227 else if ((action & South) && (action & West)) 00228 cursor = oglCursorSW; 00229 else if ((action & South) && (action & East)) 00230 cursor = oglCursorSE; 00231 else if ((action & West) ) 00232 cursor = oglCursorW; 00233 else if ((action & East)) 00234 cursor = oglCursorE; 00235 else if ((action & South)) 00236 cursor = oglCursorS; 00237 else if ((action & North)) 00238 cursor = oglCursorN; 00239 00240 // Could check for allowVert and allowHor with specific cursors 00241 else if (mMoveFeedback && (action & Move)) 00242 cursor = mMoveCursorNr; 00243 00244 oglSys.SetCursor(cursor); 00245 }
|