<commit_before>// Copyright 2014-2015, University of Colorado Boulder

/**
 * Clock control panel that shows "Normal Speed" and "Fast Forward" as radio buttons with a play/pause and step button.
 *
 * @author <NAME>
 * @author <NAME>
 * @author <NAME>
 */
define( function( require ) {
  'use strict';
  var inherit = require( 'PHET_CORE/inherit' );
  var PhetFont = require( 'SCENERY_PHET/PhetFont' );
  var PlayPauseButton = require( 'SCENERY_PHET/buttons/PlayPauseButton' );
  var StepButton = require( 'SCENERY_PHET/buttons/StepButton' );
  var RadioButtonGroup = require( 'SUN/buttons/RadioButtonGroup' );
  var Text = require( 'SCENERY/nodes/Text' );
  var LayoutBox = require( 'SCENERY/nodes/LayoutBox' );

  // strings
  var normalString = require( 'string!ENERGY_FORMS_AND_CHANGES/normal' );
  var fastForwardString = require( 'string!ENERGY_FORMS_AND_CHANGES/fastForward' );

  // static data
  var RADIO_BUTTON_FONT = new PhetFont( 16 );

  /**
   * Constructor for the NormalAndFastForwardTimeControlPanel.
   *
   * @param {EnergyFormsAndChangesIntroModel} model
   * @constructor
   */
  function NormalAndFastForwardTimeControlPanel( model ) {

    // Add play/pause button.
    var playPauseButton = new PlayPauseButton( model.playProperty, { radius: 20 } );

    // Add the step button to manually step animation.
    var stepButton = new StepButton( function() { model.manualStep(); }, model.playProperty,
      {
        radius: 15,
        centerX: playPauseButton.centerX
      } );

    // Group the play and pause buttons into their own panel for correct layout in the LayoutBox.
    var playPauseButtonGroup = new LayoutBox( {<commit_msg>StepButton base type, StepForwardButton and StepBackButton subtypes, https://github.com/phetsims/scenery-phet/issues/235<commit_after>// Copyright 2014-2015, University of Colorado Boulder

/**
 * Clock control panel that shows "Normal Speed" and "Fast Forward" as radio buttons with a play/pause and step button.
 *
 * @author <NAME>
 * @author <NAME>
 * @author <NAME>
 */
define( function( require ) {
  'use strict';
  var inherit = require( 'PHET_CORE/inherit' );
  var PhetFont = require( 'SCENERY_PHET/PhetFont' );
  var PlayPauseButton = require( 'SCENERY_PHET/buttons/PlayPauseButton' );
  var StepForwardButton = require( 'SCENERY_PHET/buttons/StepForwardButton' );
  var RadioButtonGroup = require( 'SUN/buttons/RadioButtonGroup' );
  var Text = require( 'SCENERY/nodes/Text' );
  var LayoutBox = require( 'SCENERY/nodes/LayoutBox' );

  // strings
  var normalString = require( 'string!ENERGY_FORMS_AND_CHANGES/normal' );
  var fastForwardString = require( 'string!ENERGY_FORMS_AND_CHANGES/fastForward' );

  // static data
  var RADIO_BUTTON_FONT = new PhetFont( 16 );

  /**
   * Constructor for the NormalAndFastForwardTimeControlPanel.
   *
   * @param {EnergyFormsAndChangesIntroModel} model
   * @constructor
   */
  function NormalAndFastForwardTimeControlPanel( model ) {

    // Add play/pause button.
    var playPauseButton = new PlayPauseButton( model.playProperty, { radius: 20 } );

    // Add the step button to manually step animation.
    var stepButton = new StepForwardButton( function() { model.manualStep(); }, model.playProperty,
      {
        radius: 15,
        centerX: playPauseButton.centerX
      } );

    // Group the play and pause buttons into their own panel for correct layout in the LayoutBox.
    var playPauseButtonGroup = new LayoutBox( {
{'fraction_non_alphanumeric': 0.10573580533024333, 'fraction_numerical': 0.008980301274623407, 'mean_word_length': 3.8771186440677967, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3517109', 'n_tokens_mistral': 1107, 'n_tokens_neox': 1044, 'n_words': 289}