Exemple #1
0
        void DrawScrollbar(IDrawer2D drawer)
        {
            PackedCol col = game.ClassicBackground ? new PackedCol(80, 80, 80) : LauncherSkin.ButtonBorderCol;

            drawer.Clear(col, game.Width - 10, table.Y, 10, table.Height);
            col = game.ClassicBackground ? new PackedCol(160, 160, 160) : LauncherSkin.ButtonForeActiveCol;
            int yOffset, height;

            table.GetScrollbarCoords(out yOffset, out height);
            drawer.Clear(col, game.Width - 10, table.Y + yOffset, 10, height);
        }
Exemple #2
0
        void DrawScrollbar(IDrawer2D drawer)
        {
            FastColour col = window.ClassicBackground ? new FastColour(80, 80, 80) : LauncherSkin.ButtonBorderCol;

            drawer.Clear(col, window.Width - 10, table.Y, 10, table.Height);
            col = window.ClassicBackground ? new FastColour(160, 160, 160) : LauncherSkin.ButtonForeActiveCol;
            int yOffset, height;

            table.GetScrollbarCoords(out yOffset, out height);
            drawer.Clear(col, window.Width - 10, table.Y + yOffset, 10, height);
        }