override public void draw() { // Draw pane _pane.draw(); // Draw buttons for (int i = 0; i < _generalButtons.Count; i++) { _generalButtons[i].draw(); } // Handle options category drawing if (_currentCategory == OptionsCategory.Video) { drawVideoCategory(); } else if (_currentCategory == OptionsCategory.Audio) { drawAudioCategory(); } else if (_currentCategory == OptionsCategory.Controls) { drawControlsCategory(); } base.draw(); }
public override void draw() { base.draw(); // Draw components _overlay.draw(); _pane.draw(); _label.draw(); _cancelButton.draw(); _okayButton.draw(); }