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
This commit is contained in:
pouillot 2012-10-07 18:32:50 +00:00
parent af9673796d
commit 616322d6a9

View file

@ -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);