module BBS::Application::Screen
How an Application draws: the bars and the root laid out, everything drawn into a fresh BBS::FrameBuffer, and only the difference to the screen the caller has sent.
Public Instance Methods
Source
# File lib/bbs/application/screen.rb, line 11 def desktop_rect top = bar_rows(@menubar) [1, 1 + top, cols, [rows - top - bar_rows(@statusbar), MIN_DESKTOP_ROWS].max] end
The screen between the menubar and the statusbar, as [x, y, w, h]: where a maximized window goes.