private void showSettingsMenu ( final Cursor cursor ) { Log . d ( TAG , "showSettingsMenu" ) ; enableSettingsCursor ( cursor ) ; context . runOnGlThread ( new Runnable ( ) { @ Override public void run ( ) { new SettingsView ( context , scene , CursorManager . this , settingsCursor . getIoDevice ( ) . getCursorControllerId ( ) , cursor , new SettingsChangeListener ( ) { @ Override public void onBack ( boolean cascading ) { disableSettingsCursor ( ) ; } @ Override public int onDeviceChanged ( IoDevice device ) { // we are changing the io device on the settings cursor removeCursorFromScene ( settingsCursor ) ; IoDevice clickedDevice = getAvailableIoDevice ( device ) ; settingsCursor . setIoDevice ( clickedDevice ) ; addCursorToScene ( settingsCursor ) ; return device . getCursorControllerId ( ) ; } } ) ; } } ) ; }
Presents the Cursor Settings to the User . Only works if scene is set .