ScummVM API documentation
Director::Window Class Reference
Inheritance diagram for Director::Window:
Director::Object< Window > Director::AbstractObject

Public Member Functions

 Window (int id, bool scrollable, bool resizable, bool editable, Graphics::MacWindowManager *wm, DirectorEngine *vm, bool isStage)
 
bool render (bool forceRedraw=false, Graphics::ManagedSurface *blitTo=nullptr)
 
void invertChannel (Channel *channel, const Common::Rect &destRect)
 
bool needsAppliedColor (DirectorPlotData *pd)
 
void setStageColor (uint32 stageColor, bool forceReset=false)
 
uint32 getStageColor ()
 
void reset ()
 
void exitTransition (TransParams &t, Graphics::ManagedSurface *nextFrame, Common::Rect clipRect)
 
void stepTransition (TransParams &t, int step)
 
void playTransition (uint frame, RenderMode mode, uint16 transDuration, uint8 transArea, uint8 transChunkSize, TransitionType transType, CastMemberID paletteId)
 
void initTransParams (TransParams &t, Common::Rect &clipRect)
 
void dissolveTrans (TransParams &t, Common::Rect &clipRect, Graphics::ManagedSurface *tmpSurface)
 
void dissolvePatternsTrans (TransParams &t, Common::Rect &clipRect, Graphics::ManagedSurface *tmpSurface)
 
void transMultiPass (TransParams &t, Common::Rect &clipRect, Graphics::ManagedSurface *tmpSurface)
 
void transZoom (TransParams &t, Common::Rect &clipRect, Graphics::ManagedSurface *currentFrame, Graphics::ManagedSurface *nextFrame)
 
Common::Point getMousePos ()
 
DirectorEnginegetVM () const
 
Graphics::MacWindowgetMacWindow () const
 
MoviegetCurrentMovie () const
 
Common::String getCurrentPath () const
 
DirectorSoundgetSoundManager () const
 
void setVisible (bool visible, bool silent=false)
 
bool setNextMovie (Common::String &movieFilenameRaw)
 
void ensureMovieIsLoaded ()
 
void setWindowType (int type)
 
int getWindowType () const
 
void setTitleVisible (bool titleVisible)
 
Graphics::ManagedSurfacegetSurface ()
 
void addDirtyRect (const Common::Rect &r)
 
void resizeInner (int w, int h)
 
int getId ()
 
void setDirty (bool dirty)
 
void disableBorder ()
 
void center (bool toCenter=true)
 
Common::Point getAbsolutePos ()
 
void setTitle (const Common::String &title)
 
void move (int x, int y)
 
Datum getStageRect ()
 
void setStageRect (Datum datum)
 
void setModal (bool modal)
 
bool getModal ()
 
void setFileName (Common::String filename)
 
Common::String getFileName ()
 
void updateBorderType ()
 
bool step ()
 
bool loadNextMovie ()
 
void loadNewSharedCast (Cast *previousSharedCast)
 
Common::Path getSharedCastPath ()
 
LingoStategetLingoState ()
 
LingoStategetLingoPlayState ()
 
uint32 frozenLingoStateCount ()
 
uint32 frozenLingoRecursionCount ()
 
void freezeLingoState ()
 
void thawLingoState ()
 
void freezeLingoPlayState ()
 
bool thawLingoPlayState ()
 
LingoStategetLastFrozenLingoState ()
 
void moveLingoState (Window *target)
 
Common::String formatWindowInfo ()
 
bool processEvent (Common::Event &event)
 
bool processWMEvent (Graphics::WindowClick click, Common::Event &event)
 
void sendWindowEvent (LEvent event)
 
Common::HashMap< Common::String, Movie * > * scanMovies (const Common::Path &folder)
 
void testFontScaling ()
 
void testFonts ()
 
void enqueueAllMovies ()
 
MovieReference getNextMovieFromQueue ()
 
void runTests ()
 
Common::Error loadInitialMovie ()
 
void probeResources (Archive *archive)
 
void loadINIStream ()
 
void loadXtrasFromPath ()
 
void loadStartMovieXLibs ()
 
Common::String asString () override
 
bool hasProp (const Common::String &propName) override
 
Datum getProp (const Common::String &propName) override
 
void setProp (const Common::String &propName, const Datum &value, bool force=false) override
 
bool hasField (int field) override
 
Datum getField (int field) override
 
void setField (int field, const Datum &value) override
 
- Public Member Functions inherited from Director::Object< Window >
Common::String getName () const override
 
ObjectType getObjType () const override
 
bool isDisposed () const override
 
int * getRefCount () const override
 
void incRefCount () override
 
virtual void decRefCount () override
 
int getInheritanceLevel () const override
 
void setName (const Common::String &name) override
 
void dispose () override
 
Common::String asString () override
 
AbstractObjectclone () override
 
Symbol getMethod (const Common::String &methodName) override
 
bool hasProp (const Common::String &propName) override
 
Datum getProp (const Common::String &propName) override
 
Common::String getPropAt (uint32 index) override
 
uint32 getPropCount () override
 
void setProp (const Common::String &propName, const Datum &value, bool force=false) override
 
bool hasField (int field) override
 
Datum getField (int field) override
 
void setField (int field, const Datum &value) override
 

Static Public Member Functions

static void inkBlitFrom (Channel *channel, Common::Rect destRect, Graphics::ManagedSurface *blitTo=nullptr)
 
- Static Public Member Functions inherited from Director::Object< Window >
static void initMethods (const MethodProto protos[])
 
static void cleanupMethods ()
 

Public Attributes

Common::Path _fileName
 
Graphics::MacWindow_window
 
Graphics::MacWindowManager_wm
 
Common::List< Channel * > _dirtyChannels
 
TransParams_puppetTransition
 
MovieReference _nextMovie
 
Common::List< MovieReference_movieStack
 
bool _newMovieStarted
 
bool _skipFrameAdvance
 
- Public Attributes inherited from Director::Object< Window >
int * _refCount
 

Additional Inherited Members

- Protected Member Functions inherited from Director::Object< Window >
 Object (Common::String objName)
 
 Object (const Object &obj)
 
- Protected Attributes inherited from Director::Object< Window >
Common::String _name
 
ObjectType _objType
 
bool _disposed
 
int _inheritanceLevel
 
- Static Protected Attributes inherited from Director::Object< Window >
static SymbolHash_methods
 

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