CS476/576

Assignment #2

Due Midnight, Tuesday   Oct 9, 2001


Write an X lib program with the following descriptions:

NAME

SimpleDraw - A simple drawing program
SYNOPSIS
SimpleDraw
DESCRIPTION

        The program display the following GUI:


 

The interface has a draw window and   four buttons:
  1. draw lines  button:  allows the user to draw lines in the draw window using the  rubber band technique.
  2. draw rectangles  button: allows the user to draw rectangles in the draw window using the  rubber band technique.
  3. clear  button: to clear the content the  draw window.
  4. quit  button:  The quit button  will display another interface to confirm or cancel the quit action.
 

Back to Assignments Page
Back to CS476/576 Home Page