コード例 #1
0
        public override void Draw(SpriteBatch SBatch, float?LayerDepth)
        {
            float Depth;

            if (LayerDepth != null)
            {
                Depth = (float)LayerDepth;
            }
            else
            {
                Depth = 0.10f;
            }

            m_LblTitle.Draw(SBatch, Depth + 0.1f);

            m_LblProgress.Draw(SBatch, Depth + 0.1f);
            m_ProgressBar.Draw(SBatch, Depth + 0.1f);

            m_LblCurrentTask.Draw(SBatch, Depth + 0.1f);
            m_StatusBar.Draw(SBatch, Depth + 0.1f);

            m_ErrorMsgBox.Draw(SBatch, Depth + 0.1f);

            base.Draw(SBatch, LayerDepth);
        }
コード例 #2
0
        public override void Draw(SpriteBatch SBatch, float?LayerDepth)
        {
            float Depth;

            if (LayerDepth != null)
            {
                Depth = (float)LayerDepth;
            }
            else
            {
                Depth = 0.10f;
            }

            m_LblTitle.Draw(SBatch, Depth + 0.1f);

            m_ProgressBar.Draw(SBatch, Depth + 0.1f);

            base.Draw(SBatch, LayerDepth);
        }