lib/blanker.rb in sensible-cinema-0.7.0 vs lib/blanker.rb in sensible-cinema-0.7.1
- old
+ new
@@ -6,12 +6,12 @@
require 'java'
JFrame = javax.swing.JFrame
JPanel = javax.swing.JPanel
def self.blank_full_screen!
- # a new screen each time as other jruby doesn't terminate as gracefully as we would like...
- frame = JFrame.new("Edited!") # ltodo take out...
+ # a new screen each time as other jruby doesn't terminate as gracefully as we would like...
+ frame = JFrame.new("blanked section") # ltodo pass in param
frame.default_close_operation = JFrame::EXIT_ON_CLOSE
frame.set_location(0,0)
frame.set_size(2000, 2000) # ltodo better coords...
frame.show
# lodo on top?
@@ -32,10 +32,10 @@
# gd.set_full_screen_window(fr)
@fr = fr
@fr.set_visible(true)
end
else
-
+ # MRI fake blanker :)
def self.blank_full_screen!
puts 'the screen is now...blank!'
end
end
\ No newline at end of file