diff options
author | stevenhoefel | 2017-02-06 14:45:13 +1100 |
---|---|---|
committer | stevenhoefel | 2017-02-06 14:45:13 +1100 |
commit | 6bf2ddde13e9872359fa139e813a0ed94164c5ea (patch) | |
tree | 25d0e141fe5323f7bca4f14dc57d1e1c958b4219 /engines/director/frame.h | |
parent | c48273d9134b8739fa57e5b29c48aa23bdac3d28 (diff) | |
download | scummvm-rg350-6bf2ddde13e9872359fa139e813a0ed94164c5ea.tar.gz scummvm-rg350-6bf2ddde13e9872359fa139e813a0ed94164c5ea.tar.bz2 scummvm-rg350-6bf2ddde13e9872359fa139e813a0ed94164c5ea.zip |
DIRECTOR: Use Text rect for buttons. Adjust sizing appropriately.
Diffstat (limited to 'engines/director/frame.h')
-rw-r--r-- | engines/director/frame.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/frame.h b/engines/director/frame.h index f822a83fdb..3799c2043c 100644 --- a/engines/director/frame.h +++ b/engines/director/frame.h @@ -125,7 +125,7 @@ private: void playSoundChannel(); void renderSprites(Graphics::ManagedSurface &surface, bool renderTrail); void renderText(Graphics::ManagedSurface &surface, uint16 spriteId, uint16 castId); - void renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Common::SeekableSubReadStreamEndian *textStream, bool isButtonLabel); + void renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Common::SeekableSubReadStreamEndian *textStream, Common::Rect *textSize); void renderShape(Graphics::ManagedSurface &surface, uint16 spriteId); void renderButton(Graphics::ManagedSurface &surface, uint16 spriteId, uint16 textId); void readPaletteInfo(Common::SeekableSubReadStreamEndian &stream); |