summaryrefslogtreecommitdiff
path: root/src/strings_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-20 12:01:42 +0000
committerrubidium <rubidium@openttd.org>2011-11-20 12:01:42 +0000
commit462b875b4a5478aa90af26188eb6cd4a43f6c698 (patch)
tree588fbec6592229fd231ea7cfdbe891d1b031707a /src/strings_func.h
parent9512838a5e9a4ad6f008bd0423e1056eb15cb242 (diff)
downloadopenttd-462b875b4a5478aa90af26188eb6cd4a43f6c698.tar.xz
(svn r23276) -Codechange: add the answer for the question whether we're looking for monospace fonts in the searcher
Diffstat (limited to 'src/strings_func.h')
-rw-r--r--src/strings_func.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/strings_func.h b/src/strings_func.h
index 19c374e6d..3f98ad48d 100644
--- a/src/strings_func.h
+++ b/src/strings_func.h
@@ -223,6 +223,12 @@ public:
virtual void Reset() = 0;
/**
+ * Whether to search for a monospace font or not.
+ * @return True if searching for monospace.
+ */
+ virtual bool Monospace() = 0;
+
+ /**
* Set the right font names.
* @param settings The settings to modify.
* @param font_name The new font name.