public override void draw()
        {
            base.draw();

            // Draw components
            _overlay.draw();
            _pane.draw();
            _label.draw();
            _cancelButton.draw();
            _okayButton.draw();
        }
Exemple #2
0
 private void drawVideoCategory()
 {
     _videoTitle.draw();
     _resolutionLabel.draw();
     _resolutionValue.draw();
     _resolutionPrevious.draw();
     _resolutionNext.draw();
     _fullscreenLabel.draw();
     _fullscreenValue.draw();
     _fullscreenPrevious.draw();
     _fullscreenNext.draw();
 }
        public override void draw()
        {
            Texture2D texture = _textures[_textureIndex];

            _spriteBatch.Draw(_background, _background.Bounds, _background.Bounds, Color.White, 0f, Vector2.Zero, SpriteEffects.None, 0.11f);
            _spriteBatch.Draw(texture, new Rectangle(0, -110, texture.Width, texture.Height), texture.Bounds, Color.White, 0f, Vector2.Zero, SpriteEffects.None, 0.1f);

            _title.draw();
            _message.draw();
            _progressBar.draw();

            base.draw();
        }
Exemple #4
0
        public override void draw()
        {
            // Draw title
            _title.draw();

            // Draw name input preview and pane
            _nameInputPane.draw();
            _namePreview.draw();

            // Draw cancel and create buttons
            _cancelButton.draw();
            _createButton.draw();
        }
Exemple #5
0
 private void drawControlsCategory()
 {
     _controlsTitle.draw();
 }
Exemple #6
0
 private void drawAudioCategory()
 {
     _audioTitle.draw();
 }