public TutHelpMenu(FirstRunTutorial tut, Main main) : base(tut, main) { m_overlay.SnapShotCaptured += (s, a) => { PaintHighlight(a.Gfx, a.ClientRectangle, m_main.m_menu_help.ParentFormRectangle()); }; }
public TutFileScroll(FirstRunTutorial tut, Main main) : base(tut, main) { m_overlay.SnapShotCaptured += (s, a) => { PaintHighlight(a.Gfx, a.ClientRectangle, m_main.m_scroll_file.ParentFormRectangle()); }; }
public TutEnableActions(FirstRunTutorial tut, Main main) : base(tut, main) { m_overlay.SnapShotCaptured += (s, a) => { PaintHighlight(a.Gfx, a.ClientRectangle, m_main.m_btn_actions.ParentFormRectangle()); }; }
public TutPatternsList(FirstRunTutorial tut, Main main, SettingsUI ui) : base(tut, main) { m_ui = ui; m_overlay.SnapShotCaptured += (s, a) => { PaintHighlight(a.Gfx, a.ClientRectangle, m_ui.m_grid_highlight.ParentFormRectangle()); }; }
public TutPatternSets(FirstRunTutorial tut, Main main) : base(tut, main) { m_overlay.SnapShotCaptured += (s, a) => { using (a.Gfx.SaveState()) { m_main.m_menu_file.ShowDropDown(); m_main.m_menu_file_pattern_set.ShowDropDown(); var pt1 = m_main.PointToClient(m_main.m_menu_file.DropDown.Bounds.Location); var pt2 = m_main.PointToClient(m_main.m_menu_file_pattern_set.DropDown.Bounds.Location); m_main.m_menu_file.HideDropDown(); m_main.m_menu_file_pattern_set.HideDropDown(); // Fill the overlay with light blue, then redraw the file menu and drop downs PaintHighlight(a.Gfx, a.ClientRectangle, m_main.m_menu_file.ParentFormRectangle()); a.Gfx.DrawImageUnscaled(m_main.m_menu_file.DropDown.ToBitmap(), pt1); a.Gfx.DrawImageUnscaled(m_main.m_menu_file_pattern_set.DropDown.ToBitmap(), pt2); } }; }
public PageBase(FirstRunTutorial tut, Main main) { m_tut = tut; m_main = main; m_overlay = new Overlay(); }