top of page
Draw Gui

 

Implement a GUI in which the user can click in the axes to draw the line and use some controls to alter the kind of line drawn. Include the following controls:
  • A group of 3 buttons that the user can select from to set the line style (solid, dotted or dashed).
  • A slider so the user can choose a line thickness (from 0 to 10 inincrements of 0.5
  • A popup menu so the user can select a color (black, red, green, blue).
  • A pushbutton that erases the current axes so the user can start over.
 
Note that all line selections should only affect new lines drawn after the selection is changed.
bottom of page