diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2008-01-14 22:27:00 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2008-01-14 22:27:00 (GMT) |
commit | e1db89e2d7d56afca5335550ee1c9ff87fd54ba4 (patch) | |
tree | 779b52814dedd08eb56d1875cb2f97bbcdd39e8b /src/FbTk/TextButton.cc | |
parent | c6099d777d844699fb8a4243921159898bc4f45c (diff) | |
download | fluxbox-e1db89e2d7d56afca5335550ee1c9ff87fd54ba4.zip fluxbox-e1db89e2d7d56afca5335550ee1c9ff87fd54ba4.tar.bz2 |
moved code a bit around, cleaned up some classes
Diffstat (limited to 'src/FbTk/TextButton.cc')
-rw-r--r-- | src/FbTk/TextButton.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc index 922eb74..85ac5c8 100644 --- a/src/FbTk/TextButton.cc +++ b/src/FbTk/TextButton.cc | |||
@@ -150,7 +150,7 @@ void TextButton::renderForeground(FbWindow &win, FbDrawable &drawable) { | |||
150 | } | 150 | } |
151 | 151 | ||
152 | void TextButton::drawText(int x_offset, int y_offset, FbDrawable *drawable) { | 152 | void TextButton::drawText(int x_offset, int y_offset, FbDrawable *drawable) { |
153 | size_t textlen = text().size(); | 153 | unsigned int textlen = text().size(); |
154 | // do text alignment | 154 | // do text alignment |
155 | 155 | ||
156 | unsigned int textw = width(), texth = height(); | 156 | unsigned int textw = width(), texth = height(); |