Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

virtual void OSystem::setFocusRectangle ( const Common::Rect rect  )  [inline, virtual]

Sets the area of the screen that has the focus. For example, when a character is speaking, they will have the focus. Allows for pan-and-scan style views where the backend could follow the speaking character or area of interest on the screen.

The backend is responsible for clipping the rectangle and deciding how best to zoom the screen to show any shape and size rectangle the engine provides.

rect A rectangle on the screen to be focused on
See also:

Definition at line 527 of file system.h.


Generated by  Doxygen 1.6.0   Back to index