} // end of MainMenu Shared UnloadContent() /// <summary> /// Recreate render targets /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(boku, device); BokuGame.DeviceReset(menu, device); BokuGame.DeviceReset(optionsMenu, device); BokuGame.DeviceReset(liveFeed, device); }
/// <summary> /// Recreate render targets /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(shared, device); BokuGame.DeviceReset(renderObj, device); BokuGame.DeviceReset(openingSharingRoomMessage, device); BokuGame.DeviceReset(openingInviteGuideMessage, device); }
} // end of MouseEditToolBox UnloadContent() /// <summary> /// Recreate render targets /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { // Ensure that camera matches window dimensions. camera.Resolution = new Point((int)BokuGame.ScreenSize.X, (int)BokuGame.ScreenSize.Y); BokuGame.DeviceReset(EditObjectsToolInstance, device); BokuGame.DeviceReset(EditPathsToolInstance, device); }
} // end of MiniHub UnloadContent() /// <summary> /// Recreate render targets /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(shared, device); BokuGame.DeviceReset(shareSuccessMessage, device); BokuGame.DeviceReset(noCommunityMessage, device); BokuGame.DeviceReset(saveChangesMessage, device); BokuGame.DeviceReset(saveChangesWithDiscardMessage, device); BokuGame.DeviceReset(saveLevelDialog, device); }
} // end of AddItemHelpCard UnloadContent() public void DeviceReset(GraphicsDevice device) { // Always deactivate help and the pie menu on device reset. Deactivate(); InGame.inGame.editObjectUpdateObj.CancelNewItemSelector(InGame.inGame.editObjectUpdateObj.newItemSelector); BokuGame.DeviceReset(shared, device); BokuGame.DeviceReset(renderObj, device); }
} // end of MouseEditToolBox UnloadContent() /// <summary> /// Recreate render targets /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { // Ensure that camera matches window dimensions. camera.Resolution = new Point(BokuGame.bokuGame.GraphicsDevice.Viewport.Width, BokuGame.bokuGame.GraphicsDevice.Viewport.Height); BokuGame.DeviceReset(brushPicker, device); BokuGame.DeviceReset(materialPicker, device); BokuGame.DeviceReset(waterPicker, device); BokuGame.DeviceReset(EditObjectsToolInstance, device); BokuGame.DeviceReset(EditPathsToolInstance, device); }
} // end of MiniHub Shared UnloadContent() /// <summary> /// Recreate render targets /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(menu, device); }
} // end of TitleScreenMode UnloadContent() /// <summary> /// Recreate render targets /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(titleScreen, device); BokuGame.DeviceReset(logonDialog, device); }
} // end of TitleScreen UnloadContent() /// <summary> /// Recreate render targets /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(renderObj, device); }
} // end of ToolBox UnloadContent() /// <summary> /// Recreate render targets /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(brushPicker, device); BokuGame.DeviceReset(materialPicker, device); BokuGame.DeviceReset(waterPicker, device); }
} // end of AddItemHelpCard Shared UnloadContent() /// <summary> /// Recreate render targets. /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(examplesGrid, device); }
} // end of MessageBox UnloadContent() public void DeviceReset(GraphicsDeviceManager graphics) { BokuGame.DeviceReset(shared.backdrop, graphics); }
} // end of MainMenu UnloadContent() /// <summary> /// Recreate render targets /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(shared, device); BokuGame.DeviceReset(noCommunityMessage, device); BokuGame.DeviceReset(noSharingMessage, device); }
public override void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(newItemSelector, device); BokuGame.DeviceReset(newItemSelectorShim, device); }
/// <summary> /// Recreate render targets /// </summary> /// <param name="graphics"></param> public void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(tagList, device); }
/// <summary> /// Recreate render targets /// </summary> /// <param name="device"></param> public void DeviceReset(GraphicsDevice device) { BokuGame.DeviceReset(textLineEditor, device); }