Codechange: move documentation to super class and add missing documentation

This commit is contained in:
Rubidium
2026-02-11 20:43:31 +01:00
committed by rubidium42
parent f56b17571e
commit c52c8e04a8
3 changed files with 77 additions and 26 deletions
+5
View File
@@ -217,6 +217,8 @@ Dimension Layouter::GetBounds()
/**
* Test whether a character is a non-printable formatting code
* @param ch The character to test.
* @return \c true iff it is a non-printable formatting code.
*/
static bool IsConsumedFormattingCode(char32_t ch)
{
@@ -340,6 +342,9 @@ ptrdiff_t Layouter::GetCharAtPosition(int x, size_t line_index) const
/**
* Get a static font instance.
* @param size The size of font.
* @param colour The font's colour.
* @return The cached font.
*/
Font *Layouter::GetFont(FontSize size, TextColour colour)
{