Class: Cliptic::Interface::Bottom_Bar

Inherits:
Windows::Bar show all
Defined in:
lib/cliptic/interface.rb

Direct Known Subclasses

Main::Windows::Bottom_Bar

Constant Summary

Constants included from Chars

Chars::Block, Chars::HL, Chars::LL, Chars::LS, Chars::LU, Chars::MS, Chars::Nums, Chars::RL, Chars::RS, Chars::RU, Chars::TD, Chars::TL, Chars::TR, Chars::TU, Chars::Tick, Chars::VL, Chars::XX

Instance Attribute Summary

Attributes inherited from Windows::Bar

#bg_col

Attributes inherited from Windows::Window

#centered_x, #centered_y, #col, #line, #x, #y

Instance Method Summary collapse

Methods inherited from Windows::Bar

#add_str, #time_str

Methods inherited from Windows::Window

#add_str, #bold, #clear, #color, #move, #refresh, #reset_attrs, #setpos, #standend, #standout, #time_str, #wrap_str

Methods included from Chars

small_num

Constructor Details

#initializeBottom_Bar

Returns a new instance of Bottom_Bar.



22
23
24
# File 'lib/cliptic/interface.rb', line 22

def initialize
  super(line:Curses.lines-1)
end

Instance Method Details

#drawObject



25
26
27
28
# File 'lib/cliptic/interface.rb', line 25

def draw
  super
  noutrefresh
end

#reset_posObject



29
30
31
# File 'lib/cliptic/interface.rb', line 29

def reset_pos
  move(line:Curses.lines-1, col:0)
end