aboutsummaryrefslogtreecommitdiff
path: root/src/OSDWindow.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-03 20:45:14 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-03 20:45:14 (GMT)
commit90f2fcf031554577ce811e7f7151f2a78ea7a265 (patch)
tree3705ddd022d4b6c8e859e17a8858cf602617b8ec /src/OSDWindow.cc
parent3c85ace912824df11ccb22666085e9ba84cd00be (diff)
downloadfluxbox-90f2fcf031554577ce811e7f7151f2a78ea7a265.zip
fluxbox-90f2fcf031554577ce811e7f7151f2a78ea7a265.tar.bz2
Minor API change for OSDWindow
OSDWindow::resize(const FbTk::BiDiString&) shadowed FbWindow::resize(x, y). To fix this I renamed the function to OSDWindow::resizeForText() to make the intention clear.
Diffstat (limited to 'src/OSDWindow.cc')
-rw-r--r--src/OSDWindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OSDWindow.cc b/src/OSDWindow.cc
index 82090c5..d5f0ed5 100644
--- a/src/OSDWindow.cc
+++ b/src/OSDWindow.cc
@@ -57,7 +57,7 @@ void OSDWindow::reconfigTheme() {
57 57
58} 58}
59 59
60void OSDWindow::resize(const FbTk::BiDiString &text) { 60void OSDWindow::resizeForText(const FbTk::BiDiString &text) {
61 61
62 int bw = 2 * m_theme->bevelWidth(); 62 int bw = 2 * m_theme->bevelWidth();
63 int h = m_theme->font().height() + bw; 63 int h = m_theme->font().height() + bw;