Class: Cliptic::Interface::Bottom_Bar
- Inherits:
-
Windows::Bar
- Object
- Curses::Window
- Windows::Window
- Windows::Bar
- Cliptic::Interface::Bottom_Bar
- Defined in:
- lib/cliptic/interface.rb
Direct Known Subclasses
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
Attributes inherited from Windows::Window
#centered_x, #centered_y, #col, #line, #x, #y
Instance Method Summary collapse
- #draw ⇒ Object
-
#initialize ⇒ Bottom_Bar
constructor
A new instance of Bottom_Bar.
- #reset_pos ⇒ Object
Methods inherited from Windows::Bar
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
Constructor Details
#initialize ⇒ Bottom_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
#draw ⇒ Object
25 26 27 28 |
# File 'lib/cliptic/interface.rb', line 25 def draw super noutrefresh end |
#reset_pos ⇒ Object
29 30 31 |
# File 'lib/cliptic/interface.rb', line 29 def reset_pos move(line:Curses.lines-1, col:0) end |