Class: Ruvi::Box

Inherits:
Widget show all
Defined in:
lib/widgets.rb

Direct Known Subclasses

HBox, VBox

Instance Attribute Summary

Attributes inherited from Widget

#buffer, #cursor, #parent

Instance Method Summary collapse

Methods inherited from Widget

#watch_buffer

Constructor Details

#initialize(app, parent) ⇒ Box

Returns a new instance of Box.



121
122
123
124
# File 'lib/widgets.rb', line 121

def initialize app, parent
    @app, @parent = app, parent
    @buffer = nil # TODO - lets remove this from widget, its silllyyyy
end

Instance Method Details

#heightObject



126
# File 'lib/widgets.rb', line 126

def height; nil; end

#widthObject



125
# File 'lib/widgets.rb', line 125

def width;  nil; end