ScummVM API documentation
iOSCommonGraphics Class Referenceabstract
Inheritance diagram for iOSCommonGraphics:
iOSGraphicsManager

Classes

struct  State
 

Public Member Functions

virtual void initSurface ()=0
 
virtual void deinitSurface ()=0
 
virtual void notifyResize (const int width, const int height)=0
 
virtual Common::Point getMousePosition ()=0
 
virtual bool notifyMousePosition (Common::Point &mouse)=0
 
virtual State getState () const =0
 
virtual bool setState (const State &state)=0
 

Protected Attributes

int _old_touch_mode
 

Member Function Documentation

◆ notifyResize()

virtual void iOSCommonGraphics::notifyResize ( const int  width,
const int  height 
)
pure virtual

Notify the graphics manager about a resize event. This happens on iDevices when switching to portrait mode or landscape mode.

Implemented in iOSGraphicsManager.

◆ getState()

virtual State iOSCommonGraphics::getState ( ) const
pure virtual

Gets the current state of the graphics manager.

Implemented in iOSGraphicsManager.

◆ setState()

virtual bool iOSCommonGraphics::setState ( const State state)
pure virtual

Sets up a basic state of the graphics manager.

Implemented in iOSGraphicsManager.


The documentation for this class was generated from the following file: