Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "17 Colors"

(Replaced content with "This page was obsolete and has been deleted. Please see the history if you need to access the content.")
 
Line 1: Line 1:
[[Comparison SWT / RWT|Back to RWTOverview]]
+
This page was obsolete and has been deleted. Please see the history if you need to access the content.
 
+
===Class RGB===
+
 
+
Works the same as in SWT.
+
 
+
===Class Color===
+
 
+
Behaves the same as in SWT.
+
Since there are no operating system resources allocated when creating a Color
+
object, the RWT Color class does not have a <code>dispose()</code> method.
+
To reduce memory footprint, the constructors were replaced by static mathods
+
that return shared Color instances.
+
 
+
===System Colors===
+
 
+
Constants for 'natural' colors are defined in RWT and <code>Display.getSystemColor()</code> returns an instance of class Color for
+
those.
+
 
+
Window system-specific colors such as <code>COLOR_WIDGET_BORDER</code> are not yet implemented.
+

Latest revision as of 06:37, 7 January 2014

This page was obsolete and has been deleted. Please see the history if you need to access the content.

Back to the top