diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:35 +0300 |
commit | 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (patch) | |
tree | 2053748aba4fd1e01020effe9322757426354d28 /src/gui/widgets/textfield.cpp | |
parent | 2577a25f8a4acf587526809fda2ded95875e1222 (diff) | |
download | manaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.gz manaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.bz2 manaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.xz manaverse-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.zip |
Add missing const in gui directory.
Diffstat (limited to 'src/gui/widgets/textfield.cpp')
-rw-r--r-- | src/gui/widgets/textfield.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index 291a5fa22..f9fec2852 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -197,7 +197,7 @@ void TextField::updateAlpha() } } -void TextField::draw(Graphics *graphics) +void TextField::draw(Graphics *const graphics) { BLOCK_START("TextField::draw") updateAlpha(); @@ -227,12 +227,12 @@ void TextField::draw(Graphics *graphics) BLOCK_END("TextField::draw") } -void TextField::safeDraw(Graphics *graphics) +void TextField::safeDraw(Graphics *const graphics) { TextField::draw(graphics); } -void TextField::drawFrame(Graphics *graphics) +void TextField::drawFrame(Graphics *const graphics) { BLOCK_START("TextField::drawFrame") const int bs = 2 * mFrameSize; @@ -244,7 +244,7 @@ void TextField::drawFrame(Graphics *graphics) BLOCK_END("TextField::drawFrame") } -void TextField::safeDrawFrame(Graphics *graphics) +void TextField::safeDrawFrame(Graphics *const graphics) { BLOCK_START("TextField::drawFrame") const int bs = 2 * mFrameSize; |