bscreenrect.c - sam - An updated version of the sam text editor.
 (HTM) git clone git://vernunftzentrum.de/sam.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
       bscreenrect.c (372B)
       ---
            1 /* Copyright (c) 1998 Lucent Technologies - All rights reserved. */
            2 #include <u.h>
            3 #include <libg.h>
            4 #include "libgint.h"
            5 
            6 /*
            7  * The screen data structure should always be up to date
            8  * (Not true in the Plan 9 library, which is why this
            9  * function exists).
           10  */
           11 Rectangle
           12 bscreenrect(Rectangle *clipr)
           13 {
           14     if(clipr)
           15         *clipr = screen.clipr;
           16     return screen.r;
           17 }