22#ifndef HOLLYWOOD_MONSTERS_SCENES_SPEECH_OVERLAY_H
23#define HOLLYWOOD_MONSTERS_SCENES_SPEECH_OVERLAY_H
25#include "common/array.h"
26#include "common/str.h"
27#include "common/types.h"
39 SpeechOverlay() : visible(
false), colorIndex(0), centerX(0), topY(0) {}
48enum SpeechOverlayWrapStyle {
49 kSpeechOverlayAdaptiveWrap,
50 kSpeechOverlayFixedEdgeWrap
55 SpeechOverlayWrapStyle style = kSpeechOverlayAdaptiveWrap);
56void layoutSpeechOverlay(SpeechOverlay &overlay,
const HollywoodFont *font,
57 int centerX,
int anchorBottomY,
int viewportXOffset = 0);
58void drawSpeechOverlayText(
const SpeechOverlay &overlay, HollywoodFont *font,
Definition: formatinfo.h:28
Definition: speech_overlay.h:38