Results 1 to 3 of 3

Thread: Button drawn in an Angel

  1. #1

    Thread Starter
    Hyperactive Member onerrorgoto's Avatar
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    330

    Question

    Hello
    Is it possible to make a Button tilt in say 45 degrees?

    I wanna make my own control and let the user decide in what angel the control should be drawn. I would like to use 0, 45, 90, 135, 180,.....,315 degrees.
    Is this possible?
    Onerrorgoto

    Dont be to optimistic, the light at the end of the tunnel might be a train

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    More info

    How do you want the button to tilt?
    Code:
    ____
    \   \
     \   \
      \___\
    If it's this case you could cut the regions around it, but i'm not sure if thats what you want, maybe you want to rotate it in the x or y axis to make a 3d impression..
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3

    Thread Starter
    Hyperactive Member onerrorgoto's Avatar
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    330

    Smile Button in angle

    Thank you for the answer, I will try to explian some more.

    What I will try to do is draw the buttons on the form in a halfcircel, like the way the chairs are placed in a Opera or theater. So I want the buttons to be tileted depending on where in the halfcircle they are.

    I hope this make my Q easier to understand.
    Onerrorgoto

    Dont be to optimistic, the light at the end of the tunnel might be a train

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width