Lines Matching refs:graw
20 } graw; variable
32 winsys = xlib_create_sw_winsys( graw.display ); in graw_create_screen()
62 graw.display = XOpenDisplay(NULL); in graw_create_window_and_screen()
63 if (graw.display == NULL) in graw_create_window_and_screen()
66 scrnum = DefaultScreen( graw.display ); in graw_create_window_and_screen()
67 root = RootWindow( graw.display, scrnum ); in graw_create_window_and_screen()
70 if (graw.display == NULL) in graw_create_window_and_screen()
79 templat.screen = DefaultScreen(graw.display); in graw_create_window_and_screen()
83 visinfo = XGetVisualInfo(graw.display, mask, &templat, &n); in graw_create_window_and_screen()
109 attr.colormap = XCreateColormap( graw.display, root, visinfo->visual, AllocNone); in graw_create_window_and_screen()
114 win = XCreateWindow( graw.display, root, x, y, width, height, in graw_create_window_and_screen()
128 XSetNormalHints(graw.display, win, &sizehints); in graw_create_window_and_screen()
129 XSetStandardProperties(graw.display, win, name, name, in graw_create_window_and_screen()
133 XMapWindow(graw.display, win); in graw_create_window_and_screen()
136 XNextEvent( graw.display, &e ); in graw_create_window_and_screen()
163 XDestroyWindow(graw.display, win); in graw_create_window_and_screen()
172 graw.draw = draw; in graw_set_display_func()
180 graw.draw(); in graw_main_loop()