コード例 #1
0
        protected override void DrawBackground(Batcher batcher, float parentAlpha, float x, float y)
        {
            base.DrawBackground(batcher, parentAlpha, x, y);

            // Manually draw the title table before clipping is done.
            titleTable.color.A = color.A;
            float padTop = GetPadTop(), padLeft = GetPadLeft();

            titleTable.SetSize(GetWidth() - padLeft - GetPadRight(), padTop);
            titleTable.SetPosition(padLeft, 0);
        }