require "ecore"
require "ecore_x"
+require "evas"
require "ecore_evas"
require "edje"
require "esmart"
require "euphoria/volume_box"
require "euphoria/playtime_updater"
require "euphoria/playback_status_handler"
-require "euphoria/file_dialog"
+#require "euphoria/file_dialog"
Config = Struct.new("Config", :ipc_path, :theme, :time_display_elapsed)
end
=end
- handle_current_pos(@xmms.playlist_current_pos.wait)
+ handle_current_pos(@xmms.playlist.current_pos.wait)
end
def show
@ee = Ecore::Evas::SoftwareX11.new
@ee.title = "Euphoria"
@ee.name_class = ["Euphoria", "Euphoria"]
+ @ee.has_alpha = true
@ee.borderless = true
#@ee.evas.font_path_append("/usr/X11R6/lib/X11/fonts/TTF")
#@ee.evas.font_path_append(ENV["HOME"] + "/.fonts")
+ @ee.evas.font_hinting = Evas::Evas::AUTO
@ee.on_pre_render { Edje::thaw }
@ee.on_post_render { Edje::freeze }
@ee.resize(w, h)
- @ee.shaped = !@edje.data("shaped").nil?
-
ui_refresh_seeker(0)
end