CS476/576- Systems Programming Design X Windows Xlib EXAMPLES I have developed the following series of simple examples that teaches you how to use the X Windows Xlib functions: xpoints : to draw dots in a window by clicking the left button. xxpoints : same as above but for more than one display. xlines : to draw line segments in a window by clicking the left button, then move and click again. xxlines : same as above but for more than one display and input from one. xylines: same as xxlines, but allows input from multiple users. xlines_shift.c : to draw line segments in a window by clicking the left button, then move and click again while the shift key is pressed. xrubber : to draw line segments as above but shows the line as a rubber band before the second click. xrubber2.c: to draw line segments as above but shows the line as a rubber band before the second click using XOR operator. xtext: shows how to write and delete text in a window. xbuttons, xbuttons2: shows how to build push buttons and execute functions associated with the buttons. xxchalk.c: to chow how to draw with a chalk in a white board. xxpointer.c: to chow how to use a pointer in a white board.