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
225 |
# File 'lib/gloudapp.rb', line 225 def self.error; Gdk::Pixbuf.new(error_path) end |
.error_path ⇒ Object
221 |
# File 'lib/gloudapp.rb', line 221 def self.error_path; self.icon 'gloudapp_error' end |
.finish ⇒ Object
223 |
# File 'lib/gloudapp.rb', line 223 def self.finish; Gdk::Pixbuf.new(finish_path) end |
.finish_path ⇒ Object
219 |
# File 'lib/gloudapp.rb', line 219 def self.finish_path; self.icon 'gloudapp_finish' end |
.icon(icon) ⇒ Object
217 |
# File 'lib/gloudapp.rb', line 217 def self.icon(icon) File.join(File.dirname(__FILE__), 'gloudapp', 'icons', icon + '.png') end |
.normal ⇒ Object
222 |
# File 'lib/gloudapp.rb', line 222 def self.normal; Gdk::Pixbuf.new(normal_path) end |
.normal_path ⇒ Object
218 |
# File 'lib/gloudapp.rb', line 218 def self.normal_path; self.icon 'gloudapp' end |
.working ⇒ Object
224 |
# File 'lib/gloudapp.rb', line 224 def self.working; Gdk::Pixbuf.new(working_path) end |
.working_path ⇒ Object
220 |
# File 'lib/gloudapp.rb', line 220 def self.working_path; self.icon 'gloudapp_working' end |