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