Text drawing parameters, which can change while drawing a line, but are kept between multiple parts of the same text, e.g. More...
Public Member Functions | |
| DrawStringParams (TextColour colour, FontSize fontsize) | |
| void | SetColour (TextColour c) |
| Switch to new colour c. | |
| void | SetPreviousColour () |
| Switch to previous colour. | |
| void | SetFontSize (FontSize f) |
| Switch to using a new font f. | |
Data Fields | |
| FontSize | fontsize |
| TextColour | cur_colour |
| TextColour | prev_colour |
Text drawing parameters, which can change while drawing a line, but are kept between multiple parts of the same text, e.g.
on line breaks.
Definition at line 58 of file gfx.cpp.
| void DrawStringParams::SetColour | ( | TextColour | c | ) | [inline] |
| void DrawStringParams::SetFontSize | ( | FontSize | f | ) | [inline] |
| void DrawStringParams::SetPreviousColour | ( | ) | [inline] |
1.7.1