Class: GloudApp::Icon
- Inherits:
-
Object
- Object
- GloudApp::Icon
- Defined in:
- lib/gloudapp.rb
Class Method Summary collapse
- .error ⇒ Object
- .error_path ⇒ Object
- .finish ⇒ Object
- .finish_path ⇒ Object
- .icon(icon) ⇒ Object
- .normal ⇒ Object
- .normal_path ⇒ Object
- .working ⇒ Object
- .working_path ⇒ Object
Class Method Details
.error ⇒ Object
247 |
# File 'lib/gloudapp.rb', line 247 def self.error; Gdk::Pixbuf.new(error_path) end |
.error_path ⇒ Object
243 |
# File 'lib/gloudapp.rb', line 243 def self.error_path; self.icon('gloudapp_error') end |
.finish ⇒ Object
245 |
# File 'lib/gloudapp.rb', line 245 def self.finish; Gdk::Pixbuf.new(finish_path) end |
.finish_path ⇒ Object
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 |
.normal ⇒ Object
244 |
# File 'lib/gloudapp.rb', line 244 def self.normal; Gdk::Pixbuf.new(normal_path) end |
.normal_path ⇒ Object
240 |
# File 'lib/gloudapp.rb', line 240 def self.normal_path; self.icon('gloudapp') end |
.working ⇒ Object
246 |
# File 'lib/gloudapp.rb', line 246 def self.working; Gdk::Pixbuf.new(working_path) end |
.working_path ⇒ Object
242 |
# File 'lib/gloudapp.rb', line 242 def self.working_path; self.icon('gloudapp_working') end |