Bug 168799 - Scrollable Selector Figure too Faint
Summary: Scrollable Selector Figure too Faint
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy Draw2d (show other bugs)
Version: 3.2.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 360740
Blocks:
  Show dependency tree
 
Reported: 2006-12-20 19:45 EST by Adam Cabler CLA
Modified: 2011-10-12 18:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Cabler CLA 2006-12-20 19:45:43 EST
Really hard to see what area is selected.  Suggest the following change to the selector figure.  Also, a set method for the selector figure could be added to make it easier to extend.

private class SelectorFigure
	extends Figure
{
	{
		Display display = Display.getCurrent();
		PaletteData pData = new PaletteData(0xFF, 0xFF00, 0xFF0000);

/** The following change makes the figure darker, but still transparent **/
		RGB rgb = display.getSystemColor(SWT.COLOR_BLACK).getRGB();	
	
		int fillColor = pData.getPixel(rgb);
		ImageData iData = new ImageData(5, 5, 24, pData);
		iData.setPixel(0, 0, fillColor);
		iData.setAlpha(0, 0, 55);
		image = new Image(display, iData);
	}
Comment 1 Alexander Nyßen CLA 2011-10-12 18:32:27 EDT
Because of the changes made in bug #360740 (removed dispose() within SelectorFigure) it would now be possible to make the selector figure exchangeable by an arbitrary IFigure.