+ /* Init Mac stuff */
+ InitCursor();
+ SetQDGlobalsRandomSeed( TickCount() );
+
+#if 0
+ p_intf->p_intf_get_key = intf_GetKey;
+
+ intf_AssignKey( p_intf , 'Q', INTF_KEY_QUIT, 0);
+ intf_AssignKey( p_intf , 'q', INTF_KEY_QUIT, 0);
+ intf_AssignKey( p_intf , 27, INTF_KEY_QUIT, 0);
+ intf_AssignKey( p_intf , 3, INTF_KEY_QUIT, 0);
+ intf_AssignKey( p_intf , '0', INTF_KEY_SET_CHANNEL, 0);
+ intf_AssignKey( p_intf , '1', INTF_KEY_SET_CHANNEL, 1);
+ intf_AssignKey( p_intf , '2', INTF_KEY_SET_CHANNEL, 2);
+ intf_AssignKey( p_intf , '3', INTF_KEY_SET_CHANNEL, 3);
+ intf_AssignKey( p_intf , '4', INTF_KEY_SET_CHANNEL, 4);
+ intf_AssignKey( p_intf , '5', INTF_KEY_SET_CHANNEL, 5);
+ intf_AssignKey( p_intf , '6', INTF_KEY_SET_CHANNEL, 6);
+ intf_AssignKey( p_intf , '7', INTF_KEY_SET_CHANNEL, 7);
+ intf_AssignKey( p_intf , '8', INTF_KEY_SET_CHANNEL, 8);
+ intf_AssignKey( p_intf , '9', INTF_KEY_SET_CHANNEL, 9);
+ intf_AssignKey( p_intf , '0', INTF_KEY_SET_CHANNEL, 0);
+ intf_AssignKey( p_intf , '+', INTF_KEY_INC_VOLUME, 0);
+ intf_AssignKey( p_intf , '-', INTF_KEY_DEC_VOLUME, 0);
+ intf_AssignKey( p_intf , 'm', INTF_KEY_TOGGLE_VOLUME, 0);
+ intf_AssignKey( p_intf , 'M', INTF_KEY_TOGGLE_VOLUME, 0);
+ intf_AssignKey( p_intf , 'g', INTF_KEY_DEC_GAMMA, 0);
+ intf_AssignKey( p_intf , 'G', INTF_KEY_INC_GAMMA, 0);
+ intf_AssignKey( p_intf , 'c', INTF_KEY_TOGGLE_GRAYSCALE, 0);
+ intf_AssignKey( p_intf , ' ', INTF_KEY_TOGGLE_INTERFACE, 0);
+ intf_AssignKey( p_intf , 'i', INTF_KEY_TOGGLE_INFO, 0);
+ intf_AssignKey( p_intf , 's', INTF_KEY_TOGGLE_SCALING, 0);
+ intf_AssignKey( p_intf , 'd', INTF_KEY_DUMP_STREAM, 0);
+
+
+//EJ - neat menu but don't know if we want it.
+// Install the Windows menu. Free of charge!
+// CreateStandardWindowMenu( 0, &windMenu );
+// InsertMenu( windMenu, 0 );
+// DrawMenuBar();
+
+#else
+
+ menu = NewMenu( kMenuApple, "\p\024" );
+ AppendMenu( menu, "\pAbout VLCÉ/A" );
+ InsertMenu( menu, 0 );
+
+ menu = NewMenu( kMenuFile, "\pFile" );
+ AppendMenu( menu, "\pNew Viewer Window/N" );
+ AppendMenu( menu, "\pOpenÉ/O" );
+ AppendMenu( menu, "\p(-" );
+ AppendMenu( menu, "\pClose/W" );
+ InsertMenu( menu, 0 );
+
+//BIG HONKING MENU - in order Mac OS 9 dvd player
+//can't get key codes right for menus... argh that's why they use resources!
+
+ menu = NewMenu( kMenuControls, "\pControls" );
+
+ AppendMenu( menu, "\pPlay/," );
+// SetMenuItemCommandKey(menu, 0, false, kSpace);
+// SetMenuItemModifiers( menu, 0, kMenuNoCommandModifier);
+
+ AppendMenu( menu, "\pStop/." );
+
+ AppendMenu( menu, "\pFast Forward/f" );
+// SetMenuItemCommandKey(menu, 2, false, kRightArrow);
+
+ AppendMenu( menu, "\pRewind/r" );
+// SetMenuItemCommandKey(menu, 3, false, kLeftArrow);
+
+ AppendMenu( menu, "\p(-" ); //4
+
+ AppendMenu( menu, "\pNext Chapter/c" );
+// SetMenuItemCommandKey(menu, 5, false, kRightArrow);
+// SetMenuItemModifiers( menu, 5, kMenuNoCommandModifier);
+
+ AppendMenu( menu, "\pPrevious Chapter/p" );
+// SetMenuItemCommandKey(menu, 6, false, kLeftArrow);
+// SetMenuItemModifiers( menu, 6, kMenuNoCommandModifier);
+
+ AppendMenu( menu, "\p(-" ); //7
+
+ AppendMenu( menu, "\pDVD Menu/v" );
+// SetMenuItemCommandKey(menu, 8, false, kEscape);
+// SetMenuItemModifiers( menu, 8, kMenuNoCommandModifier);
+
+ AppendMenu( menu, "\p(-" ); //9
+
+ AppendMenu( menu, "\pVolume Up/u" );
+// SetMenuItemCommandKey(menu, 10, false, kUpArrow);
+
+ AppendMenu( menu, "\pVolume Down/d" );
+// SetMenuItemCommandKey(menu, 11, false, kDownArrow);
+
+ AppendMenu( menu, "\pMute/M" ); //12
+
+ AppendMenu( menu, "\p(-" ); //13
+
+ AppendMenu( menu, "\pEject/E" ); //14
+
+ InsertMenu( menu, 0 );
+#endif
+
+ DrawMenuBar();
+