ScummVM API documentation
Sci::ScrollWindowEntry Struct Reference

#include <controls32.h>

Public Attributes

reg_t id
 
TextAlign alignment
 
int16 foreColor
 
GuiResourceId fontId
 
Common::String text
 

Detailed Description

A single block of text written to a ScrollWindow.

Member Data Documentation

◆ id

reg_t Sci::ScrollWindowEntry::id

ID of the line. In SSCI this was actually a memory handle for the string of this line. We use a simple numeric ID instead.

◆ alignment

TextAlign Sci::ScrollWindowEntry::alignment

The alignment to use when rendering this line of text. If -1, the default alignment from the corresponding ScrollWindow will be used.

◆ foreColor

int16 Sci::ScrollWindowEntry::foreColor

The color to use to render this line of text. If -1, the default foreground color from the corresponding ScrollWindow will be used.

◆ fontId

GuiResourceId Sci::ScrollWindowEntry::fontId

The font to use to render this line of text. If -1, the default font from the corresponding ScrollWindow will be used.

◆ text

Common::String Sci::ScrollWindowEntry::text

The text.


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