ó o©¿Uc@sdefd„ƒYZdS(t WindowAreacBs8eZdZdddddd„Zd„Zd„ZRS(s2Small class to describe an curses window area cCs1||_||_||_||_||_dS(s lines -> height columns -> width y_loc -> START y location x_loc -> START x location scrollable_lines -> Size of the scrollable area of this WindowArea. This attribute is only relevant for ScrollWindows N(tlinestcolumnsty_loctx_loctscrollable_lines(tselfRRRRR((swindow_area.pyt__init__s    cCs6|jƒ}|j|d7_|j|d7_dS(sîTranslate coordinates from window relative to absolute This function will translate coordinates from being relative to the passed in curses.window, to being absolute coordinates (based against the entire terminal)iiN(tgetbegyxRR(Rtwindowt start_coords((swindow_area.pytrelative_to_absolute/s cCs6|jƒ}|j|d8_|j|d8_dS(sÁTranslate coordinates from absolute to window relative This function translates absolute coordinates (based on entire terminal) to coordinates relative to the passed in window.iiN(RRR(RR R ((swindow_area.pytabsolute_to_relative:s N(t__name__t __module__t__doc__tNoneRR R (((swindow_area.pyRs   N(tobjectR(((swindow_area.pyts