Write an X lib program with the following descriptions:CS476/576
Assignment #2
Due Midnight, Tuesday Oct 9, 2001
NAME
SimpleDraw - A simple drawing programSYNOPSIS
SimpleDrawDESCRIPTION
The program display the following GUI:
The interface has a draw window and four buttons:
- draw lines button: allows the user to draw lines in the draw window using the rubber band technique.
- draw rectangles button: allows the user to draw rectangles in the draw window using the rubber band technique.
- clear button: to clear the content the draw window.
- quit button: The quit button will display another interface to confirm or cancel the quit action.