I need this done within 24 hours! Create a Win32 *console* application in C++ that will spawn a new window created with the CMUGraphics library. Code must be commented. The program should be similar to a simple version of Windows Paint. The program must use the CMUGraphics library. An example of the GUI I want is attached below. You can download it at [url removed, login to view]~cmgfxpkg/download/VC6_Win32_CMUgraphics15_binary_console.zip. Documentation is at [url removed, login to view]~cm-gfxpkg/version15/. The library will give you 2 or 3 warnings when compiling. This is normal; just ignore them. There should be a toolbar in the upper left corner of the graphics window. In the toolbar there should be a rectangle and a circle. They should both be selectable. The shape that was clicked on last is the shape that is currently selected. The rect. should be selected by default. To draw a circle, the user would click once on the white area. Where they click would be the center of the circle. The 2nd click would be a point on the circle. Use these two points to determine the distance from the center of the circle to the circle (the radius). Then draw the circle with that center and radius. To draw a rectangle, the user would click once. That would be one corner of the rectangle. The second click would be the opposite corner of the rectangle. Then draw the rectangle with those two points. There are 3 color choices for the fill color. They are green, yellow, and orange. The default color is green. There should be 3 other rectangles by the toolbar. Make one green, one yellow, and one orange. At any time the user could change the fill color by clicking on a particular color rectangle. The next shape will be drawn with that fill color. Whichever color the user clicked on last is the current fill color. Also, at any time, the user could press the following keys to have the following things happen: --They could press ‘E’ or F3 to erase/clear the screen. The toolbar should not disappear; only the drawing area of the screen should appear. --They could press ‘S’ to complete shut down the program. Functions are not required, but would probably speed up development. IMPORTANT: I need this completed by Wednesday, May 15 at 5 PM Eastern Time!!!
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Code fully commented. Complete copyrights to all work purchased.
Microsoft Windows 98/2000
## Deadline information
Must be done no later than Wednesday, May 15 at 5 AM Eastern Time.