public static Rectangle GetSpecialNoteArea(ScoreEditorConfig config, Rectangle clientSize) { var area = RectangleHelper.Build((clientSize.Width - config.BarAreaWidth) / 2 + (config.InfoAreaWidth + config.GridNumberAreaWidth + config.GridAreaWidth), 0, config.SpecialNotesAreaWidth, clientSize.Height); return(area); }
public static Rectangle GetBarArea(ScoreEditorConfig config, Rectangle clientSize) { var area = RectangleHelper.Build((clientSize.Width - config.BarAreaWidth) / 2, 0, config.BarAreaWidth, clientSize.Height); return(area); }