summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-16 02:01:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-16 02:01:28 +0300
commitb49d05166ac67ed0ef189b1e3859573108843db1 (patch)
treed8f4eaa6735938ab7db9aa11b0857485f865ad94 /src/text.h
parent910e16e9c485a0ffa02d5cc39d0df0a467cf8cf7 (diff)
downloadmanaplus-b49d05166ac67ed0ef189b1e3859573108843db1.tar.gz
manaplus-b49d05166ac67ed0ef189b1e3859573108843db1.tar.bz2
manaplus-b49d05166ac67ed0ef189b1e3859573108843db1.tar.xz
manaplus-b49d05166ac67ed0ef189b1e3859573108843db1.zip
Remove default parameters from text.
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/text.h b/src/text.h
index e2bdfaae4..ea013aa44 100644
--- a/src/text.h
+++ b/src/text.h
@@ -47,8 +47,8 @@ class Text notfinal
const int x, const int y,
const Graphics::Alignment alignment,
const Color *const color,
- const Speech isSpeech = Speech_false,
- Font *const font = nullptr);
+ const Speech isSpeech,
+ Font *const font);
A_DELETE_COPY(Text)
@@ -129,7 +129,8 @@ class FlashText final : public Text
* Draws the text.
*/
void draw(Graphics *const graphics,
- const int xOff, const int yOff) override final A_NONNULL(2);
+ const int xOff,
+ const int yOff) override final A_NONNULL(2);
private:
int mTime; /**< Time left for flashing */