source-code/screens/title_screen.rb
def title_screen
    # Title screen header
    TitleScreenHeader.new(self, @@theme_colour, 'images/watts_logo_white.png')

    # Title screen content
    flow(:height => 640, :width => 1080, :scroll => true) do
      background(ghostwhite)
      @image_names = ['constants', 'kinematics', 'circular_motion',
        'mass_weight', 'density', 'forces', 'momentum_impulse',
        'energy_work_power', 'stress_strain', 'pressure',
        'thermodynamics', 'waves', 'oscillations', 'electricity',
        'quantum', 'gravitational_fields', 'electric_fields',
        'magnetic_fields', 'geometry', 'conversions']
      @image_names.each do |image_name|
        TitleScreenImage.new(self, image_name)
      end
    end
  end
# Draws the title screen on the Shoes app window.
Draws the title screen on the Shoes app window.
Draws the title screen on the Shoes app window .
def title_screen
    TitleScreenHeader.new(self, @@theme_colour, 'images/watts_logo_white.png')
    flow(:height => 640, :width => 1080, :scroll => true) do
      background(ghostwhite)
      @image_names = ['constants', 'kinematics', 'circular_motion',
        'mass_weight', 'density', 'forces', 'momentum_impulse',
        'energy_work_power', 'stress_strain', 'pressure',
        'thermodynamics', 'waves', 'oscillations', 'electricity',
        'quantum', 'gravitational_fields', 'electric_fields',
        'magnetic_fields', 'geometry', 'conversions']
      @image_names.each do |image_name|
        TitleScreenImage.new(self, image_name)
      end
    end
  end
def title_screen TitleScreenHeader . new ( self , @@theme_colour , 'images/watts_logo_white.png' ) flow ( :height => 640 , :width => 1080 , :scroll => true ) do background ( ghostwhite ) @image_names = [ 'constants' , 'kinematics' , 'circular_motion' , 'mass_weight' , 'density' , 'forces' , 'momentum_impulse' , 'energy_work_power' , 'stress_strain' , 'pressure' , 'thermodynamics' , 'waves' , 'oscillations' , 'electricity' , 'quantum' , 'gravitational_fields' , 'electric_fields' , 'magnetic_fields' , 'geometry' , 'conversions' ] @image_names . each do | image_name | TitleScreenImage . new ( self , image_name ) end end end
Draws the title screen on the Shoes app window.
Draws the title screen on the Shoes app window .
# Title screen header # Title screen content