aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-11-28 23:26:27 (GMT)
committerfluxgen <fluxgen>2003-11-28 23:26:27 (GMT)
commit53e1f759c189dc8b3a8b3470b734999c9e5cea53 (patch)
treeec21784645458f232ca7f689c34b916108808c31 /src
parent9a6555695ad583c19d801818084cb8205ec37944 (diff)
downloadfluxbox-53e1f759c189dc8b3a8b3470b734999c9e5cea53.zip
fluxbox-53e1f759c189dc8b3a8b3470b734999c9e5cea53.tar.bz2
minor stuff
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/Menu.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 96e8fa8..e2aa3c5 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Menu.cc,v 1.42 2003/11/28 22:52:20 fluxgen Exp $ 25// $Id: Menu.cc,v 1.43 2003/11/28 23:26:27 fluxgen Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -649,7 +649,7 @@ void Menu::redrawTitle() {
649 menu.title.clear(); 649 menu.title.clear();
650 font.drawText(menu.title.window(), // drawable 650 font.drawText(menu.title.window(), // drawable
651 screenNumber(), 651 screenNumber(),
652 m_theme.titleTextGC(), // graphic context 652 m_theme.titleTextGC().gc(), // graphic context
653 text, len, // text string with lenght 653 text, len, // text string with lenght
654 dx, font.ascent() + menu.bevel_w); // position 654 dx, font.ascent() + menu.bevel_w); // position
655 655
@@ -909,7 +909,7 @@ void Menu::drawItem(unsigned int index, bool highlight, bool clear, bool render_
909 if (dotext && text) { 909 if (dotext && text) {
910 m_theme.frameFont().drawText(m_frame_pm.drawable(), // drawable 910 m_theme.frameFont().drawText(m_frame_pm.drawable(), // drawable
911 screenNumber(), 911 screenNumber(),
912 tgc, 912 tgc.gc(),
913 text, len, // text string and lenght 913 text, len, // text string and lenght
914 text_x, text_y); // position 914 text_x, text_y); // position
915 } 915 }