Sha256: e6aa280cd37e60a7bec2405cb7b00983b89cc2abf31ef56279a1483c4f301753

Contents?: true

Size: 714 Bytes

Versions: 6

Compression:

Stored size: 714 Bytes

Contents

module SensibleSwing
  
  class MainWindow < JFrame

    SideBySide = 'side_by_side' # 'xbmc' or 'smplayer'
    
    def select_new_sxs_style
      answer = show_select_buttons_prompt 'Select EDL file style creation for this program', :yes => 'Smplayer style', :no => 'XBMC style'
      if answer == :yes
        LocalStorage[SideBySide] = 'smplayer'
      elsif answer == :no
        LocalStorage[SideBySide] = 'xbmc'
      else
        show_blocking_message_dialog 'please choose one--smplayer if you don\'t know'
        select_new_sxs_style
      end
        
    end

#      new_jbutton("Select side by side EDL file style (smplayer vs. XBMC)") do
#        select_new_sxs_style # TODO
#      end


  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sensible-cinema-0.28.1 lib/gui/sensible-cinema-side-by-side.rb
sensible-cinema-0.28.0 lib/gui/sensible-cinema-side-by-side.rb
sensible-cinema-0.27.0 lib/gui/sensible-cinema-side-by-side.rb
sensible-cinema-0.26.3 lib/gui/sensible-cinema-side-by-side.rb
sensible-cinema-0.26.2 lib/gui/sensible-cinema-side-by-side.rb
sensible-cinema-0.26.1 lib/gui/sensible-cinema-side-by-side.rb