ScummVM API documentation
DisplayManager Class Reference

#include <display_manager.h>

Public Types

enum  GraphicsModeID { ORIGINAL_RESOLUTION, FIT_TO_SCREEN, STRETCH_TO_SCREEN }
 

Public Member Functions

void init ()
 
bool renderAll ()
 
void waitUntilRenderFinished ()
 
bool setGraphicsMode (int mode)
 
int getGraphicsMode () const
 
uint32 getDefaultGraphicsMode () const
 
const OSystem::GraphicsModegetSupportedGraphicsModes () const
 
void setScreen (Screen *screen)
 
void setCursor (Cursor *cursor)
 
void setOverlay (Overlay *overlay)
 
void setKeyboard (PSPKeyboard *keyboard)
 
void setImageViewer (ImageViewer *imageViewer)
 
void setSizeAndPixelFormat (uint width, uint height, const Graphics::PixelFormat *format)
 
float getScaleX () const
 
float getScaleY () const
 
uint32 getOutputWidth () const
 
uint32 getOutputHeight () const
 
uint32 getOutputBitsPerPixel () const
 
Common::List< Graphics::PixelFormatgetSupportedPixelFormats () const
 

Detailed Description

Class that manages all display clients

Member Enumeration Documentation

◆ GraphicsModeID

Enumerator
ORIGINAL_RESOLUTION 

Possible output formats onscreen


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