Class: GloudApp::Icon

Inherits:
Object
  • Object
show all
Defined in:
lib/gloudapp.rb

Class Method Summary collapse

Class Method Details

.errorObject



247
# File 'lib/gloudapp.rb', line 247

def self.error;   Gdk::Pixbuf.new(error_path) end

.error_pathObject



243
# File 'lib/gloudapp.rb', line 243

def self.error_path;   self.icon('gloudapp_error') end

.finishObject



245
# File 'lib/gloudapp.rb', line 245

def self.finish;  Gdk::Pixbuf.new(finish_path) end

.finish_pathObject



241
# File 'lib/gloudapp.rb', line 241

def self.finish_path;  self.icon('gloudapp_finish') end

.icon(icon) ⇒ Object



239
# File 'lib/gloudapp.rb', line 239

def self.icon(icon) File.join(File.dirname(__FILE__), 'gloudapp', 'icons', icon + '.png') end

.normalObject



244
# File 'lib/gloudapp.rb', line 244

def self.normal;  Gdk::Pixbuf.new(normal_path) end

.normal_pathObject



240
# File 'lib/gloudapp.rb', line 240

def self.normal_path;  self.icon('gloudapp') end

.workingObject



246
# File 'lib/gloudapp.rb', line 246

def self.working; Gdk::Pixbuf.new(working_path) end

.working_pathObject



242
# File 'lib/gloudapp.rb', line 242

def self.working_path; self.icon('gloudapp_working') end