CS488 - Assignment 0
This assignment was minorly extending a paint GUI, while getting used to the Gtkmm toolkit, and setting up the account for future assignments. I extended this by including a whole slew of fun colours. :)
The assignment was fairly straightforward. I'd actually already tried it on my own some terms back when it was in python. I got stuck on figuring out how to select a default check item, but finally figured it out.
The Applications menu contains 'Clear' (to clear the screen) and 'Quit'. To familiarize ourselves with accelerator keys, all functions have hotkeys ('C', and 'Q' respectively for the functions in the appliations menu). We were restricted to drawing lines, ovals, and rectangles in the application. Which one we're currently drawing with depends on the check items of the Tools menu, which lists these 3 options. Similarly, the Colour menu sets the current colour to be using. The help menu, right justified, demonstrated how to bring up small dialogs. There's a help dialog for the 3 different drawing tools. At the bottom of the screen, there's a button, so that people who are unfamiliar with GUI's (of which most co-ops are not) can better understand widgets. Drawing occurs through mouse button events.