Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html')
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/examples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html b/examples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html
new file mode 100755
index 0000000000..59b0f95791
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html
@@ -0,0 +1,37 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>SWT - Paint Example</title>
+</head>
+<body>
+
+<h2>Example - Paint Example</h2>
+
+<h3>Introduction</h3>
+<p>This example demonstrates the use of SWT graphics operations in the form
+of a rudimentary bitmap painting program.&nbsp; The Airbrush Tool implementation also
+demonstrates a mechanism for managing timed GUI operations in the background
+that are triggered by user input (see ContinuousPaintSession.java).
+</p>
+
+<h3>Running the example</h3>
+<p>To run the Paint Example, pull down the Perspective menu, select the Show
+View menu item, then select Other from the submenu.&nbsp; A dialog will
+come up with a list of views.&nbsp; Expand SWT Examples and select the
+view named Paint.&nbsp; A view containing a drawing area, various toolbar
+buttons, and a color selection palette will appear.
+</p>
+
+<h3>Details</h3>
+<p>Select a tool with which to draw in the drawing area.&nbsp; There are a
+number of tools to choose from on the toolbar.&nbsp; To change the color selection,
+click on a color in the palette below the drawing area:
+left-click for the foreground color, right-click for the background color.
+</p>
+<p>Uses SWT's GC and FontDialog, and JFace's InputDialog and action set support.
+</p>
+
+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a></p>
+</body>
+</html>

Back to the top