From 616322d6a9ea73e85abe412abed798a4f815ed74 Mon Sep 17 00:00:00 2001 From: pouillot Date: Sun, 7 Oct 2012 18:32:50 +0000 Subject: [PATCH] Re #720 Fixed the ruindows side after r4985 git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4986 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 3513b422bdb2a10519ed6b7ca033016143118dde Former-commit-id: 6e6cdfd24a9f564257f5ccfae945a41cffa020fa --- .../legacymenu/mainscreens/optionsmenu.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/modules/userinterface/legacymenu/mainscreens/optionsmenu.cpp b/src/modules/userinterface/legacymenu/mainscreens/optionsmenu.cpp index e9f57d296..737b47ea0 100644 --- a/src/modules/userinterface/legacymenu/mainscreens/optionsmenu.cpp +++ b/src/modules/userinterface/legacymenu/mainscreens/optionsmenu.cpp @@ -33,10 +33,11 @@ static void *MenuHandle = NULL; -// Select Monitor (true) or Display (false) menu. -#define MonitorMenu false +// SDW hack to get access to Monitor menu, doesn't have a defined position yet +// (Uncomment to select Monitor menu otherwise, the Display menu is used) +//#define MonitorMenu 1 -#if (!MonitorMenu) +#ifndef MonitorMenu static void onDisplayMenuActivate(void * /* dummy */) @@ -102,7 +103,8 @@ OptionsMenuInit(void *prevMenu) GfuiMenuCreateStaticControls(MenuHandle, param); -#if (MonitorMenu) // SDW hack to get access to Monitor menu, doesn't have a defined position yet +// SDW hack to get access to Monitor menu, doesn't have a defined position yet +#ifdef MonitorMenu GfuiMenuCreateButtonControl(MenuHandle, param, "display", NULL, onMonitorMenuActivate); #else GfuiMenuCreateButtonControl(MenuHandle, param, "display", NULL, onDisplayMenuActivate);