class Basher::UI::BaseView

Attributes

should_redraw[RW]

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/basher/ui/base_view.rb, line 7
def initialize
  self.should_redraw = false
  super
end

Public Instance Methods

clear(also_thread = true) click to toggle source
# File lib/basher/ui/base_view.rb, line 22
def clear(also_thread = true)
  clear_thread! if also_thread
  window.clear
end
resize_and_reposition() click to toggle source
# File lib/basher/ui/base_view.rb, line 16
def resize_and_reposition
  reposition
  resize
  self.should_redraw = false
end
will_resize!() click to toggle source
# File lib/basher/ui/base_view.rb, line 12
def will_resize!
  self.should_redraw = true
end