Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Creating Toolbars for Mac OS X
Subject:   Setting toolbars
Date:   2002-03-25 17:36:12
From:   mikebeam
Response to: Setting toolbars

Yeah, i agree that when you have a large number of items that some other management scheme would be appropriate than the if statements. I picked the method i did just to remove a layer of complexity, that is, i would have had to define the toolbar items somewhere. But as you pointed out, there's more than one way of doing it.


Mike

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Setting toolbars
    2006-07-27 04:54:49  sajid_hayat [View]

    Problem one
    Rotation

    I am trying to add some feature to the Sketch demo that will give it the ability to rotate object . I am having trouble in getting it to display the rotations correctly. When trying to draw the rotation I use an fineTransform and set just the rotateByDegrees: method. Doing this only seems to transform the coordinates within the bounds of the graphic, so it is rotation within the bounds, instead of rotating the bounds.


    Problem two
    Pencil
    we are not able to add pencil feature into sketch demo.