Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Rubberbanding without Tracker(setXORMode() broke in the latest SWT update)
Rubberbanding without Tracker [message #1076145] Tue, 30 July 2013 19:57
Mark Mising name is currently offline Mark Mising nameFriend
Messages: 73
Registered: July 2009
Location: Ohio, USA
Member
All,

I use gc.setXORMode(true) to implement a rubberbanding shape similar to how Tracker behaves (except that Tracker uses a rectangle, but my shape is more complex). My use of setXORMode worked fine until last week when I upgraded to Kepler (and corresponding SWT update).

I know gc.setXORMode() is deprecated but I believe that I have no other choice than to use it. Perhaps the underlying method of setXORMode() got removed and broke my rubberbanding feature.

My question is, What can I use to non-destructively draw over existing features on my canvas? Tracker still works as intended, so what does it use if gc.setXORMode no longer works? I need the same type of behavior but with a shape that isn't a rectangle.

Mark
Previous Topic:"IBM Notes Browser Plugin" used in SWT Browser crashes
Next Topic:Modifying the main menu bar on OSX
Goto Forum:
  


Current Time: Sat Apr 27 05:01:54 GMT 2024

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

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

Back to the top