Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Rotating widgets(Is there a way to rotate a widget and it's children?)
Rotating widgets [message #727372] Wed, 21 September 2011 05:50 Go to next message
Phil Elm is currently offline Phil ElmFriend
Messages: 2
Registered: September 2011
Junior Member
Hi Guys, I'm trying to rotate a window/canvas (or even just a label if need be) in SWT at the moment, but I can't seem to find a way to do this on the web. Sad

For some time I thought the .setOrientation() command would do it for me, but it doesn't appear to do anything.

If anyone has experience doing this, I'd greatly appreciate you taking the time explaining how to do it.

Thanks guys! Smile

[Updated on: Wed, 21 September 2011 05:51]

Report message to a moderator

Re: Rotating widgets [message #727401 is a reply to message #727372] Wed, 21 September 2011 07:52 Go to previous messageGo to next message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
I dont think that world be possible in SWT..

what is your exact requirement??


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Re: Rotating widgets [message #727701 is a reply to message #727401] Wed, 21 September 2011 20:51 Go to previous messageGo to next message
Phil Elm is currently offline Phil ElmFriend
Messages: 2
Registered: September 2011
Junior Member
I'm not able to go into the specifics, but I need one canvas to be upside down, and the other to be normal rotation.

A perfect example of this would be checkers. Picture checkers on a table-flat touch screen where two people can read text and see images in the direction they are sitting. That's kinda what I'm looking for.

Thanks
Re: Rotating widgets [message #727897 is a reply to message #727701] Thu, 22 September 2011 07:23 Go to previous message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
draw it on a image and rotate the image to draw it on the canvas...

below snippets would help
scroll an image (flicker free, no double buffering)
rotate and flip an image


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Previous Topic:StyledCellLabelProvider right aligned text
Next Topic:Form without a body ?
Goto Forum:
  


Current Time: Tue Mar 19 10:17:45 GMT 2024

Powered by FUDForum. Page generated in 0.02267 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top