Given the number of graphic objects that will appear on the canvas the mouse listener interface would need to be very scalable indeed if there were several hundred listeners in one app! As it is I implement my own mechanisms to see if mouse gestures impact any of the widgets. Not sure what OOP purists would say but after the work put in, it stays my way for now. Drag and drop might be interesting though when I come to implement that.
Time for the apps first dialogue boxes I think. One for the preferences e.g.
The other is for the attributes of a text adornment:
- Font family
- Font name?
- Alignment, right, left, centre - tricky - no code to handle that yet, maybe v2 ;-)