Class: Window
- Inherits:
-
Object
- Object
- Window
- Defined in:
- lib/window.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#arrows_visible ⇒ Object
Returns the value of attribute arrows_visible.
-
#back_opacity ⇒ Object
Returns the value of attribute back_opacity.
-
#contents ⇒ Object
Returns the value of attribute contents.
-
#contents_opacity ⇒ Object
Returns the value of attribute contents_opacity.
-
#cursor_rect ⇒ Object
Returns the value of attribute cursor_rect.
-
#height ⇒ Object
Returns the value of attribute height.
-
#opacity ⇒ Object
Returns the value of attribute opacity.
-
#openness ⇒ Object
Returns the value of attribute openness.
-
#ox ⇒ Object
Returns the value of attribute ox.
-
#oy ⇒ Object
Returns the value of attribute oy.
-
#padding ⇒ Object
Returns the value of attribute padding.
-
#padding_bottom ⇒ Object
Returns the value of attribute padding_bottom.
-
#pause ⇒ Object
Returns the value of attribute pause.
-
#tone ⇒ Object
Returns the value of attribute tone.
-
#viewport ⇒ Object
Returns the value of attribute viewport.
-
#visible ⇒ Object
Returns the value of attribute visible.
-
#width ⇒ Object
Returns the value of attribute width.
-
#windowskin ⇒ Object
Returns the value of attribute windowskin.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
-
#z ⇒ Object
Returns the value of attribute z.
Instance Method Summary collapse
- #close? ⇒ Boolean
- #dispose ⇒ Object
- #disposed? ⇒ Boolean
-
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ Window
constructor
A new instance of Window.
- #move(x, y, width, height) ⇒ Object
- #open? ⇒ Boolean
- #update ⇒ Object
Constructor Details
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ Window
Returns a new instance of Window.
3 4 5 |
# File 'lib/window.rb', line 3 def initialize(x = nil, y = nil, width = nil, height = nil) fail NotImplementedError end |
Instance Attribute Details
#active ⇒ Object
Returns the value of attribute active.
39 40 41 |
# File 'lib/window.rb', line 39 def active @active end |
#arrows_visible ⇒ Object
Returns the value of attribute arrows_visible.
43 44 45 |
# File 'lib/window.rb', line 43 def arrows_visible @arrows_visible end |
#back_opacity ⇒ Object
Returns the value of attribute back_opacity.
67 68 69 |
# File 'lib/window.rb', line 67 def back_opacity @back_opacity end |
#contents ⇒ Object
Returns the value of attribute contents.
33 34 35 |
# File 'lib/window.rb', line 33 def contents @contents end |
#contents_opacity ⇒ Object
Returns the value of attribute contents_opacity.
69 70 71 |
# File 'lib/window.rb', line 69 def contents_opacity @contents_opacity end |
#cursor_rect ⇒ Object
Returns the value of attribute cursor_rect.
35 36 37 |
# File 'lib/window.rb', line 35 def cursor_rect @cursor_rect end |
#height ⇒ Object
Returns the value of attribute height.
53 54 55 |
# File 'lib/window.rb', line 53 def height @height end |
#opacity ⇒ Object
Returns the value of attribute opacity.
65 66 67 |
# File 'lib/window.rb', line 65 def opacity @opacity end |
#openness ⇒ Object
Returns the value of attribute openness.
71 72 73 |
# File 'lib/window.rb', line 71 def openness @openness end |
#ox ⇒ Object
Returns the value of attribute ox.
57 58 59 |
# File 'lib/window.rb', line 57 def ox @ox end |
#oy ⇒ Object
Returns the value of attribute oy.
59 60 61 |
# File 'lib/window.rb', line 59 def oy @oy end |
#padding ⇒ Object
Returns the value of attribute padding.
61 62 63 |
# File 'lib/window.rb', line 61 def padding @padding end |
#padding_bottom ⇒ Object
Returns the value of attribute padding_bottom.
63 64 65 |
# File 'lib/window.rb', line 63 def padding_bottom @padding_bottom end |
#pause ⇒ Object
Returns the value of attribute pause.
45 46 47 |
# File 'lib/window.rb', line 45 def pause @pause end |
#tone ⇒ Object
Returns the value of attribute tone.
73 74 75 |
# File 'lib/window.rb', line 73 def tone @tone end |
#viewport ⇒ Object
Returns the value of attribute viewport.
37 38 39 |
# File 'lib/window.rb', line 37 def @viewport end |
#visible ⇒ Object
Returns the value of attribute visible.
41 42 43 |
# File 'lib/window.rb', line 41 def visible @visible end |
#width ⇒ Object
Returns the value of attribute width.
51 52 53 |
# File 'lib/window.rb', line 51 def width @width end |
#windowskin ⇒ Object
Returns the value of attribute windowskin.
31 32 33 |
# File 'lib/window.rb', line 31 def windowskin @windowskin end |
#x ⇒ Object
Returns the value of attribute x.
47 48 49 |
# File 'lib/window.rb', line 47 def x @x end |
#y ⇒ Object
Returns the value of attribute y.
49 50 51 |
# File 'lib/window.rb', line 49 def y @y end |
#z ⇒ Object
Returns the value of attribute z.
55 56 57 |
# File 'lib/window.rb', line 55 def z @z end |
Instance Method Details
#close? ⇒ Boolean
27 28 29 |
# File 'lib/window.rb', line 27 def close? fail NotImplementedError end |
#dispose ⇒ Object
7 8 9 |
# File 'lib/window.rb', line 7 def dispose fail NotImplementedError end |
#disposed? ⇒ Boolean
11 12 13 |
# File 'lib/window.rb', line 11 def disposed? fail NotImplementedError end |
#move(x, y, width, height) ⇒ Object
19 20 21 |
# File 'lib/window.rb', line 19 def move(x, y, width, height) fail NotImplementedError end |
#open? ⇒ Boolean
23 24 25 |
# File 'lib/window.rb', line 23 def open? fail NotImplementedError end |
#update ⇒ Object
15 16 17 |
# File 'lib/window.rb', line 15 def update fail NotImplementedError end |