protected override void AddActionButtons()
        {
            base.AddActionButtons();

            Rectangle sourceRect = new Rectangle(0, ActionButtonIconOffsetY + (1 * ActionButtonIconSize.Y), ActionButtonIconSize.X, ActionButtonIconSize.Y);

            ToggleGridButton = this.CreateActionButton(which: nameof(ToggleGridButton), sourceRect: sourceRect);
            SidebarActionButtons.Add(ToggleGridButton);

            sourceRect.X += sourceRect.Width;
            ToggleTileHighlightButton = this.CreateActionButton(which: nameof(ToggleTileHighlightButton), sourceRect: sourceRect);
            SidebarActionButtons.Add(ToggleTileHighlightButton);
        }
Example #2
0
        protected override void AddActionButtons()
        {
            base.AddActionButtons();

            Rectangle sourceRect = new Rectangle(0, ActionButtonIconOffsetY, ActionButtonIconSize.X, ActionButtonIconSize.Y);

            GoToButton = this.CreateActionButton(which: nameof(GoToButton), sourceRect: sourceRect);
            SidebarActionButtons.Add(GoToButton);

            sourceRect.X      += sourceRect.Width;
            OpenScheduleButton = this.CreateActionButton(which: nameof(OpenScheduleButton), sourceRect: sourceRect);
            SidebarActionButtons.Add(OpenScheduleButton);
        }