diff options
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r-- | src/FbTk/Menu.cc | 6 |
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 | } |