summaryrefslogtreecommitdiff
path: root/src/gfx_layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx_layout.h')
-rw-r--r--src/gfx_layout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gfx_layout.h b/src/gfx_layout.h
index 27c1e9c08..b4f9afdc6 100644
--- a/src/gfx_layout.h
+++ b/src/gfx_layout.h
@@ -212,6 +212,7 @@ public:
Layouter(const char *str, int maxw = INT32_MAX, TextColour colour = TC_FROMSTRING, FontSize fontsize = FS_NORMAL);
Dimension GetBounds();
Point GetCharPosition(const char *ch) const;
+ const char *GetCharAtPosition(int x) const;
static void ResetFontCache(FontSize size);
static void ResetLineCache();