* Some menus and buttons are kept in sync with EVT_UPDATE_UI.
* Tool menu items use wx.ITEM_RADIO * New polygon and scribble tools * Text tool uses wx.FontDialog rather than home grown dialog * Switched to double-buffering (code borrowed from doodle sample.) * Spent a lot of time on improving handling of canvas scrolling redraws which look bad under __WXMSW__, IMHO. * All tools are subclasses of DrawingTool now. * All objects are subclasses of the base DrawingObject now (rather than typecode switch) * Majority of event handling delegated to tools * Manipulation of handles refactored to move most of the logic into DrawingObject subclasses * Use GenBitmapToggleButton for the Tool buttons instead of reimplementing same functionality. * Nicer looking fill/stroke preview (I think anyway) * Toggle for choosing between wx.DC and wx.GCDC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
BIN
wxPython/samples/pySketch/images/polygonIcon.bmp
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
wxPython/samples/pySketch/images/polygonIconSel.bmp
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
wxPython/samples/pySketch/images/scribbleIcon.bmp
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
wxPython/samples/pySketch/images/scribbleIconSel.bmp
Normal file
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |