summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.swt.opengl/.classpath_gtk8
-rw-r--r--bundles/org.eclipse.swt.opengl/.classpath_motif8
-rw-r--r--bundles/org.eclipse.swt.opengl/.classpath_win328
-rw-r--r--bundles/org.eclipse.swt.opengl/.cvsignore3
-rw-r--r--bundles/org.eclipse.swt.opengl/.project30
-rw-r--r--bundles/org.eclipse.swt.opengl/about.html30
-rw-r--r--bundles/org.eclipse.swt.opengl/common/gl_library/gl.c3356
-rw-r--r--bundles/org.eclipse.swt.opengl/common/gl_library/glu.c546
-rw-r--r--bundles/org.eclipse.swt.opengl/common/gl_library/swt.h50
-rw-r--r--bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GL.java1449
-rw-r--r--bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GLU.java245
-rw-r--r--bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GLYPHMETRICSFLOAT.java22
-rw-r--r--bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/ImageDataUtil.java524
-rw-r--r--bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/Library.java60
-rw-r--r--bundles/org.eclipse.swt.opengl/gtk/gl_library/build.sh14
-rw-r--r--bundles/org.eclipse.swt.opengl/gtk/gl_library/glx.c247
-rw-r--r--bundles/org.eclipse.swt.opengl/gtk/gl_library/make_gtk.mak52
-rw-r--r--bundles/org.eclipse.swt.opengl/gtk/gl_library/structs.c73
-rw-r--r--bundles/org.eclipse.swt.opengl/gtk/gl_library/structs.h16
-rw-r--r--bundles/org.eclipse.swt.opengl/gtk/gl_library/xgtk.c109
-rw-r--r--bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/GLContext.java307
-rw-r--r--bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XGL.java226
-rw-r--r--bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XGTK.java29
-rw-r--r--bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XVisualInfo.java24
-rw-r--r--bundles/org.eclipse.swt.opengl/motif/gl_library/build.csh69
-rw-r--r--bundles/org.eclipse.swt.opengl/motif/gl_library/glx.c232
-rw-r--r--bundles/org.eclipse.swt.opengl/motif/gl_library/make_aix.mak40
-rw-r--r--bundles/org.eclipse.swt.opengl/motif/gl_library/make_hpux.mak44
-rw-r--r--bundles/org.eclipse.swt.opengl/motif/gl_library/make_linux.mak38
-rw-r--r--bundles/org.eclipse.swt.opengl/motif/gl_library/make_solaris.mak45
-rw-r--r--bundles/org.eclipse.swt.opengl/motif/gl_library/structs.c73
-rw-r--r--bundles/org.eclipse.swt.opengl/motif/gl_library/structs.h16
-rw-r--r--bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/GLContext.java303
-rw-r--r--bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/internal/motif/XGL.java227
-rw-r--r--bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/internal/motif/XVisualInfo.java24
-rw-r--r--bundles/org.eclipse.swt.opengl/plugin.properties12
-rw-r--r--bundles/org.eclipse.swt.opengl/plugin.xml19
-rw-r--r--bundles/org.eclipse.swt.opengl/win32/gl_library/build.bat34
-rw-r--r--bundles/org.eclipse.swt.opengl/win32/gl_library/glw.c283
-rw-r--r--bundles/org.eclipse.swt.opengl/win32/gl_library/make_win32.mak56
-rw-r--r--bundles/org.eclipse.swt.opengl/win32/gl_library/structs.c304
-rw-r--r--bundles/org.eclipse.swt.opengl/win32/gl_library/structs.h24
-rw-r--r--bundles/org.eclipse.swt.opengl/win32/gl_library/swt.rc67
-rw-r--r--bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/GLContext.java313
-rw-r--r--bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/LAYERPLANEDESCRIPTOR.java40
-rw-r--r--bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/PIXELFORMATDESCRIPTOR.java42
-rw-r--r--bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/POINTFLOAT.java18
-rw-r--r--bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/WGL.java142
-rw-r--r--bundles/org.eclipse.swt.tools/.classpath8
-rw-r--r--bundles/org.eclipse.swt.tools/.cvsignore1
-rw-r--r--bundles/org.eclipse.swt.tools/.project19
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ClassData.java38
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupClass.java95
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupConstants.java103
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupNatives.java132
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ConstantsGenerator.java68
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/FieldData.java61
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ItemData.java134
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGenerator.java272
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorApp.java342
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java893
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaData.java140
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaDataGenerator.java105
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MethodData.java48
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java601
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ParameterData.java51
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/SizeofGenerator.java73
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StructsGenerator.java554
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.accessibility.gtk.ATK.properties344
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.accessibility.gtk.properties15
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties3696
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gnome.GNOME.properties83
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.GTK.properties39
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties3496
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.properties15
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.motif.OS.properties2690
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.ole.win32.COM.properties869
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.photon.OS.properties1523
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties10
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.OS.properties3618
-rw-r--r--bundles/org.eclipse.swt.tools/Preprocessor/org/eclipse/swt/tools/internal/SwtJniGen.java46
-rw-r--r--bundles/org.eclipse.swt.tools/Preprocessor/org/eclipse/swt/tools/internal/SwtReplace.java89
-rw-r--r--bundles/org.eclipse.swt.tools/Preprocessor/preprocess.xml41
-rw-r--r--bundles/org.eclipse.swt.tools/about.html30
-rw-r--r--bundles/org.eclipse.swt.tools/build.properties1
-rw-r--r--bundles/org.eclipse.swt.tools/plugin.properties12
-rw-r--r--bundles/org.eclipse.swt.tools/plugin.xml13
-rw-r--r--examples/org.eclipse.swt.examples.browser/.classpath7
-rw-r--r--examples/org.eclipse.swt.examples.browser/.cvsignore1
-rw-r--r--examples/org.eclipse.swt.examples.browser/.project20
-rw-r--r--examples/org.eclipse.swt.examples.browser/about.html30
-rw-r--r--examples/org.eclipse.swt.examples.browser/build.properties20
-rw-r--r--examples/org.eclipse.swt.examples.browser/doc-html/hglegal.htm14
-rw-r--r--examples/org.eclipse.swt.examples.browser/doc-html/ngibmcpy.gifbin1101 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.browser/doc-html/swt_browser_ex.html33
-rw-r--r--examples/org.eclipse.swt.examples.browser/icons/browser_example.gifbin111 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.browser/plugin.properties26
-rw-r--r--examples/org.eclipse.swt.examples.browser/plugin.xml55
-rw-r--r--examples/org.eclipse.swt.examples.browser/src/import.properties14
-rw-r--r--examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserPlugin.java34
-rw-r--r--examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserView.java53
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/.classpath7
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/.cvsignore1
-rw-r--r--examples/org.eclipse.swt.examples.controls/.project30
-rw-r--r--examples/org.eclipse.swt.examples.controls/about.html30
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/build.properties20
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/doc-html/hglegal.htm14
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gifbin1101 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html33
-rw-r--r--examples/org.eclipse.swt.examples.controls/doc-html/swt_customcontrols_ex.html33
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/icons/controls_example.gifbin111 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/plugin.properties34
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/plugin.xml73
-rw-r--r--examples/org.eclipse.swt.examples.controls/src/import.properties14
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlPlugin.java34
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlView.java55
-rw-r--r--examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/CustomControlView.java35
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/.classpath7
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/.cvsignore1
-rw-r--r--examples/org.eclipse.swt.examples.launcher/.project30
-rw-r--r--examples/org.eclipse.swt.examples.launcher/about.html30
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/build.properties22
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/doc-html/hglegal.htm14
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gifbin1101 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html44
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/doc/org.eclipse.swt.examples.launcher.launchItems.html60
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/icons/closedFolder.gifbin160 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/icons/generic_example.gifbin158 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/icons/launcher_example.gifbin168 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/icons/openFolder.gifbin152 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/plugin.properties49
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/plugin.xml73
-rw-r--r--examples/org.eclipse.swt.examples.launcher/schema/org.eclipse.swt.examples.launcher.launchItems.exsd210
-rw-r--r--examples/org.eclipse.swt.examples.launcher/src/import.properties14
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemDescriptor.java145
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemTreeNode.java79
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherPlugin.java390
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherView.java233
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/SplitLayout.java139
-rw-r--r--examples/org.eclipse.swt.examples.layouts/.classpath7
-rw-r--r--examples/org.eclipse.swt.examples.layouts/.cvsignore1
-rw-r--r--examples/org.eclipse.swt.examples.layouts/.project30
-rw-r--r--examples/org.eclipse.swt.examples.layouts/about.html30
-rw-r--r--examples/org.eclipse.swt.examples.layouts/build.properties20
-rw-r--r--examples/org.eclipse.swt.examples.layouts/doc-html/hglegal.htm14
-rw-r--r--examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy.gifbin1101 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.layouts/doc-html/swt_layout_ex.html35
-rw-r--r--examples/org.eclipse.swt.examples.layouts/icons/layouts_example.gifbin217 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.layouts/plugin.properties28
-rw-r--r--examples/org.eclipse.swt.examples.layouts/plugin.xml56
-rw-r--r--examples/org.eclipse.swt.examples.layouts/src/import.properties14
-rw-r--r--examples/org.eclipse.swt.examples.layouts/src/org/eclipse/swt/examples/layouts/LayoutPlugin.java34
-rw-r--r--examples/org.eclipse.swt.examples.layouts/src/org/eclipse/swt/examples/layouts/LayoutView.java55
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/.classpath7
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/.cvsignore1
-rw-r--r--examples/org.eclipse.swt.examples.ole.win32/.project29
-rw-r--r--examples/org.eclipse.swt.examples.ole.win32/about.html30
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/build.properties20
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal.htm14
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy.gifbin1101 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/doc-html/swt_ole_ex.html37
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/icons/backward_nav.gifbin881 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/icons/forward_nav.gifbin883 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/icons/home_nav.gifbin928 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/icons/refresh_nav.gifbin160 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/icons/search_nav.gifbin245 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/icons/stop_nav.gifbin174 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/icons/webbrowser_example.gifbin380 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/plugin.properties60
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/plugin.xml55
-rw-r--r--examples/org.eclipse.swt.examples.ole.win32/src/import.properties14
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleBrowserView.java370
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OlePlugin.java184
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleWebBrowser.java228
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/.classpath7
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/.cvsignore1
-rw-r--r--examples/org.eclipse.swt.examples.paint/.project29
-rw-r--r--examples/org.eclipse.swt.examples.paint/about.html30
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/build.properties20
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/doc-html/hglegal.htm14
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy.gifbin1101 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html38
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/fill_none.gifbin865 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/fill_outline.gifbin872 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/fill_solid.gifbin861 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.paint/icons/linestyle_dash.gifbin880 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.paint/icons/linestyle_dashdot.gifbin880 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.paint/icons/linestyle_dot.gifbin879 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.examples.paint/icons/linestyle_solid.gifbin871 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/options_font.gifbin868 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/paint_example.gifbin932 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/tool_airbrush.gifbin890 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/tool_ellipse.gifbin872 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/tool_line.gifbin860 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/tool_pencil.gifbin874 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/tool_polyline.gifbin879 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/tool_rectangle.gifbin865 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/tool_roundedrectangle.gifbin871 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/icons/tool_text.gifbin875 -> 0 bytes
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/plugin.properties134
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/plugin.xml55
-rw-r--r--examples/org.eclipse.swt.examples.paint/src/import.properties14
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/AirbrushTool.java79
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/BasicPaintSession.java37
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ContainerFigure.java93
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ContinuousPaintSession.java234
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/DragPaintSession.java136
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/EllipseFigure.java52
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/EllipseTool.java63
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/Figure.java38
-rw-r--r--examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/FigureDrawContext.java40
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/LineFigure.java52
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/LineTool.java58
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintPlugin.java84
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintSession.java58
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintSurface.java523
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintTool.java20
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintView.java500
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PencilTool.java58
-rw-r--r--examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PointFigure.java40
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PolyLineTool.java75
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RectangleFigure.java51
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RectangleTool.java71
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RoundedRectangleFigure.java53
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RoundedRectangleTool.java64
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SegmentedPaintSession.java159
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidEllipseFigure.java44
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidPolygonFigure.java59
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidRectangleFigure.java43
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidRoundedRectangleFigure.java45
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/TextFigure.java49
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/TextTool.java127
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ToolSettings.java62
-rw-r--r--examples/org.eclipse.swt.opengl.examples/.classpath8
-rw-r--r--examples/org.eclipse.swt.opengl.examples/.project19
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/AntialiasingTab.java152
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/AreaTab.java434
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/BezierTab.java211
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/BitmapTextTab.java203
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ColorSelectionGroup.java166
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/FogTab.java254
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/GradientTab.java233
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/IColorSelectionListener.java18
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/LightTab.java354
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/NurbTab.java294
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ObjectsTab.java376
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OpenGLExample.java116
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OpenGLTab.java243
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OutlineTextTab.java251
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ReflectionTab.java556
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/SelectionTab.java57
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/StencilTab.java230
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/TextureTab.java176
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/TransparencyTab.java197
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Ball.jpgbin2648 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Box.bmpbin5174 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Floor.jpgbin3605 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/splash.bmpbin495056 -> 0 bytes
-rw-r--r--examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/untitled.jpgbin11318 -> 0 bytes
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllBrowserTests.java4
260 files changed, 2 insertions, 41861 deletions
diff --git a/bundles/org.eclipse.swt.opengl/.classpath_gtk b/bundles/org.eclipse.swt.opengl/.classpath_gtk
deleted file mode 100644
index 35d4c3497a..0000000000
--- a/bundles/org.eclipse.swt.opengl/.classpath_gtk
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>
- <classpathentry kind="src" path="common"/>
- <classpathentry kind="src" path="gtk"/>
- <classpathentry kind="src" path="/org.eclipse.swt"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.swt.opengl/.classpath_motif b/bundles/org.eclipse.swt.opengl/.classpath_motif
deleted file mode 100644
index 6f974c1516..0000000000
--- a/bundles/org.eclipse.swt.opengl/.classpath_motif
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>
- <classpathentry kind="src" path="common"/>
- <classpathentry kind="src" path="motif"/>
- <classpathentry kind="src" path="/org.eclipse.swt"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.swt.opengl/.classpath_win32 b/bundles/org.eclipse.swt.opengl/.classpath_win32
deleted file mode 100644
index 30299c85da..0000000000
--- a/bundles/org.eclipse.swt.opengl/.classpath_win32
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>
- <classpathentry kind="src" path="common"/>
- <classpathentry kind="src" path="win32"/>
- <classpathentry kind="src" path="/org.eclipse.swt"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.swt.opengl/.cvsignore b/bundles/org.eclipse.swt.opengl/.cvsignore
deleted file mode 100644
index 661113b158..0000000000
--- a/bundles/org.eclipse.swt.opengl/.cvsignore
+++ /dev/null
@@ -1,3 +0,0 @@
-bin
-.classpath
-ws
diff --git a/bundles/org.eclipse.swt.opengl/.project b/bundles/org.eclipse.swt.opengl/.project
deleted file mode 100644
index 577537ae64..0000000000
--- a/bundles/org.eclipse.swt.opengl/.project
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.swt.opengl</name>
- <comment></comment>
- <projects>
- <project>org.eclipse.swt</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.team.cvs.core.cvsnature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.swt.opengl/about.html b/bundles/org.eclipse.swt.opengl/about.html
deleted file mode 100644
index 9db411aab9..0000000000
--- a/bundles/org.eclipse.swt.opengl/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 (&quot;CPL&quot;). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, &quot;Program&quot; will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL (&quot;Other License&quot;), any modifications, enhancements and/or
-other code and/or documentation (&quot;Modifications&quot;) uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/bundles/org.eclipse.swt.opengl/common/gl_library/gl.c b/bundles/org.eclipse.swt.opengl/common/gl_library/gl.c
deleted file mode 100644
index 0cd6cbfd28..0000000000
--- a/bundles/org.eclipse.swt.opengl/common/gl_library/gl.c
+++ /dev/null
@@ -1,3356 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-#ifdef WIN32
-#include <windows.h>
-#endif
-#include <GL/gl.h>
-#include "swt.h"
-
-#define GL_NATIVE(func) Java_org_eclipse_swt_opengl_GL_##func
-
-JNIEXPORT void JNICALL GL_NATIVE(glAccum)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glAccum\n")
- glAccum(arg0, arg1);
- NATIVE_EXIT(env, that, "glAccum\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glAlphaFunc)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glAlphaFunc\n")
- glAlphaFunc(arg0, arg1);
- NATIVE_EXIT(env, that, "glAlphaFunc\n")
-}
-
-JNIEXPORT jboolean JNICALL GL_NATIVE(glAreTexturesResident)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jbooleanArray arg2)
-{
- jint *lparg1=NULL;
- jboolean *lparg2=NULL;
- jboolean rc;
-
- NATIVE_ENTER(env, that, "glAreTexturesResident\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- if (arg2) lparg2 = (*env)->GetBooleanArrayElements(env, arg2, NULL);
- rc = (jboolean)glAreTexturesResident(arg0, (unsigned int *)lparg1, lparg2);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg2) (*env)->ReleaseBooleanArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glAreTexturesResident\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glArrayElement)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glArrayElement\n")
- glArrayElement(arg0);
- NATIVE_EXIT(env, that, "glArrayElement\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glBegin)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glBegin\n")
- glBegin(arg0);
- NATIVE_EXIT(env, that, "glBegin\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glBindTexture)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glBindTexture\n")
- glBindTexture(arg0, arg1);
- NATIVE_EXIT(env, that, "glBindTexture\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glBitmap)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat arg2, jfloat arg3, jfloat arg4, jfloat arg5, jbyteArray arg6)
-{
- jbyte *lparg6=NULL;
-
- NATIVE_ENTER(env, that, "glBitmap\n")
- if (arg6) lparg6 = (*env)->GetByteArrayElements(env, arg6, NULL);
- glBitmap(arg0, arg1, arg2, arg3, arg4, arg5, (unsigned char *)lparg6);
- if (arg6) (*env)->ReleaseByteArrayElements(env, arg6, lparg6, 0);
- NATIVE_EXIT(env, that, "glBitmap\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glBlendFunc)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glBlendFunc\n")
- glBlendFunc(arg0, arg1);
- NATIVE_EXIT(env, that, "glBlendFunc\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glCallList)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glCallList\n")
- glCallList(arg0);
- NATIVE_EXIT(env, that, "glCallList\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glCallLists__II_3B)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jbyteArray arg2)
-{
- jbyte *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glCallLists__II_3B\n")
- if (arg2) lparg2 = (*env)->GetByteArrayElements(env, arg2, NULL);
- glCallLists(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseByteArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glCallLists__II_3B\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glCallLists__II_3C)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jcharArray arg2)
-{
- jchar *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glCallLists__II_3C\n")
- if (arg2) lparg2 = (*env)->GetCharArrayElements(env, arg2, NULL);
- glCallLists(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseCharArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glCallLists__II_3C\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glCallLists__II_3I)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glCallLists__II_3I\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glCallLists(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glCallLists__II_3I\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glClear)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glClear\n")
- glClear(arg0);
- NATIVE_EXIT(env, that, "glClear\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glClearAccum)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2, jfloat arg3)
-{
- NATIVE_ENTER(env, that, "glClearAccum\n")
- glClearAccum(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glClearAccum\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glClearColor)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2, jfloat arg3)
-{
- NATIVE_ENTER(env, that, "glClearColor\n")
- glClearColor(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glClearColor\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glClearDepth)
- (JNIEnv *env, jclass that, jdouble arg0)
-{
- NATIVE_ENTER(env, that, "glClearDepth\n")
- glClearDepth(arg0);
- NATIVE_EXIT(env, that, "glClearDepth\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glClearIndex)
- (JNIEnv *env, jclass that, jfloat arg0)
-{
- NATIVE_ENTER(env, that, "glClearIndex\n")
- glClearIndex(arg0);
- NATIVE_EXIT(env, that, "glClearIndex\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glClearStencil)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glClearStencil\n")
- glClearStencil(arg0);
- NATIVE_EXIT(env, that, "glClearStencil\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glClipPlane)
- (JNIEnv *env, jclass that, jint arg0, jdoubleArray arg1)
-{
- jdouble *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glClipPlane\n")
- if (arg1) lparg1 = (*env)->GetDoubleArrayElements(env, arg1, NULL);
- glClipPlane(arg0, lparg1);
- if (arg1) (*env)->ReleaseDoubleArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glClipPlane\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3b)
- (JNIEnv *env, jclass that, jbyte arg0, jbyte arg1, jbyte arg2)
-{
- NATIVE_ENTER(env, that, "glColor3b\n")
- glColor3b(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glColor3b\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3bv)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor3bv\n")
- if (arg0) lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL);
- glColor3bv(lparg0);
- if (arg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor3bv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2)
-{
- NATIVE_ENTER(env, that, "glColor3d\n")
- glColor3d(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glColor3d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor3dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glColor3dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor3dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glColor3f\n")
- glColor3f(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glColor3f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor3fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glColor3fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor3fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glColor3i\n")
- glColor3i(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glColor3i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor3iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glColor3iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor3iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2)
-{
- NATIVE_ENTER(env, that, "glColor3s\n")
- glColor3s(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glColor3s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3ub)
- (JNIEnv *env, jclass that, jbyte arg0, jbyte arg1, jbyte arg2)
-{
- NATIVE_ENTER(env, that, "glColor3ub\n")
- glColor3ub(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glColor3ub\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3ubv)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor3ubv\n")
- if (arg0) lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL);
- glColor3ubv((unsigned char *)lparg0);
- if (arg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor3ubv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3ui)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glColor3ui\n")
- glColor3ui(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glColor3ui\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3uiv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor3uiv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glColor3uiv((unsigned int *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor3uiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3us)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2)
-{
- NATIVE_ENTER(env, that, "glColor3us\n")
- glColor3us(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glColor3us\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor3usv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor3usv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glColor3usv((unsigned short *)lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor3usv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4b)
- (JNIEnv *env, jclass that, jbyte arg0, jbyte arg1, jbyte arg2, jbyte arg3)
-{
- NATIVE_ENTER(env, that, "glColor4b\n")
- glColor4b(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glColor4b\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4bv)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor4bv\n")
- if (arg0) lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL);
- glColor4bv(lparg0);
- if (arg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor4bv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3)
-{
- NATIVE_ENTER(env, that, "glColor4d\n")
- glColor4d(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glColor4d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor4dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glColor4dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor4dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2, jfloat arg3)
-{
- NATIVE_ENTER(env, that, "glColor4f\n")
- glColor4f(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glColor4f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor4fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glColor4fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor4fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- NATIVE_ENTER(env, that, "glColor4i\n")
- glColor4i(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glColor4i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor4iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glColor4iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor4iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2, jshort arg3)
-{
- NATIVE_ENTER(env, that, "glColor4s\n")
- glColor4s(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glColor4s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4ub)
- (JNIEnv *env, jclass that, jbyte arg0, jbyte arg1, jbyte arg2, jbyte arg3)
-{
- NATIVE_ENTER(env, that, "glColor4ub\n")
- glColor4ub(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glColor4ub\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4ubv)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor4ubv\n")
- if (arg0) lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL);
- glColor4ubv((unsigned char *)lparg0);
- if (arg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor4ubv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4ui)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- NATIVE_ENTER(env, that, "glColor4ui\n")
- glColor4ui(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glColor4ui\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4uiv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor4uiv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glColor4uiv((unsigned int *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor4uiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4us)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2, jshort arg3)
-{
- NATIVE_ENTER(env, that, "glColor4us\n")
- glColor4us(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glColor4us\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColor4usv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glColor4usv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glColor4usv((unsigned short *)lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glColor4usv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColorMask)
- (JNIEnv *env, jclass that, jboolean arg0, jboolean arg1, jboolean arg2, jboolean arg3)
-{
- NATIVE_ENTER(env, that, "glColorMask\n")
- glColorMask(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glColorMask\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColorMaterial)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glColorMaterial\n")
- glColorMaterial(arg0, arg1);
- NATIVE_EXIT(env, that, "glColorMaterial\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glColorPointer)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3)
-{
- jint *lparg3=NULL;
-
- NATIVE_ENTER(env, that, "glColorPointer\n")
- if (arg3) lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL);
- glColorPointer(arg0, arg1, arg2, lparg3);
- if (arg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- NATIVE_EXIT(env, that, "glColorPointer\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glCopyPixels)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
-{
- NATIVE_ENTER(env, that, "glCopyPixels\n")
- glCopyPixels(arg0, arg1, arg2, arg3, arg4);
- NATIVE_EXIT(env, that, "glCopyPixels\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glCopyTexImage1D)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6)
-{
- NATIVE_ENTER(env, that, "glCopyTexImage1D\n")
- glCopyTexImage1D(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
- NATIVE_EXIT(env, that, "glCopyTexImage1D\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glCopyTexImage2D)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6, jint arg7)
-{
- NATIVE_ENTER(env, that, "glCopyTexImage2D\n")
- glCopyTexImage2D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
- NATIVE_EXIT(env, that, "glCopyTexImage2D\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glCopyTexSubImage1D)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5)
-{
- NATIVE_ENTER(env, that, "glCopyTexSubImage1D\n")
- glCopyTexSubImage1D(arg0, arg1, arg2, arg3, arg4, arg5);
- NATIVE_EXIT(env, that, "glCopyTexSubImage1D\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glCopyTexSubImage2D)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6, jint arg7)
-{
- NATIVE_ENTER(env, that, "glCopyTexSubImage2D\n")
- glCopyTexSubImage2D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
- NATIVE_EXIT(env, that, "glCopyTexSubImage2D\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glCullFace)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glCullFace\n")
- glCullFace(arg0);
- NATIVE_EXIT(env, that, "glCullFace\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glDeleteLists)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glDeleteLists\n")
- glDeleteLists(arg0, arg1);
- NATIVE_EXIT(env, that, "glDeleteLists\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glDeleteTextures)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glDeleteTextures\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- glDeleteTextures(arg0, (unsigned int *)lparg1);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glDeleteTextures\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glDepthFunc)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glDepthFunc\n")
- glDepthFunc(arg0);
- NATIVE_EXIT(env, that, "glDepthFunc\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glDepthMask)
- (JNIEnv *env, jclass that, jboolean arg0)
-{
- NATIVE_ENTER(env, that, "glDepthMask\n")
- glDepthMask(arg0);
- NATIVE_EXIT(env, that, "glDepthMask\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glDepthRange)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1)
-{
- NATIVE_ENTER(env, that, "glDepthRange\n")
- glDepthRange(arg0, arg1);
- NATIVE_EXIT(env, that, "glDepthRange\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glDisable)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glDisable\n")
- glDisable(arg0);
- NATIVE_EXIT(env, that, "glDisable\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glDisableClientState)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glDisableClientState\n")
- glDisableClientState(arg0);
- NATIVE_EXIT(env, that, "glDisableClientState\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glDrawArrays)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glDrawArrays\n")
- glDrawArrays(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glDrawArrays\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glDrawBuffer)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glDrawBuffer\n")
- glDrawBuffer(arg0);
- NATIVE_EXIT(env, that, "glDrawBuffer\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glDrawElements)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3)
-{
- jint *lparg3=NULL;
-
- NATIVE_ENTER(env, that, "glDrawElements\n")
- if (arg3) lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL);
- glDrawElements(arg0, arg1, arg2, lparg3);
- if (arg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- NATIVE_EXIT(env, that, "glDrawElements\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glDrawPixels)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4)
-{
- jint *lparg4=NULL;
-
- NATIVE_ENTER(env, that, "glDrawPixels\n")
- if (arg4) lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL);
- glDrawPixels(arg0, arg1, arg2, arg3, lparg4);
- if (arg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- NATIVE_EXIT(env, that, "glDrawPixels\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEdgeFlag)
- (JNIEnv *env, jclass that, jboolean arg0)
-{
- NATIVE_ENTER(env, that, "glEdgeFlag\n")
- glEdgeFlag(arg0);
- NATIVE_EXIT(env, that, "glEdgeFlag\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEdgeFlagPointer)
- (JNIEnv *env, jclass that, jint arg0, jbooleanArray arg1)
-{
- jboolean *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glEdgeFlagPointer\n")
- if (arg1) lparg1 = (*env)->GetBooleanArrayElements(env, arg1, NULL);
- glEdgeFlagPointer(arg0, lparg1);
- if (arg1) (*env)->ReleaseBooleanArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glEdgeFlagPointer\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEdgeFlagv)
- (JNIEnv *env, jclass that, jbooleanArray arg0)
-{
- jboolean *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glEdgeFlagv\n")
- if (arg0) lparg0 = (*env)->GetBooleanArrayElements(env, arg0, NULL);
- glEdgeFlagv(lparg0);
- if (arg0) (*env)->ReleaseBooleanArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glEdgeFlagv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEnable)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glEnable\n")
- glEnable(arg0);
- NATIVE_EXIT(env, that, "glEnable\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEnableClientState)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glEnableClientState\n")
- glEnableClientState(arg0);
- NATIVE_EXIT(env, that, "glEnableClientState\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEnd)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glEnd\n")
- glEnd();
- NATIVE_EXIT(env, that, "glEnd\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEndList)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glEndList\n")
- glEndList();
- NATIVE_EXIT(env, that, "glEndList\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalCoord1d)
- (JNIEnv *env, jclass that, jdouble arg0)
-{
- NATIVE_ENTER(env, that, "glEvalCoord1d\n")
- glEvalCoord1d(arg0);
- NATIVE_EXIT(env, that, "glEvalCoord1d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalCoord1dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glEvalCoord1dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glEvalCoord1dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glEvalCoord1dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalCoord1f)
- (JNIEnv *env, jclass that, jfloat arg0)
-{
- NATIVE_ENTER(env, that, "glEvalCoord1f\n")
- glEvalCoord1f(arg0);
- NATIVE_EXIT(env, that, "glEvalCoord1f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalCoord1fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glEvalCoord1fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glEvalCoord1fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glEvalCoord1fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalCoord2d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1)
-{
- NATIVE_ENTER(env, that, "glEvalCoord2d\n")
- glEvalCoord2d(arg0, arg1);
- NATIVE_EXIT(env, that, "glEvalCoord2d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalCoord2dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glEvalCoord2dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glEvalCoord2dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glEvalCoord2dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalCoord2f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glEvalCoord2f\n")
- glEvalCoord2f(arg0, arg1);
- NATIVE_EXIT(env, that, "glEvalCoord2f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalCoord2fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glEvalCoord2fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glEvalCoord2fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glEvalCoord2fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalMesh1)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glEvalMesh1\n")
- glEvalMesh1(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glEvalMesh1\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalMesh2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4)
-{
- NATIVE_ENTER(env, that, "glEvalMesh2\n")
- glEvalMesh2(arg0, arg1, arg2, arg3, arg4);
- NATIVE_EXIT(env, that, "glEvalMesh2\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalPoint1)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glEvalPoint1\n")
- glEvalPoint1(arg0);
- NATIVE_EXIT(env, that, "glEvalPoint1\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glEvalPoint2)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glEvalPoint2\n")
- glEvalPoint2(arg0, arg1);
- NATIVE_EXIT(env, that, "glEvalPoint2\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glFeedbackBuffer)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glFeedbackBuffer\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glFeedbackBuffer(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glFeedbackBuffer\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glFinish)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glFinish\n")
- glFinish();
- NATIVE_EXIT(env, that, "glFinish\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glFlush)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glFlush\n")
- glFlush();
- NATIVE_EXIT(env, that, "glFlush\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glFogf)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glFogf\n")
- glFogf(arg0, arg1);
- NATIVE_EXIT(env, that, "glFogf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glFogfv)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1)
-{
- jfloat *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glFogfv\n")
- if (arg1) lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL);
- glFogfv(arg0, lparg1);
- if (arg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glFogfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glFogi)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glFogi\n")
- glFogi(arg0, arg1);
- NATIVE_EXIT(env, that, "glFogi\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glFogiv)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glFogiv\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- glFogiv(arg0, (GLint *)lparg1);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glFogiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glFrontFace)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glFrontFace\n")
- glFrontFace(arg0);
- NATIVE_EXIT(env, that, "glFrontFace\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glFrustum)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5)
-{
- NATIVE_ENTER(env, that, "glFrustum\n")
- glFrustum(arg0, arg1, arg2, arg3, arg4, arg5);
- NATIVE_EXIT(env, that, "glFrustum\n")
-}
-
-JNIEXPORT jint JNICALL GL_NATIVE(glGenLists)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc;
- NATIVE_ENTER(env, that, "glGenLists\n")
- rc = (jint)glGenLists(arg0);
- NATIVE_EXIT(env, that, "glGenLists\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGenTextures)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glGenTextures\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- glGenTextures(arg0, (unsigned int *)lparg1);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glGenTextures\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetBooleanv)
- (JNIEnv *env, jclass that, jint arg0, jbooleanArray arg1)
-{
- jboolean *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glGetBooleanv\n")
- if (arg1) lparg1 = (*env)->GetBooleanArrayElements(env, arg1, NULL);
- glGetBooleanv(arg0, lparg1);
- if (arg1) (*env)->ReleaseBooleanArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glGetBooleanv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetClipPlane)
- (JNIEnv *env, jclass that, jint arg0, jdoubleArray arg1)
-{
- jdouble *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glGetClipPlane\n")
- if (arg1) lparg1 = (*env)->GetDoubleArrayElements(env, arg1, NULL);
- glGetClipPlane(arg0, lparg1);
- if (arg1) (*env)->ReleaseDoubleArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glGetClipPlane\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetDoublev)
- (JNIEnv *env, jclass that, jint arg0, jdoubleArray arg1)
-{
- jdouble *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glGetDoublev\n")
- if (arg1) lparg1 = (*env)->GetDoubleArrayElements(env, arg1, NULL);
- glGetDoublev(arg0, lparg1);
- if (arg1) (*env)->ReleaseDoubleArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glGetDoublev\n")
-}
-
-JNIEXPORT jint JNICALL GL_NATIVE(glGetError)
- (JNIEnv *env, jclass that)
-{
- jint rc;
- NATIVE_ENTER(env, that, "glGetError\n")
- rc = (jint)glGetError();
- NATIVE_EXIT(env, that, "glGetError\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetFloatv)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1)
-{
- jfloat *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glGetFloatv\n")
- if (arg1) lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL);
- glGetFloatv(arg0, lparg1);
- if (arg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glGetFloatv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetIntegerv)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glGetIntegerv\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- glGetIntegerv(arg0, (GLint *)lparg1);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glGetIntegerv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetLightfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetLightfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glGetLightfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetLightfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetLightiv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetLightiv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glGetLightiv(arg0, arg1, (GLint *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetLightiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetMapdv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jdoubleArray arg2)
-{
- jdouble *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetMapdv\n")
- if (arg2) lparg2 = (*env)->GetDoubleArrayElements(env, arg2, NULL);
- glGetMapdv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseDoubleArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetMapdv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetMapfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetMapfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glGetMapfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetMapfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetMapiv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetMapiv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glGetMapiv(arg0, arg1, (GLint *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetMapiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetMaterialfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetMaterialfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glGetMaterialfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetMaterialfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetMaterialiv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetMaterialiv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glGetMaterialiv(arg0, arg1, (GLint *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetMaterialiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetPixelMapfv)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1)
-{
- jfloat *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glGetPixelMapfv\n")
- if (arg1) lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL);
- glGetPixelMapfv(arg0, lparg1);
- if (arg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glGetPixelMapfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetPixelMapuiv)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glGetPixelMapuiv\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- glGetPixelMapuiv(arg0, (unsigned int *)lparg1);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glGetPixelMapuiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetPixelMapusv)
- (JNIEnv *env, jclass that, jint arg0, jshortArray arg1)
-{
- jshort *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glGetPixelMapusv\n")
- if (arg1) lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL);
- glGetPixelMapusv(arg0, (unsigned short *)lparg1);
- if (arg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glGetPixelMapusv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetPointerv)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glGetPointerv\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- glGetPointerv(arg0, (void **)lparg1);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glGetPointerv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetPolygonStipple)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glGetPolygonStipple\n")
- if (arg0) lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL);
- glGetPolygonStipple((unsigned char *)lparg0);
- if (arg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glGetPolygonStipple\n")
-}
-
-JNIEXPORT jint JNICALL GL_NATIVE(glGetString)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glGetString\n")
- printf ("%s,\n",glGetString(arg0));
- NATIVE_EXIT(env, that, "glGetString\n")
- return 1;
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetTexEnvfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetTexEnvfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glGetTexEnvfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetTexEnvfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetTexEnviv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetTexEnviv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glGetTexEnviv(arg0, arg1, (GLint *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetTexEnviv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetTexGendv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jdoubleArray arg2)
-{
- jdouble *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetTexGendv\n")
- if (arg2) lparg2 = (*env)->GetDoubleArrayElements(env, arg2, NULL);
- glGetTexGendv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseDoubleArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetTexGendv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetTexGenfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetTexGenfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glGetTexGenfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetTexGenfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetTexGeniv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetTexGeniv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glGetTexGeniv(arg0, arg1, (GLint *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetTexGeniv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetTexImage)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4)
-{
- jint *lparg4=NULL;
-
- NATIVE_ENTER(env, that, "glGetTexImage\n")
- if (arg4) lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL);
- glGetTexImage(arg0, arg1, arg2, arg3, lparg4);
- if (arg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- NATIVE_EXIT(env, that, "glGetTexImage\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetTexLevelParameterfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jfloatArray arg3)
-{
- jfloat *lparg3=NULL;
-
- NATIVE_ENTER(env, that, "glGetTexLevelParameterfv\n")
- if (arg3) lparg3 = (*env)->GetFloatArrayElements(env, arg3, NULL);
- glGetTexLevelParameterfv(arg0, arg1, arg2, lparg3);
- if (arg3) (*env)->ReleaseFloatArrayElements(env, arg3, lparg3, 0);
- NATIVE_EXIT(env, that, "glGetTexLevelParameterfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetTexLevelParameteriv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3)
-{
- jint *lparg3=NULL;
-
- NATIVE_ENTER(env, that, "glGetTexLevelParameteriv\n")
- if (arg3) lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL);
- glGetTexLevelParameteriv(arg0, arg1, arg2, (GLint *)lparg3);
- if (arg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- NATIVE_EXIT(env, that, "glGetTexLevelParameteriv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetTexParameterfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetTexParameterfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glGetTexParameterfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetTexParameterfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glGetTexParameteriv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glGetTexParameteriv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glGetTexParameteriv(arg0, arg1, (GLint *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glGetTexParameteriv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glHint)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glHint\n")
- glHint(arg0, arg1);
- NATIVE_EXIT(env, that, "glHint\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glIndexMask)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glIndexMask\n")
- glIndexMask(arg0);
- NATIVE_EXIT(env, that, "glIndexMask\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glIndexPointer)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glIndexPointer\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glIndexPointer(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glIndexPointer\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glIndexd)
- (JNIEnv *env, jclass that, jdouble arg0)
-{
- NATIVE_ENTER(env, that, "glIndexd\n")
- glIndexd(arg0);
- NATIVE_EXIT(env, that, "glIndexd\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glIndexdv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glIndexdv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glIndexdv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glIndexdv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glIndexf)
- (JNIEnv *env, jclass that, jfloat arg0)
-{
- NATIVE_ENTER(env, that, "glIndexf\n")
- glIndexf(arg0);
- NATIVE_EXIT(env, that, "glIndexf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glIndexfv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glIndexfv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glIndexfv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glIndexfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glIndexi)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glIndexi\n")
- glIndexi(arg0);
- NATIVE_EXIT(env, that, "glIndexi\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glIndexiv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glIndexiv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glIndexiv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glIndexiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glIndexs)
- (JNIEnv *env, jclass that, jshort arg0)
-{
- NATIVE_ENTER(env, that, "glIndexs\n")
- glIndexs(arg0);
- NATIVE_EXIT(env, that, "glIndexs\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glIndexsv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glIndexsv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glIndexsv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glIndexsv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glInitNames)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glInitNames\n")
- glInitNames();
- NATIVE_EXIT(env, that, "glInitNames\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glInterleavedArrays)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glInterleavedArrays\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glInterleavedArrays(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glInterleavedArrays\n")
-}
-
-JNIEXPORT jboolean JNICALL GL_NATIVE(glIsEnabled)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean result;
- NATIVE_ENTER(env, that, "glIsEnabled\n")
- result = (jboolean)glIsEnabled(arg0);
- NATIVE_EXIT(env, that, "glIsEnabled\n")
- return result;
-}
-
-JNIEXPORT jboolean JNICALL GL_NATIVE(glIsList)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean result;
- NATIVE_ENTER(env, that, "glIsList\n")
- result = (jboolean)glIsList(arg0);
- NATIVE_EXIT(env, that, "glIsList\n")
- return result;
-}
-
-JNIEXPORT jboolean JNICALL GL_NATIVE(glIsTexture)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jboolean result;
- NATIVE_ENTER(env, that, "glIsTexture\n")
- result = (jboolean)glIsTexture(arg0);
- NATIVE_EXIT(env, that, "glIsTexture\n")
- return result;
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLightModelf)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glLightModelf\n")
- glLightModelf(arg0, arg1);
- NATIVE_EXIT(env, that, "glLightModelf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLightModelfv)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1)
-{
- jfloat *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glLightModelfv\n")
- if (arg1) lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL);
- glLightModelfv(arg0, lparg1);
- if (arg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glLightModelfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLightModeli)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glLightModeli\n")
- glLightModeli(arg0, arg1);
- NATIVE_EXIT(env, that, "glLightModeli\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLightModeliv)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glLightModeliv\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- glLightModeliv(arg0, (GLint *)lparg1);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glLightModeliv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLightf)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glLightf\n")
- glLightf(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glLightf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLightfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glLightfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glLightfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glLightfv\n")
-}
-/*
-JNIEXPORT void JNICALL GL_NATIVE(glLightfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat *arg2)
-{
- NATIVE_ENTER(env, that, "glLightfv\n")
- glLightfv(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glLightfv\n")
-}
-*/
-JNIEXPORT void JNICALL GL_NATIVE(glLighti)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glLighti\n")
- glLighti(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glLighti\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLightiv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glLightiv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glLightiv(arg0, arg1, (GLint *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glLightiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLineStipple)
- (JNIEnv *env, jclass that, jint arg0, jshort arg1)
-{
- NATIVE_ENTER(env, that, "glLineStipple\n")
- glLineStipple(arg0, arg1);
- NATIVE_EXIT(env, that, "glLineStipple\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLineWidth)
- (JNIEnv *env, jclass that, jfloat arg0)
-{
- NATIVE_ENTER(env, that, "glLineWidth\n")
- glLineWidth(arg0);
- NATIVE_EXIT(env, that, "glLineWidth\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glListBase)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glListBase\n")
- glListBase(arg0);
- NATIVE_EXIT(env, that, "glListBase\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLoadIdentity)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glLoadIdentity\n")
- glLoadIdentity();
- NATIVE_EXIT(env, that, "glLoadIdentity\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLoadMatrixd)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glLoadMatrixd\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glLoadMatrixd(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glLoadMatrixd\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLoadMatrixf)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glLoadMatrixf\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glLoadMatrixf(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glLoadMatrixf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLoadName)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glLoadName\n")
- glLoadName(arg0);
- NATIVE_EXIT(env, that, "glLoadName\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glLogicOp)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glLogicOp\n")
- glLogicOp(arg0);
- NATIVE_EXIT(env, that, "glLogicOp\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMap2f)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2, jint arg3, jint arg4,
- jfloat arg5, jfloat arg6, jint arg7, jint arg8, jfloatArray arg9)
-{
- jfloat *lparg9=NULL;
-
- NATIVE_ENTER(env, that, "glMap2f\n")
- if (arg9) lparg9 = (*env)->GetFloatArrayElements(env, arg9, NULL);
- glMap2f(arg0, arg1, arg2, arg3, arg4 ,arg5, arg6, arg7, arg8, lparg9);
- if (arg9) (*env)->ReleaseFloatArrayElements(env, arg9, lparg9, 0);
- NATIVE_EXIT(env, that, "glMap2f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMap2d)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jdouble arg2, jint arg3, jint arg4,
- jdouble arg5, jdouble arg6, jint arg7, jint arg8, jdoubleArray arg9)
-{
- jdouble *lparg9=NULL;
-
- NATIVE_ENTER(env, that, "glMap2d\n")
- if (arg9) lparg9 = (*env)->GetDoubleArrayElements(env, arg9, NULL);
- glMap2d(arg0, arg1, arg2, arg3, arg4 ,arg5, arg6, arg7, arg8, lparg9);
- if (arg9) (*env)->ReleaseDoubleArrayElements(env, arg9, lparg9, 0);
- NATIVE_EXIT(env, that, "glMap2d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMap1d)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jdouble arg2, jint arg3, jint arg4, jdoubleArray arg5)
-{
- jdouble *lparg5=NULL;
-
- NATIVE_ENTER(env, that, "glMap1d\n")
- if (arg5) lparg5 = (*env)->GetDoubleArrayElements(env, arg5, NULL);
- glMap1d(arg0, arg1, arg2, arg3, arg4, lparg5);
- if (arg5) (*env)->ReleaseDoubleArrayElements(env, arg5, lparg5, 0);
- NATIVE_EXIT(env, that, "glMap1d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMap1f)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2, jint arg3, jint arg4, jfloatArray arg5)
-{
- jfloat *lparg5=NULL;
-
- NATIVE_ENTER(env, that, "glMap1f\n")
- if (arg5) lparg5 = (*env)->GetFloatArrayElements(env, arg5, NULL);
- glMap1f(arg0, arg1, arg2, arg3, arg4, lparg5);
- if (arg5) (*env)->ReleaseFloatArrayElements(env, arg5, lparg5, 0);
- NATIVE_EXIT(env, that, "glMap1f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMapGrid1d)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jdouble arg2)
-{
- NATIVE_ENTER(env, that, "glMapGrid1d\n")
- glMapGrid1d(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glMapGrid1d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMapGrid1f)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glMapGrid1f\n")
- glMapGrid1f(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glMapGrid1f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMapGrid2d)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jdouble arg2, jint arg3, jdouble arg4, jdouble arg5)
-{
- NATIVE_ENTER(env, that, "glMapGrid2d\n")
- glMapGrid2d(arg0, arg1, arg2, arg3, arg4, arg5);
- NATIVE_EXIT(env, that, "glMapGrid2d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMapGrid2f)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1, jfloat arg2, jint arg3, jfloat arg4, jfloat arg5)
-{
- NATIVE_ENTER(env, that, "glMapGrid2f\n")
- glMapGrid2f(arg0, arg1, arg2, arg3, arg4, arg5);
- NATIVE_EXIT(env, that, "glMapGrid2f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMaterialf)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glMaterialf\n")
- glMaterialf(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glMaterialf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMaterialfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glMaterialfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glMaterialfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glMaterialfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMateriali)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glMateriali\n")
- glMateriali(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glMateriali\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMaterialiv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glMaterialiv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glMaterialiv(arg0, arg1, (GLint *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glMaterialiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMatrixMode)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glMatrixMode\n")
- glMatrixMode(arg0);
- NATIVE_EXIT(env, that, "glMatrixMode\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMultMatrixd)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glMultMatrixd\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glMultMatrixd(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glMultMatrixd\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glMultMatrixf)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glMultMatrixf\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glMultMatrixf(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glMultMatrixf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNewList)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glNewList\n")
- glNewList(arg0, arg1);
- NATIVE_EXIT(env, that, "glNewList\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNormal3b)
- (JNIEnv *env, jclass that, jbyte arg0, jbyte arg1, jbyte arg2)
-{
- NATIVE_ENTER(env, that, "glNormal3b\n")
- glNormal3b(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glNormal3b\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNormal3bv)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glNormal3bv\n")
- if (arg0) lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL);
- glNormal3bv(lparg0);
- if (arg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glNormal3bv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNormal3d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2)
-{
- NATIVE_ENTER(env, that, "glNormal3d\n")
- glNormal3d(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glNormal3d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNormal3dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glNormal3dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glNormal3dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glNormal3dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNormal3f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glNormal3f\n")
- glNormal3f(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glNormal3f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNormal3fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glNormal3fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glNormal3fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glNormal3fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNormal3i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glNormal3i\n")
- glNormal3i(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glNormal3i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNormal3iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glNormal3iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glNormal3iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glNormal3iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNormal3s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2)
-{
- NATIVE_ENTER(env, that, "glNormal3s\n")
- glNormal3s(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glNormal3s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNormal3sv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glNormal3sv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glNormal3sv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glNormal3sv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glNormalPointer)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glNormalPointer\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glNormalPointer(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glNormalPointer\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glOrtho)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5)
-{
- NATIVE_ENTER(env, that, "glOrtho\n")
- glOrtho(arg0, arg1, arg2, arg3, arg4, arg5);
- NATIVE_EXIT(env, that, "glOrtho\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPassThrough)
- (JNIEnv *env, jclass that, jfloat arg0)
-{
- NATIVE_ENTER(env, that, "glPassThrough\n")
- glPassThrough(arg0);
- NATIVE_EXIT(env, that, "glPassThrough\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPixelMapfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glPixelMapfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glPixelMapfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glPixelMapfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPixelMapuiv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glPixelMapuiv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glPixelMapuiv(arg0, arg1, (unsigned int *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glPixelMapuiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPixelMapusv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jshortArray arg2)
-{
- jshort *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glPixelMapusv\n")
- if (arg2) lparg2 = (*env)->GetShortArrayElements(env, arg2, NULL);
- glPixelMapusv(arg0, arg1, (unsigned short *)lparg2);
- if (arg2) (*env)->ReleaseShortArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glPixelMapusv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPixelStoref)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glPixelStoref\n")
- glPixelStoref(arg0, arg1);
- NATIVE_EXIT(env, that, "glPixelStoref\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPixelStorei)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glPixelStorei\n")
- glPixelStorei(arg0, arg1);
- NATIVE_EXIT(env, that, "glPixelStorei\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPixelTransferf)
- (JNIEnv *env, jclass that, jint arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glPixelTransferf\n")
- glPixelTransferf(arg0, arg1);
- NATIVE_EXIT(env, that, "glPixelTransferf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPixelTransferi)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glPixelTransferi\n")
- glPixelTransferi(arg0, arg1);
- NATIVE_EXIT(env, that, "glPixelTransferi\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPixelZoom)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glPixelZoom\n")
- glPixelZoom(arg0, arg1);
- NATIVE_EXIT(env, that, "glPixelZoom\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPointSize)
- (JNIEnv *env, jclass that, jfloat arg0)
-{
- NATIVE_ENTER(env, that, "glPointSize\n")
- glPointSize(arg0);
- NATIVE_EXIT(env, that, "glPointSize\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPolygonMode)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glPolygonMode\n")
- glPolygonMode(arg0, arg1);
- NATIVE_EXIT(env, that, "glPolygonMode\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPolygonOffset)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glPolygonOffset\n")
- glPolygonOffset(arg0, arg1);
- NATIVE_EXIT(env, that, "glPolygonOffset\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPolygonStipple)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glPolygonStipple\n")
- if (arg0) lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL);
- glPolygonStipple((unsigned char *)lparg0);
- if (arg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glPolygonStipple\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPopAttrib)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glPopAttrib\n")
- glPopAttrib();
- NATIVE_EXIT(env, that, "glPopAttrib\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPopClientAttrib)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glPopClientAttrib\n")
- glPopClientAttrib();
- NATIVE_EXIT(env, that, "glPopClientAttrib\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPopMatrix)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glPopMatrix\n")
- glPopMatrix();
- NATIVE_EXIT(env, that, "glPopMatrix\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPopName)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glPopName\n")
- glPopName();
- NATIVE_EXIT(env, that, "glPopName\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPrioritizeTextures)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jfloatArray arg2)
-{
- jint *lparg1=NULL;
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glPrioritizeTextures\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glPrioritizeTextures(arg0, (unsigned int *)lparg1, lparg2);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glPrioritizeTextures\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPushAttrib)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glPushAttrib\n")
- glPushAttrib(arg0);
- NATIVE_EXIT(env, that, "glPushAttrib\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPushClientAttrib)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glPushClientAttrib\n")
- glPushClientAttrib(arg0);
- NATIVE_EXIT(env, that, "glPushClientAttrib\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPushMatrix)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glPushMatrix\n")
- glPushMatrix();
- NATIVE_EXIT(env, that, "glPushMatrix\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glPushName)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glPushName\n")
- glPushName(arg0);
- NATIVE_EXIT(env, that, "glPushName\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos2d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1)
-{
- NATIVE_ENTER(env, that, "glRasterPos2d\n")
- glRasterPos2d(arg0, arg1);
- NATIVE_EXIT(env, that, "glRasterPos2d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos2dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos2dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glRasterPos2dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos2dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos2f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glRasterPos2f\n")
- glRasterPos2f(arg0, arg1);
- NATIVE_EXIT(env, that, "glRasterPos2f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos2fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos2fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glRasterPos2fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos2fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos2i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glRasterPos2i\n")
- glRasterPos2i(arg0, arg1);
- NATIVE_EXIT(env, that, "glRasterPos2i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos2iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos2iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glRasterPos2iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos2iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos2s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1)
-{
- NATIVE_ENTER(env, that, "glRasterPos2s\n")
- glRasterPos2s(arg0, arg1);
- NATIVE_EXIT(env, that, "glRasterPos2s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos2sv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos2sv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glRasterPos2sv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos2sv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos3d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2)
-{
- NATIVE_ENTER(env, that, "glRasterPos3d\n")
- glRasterPos3d(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glRasterPos3d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos3dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos3dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glRasterPos3dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos3dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos3f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glRasterPos3f\n")
- glRasterPos3f(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glRasterPos3f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos3fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos3fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glRasterPos3fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos3fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos3i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glRasterPos3i\n")
- glRasterPos3i(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glRasterPos3i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos3iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos3iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glRasterPos3iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos3iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos3s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2)
-{
- NATIVE_ENTER(env, that, "glRasterPos3s\n")
- glRasterPos3s(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glRasterPos3s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos3sv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos3sv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glRasterPos3sv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos3sv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos4d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3)
-{
- NATIVE_ENTER(env, that, "glRasterPos4d\n")
- glRasterPos4d(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glRasterPos4d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos4dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos4dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glRasterPos4dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos4dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos4f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2, jfloat arg3)
-{
- NATIVE_ENTER(env, that, "glRasterPos4f\n")
- glRasterPos4f(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glRasterPos4f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos4fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos4fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glRasterPos4fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos4fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos4i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- NATIVE_ENTER(env, that, "glRasterPos4i\n")
- glRasterPos4i(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glRasterPos4i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos4iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos4iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glRasterPos4iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos4iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos4s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2, jshort arg3)
-{
- NATIVE_ENTER(env, that, "glRasterPos4s\n")
- glRasterPos4s(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glRasterPos4s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRasterPos4sv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glRasterPos4sv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glRasterPos4sv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glRasterPos4sv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glReadBuffer)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glReadBuffer\n")
- glReadBuffer(arg0);
- NATIVE_EXIT(env, that, "glReadBuffer\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glReadPixels)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jintArray arg6)
-{
- jint *lparg6=NULL;
-
- NATIVE_ENTER(env, that, "glReadPixels\n")
- if (arg6) lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL);
- glReadPixels(arg0, arg1, arg2, arg3, arg4, arg5, lparg6);
- if (arg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- NATIVE_EXIT(env, that, "glReadPixels\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRectd)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3)
-{
- NATIVE_ENTER(env, that, "glRectd\n")
- glRectd(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glRectd\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRectdv)
- (JNIEnv *env, jclass that, jdoubleArray arg0, jdoubleArray arg1)
-{
- jdouble *lparg0=NULL;
- jdouble *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glRectdv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- if (arg1) lparg1 = (*env)->GetDoubleArrayElements(env, arg1, NULL);
- glRectdv(lparg0, lparg1);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- if (arg1) (*env)->ReleaseDoubleArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glRectdv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRectf)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2, jfloat arg3)
-{
- NATIVE_ENTER(env, that, "glRectf\n")
- glRectf(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glRectf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRectfv)
- (JNIEnv *env, jclass that, jfloatArray arg0, jfloatArray arg1)
-{
- jfloat *lparg0=NULL;
- jfloat *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glRectfv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- if (arg1) lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL);
- glRectfv(lparg0, lparg1);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- if (arg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glRectfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRecti)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- NATIVE_ENTER(env, that, "glRecti\n")
- glRecti(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glRecti\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRectiv)
- (JNIEnv *env, jclass that, jintArray arg0, jintArray arg1)
-{
- jint *lparg0=NULL;
- jint *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glRectiv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- glRectiv((GLint *)lparg0, (GLint *)lparg1);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glRectiv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRects)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2, jshort arg3)
-{
- NATIVE_ENTER(env, that, "glRects\n")
- glRects(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glRects\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRectsv)
- (JNIEnv *env, jclass that, jshortArray arg0, jshortArray arg1)
-{
- jshort *lparg0=NULL;
- jshort *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glRectsv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- if (arg1) lparg1 = (*env)->GetShortArrayElements(env, arg1, NULL);
- glRectsv(lparg0, lparg1);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- if (arg1) (*env)->ReleaseShortArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glRectsv\n")
-}
-
-JNIEXPORT jint JNICALL GL_NATIVE(glRenderMode)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc;
- NATIVE_ENTER(env, that, "glRenderMode\n")
- rc = (jint)glRenderMode(arg0);
- NATIVE_EXIT(env, that, "glRenderMode\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRotated)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3)
-{
- NATIVE_ENTER(env, that, "glRotated\n")
- glRotated(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glRotated\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glRotatef)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2, jfloat arg3)
-{
- NATIVE_ENTER(env, that, "glRotatef\n")
- glRotatef(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glRotatef\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glScaled)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2)
-{
- NATIVE_ENTER(env, that, "glScaled\n")
- glScaled(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glScaled\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glScalef)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glScalef\n")
- glScalef(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glScalef\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glScissor)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- NATIVE_ENTER(env, that, "glScissor\n")
- glScissor(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glScissor\n")
-}
-
-/*
-JNIEXPORT void JNICALL GL_NATIVE(glSelectBuffer)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1)
-{
- jint *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "glSelectBuffer\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- glSelectBuffer(arg0, lparg1);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "glSelectBuffer\n")
-}
-*/
-
-
-JNIEXPORT void JNICALL GL_NATIVE(glSelectBuffer)
- (JNIEnv *env, jclass that, jint arg0, jint *arg1)
-{
- NATIVE_ENTER(env, that, "glSelectBuffer\n")
- glSelectBuffer(arg0, (unsigned int *)arg1);
- NATIVE_EXIT(env, that, "glSelectBuffer\n")
-}
-
-
-JNIEXPORT void JNICALL GL_NATIVE(glShadeModel)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glShadeModel\n")
- glShadeModel(arg0);
- NATIVE_EXIT(env, that, "glShadeModel\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glStencilFunc)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glStencilFunc\n")
- glStencilFunc(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glStencilFunc\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glStencilMask)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glStencilMask\n")
- glStencilMask(arg0);
- NATIVE_EXIT(env, that, "glStencilMask\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glStencilOp)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glStencilOp\n")
- glStencilOp(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glStencilOp\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord1d)
- (JNIEnv *env, jclass that, jdouble arg0)
-{
- NATIVE_ENTER(env, that, "glTexCoord1d\n")
- glTexCoord1d(arg0);
- NATIVE_EXIT(env, that, "glTexCoord1d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord1dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord1dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glTexCoord1dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord1dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord1f)
- (JNIEnv *env, jclass that, jfloat arg0)
-{
- NATIVE_ENTER(env, that, "glTexCoord1f\n")
- glTexCoord1f(arg0);
- NATIVE_EXIT(env, that, "glTexCoord1f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord1fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord1fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glTexCoord1fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord1fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord1i)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glTexCoord1i\n")
- glTexCoord1i(arg0);
- NATIVE_EXIT(env, that, "glTexCoord1i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord1iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord1iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glTexCoord1iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord1iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord1s)
- (JNIEnv *env, jclass that, jshort arg0)
-{
- NATIVE_ENTER(env, that, "glTexCoord1s\n")
- glTexCoord1s(arg0);
- NATIVE_EXIT(env, that, "glTexCoord1s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord1sv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord1sv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glTexCoord1sv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord1sv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord2d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1)
-{
- NATIVE_ENTER(env, that, "glTexCoord2d\n")
- glTexCoord2d(arg0, arg1);
- NATIVE_EXIT(env, that, "glTexCoord2d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord2dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord2dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glTexCoord2dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord2dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord2f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glTexCoord2f\n")
- glTexCoord2f(arg0, arg1);
- NATIVE_EXIT(env, that, "glTexCoord2f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord2fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord2fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glTexCoord2fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord2fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord2i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glTexCoord2i\n")
- glTexCoord2i(arg0, arg1);
- NATIVE_EXIT(env, that, "glTexCoord2i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord2iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord2iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glTexCoord2iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord2iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord2s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1)
-{
- NATIVE_ENTER(env, that, "glTexCoord2s\n")
- glTexCoord2s(arg0, arg1);
- NATIVE_EXIT(env, that, "glTexCoord2s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord2sv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord2sv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glTexCoord2sv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord2sv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord3d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2)
-{
- NATIVE_ENTER(env, that, "glTexCoord3d\n")
- glTexCoord3d(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTexCoord3d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord3dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord3dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glTexCoord3dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord3dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord3f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glTexCoord3f\n")
- glTexCoord3f(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTexCoord3f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord3fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord3fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glTexCoord3fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord3fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord3i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glTexCoord3i\n")
- glTexCoord3i(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTexCoord3i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord3iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord3iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glTexCoord3iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord3iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord3s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2)
-{
- NATIVE_ENTER(env, that, "glTexCoord3s\n")
- glTexCoord3s(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTexCoord3s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord3sv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord3sv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glTexCoord3sv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord3sv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord4d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3)
-{
- NATIVE_ENTER(env, that, "glTexCoord4d\n")
- glTexCoord4d(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glTexCoord4d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord4dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord4dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glTexCoord4dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord4dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord4f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2, jfloat arg3)
-{
- NATIVE_ENTER(env, that, "glTexCoord4f\n")
- glTexCoord4f(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glTexCoord4f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord4fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord4fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glTexCoord4fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord4fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord4i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- NATIVE_ENTER(env, that, "glTexCoord4i\n")
- glTexCoord4i(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glTexCoord4i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord4iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord4iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glTexCoord4iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord4iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord4s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2, jshort arg3)
-{
- NATIVE_ENTER(env, that, "glTexCoord4s\n")
- glTexCoord4s(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glTexCoord4s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoord4sv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoord4sv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glTexCoord4sv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glTexCoord4sv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexCoordPointer)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3)
-{
- jint *lparg3=NULL;
-
- NATIVE_ENTER(env, that, "glTexCoordPointer\n")
- if (arg3) lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL);
- glTexCoordPointer(arg0, arg1, arg2, lparg3);
- if (arg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- NATIVE_EXIT(env, that, "glTexCoordPointer\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexEnvf)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glTexEnvf\n")
- glTexEnvf(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTexEnvf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexEnvfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glTexEnvfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glTexEnvfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glTexEnvfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexEnvi)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glTexEnvi\n")
- glTexEnvi(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTexEnvi\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexEnviv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glTexEnviv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glTexEnviv(arg0, arg1, (GLint *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glTexEnviv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexGend)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jdouble arg2)
-{
- NATIVE_ENTER(env, that, "glTexGend\n")
- glTexGend(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTexGend\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexGendv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jdoubleArray arg2)
-{
- jdouble *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glTexGendv\n")
- if (arg2) lparg2 = (*env)->GetDoubleArrayElements(env, arg2, NULL);
- glTexGendv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseDoubleArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glTexGendv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexGenf)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glTexGenf\n")
- glTexGenf(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTexGenf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexGenfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glTexGenfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glTexGenfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glTexGenfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexGeni)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glTexGeni\n")
- glTexGeni(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTexGeni\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexGeniv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glTexGeniv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glTexGeniv(arg0, arg1, (GLint *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glTexGeniv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexImage1D)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6, jintArray arg7)
-{
- jint *lparg7=NULL;
-
- NATIVE_ENTER(env, that, "glTexImage1D\n")
- if (arg7) lparg7 = (*env)->GetIntArrayElements(env, arg7, NULL);
- glTexImage1D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, lparg7);
- if (arg7) (*env)->ReleaseIntArrayElements(env, arg7, lparg7, 0);
- NATIVE_EXIT(env, that, "glTexImage1D\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexImage2D)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6, jint arg7, jbyteArray arg8)
-{
- jbyte *lparg8=NULL;
-
- NATIVE_ENTER(env, that, "glTexImage2D\n")
- if (arg8) lparg8 = (*env)->GetByteArrayElements(env, arg8, NULL);
- glTexImage2D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, lparg8);
- if (arg8) (*env)->ReleaseByteArrayElements(env, arg8, lparg8, 0);
- NATIVE_EXIT(env, that, "glTexImage2D\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexParameterf)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glTexParameterf\n")
- glTexParameterf(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTexParameterf\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexParameterfv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glTexParameterfv\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- glTexParameterfv(arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glTexParameterfv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexParameteri)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glTexParameteri\n")
- glTexParameteri(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTexParameteri\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexParameteriv)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "glTexParameteriv\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- glTexParameteriv(arg0, arg1, (GLint *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glTexParameteriv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexSubImage1D)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jintArray arg6)
-{
- jint *lparg6=NULL;
-
- NATIVE_ENTER(env, that, "glTexSubImage1D\n")
- if (arg6) lparg6 = (*env)->GetIntArrayElements(env, arg6, NULL);
- glTexSubImage1D(arg0, arg1, arg2, arg3, arg4, arg5, lparg6);
- if (arg6) (*env)->ReleaseIntArrayElements(env, arg6, lparg6, 0);
- NATIVE_EXIT(env, that, "glTexSubImage1D\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTexSubImage2D)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6, jint arg7, jintArray arg8)
-{
- jint *lparg8=NULL;
-
- NATIVE_ENTER(env, that, "glTexSubImage2D\n")
- if (arg8) lparg8 = (*env)->GetIntArrayElements(env, arg8, NULL);
- glTexSubImage2D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, lparg8);
- if (arg8) (*env)->ReleaseIntArrayElements(env, arg8, lparg8, 0);
- NATIVE_EXIT(env, that, "glTexSubImage2D\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTranslated)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2)
-{
- NATIVE_ENTER(env, that, "glTranslated\n")
- glTranslated(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTranslated\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glTranslatef)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glTranslatef\n")
- glTranslatef(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glTranslatef\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex2d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1)
-{
- NATIVE_ENTER(env, that, "glVertex2d\n")
- glVertex2d(arg0, arg1);
- NATIVE_EXIT(env, that, "glVertex2d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex2dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex2dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glVertex2dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex2dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex2f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1)
-{
- NATIVE_ENTER(env, that, "glVertex2f\n")
- glVertex2f(arg0, arg1);
- NATIVE_EXIT(env, that, "glVertex2f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex2fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex2fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glVertex2fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex2fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex2i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glVertex2i\n")
- glVertex2i(arg0, arg1);
- NATIVE_EXIT(env, that, "glVertex2i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex2iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex2iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glVertex2iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex2iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex2s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1)
-{
- NATIVE_ENTER(env, that, "glVertex2s\n")
- glVertex2s(arg0, arg1);
- NATIVE_EXIT(env, that, "glVertex2s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex2sv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex2sv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glVertex2sv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex2sv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex3d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2)
-{
- NATIVE_ENTER(env, that, "glVertex3d\n")
- glVertex3d(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glVertex3d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex3dv__I)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex3dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glVertex3dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex3dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex3dv)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "glVertex3dv\n")
- glVertex3dv((double*)arg0);
- NATIVE_EXIT(env, that, "glVertex3dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex3f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "glVertex3f\n")
- glVertex3f(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glVertex3f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex3fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex3fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glVertex3fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex3fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex3i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "glVertex3i\n")
- glVertex3i(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glVertex3i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex3iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex3iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glVertex3iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex3iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex3s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2)
-{
- NATIVE_ENTER(env, that, "glVertex3s\n")
- glVertex3s(arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glVertex3s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex3sv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex3sv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glVertex3sv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex3sv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex4d)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3)
-{
- NATIVE_ENTER(env, that, "glVertex4d\n")
- glVertex4d(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glVertex4d\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex4dv)
- (JNIEnv *env, jclass that, jdoubleArray arg0)
-{
- jdouble *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex4dv\n")
- if (arg0) lparg0 = (*env)->GetDoubleArrayElements(env, arg0, NULL);
- glVertex4dv(lparg0);
- if (arg0) (*env)->ReleaseDoubleArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex4dv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex4f)
- (JNIEnv *env, jclass that, jfloat arg0, jfloat arg1, jfloat arg2, jfloat arg3)
-{
- NATIVE_ENTER(env, that, "glVertex4f\n")
- glVertex4f(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glVertex4f\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex4fv)
- (JNIEnv *env, jclass that, jfloatArray arg0)
-{
- jfloat *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex4fv\n")
- if (arg0) lparg0 = (*env)->GetFloatArrayElements(env, arg0, NULL);
- glVertex4fv(lparg0);
- if (arg0) (*env)->ReleaseFloatArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex4fv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex4i)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- NATIVE_ENTER(env, that, "glVertex4i\n")
- glVertex4i(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glVertex4i\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex4iv)
- (JNIEnv *env, jclass that, jintArray arg0)
-{
- jint *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex4iv\n")
- if (arg0) lparg0 = (*env)->GetIntArrayElements(env, arg0, NULL);
- glVertex4iv((GLint *)lparg0);
- if (arg0) (*env)->ReleaseIntArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex4iv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex4s)
- (JNIEnv *env, jclass that, jshort arg0, jshort arg1, jshort arg2, jshort arg3)
-{
- NATIVE_ENTER(env, that, "glVertex4s\n")
- glVertex4s(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glVertex4s\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertex4sv)
- (JNIEnv *env, jclass that, jshortArray arg0)
-{
- jshort *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "glVertex4sv\n")
- if (arg0) lparg0 = (*env)->GetShortArrayElements(env, arg0, NULL);
- glVertex4sv(lparg0);
- if (arg0) (*env)->ReleaseShortArrayElements(env, arg0, lparg0, 0);
- NATIVE_EXIT(env, that, "glVertex4sv\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glVertexPointer)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jintArray arg3)
-{
- jint *lparg3=NULL;
-
- NATIVE_ENTER(env, that, "glVertexPointer\n")
- if (arg3) lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL);
- glVertexPointer(arg0, arg1, arg2, lparg3);
- if (arg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- NATIVE_EXIT(env, that, "glVertexPointer\n")
-}
-
-JNIEXPORT void JNICALL GL_NATIVE(glViewport)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- NATIVE_ENTER(env, that, "glViewport\n")
- glViewport(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glViewport\n")
-}
diff --git a/bundles/org.eclipse.swt.opengl/common/gl_library/glu.c b/bundles/org.eclipse.swt.opengl/common/gl_library/glu.c
deleted file mode 100644
index 5f49ee97e6..0000000000
--- a/bundles/org.eclipse.swt.opengl/common/gl_library/glu.c
+++ /dev/null
@@ -1,546 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-#ifdef WIN32
-#include <windows.h>
-#endif
-#include <GL/glu.h>
-#include "swt.h"
-
-#define GLU_NATIVE(func) Java_org_eclipse_swt_opengl_GLU_##func
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluBeginCurve)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluBeginCurve\n")
- gluBeginCurve((GLUnurbsObj *)arg0);
- NATIVE_EXIT(env, that, "gluBeginCurve\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluBeginPolygon)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluBeginPolygon\n")
- gluBeginPolygon((GLUtesselator *)arg0);
- NATIVE_EXIT(env, that, "gluBeginPolygon\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluBeginSurface)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluBeginSurface\n")
- gluBeginSurface((GLUnurbs *)arg0);
- NATIVE_EXIT(env, that, "gluBeginSurface\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluBeginTrim)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluBeginTrim\n")
- gluBeginTrim((GLUnurbs *)arg0);
- NATIVE_EXIT(env, that, "gluBeginTrim\n")
-}
-
-JNIEXPORT jint JNICALL GLU_NATIVE(gluBuild1DMipmaps)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5)
-{
- jint rc;
- NATIVE_ENTER(env, that, "gluBuild1DMipmaps\n")
- rc = (jint)gluBuild1DMipmaps(arg0, arg1, arg2, arg3, arg4, (const void *)arg5);
- NATIVE_EXIT(env, that, "gluBuild1DMipmaps\n")
- return rc;
-}
-
-/*
-JNIEXPORT jint JNICALL GLU_NATIVE(gluBuild2DMipmaps)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6)
-{
- jint rc;
- NATIVE_ENTER(env, that, "gluBuild2DMipmaps\n")
- rc = (jint)gluBuild2DMipmaps(arg0, arg1, arg2, arg3, arg4, arg5, (const void *)arg6);
- NATIVE_EXIT(env, that, "gluBuild2DMipmaps\n")
- return rc;
-}
-*/
-
-JNIEXPORT jint JNICALL GLU_NATIVE(gluBuild2DMipmaps)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jbyteArray arg6)
-{
- jbyte *lparg6=NULL;
- jint rc;
-
- NATIVE_ENTER(env, that, "gluBuild2DMipmaps\n")
- if (arg6) lparg6 = (*env)->GetByteArrayElements(env, arg6, NULL);
- rc = (jint)gluBuild2DMipmaps(arg0, arg1, arg2, arg3, arg4, arg5, (const void *)lparg6);
- if (arg6) (*env)->ReleaseByteArrayElements(env, arg6, lparg6, 0);
- NATIVE_EXIT(env, that, "gluBuild2DMipmaps\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluCylinder)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jdouble arg2, jdouble arg3, jint arg4, jint arg5)
-{
- NATIVE_ENTER(env, that, "gluCylinder\n")
- gluCylinder((GLUquadric *)arg0, arg1, arg2, arg3, arg4, arg5);
- NATIVE_EXIT(env, that, "gluCylinder\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluDeleteNurbsRenderer)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluDeleteNurbsRenderer\n")
- gluDeleteNurbsRenderer((GLUnurbs *)arg0);
- NATIVE_EXIT(env, that, "gluDeleteNurbsRenderer\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluDeleteQuadric)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluDeleteQuadric\n")
- gluDeleteQuadric((GLUquadric *)arg0);
- NATIVE_EXIT(env, that, "gluDeleteQuadric\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluDeleteTess)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluDeleteTess\n")
- gluDeleteTess((GLUtesselator *)arg0);
- NATIVE_EXIT(env, that, "gluDeleteTess\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluDisk)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jdouble arg2, jint arg3, jint arg4)
-{
- NATIVE_ENTER(env, that, "gluDisk\n")
- gluDisk((GLUquadric *)arg0, arg1, arg2, arg3, arg4);
- NATIVE_EXIT(env, that, "gluDisk\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluEndCurve)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluEndCurve\n")
- gluEndCurve((GLUnurbsObj *)arg0);
- NATIVE_EXIT(env, that, "gluEndCurve\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluEndPolygon)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluEndPolygon\n")
- gluEndPolygon((GLUtesselator *)arg0);
- NATIVE_EXIT(env, that, "gluEndPolygon\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluEndSurface)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluEndSurface\n")
- gluEndSurface((GLUnurbs *)arg0);
- NATIVE_EXIT(env, that, "gluEndSurface\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluEndTrim)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluEndTrim\n")
- gluEndTrim((GLUnurbs *)arg0);
- NATIVE_EXIT(env, that, "gluEndTrim\n")
-}
-
-JNIEXPORT jint JNICALL GLU_NATIVE(gluErrorString)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc;
- NATIVE_ENTER(env, that, "gluErrorString\n")
- rc = (jint)gluErrorString(arg0);
- NATIVE_EXIT(env, that, "gluErrorString\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluGetNurbsProperty)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "gluGetNurbsProperty\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- gluGetNurbsProperty((GLUnurbs *)arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "gluGetNurbsProperty\n")
-}
-
-JNIEXPORT jint JNICALL GLU_NATIVE(gluGetString)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc;
- NATIVE_ENTER(env, that, "gluGetString\n")
- rc = (jint)gluGetString(arg0);
- NATIVE_EXIT(env, that, "gluGetString\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluGetTessProperty)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jdoubleArray arg2)
-{
- jdouble *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "gluGetTessProperty\n")
- if (arg2) lparg2 = (*env)->GetDoubleArrayElements(env, arg2, NULL);
- gluGetTessProperty((GLUtesselator *)arg0, arg1, lparg2);
- if (arg2) (*env)->ReleaseDoubleArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "gluGetTessProperty\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluLoadSamplingMatrices)
- (JNIEnv *env, jclass that, jint arg0, jfloatArray arg1, jfloatArray arg2, jintArray arg3)
-{
- jfloat *lparg1=NULL;
- jfloat *lparg2=NULL;
- jint *lparg3=NULL;
-
- NATIVE_ENTER(env, that, "gluLoadSamplingMatrices\n")
- if (arg1) lparg1 = (*env)->GetFloatArrayElements(env, arg1, NULL);
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- if (arg3) lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL);
- gluLoadSamplingMatrices((GLUnurbs *)arg0, lparg1, lparg2, (GLint *)lparg3);
- if (arg1) (*env)->ReleaseFloatArrayElements(env, arg1, lparg1, 0);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- if (arg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- NATIVE_EXIT(env, that, "gluLoadSamplingMatrices\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluLookAt)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3, jdouble arg4, jdouble arg5, jdouble arg6, jdouble arg7, jdouble arg8)
-{
- NATIVE_ENTER(env, that, "gluLookAt\n")
- gluLookAt(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
- NATIVE_EXIT(env, that, "gluLookAt\n")
-}
-
-JNIEXPORT jint JNICALL GLU_NATIVE(gluNewNurbsRenderer)
- (JNIEnv *env, jclass that)
-{
- jint rc;
- NATIVE_ENTER(env, that, "gluNewNurbsRenderer\n")
- rc = (jint)gluNewNurbsRenderer();
- NATIVE_EXIT(env, that, "gluNewNurbsRenderer\n")
- return rc;
-}
-
-JNIEXPORT jint JNICALL GLU_NATIVE(gluNewQuadric)
- (JNIEnv *env, jclass that)
-{
- jint rc;
- NATIVE_ENTER(env, that, "gluNewQuadric\n")
- rc = (jint)gluNewQuadric();
- NATIVE_EXIT(env, that, "gluNewQuadric\n")
- return rc;
-}
-
-JNIEXPORT jint JNICALL GLU_NATIVE(gluNewTess)
- (JNIEnv *env, jclass that)
-{
- jint rc;
- NATIVE_ENTER(env, that, "gluNewTess\n")
- rc = (jint)gluNewTess();
- NATIVE_EXIT(env, that, "gluNewTess\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluNextContour)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "gluNextContour\n")
- gluNextContour((GLUtesselator *)arg0, arg1);
- NATIVE_EXIT(env, that, "gluNextContour\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluNurbsCallback)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "gluNurbsCallback\n")
- gluNurbsCallback((GLUnurbs *)arg0, arg1, (GLvoid(*))arg2);
- NATIVE_EXIT(env, that, "gluNurbsCallback\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluNurbsCurve)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2, jint arg3, jfloatArray arg4, jint arg5, jint arg6)
-{
- jfloat *lparg2=NULL;
- jfloat *lparg4=NULL;
-
- NATIVE_ENTER(env, that, "gluNurbsCurve\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- if (arg4) lparg4 = (*env)->GetFloatArrayElements(env, arg4, NULL);
- gluNurbsCurve((GLUnurbs *)arg0, arg1, lparg2, arg3, lparg4, arg5, arg6);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- if (arg4) (*env)->ReleaseFloatArrayElements(env, arg4, lparg4, 0);
- NATIVE_EXIT(env, that, "gluNurbsCurve\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluNurbsProperty)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "gluNurbsProperty\n")
- gluNurbsProperty((GLUnurbs *)arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "gluNurbsProperty\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluNurbsSurface)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2, jint arg3, jfloatArray arg4, jint arg5, jint arg6, jfloatArray arg7, jint arg8, jint arg9, jint arg10)
-{
- jfloat *lparg2=NULL;
- jfloat *lparg4=NULL;
- jfloat *lparg7=NULL;
-
- NATIVE_ENTER(env, that, "gluNurbsSurface\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- if (arg4) lparg4 = (*env)->GetFloatArrayElements(env, arg4, NULL);
- if (arg7) lparg7 = (*env)->GetFloatArrayElements(env, arg7, NULL);
- gluNurbsSurface((GLUnurbs *)arg0, arg1, lparg2, arg3, lparg4, arg5, arg6, lparg7, arg8, arg9, arg10);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- if (arg4) (*env)->ReleaseFloatArrayElements(env, arg4, lparg4, 0);
- if (arg7) (*env)->ReleaseFloatArrayElements(env, arg7, lparg7, 0);
- NATIVE_EXIT(env, that, "gluNurbsSurface\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluOrtho2D)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3)
-{
- NATIVE_ENTER(env, that, "gluOrtho2D\n")
- gluOrtho2D(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "gluOrtho2D\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluPartialDisk)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jdouble arg2, jint arg3, jint arg4, jdouble arg5, jdouble arg6)
-{
- NATIVE_ENTER(env, that, "gluPartialDisk\n")
- gluPartialDisk((GLUquadric *)arg0, arg1, arg2, arg3, arg4, arg5, arg6);
- NATIVE_EXIT(env, that, "gluPartialDisk\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluPerspective)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3)
-{
- NATIVE_ENTER(env, that, "gluPerspective\n")
- gluPerspective(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "gluPerspective\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluPickMatrix)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdouble arg3, jintArray arg4)
-{
- jint *lparg4=NULL;
-
- NATIVE_ENTER(env, that, "gluPickMatrix\n")
- if (arg4) lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL);
- gluPickMatrix(arg0, arg1, arg2, arg3, (GLint *)lparg4);
- if (arg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- NATIVE_EXIT(env, that, "gluPickMatrix\n")
-}
-
-JNIEXPORT jint JNICALL GLU_NATIVE(gluProject)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdoubleArray arg3, jdoubleArray arg4, jintArray arg5, jdoubleArray arg6, jdoubleArray arg7, jdoubleArray arg8)
-{
- jdouble *lparg3=NULL;
- jdouble *lparg4=NULL;
- jint *lparg5=NULL;
- jdouble *lparg6=NULL;
- jdouble *lparg7=NULL;
- jdouble *lparg8=NULL;
- jint rc;
-
- NATIVE_ENTER(env, that, "gluProject\n")
- if (arg3) lparg3 = (*env)->GetDoubleArrayElements(env, arg3, NULL);
- if (arg4) lparg4 = (*env)->GetDoubleArrayElements(env, arg4, NULL);
- if (arg5) lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL);
- if (arg6) lparg6 = (*env)->GetDoubleArrayElements(env, arg6, NULL);
- if (arg7) lparg7 = (*env)->GetDoubleArrayElements(env, arg7, NULL);
- if (arg8) lparg8 = (*env)->GetDoubleArrayElements(env, arg8, NULL);
- rc = (jint)gluProject(arg0, arg1, arg2, lparg3, lparg4, (GLint *)lparg5, lparg6, lparg7, lparg8);
- if (arg3) (*env)->ReleaseDoubleArrayElements(env, arg3, lparg3, 0);
- if (arg4) (*env)->ReleaseDoubleArrayElements(env, arg4, lparg4, 0);
- if (arg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg6) (*env)->ReleaseDoubleArrayElements(env, arg6, lparg6, 0);
- if (arg7) (*env)->ReleaseDoubleArrayElements(env, arg7, lparg7, 0);
- if (arg8) (*env)->ReleaseDoubleArrayElements(env, arg8, lparg8, 0);
- NATIVE_EXIT(env, that, "gluProject\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluPwlCurve)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloatArray arg2, jint arg3, jint arg4)
-{
- jfloat *lparg2=NULL;
-
- NATIVE_ENTER(env, that, "gluPwlCurve\n")
- if (arg2) lparg2 = (*env)->GetFloatArrayElements(env, arg2, NULL);
- gluPwlCurve((GLUnurbs *)arg0, arg1, lparg2, arg3, arg4);
- if (arg2) (*env)->ReleaseFloatArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "gluPwlCurve\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluQuadricCallback)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "gluQuadricCallback\n")
- gluQuadricCallback((GLUquadric *)arg0, arg1, (GLvoid(*))arg2);
- NATIVE_EXIT(env, that, "gluQuadricCallback\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluQuadricDrawStyle)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "gluQuadricDrawStyle\n")
- gluQuadricDrawStyle((GLUquadric *)arg0, arg1);
- NATIVE_EXIT(env, that, "gluQuadricDrawStyle\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluQuadricNormals)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "gluQuadricNormals\n")
- gluQuadricNormals((GLUquadric *)arg0, arg1);
- NATIVE_EXIT(env, that, "gluQuadricNormals\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluQuadricOrientation)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "gluQuadricOrientation\n")
- gluQuadricOrientation((GLUquadric *)arg0, arg1);
- NATIVE_EXIT(env, that, "gluQuadricOrientation\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluQuadricTexture)
- (JNIEnv *env, jclass that, jint arg0, jboolean arg1)
-{
- NATIVE_ENTER(env, that, "gluQuadricTexture\n")
- gluQuadricTexture((GLUquadric *)arg0, arg1);
- NATIVE_EXIT(env, that, "gluQuadricTexture\n")
-}
-
-JNIEXPORT jint JNICALL GLU_NATIVE(gluScaleImage)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5, jint arg6, jint arg7, jint arg8)
-{
- jint rc;
- NATIVE_ENTER(env, that, "gluScaleImage\n")
- rc = (jint)gluScaleImage(arg0, arg1, arg2, arg3, (const void *)arg4, arg5, arg6, arg7, (void *)arg8);
- NATIVE_EXIT(env, that, "gluScaleImage\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluSphere)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jint arg2, jint arg3)
-{
- NATIVE_ENTER(env, that, "gluSphere\n")
- gluSphere((GLUquadric *)arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "gluSphere\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluTessBeginContour)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluTessBeginContour\n")
- gluTessBeginContour((GLUtesselator *)arg0);
- NATIVE_EXIT(env, that, "gluTessBeginContour\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluTessBeginPolygon)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "gluTessBeginPolygon\n")
- gluTessBeginPolygon((GLUtesselator *)arg0, (void *)arg1);
- NATIVE_EXIT(env, that, "gluTessBeginPolygon\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluTessCallback)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- NATIVE_ENTER(env, that, "gluTessCallback\n")
- gluTessCallback((GLUtesselator *)arg0, arg1, (GLvoid(*))arg2);
- NATIVE_EXIT(env, that, "gluTessCallback\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluTessEndContour)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluTessEndContour\n")
- gluTessEndContour((GLUtesselator *)arg0);
- NATIVE_EXIT(env, that, "gluTessEndContour\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluTessEndPolygon)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "gluTessEndPolygon\n")
- gluTessEndPolygon((GLUtesselator *)arg0);
- NATIVE_EXIT(env, that, "gluTessEndPolygon\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluTessNormal)
- (JNIEnv *env, jclass that, jint arg0, jdouble arg1, jdouble arg2, jdouble arg3)
-{
- NATIVE_ENTER(env, that, "gluTessNormal\n")
- gluTessNormal((GLUtesselator *)arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "gluTessNormal\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluTessProperty)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jfloat arg2)
-{
- NATIVE_ENTER(env, that, "gluTessProperty\n")
- gluTessProperty((GLUtesselator *)arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "gluTessProperty\n")
-}
-
-JNIEXPORT void JNICALL GLU_NATIVE(gluTessVertex)
- (JNIEnv *env, jclass that, jint arg0, jdoubleArray arg1, jint arg2)
-{
- jdouble *lparg1=NULL;
-
- NATIVE_ENTER(env, that, "gluTessVertex\n")
- if (arg1) lparg1 = (*env)->GetDoubleArrayElements(env, arg1, NULL);
- gluTessVertex((GLUtesselator *)arg0, lparg1, (void *)arg2);
- if (arg1) (*env)->ReleaseDoubleArrayElements(env, arg1, lparg1, 0);
- NATIVE_EXIT(env, that, "gluTessVertex\n")
-}
-
-JNIEXPORT jint JNICALL GLU_NATIVE(gluUnProject)
- (JNIEnv *env, jclass that, jdouble arg0, jdouble arg1, jdouble arg2, jdoubleArray arg3, jdoubleArray arg4, jintArray arg5, jdoubleArray arg6, jdoubleArray arg7, jdoubleArray arg8)
-{
- jdouble *lparg3=NULL;
- jdouble *lparg4=NULL;
- jint *lparg5=NULL;
- jdouble *lparg6=NULL;
- jdouble *lparg7=NULL;
- jdouble *lparg8=NULL;
- jint rc;
-
- NATIVE_ENTER(env, that, "gluUnProject\n")
- if (arg3) lparg3 = (*env)->GetDoubleArrayElements(env, arg3, NULL);
- if (arg4) lparg4 = (*env)->GetDoubleArrayElements(env, arg4, NULL);
- if (arg5) lparg5 = (*env)->GetIntArrayElements(env, arg5, NULL);
- if (arg6) lparg6 = (*env)->GetDoubleArrayElements(env, arg6, NULL);
- if (arg7) lparg7 = (*env)->GetDoubleArrayElements(env, arg7, NULL);
- if (arg8) lparg8 = (*env)->GetDoubleArrayElements(env, arg8, NULL);
- rc = (jint)gluUnProject(arg0, arg1, arg2, lparg3, lparg4, (GLint *)lparg5, lparg6, lparg7, lparg8);
- if (arg3) (*env)->ReleaseDoubleArrayElements(env, arg3, lparg3, 0);
- if (arg4) (*env)->ReleaseDoubleArrayElements(env, arg4, lparg4, 0);
- if (arg5) (*env)->ReleaseIntArrayElements(env, arg5, lparg5, 0);
- if (arg6) (*env)->ReleaseDoubleArrayElements(env, arg6, lparg6, 0);
- if (arg7) (*env)->ReleaseDoubleArrayElements(env, arg7, lparg7, 0);
- if (arg8) (*env)->ReleaseDoubleArrayElements(env, arg8, lparg8, 0);
- NATIVE_EXIT(env, that, "gluUnProject\n")
- return rc;
-}
diff --git a/bundles/org.eclipse.swt.opengl/common/gl_library/swt.h b/bundles/org.eclipse.swt.opengl/common/gl_library/swt.h
deleted file mode 100644
index 0095fe654d..0000000000
--- a/bundles/org.eclipse.swt.opengl/common/gl_library/swt.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#ifndef INC_swt_H
-#define INC_swt_H
-
-#include "jni.h"
-
-/* For debugging */
-#define DEBUG_PRINTF(x)
-/*#define DEBUG_PRINTF(x) printf x; */
-
-/* define this to print out debug statements */
-/* #define DEBUG_CALL_PRINTS */
-/* #define DEBUG_CHECK_NULL_EXCEPTIONS */
-
-#ifdef DEBUG_CALL_PRINTS
-#define DEBUG_CALL(func) fprintf(stderr, func);
-#else
-#define DEBUG_CALL(func)
-#endif
-
-#ifdef DEBUG_CHECK_NULL_EXCEPTIONS
-#define DEBUG_CHECK_NULL(env, address) \
- if (address == 0) { \
- jclass clazz = (*env)->FindClass(env, "org/eclipse/swt/SWTError"); \
- if (clazz != NULL) { \
- (*env)->ThrowNew(env, clazz, "Argument cannot be NULL"); \
- } \
- return; \
- }
-#else
-#define DEBUG_CHECK_NULL(env, address)
-#endif
-
-#define DECL_GLOB(pSym)
-#define PGLOB(x) x
-
-#define NATIVE_ENTER(env,clazz,func)
-#define NATIVE_EXIT(env,clazz,func)
-
-#endif /* ifndef INC_swt_H */
diff --git a/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GL.java b/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GL.java
deleted file mode 100644
index ba4b372784..0000000000
--- a/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GL.java
+++ /dev/null
@@ -1,1449 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl;
-
-public class GL {
-
- public static final int GL_VERSION_1_1 = 1;
-
- /* AccumOp */
- public static final int GL_ACCUM = 0x0100;
- public static final int GL_LOAD = 0x0101;
- public static final int GL_RETURN = 0x0102;
- public static final int GL_MULT = 0x0103;
- public static final int GL_ADD = 0x0104;
-
- /* AlphaFunction */
- public static final int GL_NEVER = 0x0200;
- public static final int GL_LESS = 0x0201;
- public static final int GL_EQUAL = 0x0202;
- public static final int GL_LEQUAL = 0x0203;
- public static final int GL_GREATER = 0x0204;
- public static final int GL_NOTEQUAL = 0x0205;
- public static final int GL_GEQUAL = 0x0206;
- public static final int GL_ALWAYS = 0x0207;
-
- /* AttribMask */
- public static final int GL_CURRENT_BIT = 0x00000001;
- public static final int GL_POINT_BIT = 0x00000002;
- public static final int GL_LINE_BIT = 0x00000004;
- public static final int GL_POLYGON_BIT = 0x00000008;
- public static final int GL_POLYGON_STIPPLE_BIT = 0x00000010;
- public static final int GL_PIXEL_MODE_BIT = 0x00000020;
- public static final int GL_LIGHTING_BIT = 0x00000040;
- public static final int GL_FOG_BIT = 0x00000080;
- public static final int GL_DEPTH_BUFFER_BIT = 0x00000100;
- public static final int GL_ACCUM_BUFFER_BIT = 0x00000200;
- public static final int GL_STENCIL_BUFFER_BIT = 0x00000400;
- public static final int GL_VIEWPORT_BIT = 0x00000800;
- public static final int GL_TRANSFORM_BIT = 0x00001000;
- public static final int GL_ENABLE_BIT = 0x00002000;
- public static final int GL_COLOR_BUFFER_BIT = 0x00004000;
- public static final int GL_HINT_BIT = 0x00008000;
- public static final int GL_EVAL_BIT = 0x00010000;
- public static final int GL_LIST_BIT = 0x00020000;
- public static final int GL_TEXTURE_BIT = 0x00040000;
- public static final int GL_SCISSOR_BIT = 0x00080000;
- public static final int GL_ALL_ATTRIB_BITS = 0x000fffff;
-
- /* BeginMode */
- public static final int GL_POINTS = 0x0000;
- public static final int GL_LINES = 0x0001;
- public static final int GL_LINE_LOOP = 0x0002;
- public static final int GL_LINE_STRIP = 0x0003;
- public static final int GL_TRIANGLES = 0x0004;
- public static final int GL_TRIANGLE_STRIP = 0x0005;
- public static final int GL_TRIANGLE_FAN = 0x0006;
- public static final int GL_QUADS = 0x0007;
- public static final int GL_QUAD_STRIP = 0x0008;
- public static final int GL_POLYGON = 0x0009;
-
- /* BlendingFactorDest */
- public static final int GL_ZERO = 0;
- public static final int GL_ONE = 1;
- public static final int GL_SRC_COLOR = 0x0300;
- public static final int GL_ONE_MINUS_SRC_COLOR = 0x0301;
- public static final int GL_SRC_ALPHA = 0x0302;
- public static final int GL_ONE_MINUS_SRC_ALPHA = 0x0303;
- public static final int GL_DST_ALPHA = 0x0304;
- public static final int GL_ONE_MINUS_DST_ALPHA = 0x0305;
-
- /* BlendingFactorSrc */
- /* GL_ZERO */
- /* GL_ONE */
- public static final int GL_DST_COLOR = 0x0306;
- public static final int GL_ONE_MINUS_DST_COLOR = 0x0307;
- public static final int GL_SRC_ALPHA_SATURATE = 0x0308;
- /* GL_SRC_ALPHA */
- /* GL_ONE_MINUS_SRC_ALPHA */
- /* GL_DST_ALPHA */
- /* GL_ONE_MINUS_DST_ALPHA */
-
- /* Boolean */
- public static final int GL_TRUE = 1;
- public static final int GL_FALSE = 0;
-
- /* ClearBufferMask */
- /* GL_COLOR_BUFFER_BIT */
- /* GL_ACCUM_BUFFER_BIT */
- /* GL_STENCIL_BUFFER_BIT */
- /* GL_DEPTH_BUFFER_BIT */
-
- /* ClientArrayType */
- /* GL_VERTEX_ARRAY */
- /* GL_NORMAL_ARRAY */
- /* GL_COLOR_ARRAY */
- /* GL_INDEX_ARRAY */
- /* GL_TEXTURE_COORD_ARRAY */
- /* GL_EDGE_FLAG_ARRAY */
-
- /* ClipPlaneName */
- public static final int GL_CLIP_PLANE0 = 0x3000;
- public static final int GL_CLIP_PLANE1 = 0x3001;
- public static final int GL_CLIP_PLANE2 = 0x3002;
- public static final int GL_CLIP_PLANE3 = 0x3003;
- public static final int GL_CLIP_PLANE4 = 0x3004;
- public static final int GL_CLIP_PLANE5 = 0x3005;
-
- /* ColorMaterialFace */
- /* GL_FRONT */
- /* GL_BACK */
- /* GL_FRONT_AND_BACK */
-
- /* ColorMaterialParameter */
- /* GL_AMBIENT */
- /* GL_DIFFUSE */
- /* GL_SPECULAR */
- /* GL_EMISSION */
- /* GL_AMBIENT_AND_DIFFUSE */
-
- /* ColorPointerType */
- /* GL_BYTE */
- /* GL_UNSIGNED_BYTE */
- /* GL_SHORT */
- /* GL_UNSIGNED_SHORT */
- /* GL_INT */
- /* GL_UNSIGNED_INT */
- /* GL_FLOAT */
- /* GL_DOUBLE */
-
- /* CullFaceMode */
- /* GL_FRONT */
- /* GL_BACK */
- /* GL_FRONT_AND_BACK */
-
- /* DataType */
- public static final int GL_BYTE = 0x1400;
- public static final int GL_UNSIGNED_BYTE = 0x1401;
- public static final int GL_SHORT = 0x1402;
- public static final int GL_UNSIGNED_SHORT = 0x1403;
- public static final int GL_INT = 0x1404;
- public static final int GL_UNSIGNED_INT = 0x1405;
- public static final int GL_FLOAT = 0x1406;
- public static final int GL_2_BYTES = 0x1407;
- public static final int GL_3_BYTES = 0x1408;
- public static final int GL_4_BYTES = 0x1409;
- public static final int GL_DOUBLE = 0x140A;
-
- /* DepthFunction */
- /* GL_NEVER */
- /* GL_LESS */
- /* GL_EQUAL */
- /* GL_LEQUAL */
- /* GL_GREATER */
- /* GL_NOTEQUAL */
- /* GL_GEQUAL */
- /* GL_ALWAYS */
-
- /* DrawBufferMode */
- public static final int GL_NONE = 0;
- public static final int GL_FRONT_LEFT = 0x0400;
- public static final int GL_FRONT_RIGHT = 0x0401;
- public static final int GL_BACK_LEFT = 0x0402;
- public static final int GL_BACK_RIGHT = 0x0403;
- public static final int GL_FRONT = 0x0404;
- public static final int GL_BACK = 0x0405;
- public static final int GL_LEFT = 0x0406;
- public static final int GL_RIGHT = 0x0407;
- public static final int GL_FRONT_AND_BACK = 0x0408;
- public static final int GL_AUX0 = 0x0409;
- public static final int GL_AUX1 = 0x040A;
- public static final int GL_AUX2 = 0x040B;
- public static final int GL_AUX3 = 0x040C;
-
- /* Enable */
- /* GL_FOG */
- /* GL_LIGHTING */
- /* GL_TEXTURE_1D */
- /* GL_TEXTURE_2D */
- /* GL_LINE_STIPPLE */
- /* GL_POLYGON_STIPPLE */
- /* GL_CULL_FACE */
- /* GL_ALPHA_TEST */
- /* GL_BLEND */
- /* GL_INDEX_LOGIC_OP */
- /* GL_COLOR_LOGIC_OP */
- /* GL_DITHER */
- /* GL_STENCIL_TEST */
- /* GL_DEPTH_TEST */
- /* GL_CLIP_PLANE0 */
- /* GL_CLIP_PLANE1 */
- /* GL_CLIP_PLANE2 */
- /* GL_CLIP_PLANE3 */
- /* GL_CLIP_PLANE4 */
- /* GL_CLIP_PLANE5 */
- /* GL_LIGHT0 */
- /* GL_LIGHT1 */
- /* GL_LIGHT2 */
- /* GL_LIGHT3 */
- /* GL_LIGHT4 */
- /* GL_LIGHT5 */
- /* GL_LIGHT6 */
- /* GL_LIGHT7 */
- /* GL_TEXTURE_GEN_S */
- /* GL_TEXTURE_GEN_T */
- /* GL_TEXTURE_GEN_R */
- /* GL_TEXTURE_GEN_Q */
- /* GL_MAP1_VERTEX_3 */
- /* GL_MAP1_VERTEX_4 */
- /* GL_MAP1_COLOR_4 */
- /* GL_MAP1_INDEX */
- /* GL_MAP1_NORMAL */
- /* GL_MAP1_TEXTURE_COORD_1 */
- /* GL_MAP1_TEXTURE_COORD_2 */
- /* GL_MAP1_TEXTURE_COORD_3 */
- /* GL_MAP1_TEXTURE_COORD_4 */
- /* GL_MAP2_VERTEX_3 */
- /* GL_MAP2_VERTEX_4 */
- /* GL_MAP2_COLOR_4 */
- /* GL_MAP2_INDEX */
- /* GL_MAP2_NORMAL */
- /* GL_MAP2_TEXTURE_COORD_1 */
- /* GL_MAP2_TEXTURE_COORD_2 */
- /* GL_MAP2_TEXTURE_COORD_3 */
- /* GL_MAP2_TEXTURE_COORD_4 */
- /* GL_POINT_SMOOTH */
- /* GL_LINE_SMOOTH */
- /* GL_POLYGON_SMOOTH */
- /* GL_SCISSOR_TEST */
- /* GL_COLOR_MATERIAL */
- /* GL_NORMALIZE */
- /* GL_AUTO_NORMAL */
- /* GL_VERTEX_ARRAY */
- /* GL_NORMAL_ARRAY */
- /* GL_COLOR_ARRAY */
- /* GL_INDEX_ARRAY */
- /* GL_TEXTURE_COORD_ARRAY */
- /* GL_EDGE_FLAG_ARRAY */
- /* GL_POLYGON_OFFSET_POINT */
- /* GL_POLYGON_OFFSET_LINE */
- /* GL_POLYGON_OFFSET_FILL */
-
- /* ErrorCode */
- public static final int GL_NO_ERROR = 0;
- public static final int GL_INVALID_ENUM = 0x0500;
- public static final int GL_INVALID_VALUE = 0x0501;
- public static final int GL_INVALID_OPERATION = 0x0502;
- public static final int GL_STACK_OVERFLOW = 0x0503;
- public static final int GL_STACK_UNDERFLOW = 0x0504;
- public static final int GL_OUT_OF_MEMORY = 0x0505;
-
- /* FeedBackMode */
- public static final int GL_2D = 0x0600;
- public static final int GL_3D = 0x0601;
- public static final int GL_3D_COLOR = 0x0602;
- public static final int GL_3D_COLOR_TEXTURE = 0x0603;
- public static final int GL_4D_COLOR_TEXTURE = 0x0604;
-
- /* FeedBackToken */
- public static final int GL_PASS_THROUGH_TOKEN = 0x0700;
- public static final int GL_POINT_TOKEN = 0x0701;
- public static final int GL_LINE_TOKEN = 0x0702;
- public static final int GL_POLYGON_TOKEN = 0x0703;
- public static final int GL_BITMAP_TOKEN = 0x0704;
- public static final int GL_DRAW_PIXEL_TOKEN = 0x0705;
- public static final int GL_COPY_PIXEL_TOKEN = 0x0706;
- public static final int GL_LINE_RESET_TOKEN = 0x0707;
-
- /* FogMode */
- /* GL_LINEAR */
- public static final int GL_EXP = 0x0800;
- public static final int GL_EXP2 = 0x0801;
-
- /* FogParameter */
- /* GL_FOG_COLOR */
- /* GL_FOG_DENSITY */
- /* GL_FOG_END */
- /* GL_FOG_INDEX */
- /* GL_FOG_MODE */
- /* GL_FOG_START */
-
- /* FrontFaceDirection */
- public static final int GL_CW = 0x0900;
- public static final int GL_CCW = 0x0901;
-
- /* GetMapTarget */
- public static final int GL_COEFF = 0x0A00;
- public static final int GL_ORDER = 0x0A01;
- public static final int GL_DOMAIN = 0x0A02;
-
- /* GetPixelMap */
- /* GL_PIXEL_MAP_I_TO_I */
- /* GL_PIXEL_MAP_S_TO_S */
- /* GL_PIXEL_MAP_I_TO_R */
- /* GL_PIXEL_MAP_I_TO_G */
- /* GL_PIXEL_MAP_I_TO_B */
- /* GL_PIXEL_MAP_I_TO_A */
- /* GL_PIXEL_MAP_R_TO_R */
- /* GL_PIXEL_MAP_G_TO_G */
- /* GL_PIXEL_MAP_B_TO_B */
- /* GL_PIXEL_MAP_A_TO_A */
-
- /* GetPointerTarget */
- /* GL_VERTEX_ARRAY_POINTER */
- /* GL_NORMAL_ARRAY_POINTER */
- /* GL_COLOR_ARRAY_POINTER */
- /* GL_INDEX_ARRAY_POINTER */
- /* GL_TEXTURE_COORD_ARRAY_POINTER */
- /* GL_EDGE_FLAG_ARRAY_POINTER */
-
- /* GetTarget */
- public static final int GL_CURRENT_COLOR = 0x0B00;
- public static final int GL_CURRENT_INDEX = 0x0B01;
- public static final int GL_CURRENT_NORMAL = 0x0B02;
- public static final int GL_CURRENT_TEXTURE_COORDS = 0x0B03;
- public static final int GL_CURRENT_RASTER_COLOR = 0x0B04;
- public static final int GL_CURRENT_RASTER_INDEX = 0x0B05;
- public static final int GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06;
- public static final int GL_CURRENT_RASTER_POSITION = 0x0B07;
- public static final int GL_CURRENT_RASTER_POSITION_VALID = 0x0B08;
- public static final int GL_CURRENT_RASTER_DISTANCE = 0x0B09;
- public static final int GL_POINT_SMOOTH = 0x0B10;
- public static final int GL_POINT_SIZE = 0x0B11;
- public static final int GL_POINT_SIZE_RANGE = 0x0B12;
- public static final int GL_POINT_SIZE_GRANULARITY = 0x0B13;
- public static final int GL_LINE_SMOOTH = 0x0B20;
- public static final int GL_LINE_WIDTH = 0x0B21;
- public static final int GL_LINE_WIDTH_RANGE = 0x0B22;
- public static final int GL_LINE_WIDTH_GRANULARITY = 0x0B23;
- public static final int GL_LINE_STIPPLE = 0x0B24;
- public static final int GL_LINE_STIPPLE_PATTERN = 0x0B25;
- public static final int GL_LINE_STIPPLE_REPEAT = 0x0B26;
- public static final int GL_LIST_MODE = 0x0B30;
- public static final int GL_MAX_LIST_NESTING = 0x0B31;
- public static final int GL_LIST_BASE = 0x0B32;
- public static final int GL_LIST_INDEX = 0x0B33;
- public static final int GL_POLYGON_MODE = 0x0B40;
- public static final int GL_POLYGON_SMOOTH = 0x0B41;
- public static final int GL_POLYGON_STIPPLE = 0x0B42;
- public static final int GL_EDGE_FLAG = 0x0B43;
- public static final int GL_CULL_FACE = 0x0B44;
- public static final int GL_CULL_FACE_MODE = 0x0B45;
- public static final int GL_FRONT_FACE = 0x0B46;
- public static final int GL_LIGHTING = 0x0B50;
- public static final int GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51;
- public static final int GL_LIGHT_MODEL_TWO_SIDE = 0x0B52;
- public static final int GL_LIGHT_MODEL_AMBIENT = 0x0B53;
- public static final int GL_SHADE_MODEL = 0x0B54;
- public static final int GL_COLOR_MATERIAL_FACE = 0x0B55;
- public static final int GL_COLOR_MATERIAL_PARAMETER = 0x0B56;
- public static final int GL_COLOR_MATERIAL = 0x0B57;
- public static final int GL_FOG = 0x0B60;
- public static final int GL_FOG_INDEX = 0x0B61;
- public static final int GL_FOG_DENSITY = 0x0B62;
- public static final int GL_FOG_START = 0x0B63;
- public static final int GL_FOG_END = 0x0B64;
- public static final int GL_FOG_MODE = 0x0B65;
- public static final int GL_FOG_COLOR = 0x0B66;
- public static final int GL_DEPTH_RANGE = 0x0B70;
- public static final int GL_DEPTH_TEST = 0x0B71;
- public static final int GL_DEPTH_WRITEMASK = 0x0B72;
- public static final int GL_DEPTH_CLEAR_VALUE = 0x0B73;
- public static final int GL_DEPTH_FUNC = 0x0B74;
- public static final int GL_ACCUM_CLEAR_VALUE = 0x0B80;
- public static final int GL_STENCIL_TEST = 0x0B90;
- public static final int GL_STENCIL_CLEAR_VALUE = 0x0B91;
- public static final int GL_STENCIL_FUNC = 0x0B92;
- public static final int GL_STENCIL_VALUE_MASK = 0x0B93;
- public static final int GL_STENCIL_FAIL = 0x0B94;
- public static final int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95;
- public static final int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96;
- public static final int GL_STENCIL_REF = 0x0B97;
- public static final int GL_STENCIL_WRITEMASK = 0x0B98;
- public static final int GL_MATRIX_MODE = 0x0BA0;
- public static final int GL_NORMALIZE = 0x0BA1;
- public static final int GL_VIEWPORT = 0x0BA2;
- public static final int GL_MODELVIEW_STACK_DEPTH = 0x0BA3;
- public static final int GL_PROJECTION_STACK_DEPTH = 0x0BA4;
- public static final int GL_TEXTURE_STACK_DEPTH = 0x0BA5;
- public static final int GL_MODELVIEW_MATRIX = 0x0BA6;
- public static final int GL_PROJECTION_MATRIX = 0x0BA7;
- public static final int GL_TEXTURE_MATRIX = 0x0BA8;
- public static final int GL_ATTRIB_STACK_DEPTH = 0x0BB0;
- public static final int GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1;
- public static final int GL_ALPHA_TEST = 0x0BC0;
- public static final int GL_ALPHA_TEST_FUNC = 0x0BC1;
- public static final int GL_ALPHA_TEST_REF = 0x0BC2;
- public static final int GL_DITHER = 0x0BD0;
- public static final int GL_BLEND_DST = 0x0BE0;
- public static final int GL_BLEND_SRC = 0x0BE1;
- public static final int GL_BLEND = 0x0BE2;
- public static final int GL_LOGIC_OP_MODE = 0x0BF0;
- public static final int GL_INDEX_LOGIC_OP = 0x0BF1;
- public static final int GL_COLOR_LOGIC_OP = 0x0BF2;
- public static final int GL_AUX_BUFFERS = 0x0C00;
- public static final int GL_DRAW_BUFFER = 0x0C01;
- public static final int GL_READ_BUFFER = 0x0C02;
- public static final int GL_SCISSOR_BOX = 0x0C10;
- public static final int GL_SCISSOR_TEST = 0x0C11;
- public static final int GL_INDEX_CLEAR_VALUE = 0x0C20;
- public static final int GL_INDEX_WRITEMASK = 0x0C21;
- public static final int GL_COLOR_CLEAR_VALUE = 0x0C22;
- public static final int GL_COLOR_WRITEMASK = 0x0C23;
- public static final int GL_INDEX_MODE = 0x0C30;
- public static final int GL_RGBA_MODE = 0x0C31;
- public static final int GL_DOUBLEBUFFER = 0x0C32;
- public static final int GL_STEREO = 0x0C33;
- public static final int GL_RENDER_MODE = 0x0C40;
- public static final int GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50;
- public static final int GL_POINT_SMOOTH_HINT = 0x0C51;
- public static final int GL_LINE_SMOOTH_HINT = 0x0C52;
- public static final int GL_POLYGON_SMOOTH_HINT = 0x0C53;
- public static final int GL_FOG_HINT = 0x0C54;
- public static final int GL_TEXTURE_GEN_S = 0x0C60;
- public static final int GL_TEXTURE_GEN_T = 0x0C61;
- public static final int GL_TEXTURE_GEN_R = 0x0C62;
- public static final int GL_TEXTURE_GEN_Q = 0x0C63;
- public static final int GL_PIXEL_MAP_I_TO_I = 0x0C70;
- public static final int GL_PIXEL_MAP_S_TO_S = 0x0C71;
- public static final int GL_PIXEL_MAP_I_TO_R = 0x0C72;
- public static final int GL_PIXEL_MAP_I_TO_G = 0x0C73;
- public static final int GL_PIXEL_MAP_I_TO_B = 0x0C74;
- public static final int GL_PIXEL_MAP_I_TO_A = 0x0C75;
- public static final int GL_PIXEL_MAP_R_TO_R = 0x0C76;
- public static final int GL_PIXEL_MAP_G_TO_G = 0x0C77;
- public static final int GL_PIXEL_MAP_B_TO_B = 0x0C78;
- public static final int GL_PIXEL_MAP_A_TO_A = 0x0C79;
- public static final int GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0;
- public static final int GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1;
- public static final int GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2;
- public static final int GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3;
- public static final int GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4;
- public static final int GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5;
- public static final int GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6;
- public static final int GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7;
- public static final int GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8;
- public static final int GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9;
- public static final int GL_UNPACK_SWAP_BYTES = 0x0CF0;
- public static final int GL_UNPACK_LSB_FIRST = 0x0CF1;
- public static final int GL_UNPACK_ROW_LENGTH = 0x0CF2;
- public static final int GL_UNPACK_SKIP_ROWS = 0x0CF3;
- public static final int GL_UNPACK_SKIP_PIXELS = 0x0CF4;
- public static final int GL_UNPACK_ALIGNMENT = 0x0CF5;
- public static final int GL_PACK_SWAP_BYTES = 0x0D00;
- public static final int GL_PACK_LSB_FIRST = 0x0D01;
- public static final int GL_PACK_ROW_LENGTH = 0x0D02;
- public static final int GL_PACK_SKIP_ROWS = 0x0D03;
- public static final int GL_PACK_SKIP_PIXELS = 0x0D04;
- public static final int GL_PACK_ALIGNMENT = 0x0D05;
- public static final int GL_MAP_COLOR = 0x0D10;
- public static final int GL_MAP_STENCIL = 0x0D11;
- public static final int GL_INDEX_SHIFT = 0x0D12;
- public static final int GL_INDEX_OFFSET = 0x0D13;
- public static final int GL_RED_SCALE = 0x0D14;
- public static final int GL_RED_BIAS = 0x0D15;
- public static final int GL_ZOOM_X = 0x0D16;
- public static final int GL_ZOOM_Y = 0x0D17;
- public static final int GL_GREEN_SCALE = 0x0D18;
- public static final int GL_GREEN_BIAS = 0x0D19;
- public static final int GL_BLUE_SCALE = 0x0D1A;
- public static final int GL_BLUE_BIAS = 0x0D1B;
- public static final int GL_ALPHA_SCALE = 0x0D1C;
- public static final int GL_ALPHA_BIAS = 0x0D1D;
- public static final int GL_DEPTH_SCALE = 0x0D1E;
- public static final int GL_DEPTH_BIAS = 0x0D1F;
- public static final int GL_MAX_EVAL_ORDER = 0x0D30;
- public static final int GL_MAX_LIGHTS = 0x0D31;
- public static final int GL_MAX_CLIP_PLANES = 0x0D32;
- public static final int GL_MAX_TEXTURE_SIZE = 0x0D33;
- public static final int GL_MAX_PIXEL_MAP_TABLE = 0x0D34;
- public static final int GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35;
- public static final int GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36;
- public static final int GL_MAX_NAME_STACK_DEPTH = 0x0D37;
- public static final int GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38;
- public static final int GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39;
- public static final int GL_MAX_VIEWPORT_DIMS = 0x0D3A;
- public static final int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B;
- public static final int GL_SUBPIXEL_BITS = 0x0D50;
- public static final int GL_INDEX_BITS = 0x0D51;
- public static final int GL_RED_BITS = 0x0D52;
- public static final int GL_GREEN_BITS = 0x0D53;
- public static final int GL_BLUE_BITS = 0x0D54;
- public static final int GL_ALPHA_BITS = 0x0D55;
- public static final int GL_DEPTH_BITS = 0x0D56;
- public static final int GL_STENCIL_BITS = 0x0D57;
- public static final int GL_ACCUM_RED_BITS = 0x0D58;
- public static final int GL_ACCUM_GREEN_BITS = 0x0D59;
- public static final int GL_ACCUM_BLUE_BITS = 0x0D5A;
- public static final int GL_ACCUM_ALPHA_BITS = 0x0D5B;
- public static final int GL_NAME_STACK_DEPTH = 0x0D70;
- public static final int GL_AUTO_NORMAL = 0x0D80;
- public static final int GL_MAP1_COLOR_4 = 0x0D90;
- public static final int GL_MAP1_INDEX = 0x0D91;
- public static final int GL_MAP1_NORMAL = 0x0D92;
- public static final int GL_MAP1_TEXTURE_COORD_1 = 0x0D93;
- public static final int GL_MAP1_TEXTURE_COORD_2 = 0x0D94;
- public static final int GL_MAP1_TEXTURE_COORD_3 = 0x0D95;
- public static final int GL_MAP1_TEXTURE_COORD_4 = 0x0D96;
- public static final int GL_MAP1_VERTEX_3 = 0x0D97;
- public static final int GL_MAP1_VERTEX_4 = 0x0D98;
- public static final int GL_MAP2_COLOR_4 = 0x0DB0;
- public static final int GL_MAP2_INDEX = 0x0DB1;
- public static final int GL_MAP2_NORMAL = 0x0DB2;
- public static final int GL_MAP2_TEXTURE_COORD_1 = 0x0DB3;
- public static final int GL_MAP2_TEXTURE_COORD_2 = 0x0DB4;
- public static final int GL_MAP2_TEXTURE_COORD_3 = 0x0DB5;
- public static final int GL_MAP2_TEXTURE_COORD_4 = 0x0DB6;
- public static final int GL_MAP2_VERTEX_3 = 0x0DB7;
- public static final int GL_MAP2_VERTEX_4 = 0x0DB8;
- public static final int GL_MAP1_GRID_DOMAIN = 0x0DD0;
- public static final int GL_MAP1_GRID_SEGMENTS = 0x0DD1;
- public static final int GL_MAP2_GRID_DOMAIN = 0x0DD2;
- public static final int GL_MAP2_GRID_SEGMENTS = 0x0DD3;
- public static final int GL_TEXTURE_1D = 0x0DE0;
- public static final int GL_TEXTURE_2D = 0x0DE1;
- public static final int GL_FEEDBACK_BUFFER_POINTER = 0x0DF0;
- public static final int GL_FEEDBACK_BUFFER_SIZE = 0x0DF1;
- public static final int GL_FEEDBACK_BUFFER_TYPE = 0x0DF2;
- public static final int GL_SELECTION_BUFFER_POINTER = 0x0DF3;
- public static final int GL_SELECTION_BUFFER_SIZE = 0x0DF4;
- /* GL_TEXTURE_BINDING_1D */
- /* GL_TEXTURE_BINDING_2D */
- /* GL_VERTEX_ARRAY */
- /* GL_NORMAL_ARRAY */
- /* GL_COLOR_ARRAY */
- /* GL_INDEX_ARRAY */
- /* GL_TEXTURE_COORD_ARRAY */
- /* GL_EDGE_FLAG_ARRAY */
- /* GL_VERTEX_ARRAY_SIZE */
- /* GL_VERTEX_ARRAY_TYPE */
- /* GL_VERTEX_ARRAY_STRIDE */
- /* GL_NORMAL_ARRAY_TYPE */
- /* GL_NORMAL_ARRAY_STRIDE */
- /* GL_COLOR_ARRAY_SIZE */
- /* GL_COLOR_ARRAY_TYPE */
- /* GL_COLOR_ARRAY_STRIDE */
- /* GL_INDEX_ARRAY_TYPE */
- /* GL_INDEX_ARRAY_STRIDE */
- /* GL_TEXTURE_COORD_ARRAY_SIZE */
- /* GL_TEXTURE_COORD_ARRAY_TYPE */
- /* GL_TEXTURE_COORD_ARRAY_STRIDE */
- /* GL_EDGE_FLAG_ARRAY_STRIDE */
- /* GL_POLYGON_OFFSET_FACTOR */
- /* GL_POLYGON_OFFSET_UNITS */
-
- /* GetTextureParameter */
- /* GL_TEXTURE_MAG_FILTER */
- /* GL_TEXTURE_MIN_FILTER */
- /* GL_TEXTURE_WRAP_S */
- /* GL_TEXTURE_WRAP_T */
- public static final int GL_TEXTURE_WIDTH = 0x1000;
- public static final int GL_TEXTURE_HEIGHT = 0x1001;
- public static final int GL_TEXTURE_INTERNAL_FORMAT = 0x1003;
- public static final int GL_TEXTURE_BORDER_COLOR = 0x1004;
- public static final int GL_TEXTURE_BORDER = 0x1005;
- /* GL_TEXTURE_RED_SIZE */
- /* GL_TEXTURE_GREEN_SIZE */
- /* GL_TEXTURE_BLUE_SIZE */
- /* GL_TEXTURE_ALPHA_SIZE */
- /* GL_TEXTURE_LUMINANCE_SIZE */
- /* GL_TEXTURE_INTENSITY_SIZE */
- /* GL_TEXTURE_PRIORITY */
- /* GL_TEXTURE_RESIDENT */
-
- /* HintMode */
- public static final int GL_DONT_CARE = 0x1100;
- public static final int GL_FASTEST = 0x1101;
- public static final int GL_NICEST = 0x1102;
-
- /* HintTarget */
- /* GL_PERSPECTIVE_CORRECTION_HINT */
- /* GL_POINT_SMOOTH_HINT */
- /* GL_LINE_SMOOTH_HINT */
- /* GL_POLYGON_SMOOTH_HINT */
- /* GL_FOG_HINT */
- /* GL_PHONG_HINT */
-
- /* IndexPointerType */
- /* GL_SHORT */
- /* GL_INT */
- /* GL_FLOAT */
- /* GL_DOUBLE */
-
- /* LightModelParameter */
- /* GL_LIGHT_MODEL_AMBIENT */
- /* GL_LIGHT_MODEL_LOCAL_VIEWER */
- /* GL_LIGHT_MODEL_TWO_SIDE */
-
- /* LightName */
- public static final int GL_LIGHT0 = 0x4000;
- public static final int GL_LIGHT1 = 0x4001;
- public static final int GL_LIGHT2 = 0x4002;
- public static final int GL_LIGHT3 = 0x4003;
- public static final int GL_LIGHT4 = 0x4004;
- public static final int GL_LIGHT5 = 0x4005;
- public static final int GL_LIGHT6 = 0x4006;
- public static final int GL_LIGHT7 = 0x4007;
-
- /* LightParameter */
- public static final int GL_AMBIENT = 0x1200;
- public static final int GL_DIFFUSE = 0x1201;
- public static final int GL_SPECULAR = 0x1202;
- public static final int GL_POSITION = 0x1203;
- public static final int GL_SPOT_DIRECTION = 0x1204;
- public static final int GL_SPOT_EXPONENT = 0x1205;
- public static final int GL_SPOT_CUTOFF = 0x1206;
- public static final int GL_CONSTANT_ATTENUATION = 0x1207;
- public static final int GL_LINEAR_ATTENUATION = 0x1208;
- public static final int GL_QUADRATIC_ATTENUATION = 0x1209;
-
- /* InterleavedArrays */
- /* GL_V2F */
- /* GL_V3F */
- /* GL_C4UB_V2F */
- /* GL_C4UB_V3F */
- /* GL_C3F_V3F */
- /* GL_N3F_V3F */
- /* GL_C4F_N3F_V3F */
- /* GL_T2F_V3F */
- /* GL_T4F_V4F */
- /* GL_T2F_C4UB_V3F */
- /* GL_T2F_C3F_V3F */
- /* GL_T2F_N3F_V3F */
- /* GL_T2F_C4F_N3F_V3F */
- /* GL_T4F_C4F_N3F_V4F */
-
- /* ListMode */
- public static final int GL_COMPILE = 0x1300;
- public static final int GL_COMPILE_AND_EXECUTE = 0x1301;
-
- /* ListNameType */
- /* GL_BYTE */
- /* GL_UNSIGNED_BYTE */
- /* GL_SHORT */
- /* GL_UNSIGNED_SHORT */
- /* GL_INT */
- /* GL_UNSIGNED_INT */
- /* GL_FLOAT */
- /* GL_2_BYTES */
- /* GL_3_BYTES */
- /* GL_4_BYTES */
-
- /* LogicOp */
- public static final int GL_CLEAR = 0x1500;
- public static final int GL_AND = 0x1501;
- public static final int GL_AND_REVERSE = 0x1502;
- public static final int GL_COPY = 0x1503;
- public static final int GL_AND_INVERTED = 0x1504;
- public static final int GL_NOOP = 0x1505;
- public static final int GL_XOR = 0x1506;
- public static final int GL_OR = 0x1507;
- public static final int GL_NOR = 0x1508;
- public static final int GL_EQUIV = 0x1509;
- public static final int GL_INVERT = 0x150A;
- public static final int GL_OR_REVERSE = 0x150B;
- public static final int GL_COPY_INVERTED = 0x150C;
- public static final int GL_OR_INVERTED = 0x150D;
- public static final int GL_NAND = 0x150E;
- public static final int GL_SET = 0x150F;
-
- /* MapTarget */
- /* GL_MAP1_COLOR_4 */
- /* GL_MAP1_INDEX */
- /* GL_MAP1_NORMAL */
- /* GL_MAP1_TEXTURE_COORD_1 */
- /* GL_MAP1_TEXTURE_COORD_2 */
- /* GL_MAP1_TEXTURE_COORD_3 */
- /* GL_MAP1_TEXTURE_COORD_4 */
- /* GL_MAP1_VERTEX_3 */
- /* GL_MAP1_VERTEX_4 */
- /* GL_MAP2_COLOR_4 */
- /* GL_MAP2_INDEX */
- /* GL_MAP2_NORMAL */
- /* GL_MAP2_TEXTURE_COORD_1 */
- /* GL_MAP2_TEXTURE_COORD_2 */
- /* GL_MAP2_TEXTURE_COORD_3 */
- /* GL_MAP2_TEXTURE_COORD_4 */
- /* GL_MAP2_VERTEX_3 */
- /* GL_MAP2_VERTEX_4 */
-
- /* MaterialFace */
- /* GL_FRONT */
- /* GL_BACK */
- /* GL_FRONT_AND_BACK */
-
- /* MaterialParameter */
- public static final int GL_EMISSION = 0x1600;
- public static final int GL_SHININESS = 0x1601;
- public static final int GL_AMBIENT_AND_DIFFUSE = 0x1602;
- public static final int GL_COLOR_INDEXES = 0x1603;
- /* GL_AMBIENT */
- /* GL_DIFFUSE */
- /* GL_SPECULAR */
-
- /* MatrixMode */
- public static final int GL_MODELVIEW = 0x1700;
- public static final int GL_PROJECTION = 0x1701;
- public static final int GL_TEXTURE = 0x1702;
-
- /* MeshMode1 */
- /* GL_POINT */
- /* GL_LINE */
-
- /* MeshMode2 */
- /* GL_POINT */
- /* GL_LINE */
- /* GL_FILL */
-
- /* NormalPointerType */
- /* GL_BYTE */
- /* GL_SHORT */
- /* GL_INT */
- /* GL_FLOAT */
- /* GL_DOUBLE */
-
- /* PixelCopyType */
- public static final int GL_COLOR = 0x1800;
- public static final int GL_DEPTH = 0x1801;
- public static final int GL_STENCIL = 0x1802;
-
- /* PixelFormat */
- public static final int GL_COLOR_INDEX = 0x1900;
- public static final int GL_STENCIL_INDEX = 0x1901;
- public static final int GL_DEPTH_COMPONENT = 0x1902;
- public static final int GL_RED = 0x1903;
- public static final int GL_GREEN = 0x1904;
- public static final int GL_BLUE = 0x1905;
- public static final int GL_ALPHA = 0x1906;
- public static final int GL_RGB = 0x1907;
- public static final int GL_RGBA = 0x1908;
- public static final int GL_LUMINANCE = 0x1909;
- public static final int GL_LUMINANCE_ALPHA = 0x190A;
-
- /* PixelMap */
- /* GL_PIXEL_MAP_I_TO_I */
- /* GL_PIXEL_MAP_S_TO_S */
- /* GL_PIXEL_MAP_I_TO_R */
- /* GL_PIXEL_MAP_I_TO_G */
- /* GL_PIXEL_MAP_I_TO_B */
- /* GL_PIXEL_MAP_I_TO_A */
- /* GL_PIXEL_MAP_R_TO_R */
- /* GL_PIXEL_MAP_G_TO_G */
- /* GL_PIXEL_MAP_B_TO_B */
- /* GL_PIXEL_MAP_A_TO_A */
-
- /* PixelStore */
- /* GL_UNPACK_SWAP_BYTES */
- /* GL_UNPACK_LSB_FIRST */
- /* GL_UNPACK_ROW_LENGTH */
- /* GL_UNPACK_SKIP_ROWS */
- /* GL_UNPACK_SKIP_PIXELS */
- /* GL_UNPACK_ALIGNMENT */
- /* GL_PACK_SWAP_BYTES */
- /* GL_PACK_LSB_FIRST */
- /* GL_PACK_ROW_LENGTH */
- /* GL_PACK_SKIP_ROWS */
- /* GL_PACK_SKIP_PIXELS */
- /* GL_PACK_ALIGNMENT */
-
- /* PixelTransfer */
- /* GL_MAP_COLOR */
- /* GL_MAP_STENCIL */
- /* GL_INDEX_SHIFT */
- /* GL_INDEX_OFFSET */
- /* GL_RED_SCALE */
- /* GL_RED_BIAS */
- /* GL_GREEN_SCALE */
- /* GL_GREEN_BIAS */
- /* GL_BLUE_SCALE */
- /* GL_BLUE_BIAS */
- /* GL_ALPHA_SCALE */
- /* GL_ALPHA_BIAS */
- /* GL_DEPTH_SCALE */
- /* GL_DEPTH_BIAS */
-
- /* PixelType */
- public static final int GL_BITMAP = 0x1A00;
- /* GL_BYTE */
- /* GL_UNSIGNED_BYTE */
- /* GL_SHORT */
- /* GL_UNSIGNED_SHORT */
- /* GL_INT */
- /* GL_UNSIGNED_INT */
- /* GL_FLOAT */
-
- /* PolygonMode */
- public static final int GL_POINT = 0x1B00;
- public static final int GL_LINE = 0x1B01;
- public static final int GL_FILL = 0x1B02;
-
- /* ReadBufferMode */
- /* GL_FRONT_LEFT */
- /* GL_FRONT_RIGHT */
- /* GL_BACK_LEFT */
- /* GL_BACK_RIGHT */
- /* GL_FRONT */
- /* GL_BACK */
- /* GL_LEFT */
- /* GL_RIGHT */
- /* GL_AUX0 */
- /* GL_AUX1 */
- /* GL_AUX2 */
- /* GL_AUX3 */
-
- /* RenderingMode */
- public static final int GL_RENDER = 0x1C00;
- public static final int GL_FEEDBACK = 0x1C01;
- public static final int GL_SELECT = 0x1C02;
-
- /* ShadingModel */
- public static final int GL_FLAT = 0x1D00;
- public static final int GL_SMOOTH = 0x1D01;
-
- /* StencilFunction */
- /* GL_NEVER */
- /* GL_LESS */
- /* GL_EQUAL */
- /* GL_LEQUAL */
- /* GL_GREATER */
- /* GL_NOTEQUAL */
- /* GL_GEQUAL */
- /* GL_ALWAYS */
-
- /* StencilOp */
- /* GL_ZERO */
- public static final int GL_KEEP = 0x1E00;
- public static final int GL_REPLACE = 0x1E01;
- public static final int GL_INCR = 0x1E02;
- public static final int GL_DECR = 0x1E03;
- /* GL_INVERT */
-
- /* StringName */
- public static final int GL_VENDOR = 0x1F00;
- public static final int GL_RENDERER = 0x1F01;
- public static final int GL_VERSION = 0x1F02;
- public static final int GL_EXTENSIONS = 0x1F03;
-
- /* TextureCoordName */
- public static final int GL_S = 0x2000;
- public static final int GL_T = 0x2001;
- public static final int GL_R = 0x2002;
- public static final int GL_Q = 0x2003;
-
- /* TexCoordPointerType */
- /* GL_SHORT */
- /* GL_INT */
- /* GL_FLOAT */
- /* GL_DOUBLE */
-
- /* TextureEnvMode */
- public static final int GL_MODULATE = 0x2100;
- public static final int GL_DECAL = 0x2101;
- /* GL_BLEND */
- /* GL_REPLACE */
-
- /* TextureEnvParameter */
- public static final int GL_TEXTURE_ENV_MODE = 0x2200;
- public static final int GL_TEXTURE_ENV_COLOR = 0x2201;
-
- /* TextureEnvTarget */
- public static final int GL_TEXTURE_ENV = 0x2300;
-
- /* TextureGenMode */
- public static final int GL_EYE_LINEAR = 0x2400;
- public static final int GL_OBJECT_LINEAR = 0x2401;
- public static final int GL_SPHERE_MAP = 0x2402;
-
- /* TextureGenParameter */
- public static final int GL_TEXTURE_GEN_MODE = 0x2500;
- public static final int GL_OBJECT_PLANE = 0x2501;
- public static final int GL_EYE_PLANE = 0x2502;
-
- /* TextureMagFilter */
- public static final int GL_NEAREST = 0x2600;
- public static final int GL_LINEAR = 0x2601;
-
- /* TextureMinFilter */
- /* GL_NEAREST */
- /* GL_LINEAR */
- public static final int GL_NEAREST_MIPMAP_NEAREST = 0x2700;
- public static final int GL_LINEAR_MIPMAP_NEAREST = 0x2701;
- public static final int GL_NEAREST_MIPMAP_LINEAR = 0x2702;
- public static final int GL_LINEAR_MIPMAP_LINEAR = 0x2703;
-
- /* TextureParameterName */
- public static final int GL_TEXTURE_MAG_FILTER = 0x2800;
- public static final int GL_TEXTURE_MIN_FILTER = 0x2801;
- public static final int GL_TEXTURE_WRAP_S = 0x2802;
- public static final int GL_TEXTURE_WRAP_T = 0x2803;
- /* GL_TEXTURE_BORDER_COLOR */
- /* GL_TEXTURE_PRIORITY */
-
- /* TextureTarget */
- /* GL_TEXTURE_1D */
- /* GL_TEXTURE_2D */
- /* GL_PROXY_TEXTURE_1D */
- /* GL_PROXY_TEXTURE_2D */
-
- /* TextureWrapMode */
- public static final int GL_CLAMP = 0x2900;
- public static final int GL_REPEAT = 0x2901;
-
- /* VertexPointerType */
- /* GL_SHORT */
- /* GL_INT */
- /* GL_FLOAT */
- /* GL_DOUBLE */
-
- /* ClientAttribMask */
- public static final int GL_CLIENT_PIXEL_STORE_BIT = 0x00000001;
- public static final int GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002;
- public static final int GL_CLIENT_ALL_ATTRIB_BITS = 0xffffffff;
-
- /* polygon_offset */
- public static final int GL_POLYGON_OFFSET_FACTOR = 0x8038;
- public static final int GL_POLYGON_OFFSET_UNITS = 0x2A00;
- public static final int GL_POLYGON_OFFSET_POINT = 0x2A01;
- public static final int GL_POLYGON_OFFSET_LINE = 0x2A02;
- public static final int GL_POLYGON_OFFSET_FILL = 0x8037;
-
- /* texture */
- public static final int GL_ALPHA4 = 0x803B;
- public static final int GL_ALPHA8 = 0x803C;
- public static final int GL_ALPHA12 = 0x803D;
- public static final int GL_ALPHA16 = 0x803E;
- public static final int GL_LUMINANCE4 = 0x803F;
- public static final int GL_LUMINANCE8 = 0x8040;
- public static final int GL_LUMINANCE12 = 0x8041;
- public static final int GL_LUMINANCE16 = 0x8042;
- public static final int GL_LUMINANCE4_ALPHA4 = 0x8043;
- public static final int GL_LUMINANCE6_ALPHA2 = 0x8044;
- public static final int GL_LUMINANCE8_ALPHA8 = 0x8045;
- public static final int GL_LUMINANCE12_ALPHA4 = 0x8046;
- public static final int GL_LUMINANCE12_ALPHA12 = 0x8047;
- public static final int GL_LUMINANCE16_ALPHA16 = 0x8048;
- public static final int GL_INTENSITY = 0x8049;
- public static final int GL_INTENSITY4 = 0x804A;
- public static final int GL_INTENSITY8 = 0x804B;
- public static final int GL_INTENSITY12 = 0x804C;
- public static final int GL_INTENSITY16 = 0x804D;
- public static final int GL_R3_G3_B2 = 0x2A10;
- public static final int GL_RGB4 = 0x804F;
- public static final int GL_RGB5 = 0x8050;
- public static final int GL_RGB8 = 0x8051;
- public static final int GL_RGB10 = 0x8052;
- public static final int GL_RGB12 = 0x8053;
- public static final int GL_RGB16 = 0x8054;
- public static final int GL_RGBA2 = 0x8055;
- public static final int GL_RGBA4 = 0x8056;
- public static final int GL_RGB5_A1 = 0x8057;
- public static final int GL_RGBA8 = 0x8058;
- public static final int GL_RGB10_A2 = 0x8059;
- public static final int GL_RGBA12 = 0x805A;
- public static final int GL_RGBA16 = 0x805B;
- public static final int GL_TEXTURE_RED_SIZE = 0x805C;
- public static final int GL_TEXTURE_GREEN_SIZE = 0x805D;
- public static final int GL_TEXTURE_BLUE_SIZE = 0x805E;
- public static final int GL_TEXTURE_ALPHA_SIZE = 0x805F;
- public static final int GL_TEXTURE_LUMINANCE_SIZE = 0x8060;
- public static final int GL_TEXTURE_INTENSITY_SIZE = 0x8061;
- public static final int GL_PROXY_TEXTURE_1D = 0x8063;
- public static final int GL_PROXY_TEXTURE_2D = 0x8064;
-
- /* texture_object */
- public static final int GL_TEXTURE_PRIORITY = 0x8066;
- public static final int GL_TEXTURE_RESIDENT = 0x8067;
- public static final int GL_TEXTURE_BINDING_1D = 0x8068;
- public static final int GL_TEXTURE_BINDING_2D = 0x8069;
-
- /* vertex_array */
- public static final int GL_VERTEX_ARRAY = 0x8074;
- public static final int GL_NORMAL_ARRAY = 0x8075;
- public static final int GL_COLOR_ARRAY = 0x8076;
- public static final int GL_INDEX_ARRAY = 0x8077;
- public static final int GL_TEXTURE_COORD_ARRAY = 0x8078;
- public static final int GL_EDGE_FLAG_ARRAY = 0x8079;
- public static final int GL_VERTEX_ARRAY_SIZE = 0x807A;
- public static final int GL_VERTEX_ARRAY_TYPE = 0x807B;
- public static final int GL_VERTEX_ARRAY_STRIDE = 0x807C;
- public static final int GL_NORMAL_ARRAY_TYPE = 0x807E;
- public static final int GL_NORMAL_ARRAY_STRIDE = 0x807F;
- public static final int GL_COLOR_ARRAY_SIZE = 0x8081;
- public static final int GL_COLOR_ARRAY_TYPE = 0x8082;
- public static final int GL_COLOR_ARRAY_STRIDE = 0x8083;
- public static final int GL_INDEX_ARRAY_TYPE = 0x8085;
- public static final int GL_INDEX_ARRAY_STRIDE = 0x8086;
- public static final int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088;
- public static final int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089;
- public static final int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A;
- public static final int GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C;
- public static final int GL_VERTEX_ARRAY_POINTER = 0x808E;
- public static final int GL_NORMAL_ARRAY_POINTER = 0x808F;
- public static final int GL_COLOR_ARRAY_POINTER = 0x8090;
- public static final int GL_INDEX_ARRAY_POINTER = 0x8091;
- public static final int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092;
- public static final int GL_EDGE_FLAG_ARRAY_POINTER = 0x8093;
- public static final int GL_V2F = 0x2A20;
- public static final int GL_V3F = 0x2A21;
- public static final int GL_C4UB_V2F = 0x2A22;
- public static final int GL_C4UB_V3F = 0x2A23;
- public static final int GL_C3F_V3F = 0x2A24;
- public static final int GL_N3F_V3F = 0x2A25;
- public static final int GL_C4F_N3F_V3F = 0x2A26;
- public static final int GL_T2F_V3F = 0x2A27;
- public static final int GL_T4F_V4F = 0x2A28;
- public static final int GL_T2F_C4UB_V3F = 0x2A29;
- public static final int GL_T2F_C3F_V3F = 0x2A2A;
- public static final int GL_T2F_N3F_V3F = 0x2A2B;
- public static final int GL_T2F_C4F_N3F_V3F = 0x2A2C;
- public static final int GL_T4F_C4F_N3F_V4F = 0x2A2D;
-
- /* Extensions */
- public static final int GL_EXT_vertex_array = 1;
- public static final int GL_EXT_bgra = 1;
- public static final int GL_EXT_paletted_texture = 1;
- public static final int GL_WIN_swap_hint = 1;
- public static final int GL_WIN_draw_range_elements = 1;
- // public static final int GL_WIN_phong_shading = 1;
- // public static final int GL_WIN_specular_fog = 1;
-
- /* EXT_vertex_array */
- public static final int GL_VERTEX_ARRAY_EXT = 0x8074;
- public static final int GL_NORMAL_ARRAY_EXT = 0x8075;
- public static final int GL_COLOR_ARRAY_EXT = 0x8076;
- public static final int GL_INDEX_ARRAY_EXT = 0x8077;
- public static final int GL_TEXTURE_COORD_ARRAY_EXT = 0x8078;
- public static final int GL_EDGE_FLAG_ARRAY_EXT = 0x8079;
- public static final int GL_VERTEX_ARRAY_SIZE_EXT = 0x807A;
- public static final int GL_VERTEX_ARRAY_TYPE_EXT = 0x807B;
- public static final int GL_VERTEX_ARRAY_STRIDE_EXT = 0x807C;
- public static final int GL_VERTEX_ARRAY_COUNT_EXT = 0x807D;
- public static final int GL_NORMAL_ARRAY_TYPE_EXT = 0x807E;
- public static final int GL_NORMAL_ARRAY_STRIDE_EXT = 0x807F;
- public static final int GL_NORMAL_ARRAY_COUNT_EXT = 0x8080;
- public static final int GL_COLOR_ARRAY_SIZE_EXT = 0x8081;
- public static final int GL_COLOR_ARRAY_TYPE_EXT = 0x8082;
- public static final int GL_COLOR_ARRAY_STRIDE_EXT = 0x8083;
- public static final int GL_COLOR_ARRAY_COUNT_EXT = 0x8084;
- public static final int GL_INDEX_ARRAY_TYPE_EXT = 0x8085;
- public static final int GL_INDEX_ARRAY_STRIDE_EXT = 0x8086;
- public static final int GL_INDEX_ARRAY_COUNT_EXT = 0x8087;
- public static final int GL_TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088;
- public static final int GL_TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089;
- public static final int GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A;
- public static final int GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B;
- public static final int GL_EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C;
- public static final int GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D;
- public static final int GL_VERTEX_ARRAY_POINTER_EXT = 0x808E;
- public static final int GL_NORMAL_ARRAY_POINTER_EXT = 0x808F;
- public static final int GL_COLOR_ARRAY_POINTER_EXT = 0x8090;
- public static final int GL_INDEX_ARRAY_POINTER_EXT = 0x8091;
- public static final int GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092;
- public static final int GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093;
- public static final int GL_DOUBLE_EXT = GL_DOUBLE;
-
- /* EXT_bgra */
- public static final int GL_BGR_EXT = 0x80E0;
- public static final int GL_BGRA_EXT = 0x80E1;
-
- /* EXT_paletted_texture */
-
- /* These must match the GL_COLOR_TABLE_*_SGI enumerants */
- public static final int GL_COLOR_TABLE_FORMAT_EXT = 0x80D8;
- public static final int GL_COLOR_TABLE_WIDTH_EXT = 0x80D9;
- public static final int GL_COLOR_TABLE_RED_SIZE_EXT = 0x80DA;
- public static final int GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80DB;
- public static final int GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80DC;
- public static final int GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80DD;
- public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE;
- public static final int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF;
-
- public static final int GL_COLOR_INDEX1_EXT = 0x80E2;
- public static final int GL_COLOR_INDEX2_EXT = 0x80E3;
- public static final int GL_COLOR_INDEX4_EXT = 0x80E4;
- public static final int GL_COLOR_INDEX8_EXT = 0x80E5;
- public static final int GL_COLOR_INDEX12_EXT = 0x80E6;
- public static final int GL_COLOR_INDEX16_EXT = 0x80E7;
-
- /* WIN_draw_range_elements */
- public static final int GL_MAX_ELEMENTS_VERTICES_WIN = 0x80E8;
- public static final int GL_MAX_ELEMENTS_INDICES_WIN = 0x80E9;
-
- /* WIN_phong_shading */
- public static final int GL_PHONG_WIN = 0x80EA;
- public static final int GL_PHONG_HINT_WIN = 0x80EB;
-
- /* WIN_specular_fog */
- public static final int GL_FOG_SPECULAR_TEXTURE_WIN = 0x80EC;
-
- /* For compatibility with OpenGL v1.0 */
- public static final int GL_LOGIC_OP = GL_INDEX_LOGIC_OP;
- public static final int GL_TEXTURE_COMPONENTS = GL_TEXTURE_INTERNAL_FORMAT;
-
- public static final native void glAccum (int op, float value);
- public static final native void glAlphaFunc (int func, float ref);
- public static final native boolean glAreTexturesResident (int n, int[] textures, boolean[] residences);
- public static final native void glArrayElement (int index);
- public static final native int glBegin (int mode);
- public static final native int glEnd ();
- public static final native void glBindTexture (int target, int texture);
- public static final native void glBitmap (int width, int height, float xorig, float yorig, float xmove, float ymove, byte[] bitmap);
- public static final native void glBlendFunc (int sfactor, int dfactor);
- public static final native void glCallList (int list);
- public static final native void glCallLists (int n, int type, byte[] lists);
- public static final native void glCallLists (int n, int type, char[] lists);
- public static final native void glCallLists (int n, int type, int[] lists);
- public static final native void glClear (int mask);
- public static final native void glClearAccum (float red, float green, float blue, float alpha);
- public static final native void glClearColor (float red, float green, float blue, float alpha);
- public static final native void glClearDepth (double depth);
- public static final native void glClearIndex (float c);
- public static final native void glClearStencil (int s);
- public static final native void glClipPlane (int plane, double[] equation);
- public static final native void glColor3b (byte red, byte green, byte blue);
- public static final native void glColor3d (double red, double green, double blue);
- public static final native void glColor3f (float red, float green, float blue);
- public static final native void glColor3i (int red, int green, int blue);
- public static final native void glColor3s (short red, short green, short blue);
- public static final native void glColor3ub (byte red, byte green, byte blue);
- public static final native void glColor3ui (int red, int green, int blue);
- public static final native void glColor3us (short red, short green, short blue);
- public static final native void glColor4b (byte red, byte green, byte blue, byte alpha);
- public static final native void glColor4d (double red, double green, double blue, double alpha);
- public static final native void glColor4f (float red, float green, float blue, float alpha);
- public static final native void glColor4i (int red, int green, int blue, int alpha);
- public static final native void glColor4s (short red, short green, short blue, short alpha);
- public static final native void glColor4ub (byte red, byte green, byte blue, byte alpha);
- public static final native void glColor4ui (int red, int green, int blue, int alpha);
- public static final native void glColor4us (short red, short green, short blue, short alpha);
- public static final native void glColor3bv (byte[] v);
- public static final native void glColor3dv (double[] v);
- public static final native void glColor3fv (float[] v);
- public static final native void glColor3iv (int[] v);
- public static final native void glColor3sv (short[] v);
- public static final native void glColor3ubv (byte[] v);
- public static final native void glColor3uiv (int[] v);
- public static final native void glColor3usv (short[] v);
- public static final native void glColor4bv (byte[] v);
- public static final native void glColor4dv (double[] v);
- public static final native void glColor4fv (float[] v);
- public static final native void glColor4iv (int[] v);
- public static final native void glColor4ubv (byte[] v);
- public static final native void glColor4uiv (int[] v);
- public static final native void glColor4usv (short[] v);
- public static final native void glColor4ubv (short[] v);
- public static final native void glColorMask (boolean red, boolean green, boolean blue, boolean alpha);
- public static final native void glColorMaterial (int face, int mode);
- public static final native void glColorPointer (int size, int type, int stride, int[] pointer);
- //public static final native void glColorTableEXT (int target, int internalFormat, int width, int format, int type, int[] data);
- //public static final native void glColorSubTableEXT (int target, int start, int count, int format, int type, int[] data);
- public static final native void glCopyPixels (int x, int y, int width, int height, int type);
- public static final native void glCopyTexImage1D (int target, int level, int internalFormat, int x, int y, int width, int border);
- public static final native void glCopyTexImage2D (int target, int level, int internalFormat, int x, int y, int width, int height, int border);
- public static final native void glCopyTexSubImage1D (int target, int level, int xoffset, int x, int y, int width);
- public static final native void glCopyTexSubImage2D (int target, int level, int xoffset, int yoffset, int x, int y, int width, int height);
- public static final native void glCullFace (int mode);
- public static final native void glDeleteLists (int list, int range);
- public static final native void glDeleteTextures (int n, int[] textures);
- public static final native void glDepthFunc (int func);
- public static final native void glDepthMask (boolean flag);
- public static final native void glDepthRange (double znear, double zfar);
- public static final native void glDrawArrays (int mode, int first, int count);
- public static final native void glDrawBuffer (int mode);
- public static final native void glDrawElements (int mode, int count, int type, int[] indices); /* MULTIPLES TYPES */
- public static final native void glDrawPixels (int width, int height, int format, int type, int[] pixels); /* MULTIPLES TYPES */
- public static final native void glEdgeFlag (boolean flag);
- public static final native void glEdgeFlagv (boolean[] flag);
- public static final native void glEdgeFlagPointer (int stride, boolean[] pointer);
- public static final native void glEnable (int cap);
- public static final native void glDisable (int cap);
- public static final native void glEnableClientState (int array);
- public static final native void glDisableClientState (int array);
- public static final native void glEvalCoord1d (double u);
- public static final native void glEvalCoord1f (float u);
- public static final native void glEvalCoord2d (double u, double v);
- public static final native void glEvalCoord2f (float u, float v);
- public static final native void glEvalCoord1dv (double[] u);
- public static final native void glEvalCoord1fv (float[] u);
- public static final native void glEvalCoord2dv (double[] u);
- public static final native void glEvalCoord2fv (float[] u);
- public static final native void glEvalMesh1 (int mode, int i1, int i2);
- public static final native void glEvalMesh2 (int mode, int i1, int i2, int j1, int j2);
- public static final native void glEvalPoint1 (int i);
- public static final native void glEvalPoint2 (int i, int j);
- public static final native void glFeedbackBuffer (int size, int type, float[] buffer);
- public static final native void glFinish ();
- public static final native void glFlush ();
- public static final native void glFogf (int pname, float param);
- public static final native void glFogi (int pname, int param);
- public static final native void glFogfv (int pname, float[] params);
- public static final native void glFogiv (int pname, int[] params);
- public static final native void glFrontFace (int mode);
- public static final native void glFrustum (double left, double right, double bottom, double top, double znear, double zfar);
- public static final native int glGenLists (int range);
- public static final native void glGenTextures (int n, int[] textures);
- public static final native void glGetBooleanv (int pname, boolean[] params);
- public static final native void glGetDoublev (int pname, double[] params);
- public static final native void glGetFloatv (int pname, float[] params);
- public static final native void glGetIntegerv (int pname, int[] params);
- public static final native void glGetClipPlane (int plane, double[] equation);
- //public static final native void glGetColorTableEXT (int target, int format, int type, int[] data);
- //public static final native void glGetColorTableParameterfvEXT (int target, int pname, float[] params);
- //public static final native void glGetColorTableParameterivEXT (int target, int pname, int[] params);
- public static final native int glGetError ();
- public static final native void glGetLightfv (int light, int pname, float[] params);
- public static final native void glGetLightiv (int light, int pname, int[] params);
- public static final native void glGetMapdv (int tagert, int query, double[] v);
- public static final native void glGetMapfv (int tagert, int query, float[] v);
- public static final native void glGetMapiv (int tagert, int query, int[] v);
- public static final native void glGetMaterialfv (int face, int pname, float[] params);
- public static final native void glGetMaterialiv (int face, int pname, int[] params);
- public static final native void glGetPixelMapfv (int map, float[] values);
- public static final native void glGetPixelMapuiv (int map, int[] values);
- public static final native void glGetPixelMapusv (int map, short[] values);
- public static final native void glGetPointerv (int pname, int[] params);
- /* TEST */
- public static final native void glGetPolygonStipple (byte[] mask);
- public static final native int glGetString (int name);
- /* SHOULD RETURN A STRING */
- public static final native void glGetTexEnvfv (int target, int pname, float[] params);
- public static final native void glGetTexEnviv (int target, int pname, int[] params);
- public static final native void glGetTexGendv (int coord, int pname, double[] params);
- public static final native void glGetTexGenfv (int coord, int pname, float[] params);
- public static final native void glGetTexGeniv (int coord, int pname, int[] params);
- public static final native void glGetTexImage (int target, int level, int format, int type, int[] pixels); /* MULTIPLES TYPES ARRAY */
- public static final native void glGetTexLevelParameterfv (int target, int level, int pname, float[] params);
- public static final native void glGetTexLevelParameteriv (int target, int level, int pname, int[] params);
- public static final native void glGetTexParameterfv (int target, int pname, float[] params);
- public static final native void glGetTexParameteriv (int target, int pname, int[] params);
- public static final native void glHint (int target, int mode);
- public static final native void glIndexd (double c);
- public static final native void glIndexf (float c);
- public static final native void glIndexi (int c);
- public static final native void glIndexs (short c);
- public static final native void glIndexdv (double[] c);
- public static final native void glIndexfv (float[] c);
- public static final native void glIndexiv (int[] c);
- public static final native void glIndexsv (short[] c);
- public static final native void glIndexMask (int mask);
- public static final native void glIndexPointer (int type, int stride, int[] pointer);
- /* MULTIPLES TYPES */
- public static final native void glInitNames ();
- public static final native void glInterleavedArrays (int format, int stride, int[] pointer);
- /* CHECK */
- public static final native boolean glIsEnabled (int cap);
- public static final native boolean glIsList (int list);
- public static final native boolean glIsTexture (int texture);
- public static final native void glLightf (int light, int pname, float param);
- public static final native void glLighti (int light, int pname, int param);
- public static final native void glLightfv (int light, int pname, float[] param);
- //public static final native void glLightfv (int light, int pname, int param);
- public static final native void glLightiv (int light, int pname, int[] param);
- public static final native void glLightModelf (int pname, float param);
- public static final native void glLightModeli (int pname, int param);
- public static final native void glLightModelfv (int pname, float[] param);
- public static final native void glLightModeliv (int pname, int[] param);
- public static final native void glLineStipple (int factor, short pattern);
- public static final native void glLineWidth (float width);
- public static final native void glListBase (int base);
- public static final native void glLoadIdentity ();
- public static final native void glLoadMatrixd (double[] m);
- public static final native void glLoadMatrixf (float[] m);
- public static final native void glLoadName (int name);
- public static final native void glLogicOp (int opcode);
- public static final native void glMap1d (int target, double u1, double u2, int stride, int order, double[] points);
- public static final native void glMap1f (int target, float u1, float u2, int stride, int order, float[] points);
- public static final native void glMap2d (int target, double u1, double u2, int ustride, int uorder, double v1, double v2, int vstride, int vorder, double[] points);
- public static final native void glMap2f (int target, float u1, float u2, int ustride, int uorder, float v1, float v2, int vstride, int vorder, float[] points);
- public static final native void glMapGrid1d (int un, double u1, double u2);
- public static final native void glMapGrid1f (int un, float u1, float u2);
- public static final native void glMapGrid2d (int un, double u1, double u2, int vm, double v1, double v2);
- public static final native void glMapGrid2f (int un, float u1, float u2, int vm, float v1, float v2);
- public static final native void glMaterialf (int face, int pname, float param);
- public static final native void glMateriali (int face, int pname, int param);
- public static final native void glMaterialfv (int face, int pname, float[] param);
- public static final native void glMaterialiv (int face, int pname, int[] param);
- public static final native void glMatrixMode (int mode);
- public static final native void glMultMatrixd (double[] m);
- public static final native void glMultMatrixf (float[] m);
- public static final native void glNewList (int list, int mode);
- public static final native void glEndList ();
- public static final native void glNormal3b (byte nx, byte ny, byte nz);
- public static final native void glNormal3d (double nx, double ny, double nz);
- public static final native void glNormal3f (float nx, float ny, float nz);
- public static final native void glNormal3i (int nx, int ny, int nz);
- public static final native void glNormal3s (short nx, short ny, short nz);
- public static final native void glNormal3bv (byte[] v);
- public static final native void glNormal3dv (double[] v);
- public static final native void glNormal3fv (float[] v);
- public static final native void glNormal3iv (int[] v);
- public static final native void glNormal3sv (short[] v);
- public static final native void glNormalPointer (int type, int stride, int[] pointer); /* MULTIPLES TYPES ARRAY */
- public static final native void glOrtho (double left, double right, double bottom, double top, double znear, double zfar);
- public static final native void glPassThrough (float token);
- public static final native void glPixelMapfv (int map, int mapsize, float[] values);
- public static final native void glPixelMapuiv (int map, int mapsize, int[] values);
- public static final native void glPixelMapusv (int map, int mapsize, short[] values);
- public static final native void glPixelStoref (int pname, float param);
- public static final native void glPixelStorei (int pname, int param);
- public static final native void glPixelTransferf (int pname, float param);
- public static final native void glPixelTransferi (int pname, int param);
- public static final native void glPixelZoom (float xfactor, float yfactor);
- public static final native void glPointSize (float size);
- public static final native void glPolygonMode (int face, int mode);
- public static final native void glPolygonOffset (float factor, float units);
- public static final native void glPolygonStipple (byte[] mask);
- public static final native void glPrioritizeTextures (int n, int[] textures, float[] priorities);
- public static final native void glPushAttrib (int mask);
- public static final native void glPopAttrib ();
- public static final native void glPushClientAttrib (int mask);
- public static final native void glPopClientAttrib ();
- public static final native void glPushMatrix ();
- public static final native void glPopMatrix ();
- public static final native void glPushName (int name);
- public static final native void glPopName ();
- public static final native void glRasterPos2d (double x, double y);
- public static final native void glRasterPos2f (float x, float y);
- public static final native void glRasterPos2i (int x, int y);
- public static final native void glRasterPos2s (short x, short y);
- public static final native void glRasterPos3d (double x, double y, double z);
- public static final native void glRasterPos3f (float x, float y, float z);
- public static final native void glRasterPos3i (int x, int y, int z);
- public static final native void glRasterPos3s (short x, short y, short z);
- public static final native void glRasterPos4d (double x, double y, double z, double w);
- public static final native void glRasterPos4f (float x, float y, float z, float w);
- public static final native void glRasterPos4i (int x, int y, int z, int w);
- public static final native void glRasterPos4s (short x, short y, short z, short w);
- public static final native void glRasterPos2dv (double[] v);
- public static final native void glRasterPos2fv (float[] v);
- public static final native void glRasterPos2iv (int[] v);
- public static final native void glRasterPos2sv (short[] v);
- public static final native void glRasterPos3dv (double[] v);
- public static final native void glRasterPos3fv (float[] v);
- public static final native void glRasterPos3iv (int[] v);
- public static final native void glRasterPos3sv (short[] v);
- public static final native void glRasterPos4dv (double[] v);
- public static final native void glRasterPos4fv (float[] v);
- public static final native void glRasterPos4iv (int[] v);
- public static final native void glRasterPos4sv (short[] v);
- public static final native void glReadBuffer (int mode);
- public static final native void glReadPixels (int x, int y, int width, int height, int format, int type, int[] pixels); /* MULTIPLES TYPES ARRAY */
- public static final native void glRectd (double x1, double y1, double x2, double y2);
- public static final native void glRectf (float x1, float y1, float x2, float y2);
- public static final native void glRecti (int x1, int y1, int x2, int y2);
- public static final native void glRects (short x1, short y1, short x2, short y2);
- public static final native void glRectdv (double[] v1, double[] v2);
- public static final native void glRectfv (float[] v1, float[] v2);
- public static final native void glRectiv (int[] v1, int[] v2);
- public static final native void glRectsv (short[] v, short[] v2);
- public static final native int glRenderMode (int mode);
- public static final native void glRotated (double angle, double x, double y, double z);
- public static final native void glRotatef (float angle, float x, float y, float z);
- public static final native void glScaled (double x, double y, double z);
- public static final native void glScalef (float x, float y, float z);
- public static final native void glScissor (int x, int y, int width, int height);
- //public static final native void glSelectBuffer (int size, int[] buffer);
- public static final native void glSelectBuffer (int size, int buffer);
- public static final native void glShadeModel (int mode);
- public static final native void glStencilFunc (int func, int ref, int mask);
- public static final native void glStencilMask (int mask);
- public static final native void glStencilOp (int fail, int zfail, int zpass);
- public static final native void glTexCoord1d (double s);
- public static final native void glTexCoord1f (float s);
- public static final native void glTexCoord1i (int s);
- public static final native void glTexCoord1s (short s);
- public static final native void glTexCoord2d (double s, double t);
- public static final native void glTexCoord2f (float s, float t);
- public static final native void glTexCoord2i (int s, int t);
- public static final native void glTexCoord2s (short s, short t);
- public static final native void glTexCoord3d (double s, double t, double r);
- public static final native void glTexCoord3f (float s, float t, float r);
- public static final native void glTexCoord3i (int s, int t, int r);
- public static final native void glTexCoord3s (short s, short t, short r);
- public static final native void glTexCoord4d (double s, double t, double r, double q);
- public static final native void glTexCoord4f (float s, float t, float r, float q);
- public static final native void glTexCoord4i (int s, int t, int r, int q);
- public static final native void glTexCoord4s (short s, short t, short r, short q);
- public static final native void glTexCoord1dv (double[] v);
- public static final native void glTexCoord1fv (float[] v);
- public static final native void glTexCoord1iv (int[] v);
- public static final native void glTexCoord1sv (short[] v);
- public static final native void glTexCoord2dv (double[] v);
- public static final native void glTexCoord2fv (float[] v);
- public static final native void glTexCoord2iv (int[] v);
- public static final native void glTexCoord2sv (short[] v);
- public static final native void glTexCoord3dv (double[] v);
- public static final native void glTexCoord3fv (float[] v);
- public static final native void glTexCoord3iv (int[] v);
- public static final native void glTexCoord3sv (short[] v);
- public static final native void glTexCoord4dv (double[] v);
- public static final native void glTexCoord4fv (float[] v);
- public static final native void glTexCoord4iv (int[] v);
- public static final native void glTexCoord4sv (short[] v);
- public static final native void glTexCoordPointer (int size, int type, int stride, int[] pointer); /*MULTIPLES ARRAYS - CHECK MSDK, COUNT PARAM MISSING */
- public static final native void glTexEnvf (int target, int pname, float param);
- public static final native void glTexEnvi (int target, int pname, int param);
- public static final native void glTexEnvfv (int target, int pname, float[] params);
- public static final native void glTexEnviv (int target, int pname, int[] params);
- public static final native void glTexGend (int coord, int pname, double param);
- public static final native void glTexGenf (int coord, int pname, float param);
- public static final native void glTexGeni (int coord, int pname, int param);
- public static final native void glTexGendv (int coord, int pname, double[] params);
- public static final native void glTexGenfv (int coord, int pname, float[] params);
- public static final native void glTexGeniv (int coord, int pname, int[] params);
- public static final native void glTexImage1D (int target, int level, int internalFormat, int width, int border, int format, int type, int[] pixels); /* MULTIPLES ARRAYS */
- public static final native void glTexImage2D (int target, int level, int internalFormat, int width, int height, int border, int format, int type, byte[] pixels); /* MULTIPLES ARRAYS */
- public static final native void glTexParameterf (int target, int pname, float param);
- public static final native void glTexParameteri (int target, int pname, int param);
- public static final native void glTexParameterfv (int target, int pname, float[] params);
- public static final native void glTexParameteriv (int target, int pname, int[] params);
- public static final native void glTexSubImage1D (int target, int level, int xoffset, int width, int format, int type, int[] pixels); /* MULTIPLES ARRAYS */
- public static final native void glTexSubImage2D (int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int[] pixels); /* MULTIPLES ARRAYS */
- public static final native void glTranslated (double x, double y, double z);
- public static final native void glTranslatef (float x, float y, float z);
- public static final native void glVertex2d (double x, double y);
- public static final native void glVertex2f (float x, float y);
- public static final native void glVertex2i (int x, int y);
- public static final native void glVertex2s (short x, short y);
- public static final native void glVertex3d (double x, double y, double z);
- public static final native void glVertex3f (float x, float y, float z);
- public static final native void glVertex3i (int x, int y, int z);
- public static final native void glVertex3s (short x, short y, short z);
- public static final native void glVertex4d (double x, double y, double z, double w);
- public static final native void glVertex4f (float x, float y, float z, float w);
- public static final native void glVertex4i (int x, int y, int z, int w);
- public static final native void glVertex4s (short x, short y, short z, short w);
- public static final native void glVertex2dv (double[] v);
- public static final native void glVertex2fv (float[] v);
- public static final native void glVertex2iv (int[] v);
- public static final native void glVertex2sv (short[] v);
- public static final native int glVertex3dv (double[] v);
- public static final native int glVertex3dv (int v);
- public static final native void glVertex3fv (float[] v);
- public static final native void glVertex3iv (int[] v);
- public static final native void glVertex3sv (short[] v);
- public static final native int glVertex4dv (double[] v);
- public static final native void glVertex4fv (float[] v);
- public static final native void glVertex4iv (int[] v);
- public static final native void glVertex4sv (short[] v);
- public static final native void glVertexPointer (int size, int type, int stride, int[] pointer); /* MULTIPLES ARRAYS */
- public static final native void glViewport (int x, int y, int width, int height);
-} \ No newline at end of file
diff --git a/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GLU.java b/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GLU.java
deleted file mode 100644
index 2f837004a2..0000000000
--- a/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GLU.java
+++ /dev/null
@@ -1,245 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl;
-
-
-public class GLU {
-
- /* Version */
- public static final int GLU_VERSION_1_1 = 1;
- public static final int GLU_VERSION_1_2 = 1;
-
- /* Errors: (return value 0 = no error) */
- public static final int GLU_INVALID_ENUM = 100900;
- public static final int GLU_INVALID_VALUE = 100901;
- public static final int GLU_OUT_OF_MEMORY = 100902;
- public static final int GLU_INCOMPATIBLE_GL_VERSION = 100903;
-
- /* StringName */
- public static final int GLU_VERSION = 100800;
- public static final int GLU_EXTENSIONS = 100801;
-
-
- /**** Quadric constants ****/
-
- /* QuadricNormal */
- public static final int GLU_SMOOTH = 100000;
- public static final int GLU_FLAT = 100001;
- public static final int GLU_NONE = 100002;
-
- /* QuadricDrawStyle */
- public static final int GLU_POINT = 100010;
- public static final int GLU_LINE = 100011;
- public static final int GLU_FILL = 100012;
- public static final int GLU_SILHOUETTE = 100013;
-
- /* QuadricOrientation */
- public static final int GLU_OUTSIDE = 100020;
- public static final int GLU_INSIDE = 100021;
-
- /* Callback types: */
- /* GLU_ERROR 100103 */
-
-
- /**** Tesselation constants ****/
-
- public static final double GLU_TESS_MAX_COORD = 1.0e150;
-
- /* TessProperty */
- public static final int GLU_TESS_WINDING_RULE = 100140;
- public static final int GLU_TESS_BOUNDARY_ONLY = 100141;
- public static final int GLU_TESS_TOLERANCE = 100142;
-
- /* TessWinding */
- public static final int GLU_TESS_WINDING_ODD = 100130;
- public static final int GLU_TESS_WINDING_NONZERO = 100131;
- public static final int GLU_TESS_WINDING_POSITIVE = 100132;
- public static final int GLU_TESS_WINDING_NEGATIVE = 100133;
- public static final int GLU_TESS_WINDING_ABS_GEQ_TWO = 100134;
-
- /* TessCallback */
- public static final int GLU_TESS_BEGIN = 100100; /* void (CALLBACK*)(GLenum type) */
- public static final int GLU_TESS_VERTEX = 100101; /* void (CALLBACK*)(void *data) */
- public static final int GLU_TESS_END = 100102; /* void (CALLBACK*)(void) */
- public static final int GLU_TESS_ERROR = 100103; /* void (CALLBACK*)(GLenum errno) */
- public static final int GLU_TESS_EDGE_FLAG = 100104; /* void (CALLBACK*)(GLboolean boundaryEdge) */
- public static final int GLU_TESS_COMBINE = 100105; /* void (CALLBACK*)(GLdouble coords[3],
- void *data[4],
- GLfloat weight[4],
- void **dataOut) */
- public static final int GLU_TESS_BEGIN_DATA = 100106; /* void (CALLBACK*)(GLenum type,
- void *polygon_data) */
- public static final int GLU_TESS_VERTEX_DATA = 100107; /* void (CALLBACK*)(void *data,
- void *polygon_data) */
- public static final int GLU_TESS_END_DATA = 100108; /* void (CALLBACK*)(void *polygon_data) */
- public static final int GLU_TESS_ERROR_DATA = 100109; /* void (CALLBACK*)(GLenum errno,
- void *polygon_data) */
- public static final int GLU_TESS_EDGE_FLAG_DATA = 100110; /* void (CALLBACK*)(GLboolean boundaryEdge,
- void *polygon_data) */
- public static final int GLU_TESS_COMBINE_DATA = 100111; /* void (CALLBACK*)(GLdouble coords[3],
- void *data[4],
- GLfloat weight[4],
- void **dataOut,
- void *polygon_data) */
-
- /* TessError */
- public static final int GLU_TESS_ERROR1 = 100151;
- public static final int GLU_TESS_ERROR2 = 100152;
- public static final int GLU_TESS_ERROR3 = 100153;
- public static final int GLU_TESS_ERROR4 = 100154;
- public static final int GLU_TESS_ERROR5 = 100155;
- public static final int GLU_TESS_ERROR6 = 100156;
- public static final int GLU_TESS_ERROR7 = 100157;
- public static final int GLU_TESS_ERROR8 = 100158;
-
- public static final int GLU_TESS_MISSING_BEGIN_POLYGON = GLU_TESS_ERROR1;
- public static final int GLU_TESS_MISSING_BEGIN_CONTOUR = GLU_TESS_ERROR2;
- public static final int GLU_TESS_MISSING_END_POLYGON = GLU_TESS_ERROR3;
- public static final int GLU_TESS_MISSING_END_CONTOUR = GLU_TESS_ERROR4;
- public static final int GLU_TESS_COORD_TOO_LARGE = GLU_TESS_ERROR5;
- public static final int GLU_TESS_NEED_COMBINE_CALLBACK = GLU_TESS_ERROR6;
-
- /**** NURBS constants ****/
-
- /* NurbsProperty */
- public static final int GLU_AUTO_LOAD_MATRIX = 100200;
- public static final int GLU_CULLING = 100201;
- public static final int GLU_SAMPLING_TOLERANCE = 100203;
- public static final int GLU_DISPLAY_MODE = 100204;
- public static final int GLU_PARAMETRIC_TOLERANCE = 100202;
- public static final int GLU_SAMPLING_METHOD = 100205;
- public static final int GLU_U_STEP = 100206;
- public static final int GLU_V_STEP = 100207;
-
- /* NurbsSampling */
- public static final int GLU_PATH_LENGTH = 100215;
- public static final int GLU_PARAMETRIC_ERROR = 100216;
- public static final int GLU_DOMAIN_DISTANCE = 100217;
-
-
- /* NurbsTrim */
- public static final int GLU_MAP1_TRIM_2 = 100210;
- public static final int GLU_MAP1_TRIM_3 = 100211;
-
- /* NurbsDisplay */
- /* GLU_FILL 100012 */
- public static final int GLU_OUTLINE_POLYGON = 100240;
- public static final int GLU_OUTLINE_PATCH = 100241;
-
- /* NurbsCallback */
- /* GLU_ERROR 100103 */
-
- /* NurbsErrors */
- public static final int GLU_NURBS_ERROR1 = 100251;
- public static final int GLU_NURBS_ERROR2 = 100252;
- public static final int GLU_NURBS_ERROR3 = 100253;
- public static final int GLU_NURBS_ERROR4 = 100254;
- public static final int GLU_NURBS_ERROR5 = 100255;
- public static final int GLU_NURBS_ERROR6 = 100256;
- public static final int GLU_NURBS_ERROR7 = 100257;
- public static final int GLU_NURBS_ERROR8 = 100258;
- public static final int GLU_NURBS_ERROR9 = 100259;
- public static final int GLU_NURBS_ERROR10 = 100260;
- public static final int GLU_NURBS_ERROR11 = 100261;
- public static final int GLU_NURBS_ERROR12 = 100262;
- public static final int GLU_NURBS_ERROR13 = 100263;
- public static final int GLU_NURBS_ERROR14 = 100264;
- public static final int GLU_NURBS_ERROR15 = 100265;
- public static final int GLU_NURBS_ERROR16 = 100266;
- public static final int GLU_NURBS_ERROR17 = 100267;
- public static final int GLU_NURBS_ERROR18 = 100268;
- public static final int GLU_NURBS_ERROR19 = 100269;
- public static final int GLU_NURBS_ERROR20 = 100270;
- public static final int GLU_NURBS_ERROR21 = 100271;
- public static final int GLU_NURBS_ERROR22 = 100272;
- public static final int GLU_NURBS_ERROR23 = 100273;
- public static final int GLU_NURBS_ERROR24 = 100274;
- public static final int GLU_NURBS_ERROR25 = 100275;
- public static final int GLU_NURBS_ERROR26 = 100276;
- public static final int GLU_NURBS_ERROR27 = 100277;
- public static final int GLU_NURBS_ERROR28 = 100278;
- public static final int GLU_NURBS_ERROR29 = 100279;
- public static final int GLU_NURBS_ERROR30 = 100280;
- public static final int GLU_NURBS_ERROR31 = 100281;
- public static final int GLU_NURBS_ERROR32 = 100282;
- public static final int GLU_NURBS_ERROR33 = 100283;
- public static final int GLU_NURBS_ERROR34 = 100284;
- public static final int GLU_NURBS_ERROR35 = 100285;
- public static final int GLU_NURBS_ERROR36 = 100286;
- public static final int GLU_NURBS_ERROR37 = 100287;
-
- /* Contours types -- obsolete! */
- public static final int GLU_CW = 100120;
- public static final int GLU_CCW = 100121;
- public static final int GLU_INTERIOR = 100122;
- public static final int GLU_EXTERIOR = 100123;
- public static final int GLU_UNKNOWN = 100124;
-
- /* Names without "TESS_" prefix */
- public static final int GLU_BEGIN = GLU_TESS_BEGIN;
- public static final int GLU_VERTEX = GLU_TESS_VERTEX;
- public static final int GLU_END = GLU_TESS_END;
- public static final int GLU_ERROR = GLU_TESS_ERROR;
- public static final int GLU_EDGE_FLAG = GLU_TESS_EDGE_FLAG;
-
-
- public static final native void gluBeginCurve (int nobj);
- public static final native void gluEndCurve (int nobj);
- public static final native void gluBeginPolygon (int tess);
- public static final native void gluEndPolygon (int tess);
- public static final native void gluBeginSurface (int nobj);
- public static final native void gluEndSurface (int nobj);
- public static final native void gluBeginTrim (int nobj);
- public static final native void gluEndTrim (int nobj);
- public static final native int gluBuild1DMipmaps (int target, int componenets, int width, int format, int type, int data); /* MULTIPLES TYPES ARRAY */
- public static final native int gluBuild2DMipmaps (int target, int componenets, int width, int height, int format, int type, byte[] data); /* MULTIPLES TYPES ARRAY */
- public static final native void gluCylinder (int qobj, double baseRadius, double topRadius, double height, int slices, int stacks);
- public static final native void gluDeleteNurbsRenderer (int nobj);
- public static final native void gluDeleteQuadric (int qobj);
- public static final native void gluDeleteTess (int tess);
- public static final native void gluDisk (int qobj, double innerRadius, double outerRadius, int slices, int loops);
- public static final native int gluErrorString (int errCode); /* SHOULD RETURN A STRING */
- public static final native void gluGetNurbsProperty (int nobj, int property, float[] value);
- public static final native int gluGetString (int name); /* SHOULD RETURN A STRING */
- public static final native void gluGetTessProperty (int tess, int which, double[] value);
- public static final native void gluLoadSamplingMatrices (int nobj, float[] modelMatrix, float[] projMatrix, int[] viewport);
- public static final native void gluLookAt (double eyex, double eyey, double eyez, double centerx, double centery, double centerz, double upx, double upy, double upz);
- public static final native int gluNewNurbsRenderer ();
- public static final native int gluNewQuadric ();
- public static final native int gluNewTess ();
- public static final native void gluNextContour (int tess, int type);
- public static final native void gluNurbsCallback (int nobj, int which, int fn);
- public static final native void gluNurbsCurve (int nobj, int nknots, float[] knot, int stride, float[] ctlarray, int order, int type);
- public static final native void gluNurbsProperty (int nobj, int property, float value);
- public static final native void gluNurbsSurface (int nobj, int sknot_count, float[] sknot, int tknot_count, float[] tknot, int s_stride, int t_stride, float[] ctlarray, int sorder, int torder, int type);
- public static final native void gluOrtho2D (double left, double right, double bottom, double top);
- public static final native void gluPartialDisk (int qobj, double innerRadius, double outerRadius, int slices, int loops, double startAngle, double sweepAngle);
- public static final native void gluPerspective (double fovy, double aspect, double zNear, double zFar);
- public static final native void gluPickMatrix (double x, double y, double width, double height, int[] viewport);
- public static final native int gluProject (double objx, double objy, double objz,double[] modelMatrix, double[] projMatrix, int[] viewport, double[] winx, double[] winy, double[] winz);
- public static final native void gluPwlCurve (int nobj, int count, float[] array, int stride, int type);
- public static final native void gluQuadricCallback (int qobj, int which, int fn);
- public static final native void gluQuadricDrawStyle (int qobj, int drawStyle);
- public static final native void gluQuadricNormals (int qobj, int normals);
- public static final native void gluQuadricOrientation (int qobj, int orientation);
- public static final native void gluQuadricTexture (int qobj, boolean textureCoords);
- public static final native int gluScaleImage (int format, int widthin, int heightin, int typein, int datain, int widthout, int heightout, int typeout, int dataout); /*MULTIPLES TYPES ARRAYS*/
- public static final native void gluSphere (int qobj, double radius, int slices, int stacks);
- public static final native void gluTessBeginContour (int tess);
- public static final native void gluTessEndContour (int tess);
- public static final native void gluTessBeginPolygon (int tess, int polygon_data);
- public static final native void gluTessEndPolygon (int tess);
- public static final native void gluTessCallback (int tess, int which, int fn);
- public static final native void gluTessNormal (int tess, double x, double y, double z);
- public static final native void gluTessProperty (int tess, int property, double value); /* CHECK MSDN, VALUE'S TYPE IS DOUBLE */
- public static final native void gluTessVertex (int tess, double[] coords, int data);
- public static final native int gluUnProject (double winx, double winy, double winz, double[] modelMatrix, double[] projMatrix, int[] viewport, double[] objx, double[] objy, double[] objz);
-}
diff --git a/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GLYPHMETRICSFLOAT.java b/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GLYPHMETRICSFLOAT.java
deleted file mode 100644
index 4da0a94c4b..0000000000
--- a/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/GLYPHMETRICSFLOAT.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl;
-
-
-public class GLYPHMETRICSFLOAT {
- public float gmfBlackBoxX;
- public float gmfBlackBoxY;
- public float gmfptGlyphOrigin_x;
- public float gmfptGlyphOrigin_y;
- public float gmfCellIncX;
- public float gmfCellIncY;
- public static final int sizeof = 24;
-}
diff --git a/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/ImageDataUtil.java b/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/ImageDataUtil.java
deleted file mode 100644
index d9002851c4..0000000000
--- a/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/ImageDataUtil.java
+++ /dev/null
@@ -1,524 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl;
-
-
-public class ImageDataUtil {
- /**
- * Alpha mode, values 0 - 255 specify global alpha level
- */
- static final int
- ALPHA_OPAQUE = 255, // Fully opaque (ignores any alpha data)
- ALPHA_TRANSPARENT = 0, // Fully transparent (ignores any alpha data)
- ALPHA_CHANNEL_SEPARATE = -1, // Use alpha channel from separate alphaData
- ALPHA_CHANNEL_SOURCE = -2, // Use alpha channel embedded in sourceData
- ALPHA_MASK_UNPACKED = -3, // Use transparency mask formed by bytes in alphaData (non-zero is opaque)
- ALPHA_MASK_PACKED = -4, // Use transparency mask formed by packed bits in alphaData
- ALPHA_MASK_INDEX = -5, // Consider source palette indices transparent if in alphaData array
- ALPHA_MASK_RGB = -6; // Consider source RGBs transparent if in RGB888 format alphaData array
-
- /**
- * Data types (internal)
- */
- private static final int
- // direct / true color formats with arbitrary masks & shifts
- TYPE_GENERIC_8 = 0,
- TYPE_GENERIC_16_MSB = 1,
- TYPE_GENERIC_16_LSB = 2,
- TYPE_GENERIC_24 = 3,
- TYPE_GENERIC_32_MSB = 4,
- TYPE_GENERIC_32_LSB = 5,
- // palette indexed color formats
- TYPE_INDEX_8 = 6,
- TYPE_INDEX_4 = 7,
- TYPE_INDEX_2 = 8,
- TYPE_INDEX_1_MSB = 9,
- TYPE_INDEX_1_LSB = 10;
-
- /**
- * Byte and bit order constants.
- */
- static final int LSB_FIRST = 0;
- static final int MSB_FIRST = 1;
-
- /**
- * Blit operation bits to be OR'ed together to specify the desired operation.
- */
- static final int
- BLIT_SRC = 1, // copy source directly, else applies logic operations
- BLIT_ALPHA = 2, // enable alpha blending
- BLIT_DITHER = 4; // enable dithering in low color modes
-
- /**
- * Arbitrary channel width data to 8-bit conversion table.
- */
- static final byte[][] ANY_TO_EIGHT = new byte[9][];
- static {
- for (int b = 0; b < 9; ++b) {
- byte[] data = ANY_TO_EIGHT[b] = new byte[1 << b];
- if (b == 0) continue;
- int inc = 0;
- for (int bit = 0x10000; (bit >>= b) != 0;) inc |= bit;
- for (int v = 0, p = 0; v < 0x10000; v+= inc) data[p++] = (byte)(v >> 8);
- }
- }
-
- /**
- * Blits a direct palette image into a direct palette image.
- * <p>
- * Note: When the source and destination depth, order and masks
- * are pairwise equal and the blitter operation is BLIT_SRC,
- * the masks are ignored. Hence when not changing the image
- * data format, 0 may be specified for the masks.
- * </p>
- *
- * @param op the blitter operation: a combination of BLIT_xxx flags
- * (see BLIT_xxx constants)
- * @param srcData the source byte array containing image data
- * @param srcDepth the source depth: one of 8, 16, 24, 32
- * @param srcStride the source number of bytes per line
- * @param srcOrder the source byte ordering: one of MSB_FIRST or LSB_FIRST;
- * ignored if srcDepth is not 16 or 32
- * @param srcX the top-left x-coord of the source blit region
- * @param srcY the top-left y-coord of the source blit region
- * @param srcWidth the width of the source blit region
- * @param srcHeight the height of the source blit region
- * @param srcRedMask the source red channel mask
- * @param srcGreenMask the source green channel mask
- * @param srcBlueMask the source blue channel mask
- * @param alphaMode the alpha blending or mask mode, may be
- * an integer 0-255 for global alpha; ignored if BLIT_ALPHA
- * not specified in the blitter operations
- * (see ALPHA_MODE_xxx constants)
- * @param alphaData the alpha blending or mask data, varies depending
- * on the value of alphaMode and sometimes ignored
- * @param alphaStride the alpha data number of bytes per line
- * @param alphaX the top-left x-coord of the alpha blit region
- * @param alphaY the top-left y-coord of the alpha blit region
- * @param destData the destination byte array containing image data
- * @param destDepth the destination depth: one of 8, 16, 24, 32
- * @param destStride the destination number of bytes per line
- * @param destOrder the destination byte ordering: one of MSB_FIRST or LSB_FIRST;
- * ignored if destDepth is not 16 or 32
- * @param destX the top-left x-coord of the destination blit region
- * @param destY the top-left y-coord of the destination blit region
- * @param destWidth the width of the destination blit region
- * @param destHeight the height of the destination blit region
- * @param destRedMask the destination red channel mask
- * @param destGreenMask the destination green channel mask
- * @param destBlueMask the destination blue channel mask
- * @param flipX if true the resulting image is flipped along the vertical axis
- * @param flipY if true the resulting image is flipped along the horizontal axis
- */
- static void blit(int op,
- byte[] srcData, int srcDepth, int srcStride, int srcOrder,
- int srcX, int srcY, int srcWidth, int srcHeight,
- int srcRedMask, int srcGreenMask, int srcBlueMask,
- int alphaMode, byte[] alphaData, int alphaStride, int alphaX, int alphaY,
- byte[] destData, int destDepth, int destStride, int destOrder,
- int destX, int destY, int destWidth, int destHeight,
- int destRedMask, int destGreenMask, int destBlueMask,
- boolean flipX, boolean flipY) {
- if ((destWidth <= 0) || (destHeight <= 0) || (alphaMode == ALPHA_TRANSPARENT)) return;
-
- // these should be supplied as params later
- final int srcAlphaMask = 0, destAlphaMask = 0;
-
- /*** Prepare scaling data ***/
- final int dwm1 = destWidth - 1;
- final int sfxi = (dwm1 != 0) ? (int)((((long)srcWidth << 16) - 1) / dwm1) : 0;
- final int dhm1 = destHeight - 1;
- final int sfyi = (dhm1 != 0) ? (int)((((long)srcHeight << 16) - 1) / dhm1) : 0;
-
- /*** Prepare source-related data ***/
- final int sbpp, stype;
- switch (srcDepth) {
- case 8:
- sbpp = 1;
- stype = TYPE_GENERIC_8;
- break;
- case 16:
- sbpp = 2;
- stype = (srcOrder == MSB_FIRST) ? TYPE_GENERIC_16_MSB : TYPE_GENERIC_16_LSB;
- break;
- case 24:
- sbpp = 3;
- stype = TYPE_GENERIC_24;
- break;
- case 32:
- sbpp = 4;
- stype = (srcOrder == MSB_FIRST) ? TYPE_GENERIC_32_MSB : TYPE_GENERIC_32_LSB;
- break;
- default:
- //throw new IllegalArgumentException("Invalid source type");
- return;
- }
- int spr = srcY * srcStride + srcX * sbpp;
-
- /*** Prepare destination-related data ***/
- final int dbpp, dtype;
- switch (destDepth) {
- case 8:
- dbpp = 1;
- dtype = TYPE_GENERIC_8;
- break;
- case 16:
- dbpp = 2;
- dtype = (destOrder == MSB_FIRST) ? TYPE_GENERIC_16_MSB : TYPE_GENERIC_16_LSB;
- break;
- case 24:
- dbpp = 3;
- dtype = TYPE_GENERIC_24;
- break;
- case 32:
- dbpp = 4;
- dtype = (destOrder == MSB_FIRST) ? TYPE_GENERIC_32_MSB : TYPE_GENERIC_32_LSB;
- break;
- default:
- //throw new IllegalArgumentException("Invalid destination type");
- return;
- }
- int dpr = ((flipY) ? destY + dhm1 : destY) * destStride + ((flipX) ? destX + dwm1 : destX) * dbpp;
- final int dprxi = (flipX) ? -dbpp : dbpp;
- final int dpryi = (flipY) ? -destStride : destStride;
-
- /*** Prepare special processing data ***/
- int apr;
- if ((op & BLIT_ALPHA) != 0) {
- switch (alphaMode) {
- case ALPHA_MASK_UNPACKED:
- case ALPHA_CHANNEL_SEPARATE:
- if (alphaData == null) alphaMode = 0x10000;
- apr = alphaY * alphaStride + alphaX;
- break;
- case ALPHA_MASK_PACKED:
- if (alphaData == null) alphaMode = 0x10000;
- alphaStride <<= 3;
- apr = alphaY * alphaStride + alphaX;
- break;
- case ALPHA_MASK_INDEX:
- //throw new IllegalArgumentException("Invalid alpha type");
- return;
- case ALPHA_MASK_RGB:
- if (alphaData == null) alphaMode = 0x10000;
- apr = 0;
- break;
- default:
- alphaMode = (alphaMode << 16) / 255; // prescale
- case ALPHA_CHANNEL_SOURCE:
- apr = 0;
- break;
- }
- } else {
- alphaMode = 0x10000;
- apr = 0;
- }
-
- /*** Blit ***/
- int dp = dpr;
- int sp = spr;
- if ((alphaMode == 0x10000) && (stype == dtype) &&
- (srcRedMask == destRedMask) && (srcGreenMask == destGreenMask) &&
- (srcBlueMask == destBlueMask) && (srcAlphaMask == destAlphaMask)) {
- /*** Fast blit (straight copy) ***/
- switch (sbpp) {
- case 1:
- for (int dy = destHeight, sfy = sfyi; dy > 0; --dy, sp = spr += (sfy >>> 16) * srcStride, sfy = (sfy & 0xffff) + sfyi, dp = dpr += dpryi) {
- for (int dx = destWidth, sfx = sfxi; dx > 0; --dx, dp += dprxi, sfx = (sfx & 0xffff) + sfxi) {
- destData[dp] = srcData[sp];
- sp += (sfx >>> 16);
- }
- }
- break;
- case 2:
- for (int dy = destHeight, sfy = sfyi; dy > 0; --dy, sp = spr += (sfy >>> 16) * srcStride, sfy = (sfy & 0xffff) + sfyi, dp = dpr += dpryi) {
- for (int dx = destWidth, sfx = sfxi; dx > 0; --dx, dp += dprxi, sfx = (sfx & 0xffff) + sfxi) {
- destData[dp] = srcData[sp];
- destData[dp + 1] = srcData[sp + 1];
- sp += (sfx >>> 16) * 2;
- }
- }
- break;
- case 3:
- for (int dy = destHeight, sfy = sfyi; dy > 0; --dy, sp = spr += (sfy >>> 16) * srcStride, sfy = (sfy & 0xffff) + sfyi, dp = dpr += dpryi) {
- for (int dx = destWidth, sfx = sfxi; dx > 0; --dx, dp += dprxi, sfx = (sfx & 0xffff) + sfxi) {
- destData[dp] = srcData[sp];
- destData[dp + 1] = srcData[sp + 1];
- destData[dp + 2] = srcData[sp + 2];
- sp += (sfx >>> 16) * 3;
- }
- }
- break;
- case 4:
- for (int dy = destHeight, sfy = sfyi; dy > 0; --dy, sp = spr += (sfy >>> 16) * srcStride, sfy = (sfy & 0xffff) + sfyi, dp = dpr += dpryi) {
- for (int dx = destWidth, sfx = sfxi; dx > 0; --dx, dp += dprxi, sfx = (sfx & 0xffff) + sfxi) {
- destData[dp] = srcData[sp];
- destData[dp + 1] = srcData[sp + 1];
- destData[dp + 2] = srcData[sp + 2];
- destData[dp + 3] = srcData[sp + 3];
- sp += (sfx >>> 16) * 4;
- }
- }
- break;
- }
- return;
- }
- /*** Comprehensive blit (apply transformations) ***/
- final int srcRedShift = getChannelShift(srcRedMask);
- final byte[] srcReds = ANY_TO_EIGHT[getChannelWidth(srcRedMask, srcRedShift)];
- final int srcGreenShift = getChannelShift(srcGreenMask);
- final byte[] srcGreens = ANY_TO_EIGHT[getChannelWidth(srcGreenMask, srcGreenShift)];
- final int srcBlueShift = getChannelShift(srcBlueMask);
- final byte[] srcBlues = ANY_TO_EIGHT[getChannelWidth(srcBlueMask, srcBlueShift)];
- final int srcAlphaShift = getChannelShift(srcAlphaMask);
- final byte[] srcAlphas = ANY_TO_EIGHT[getChannelWidth(srcAlphaMask, srcAlphaShift)];
-
- final int destRedShift = getChannelShift(destRedMask);
- final int destRedWidth = getChannelWidth(destRedMask, destRedShift);
- final byte[] destReds = ANY_TO_EIGHT[destRedWidth];
- final int destRedPreShift = 8 - destRedWidth;
- final int destGreenShift = getChannelShift(destGreenMask);
- final int destGreenWidth = getChannelWidth(destGreenMask, destGreenShift);
- final byte[] destGreens = ANY_TO_EIGHT[destGreenWidth];
- final int destGreenPreShift = 8 - destGreenWidth;
- final int destBlueShift = getChannelShift(destBlueMask);
- final int destBlueWidth = getChannelWidth(destBlueMask, destBlueShift);
- final byte[] destBlues = ANY_TO_EIGHT[destBlueWidth];
- final int destBluePreShift = 8 - destBlueWidth;
- final int destAlphaShift = getChannelShift(destAlphaMask);
- final int destAlphaWidth = getChannelWidth(destAlphaMask, destAlphaShift);
- final byte[] destAlphas = ANY_TO_EIGHT[destAlphaWidth];
- final int destAlphaPreShift = 8 - destAlphaWidth;
-
- int ap = apr, alpha = alphaMode;
- int r = 0, g = 0, b = 0, a = 0;
- int rq = 0, gq = 0, bq = 0, aq = 0;
- for (int dy = destHeight, sfy = sfyi; dy > 0; --dy,
- sp = spr += (sfy >>> 16) * srcStride,
- ap = apr += (sfy >>> 16) * alphaStride,
- sfy = (sfy & 0xffff) + sfyi,
- dp = dpr += dpryi) {
- for (int dx = destWidth, sfx = sfxi; dx > 0; --dx,
- dp += dprxi,
- sfx = (sfx & 0xffff) + sfxi) {
- /*** READ NEXT PIXEL ***/
- switch (stype) {
- case TYPE_GENERIC_8: {
- final int data = srcData[sp] & 0xff;
- sp += (sfx >>> 16);
- r = srcReds[(data & srcRedMask) >>> srcRedShift] & 0xff;
- g = srcGreens[(data & srcGreenMask) >>> srcGreenShift] & 0xff;
- b = srcBlues[(data & srcBlueMask) >>> srcBlueShift] & 0xff;
- a = srcAlphas[(data & srcAlphaMask) >>> srcAlphaShift] & 0xff;
- } break;
- case TYPE_GENERIC_16_MSB: {
- final int data = ((srcData[sp] & 0xff) << 8) | (srcData[sp + 1] & 0xff);
- sp += (sfx >>> 16) * 2;
- r = srcReds[(data & srcRedMask) >>> srcRedShift] & 0xff;
- g = srcGreens[(data & srcGreenMask) >>> srcGreenShift] & 0xff;
- b = srcBlues[(data & srcBlueMask) >>> srcBlueShift] & 0xff;
- a = srcAlphas[(data & srcAlphaMask) >>> srcAlphaShift] & 0xff;
- } break;
- case TYPE_GENERIC_16_LSB: {
- final int data = ((srcData[sp + 1] & 0xff) << 8) | (srcData[sp] & 0xff);
- sp += (sfx >>> 16) * 2;
- r = srcReds[(data & srcRedMask) >>> srcRedShift] & 0xff;
- g = srcGreens[(data & srcGreenMask) >>> srcGreenShift] & 0xff;
- b = srcBlues[(data & srcBlueMask) >>> srcBlueShift] & 0xff;
- a = srcAlphas[(data & srcAlphaMask) >>> srcAlphaShift] & 0xff;
- } break;
- case TYPE_GENERIC_24: {
- final int data = (( ((srcData[sp] & 0xff) << 8) |
- (srcData[sp + 1] & 0xff)) << 8) |
- (srcData[sp + 2] & 0xff);
- sp += (sfx >>> 16) * 3;
- r = srcReds[(data & srcRedMask) >>> srcRedShift] & 0xff;
- g = srcGreens[(data & srcGreenMask) >>> srcGreenShift] & 0xff;
- b = srcBlues[(data & srcBlueMask) >>> srcBlueShift] & 0xff;
- a = srcAlphas[(data & srcAlphaMask) >>> srcAlphaShift] & 0xff;
- } break;
- case TYPE_GENERIC_32_MSB: {
- final int data = (( (( ((srcData[sp] & 0xff) << 8) |
- (srcData[sp + 1] & 0xff)) << 8) |
- (srcData[sp + 2] & 0xff)) << 8) |
- (srcData[sp + 3] & 0xff);
- sp += (sfx >>> 16) * 4;
- r = srcReds[(data & srcRedMask) >>> srcRedShift] & 0xff;
- g = srcGreens[(data & srcGreenMask) >>> srcGreenShift] & 0xff;
- b = srcBlues[(data & srcBlueMask) >>> srcBlueShift] & 0xff;
- a = srcAlphas[(data & srcAlphaMask) >>> srcAlphaShift] & 0xff;
- } break;
- case TYPE_GENERIC_32_LSB: {
- final int data = (( (( ((srcData[sp + 3] & 0xff) << 8) |
- (srcData[sp + 2] & 0xff)) << 8) |
- (srcData[sp + 1] & 0xff)) << 8) |
- (srcData[sp] & 0xff);
- sp += (sfx >>> 16) * 4;
- r = srcReds[(data & srcRedMask) >>> srcRedShift] & 0xff;
- g = srcGreens[(data & srcGreenMask) >>> srcGreenShift] & 0xff;
- b = srcBlues[(data & srcBlueMask) >>> srcBlueShift] & 0xff;
- a = srcAlphas[(data & srcAlphaMask) >>> srcAlphaShift] & 0xff;
- } break;
- }
-
- /*** DO SPECIAL PROCESSING IF REQUIRED ***/
- switch (alphaMode) {
- case ALPHA_CHANNEL_SEPARATE:
- alpha = ((alphaData[ap] & 0xff) << 16) / 255;
- ap += (sfx >> 16);
- break;
- case ALPHA_CHANNEL_SOURCE:
- alpha = (a << 16) / 255;
- break;
- case ALPHA_MASK_UNPACKED:
- alpha = (alphaData[ap] != 0) ? 0x10000 : 0;
- ap += (sfx >> 16);
- break;
- case ALPHA_MASK_PACKED:
- alpha = (alphaData[ap >> 3] << ((ap & 7) + 9)) & 0x10000;
- ap += (sfx >> 16);
- break;
- case ALPHA_MASK_RGB:
- alpha = 0x10000;
- for (int i = 0; i < alphaData.length; i += 3) {
- if ((r == alphaData[i]) && (g == alphaData[i + 1]) && (b == alphaData[i + 2])) {
- alpha = 0x0000;
- break;
- }
- }
- break;
- }
- if (alpha != 0x10000) {
- if (alpha == 0x0000) continue;
- switch (dtype) {
- case TYPE_GENERIC_8: {
- final int data = destData[dp] & 0xff;
- rq = destReds[(data & destRedMask) >>> destRedShift] & 0xff;
- gq = destGreens[(data & destGreenMask) >>> destGreenShift] & 0xff;
- bq = destBlues[(data & destBlueMask) >>> destBlueShift] & 0xff;
- aq = destAlphas[(data & destAlphaMask) >>> destAlphaShift] & 0xff;
- } break;
- case TYPE_GENERIC_16_MSB: {
- final int data = ((destData[dp] & 0xff) << 8) | (destData[dp + 1] & 0xff);
- rq = destReds[(data & destRedMask) >>> destRedShift] & 0xff;
- gq = destGreens[(data & destGreenMask) >>> destGreenShift] & 0xff;
- bq = destBlues[(data & destBlueMask) >>> destBlueShift] & 0xff;
- aq = destAlphas[(data & destAlphaMask) >>> destAlphaShift] & 0xff;
- } break;
- case TYPE_GENERIC_16_LSB: {
- final int data = ((destData[dp + 1] & 0xff) << 8) | (destData[dp] & 0xff);
- rq = destReds[(data & destRedMask) >>> destRedShift] & 0xff;
- gq = destGreens[(data & destGreenMask) >>> destGreenShift] & 0xff;
- bq = destBlues[(data & destBlueMask) >>> destBlueShift] & 0xff;
- aq = destAlphas[(data & destAlphaMask) >>> destAlphaShift] & 0xff;
- } break;
- case TYPE_GENERIC_24: {
- final int data = (( ((destData[dp] & 0xff) << 8) |
- (destData[dp + 1] & 0xff)) << 8) |
- (destData[dp + 2] & 0xff);
- rq = destReds[(data & destRedMask) >>> destRedShift] & 0xff;
- gq = destGreens[(data & destGreenMask) >>> destGreenShift] & 0xff;
- bq = destBlues[(data & destBlueMask) >>> destBlueShift] & 0xff;
- aq = destAlphas[(data & destAlphaMask) >>> destAlphaShift] & 0xff;
- } break;
- case TYPE_GENERIC_32_MSB: {
- final int data = (( (( ((destData[dp] & 0xff) << 8) |
- (destData[dp + 1] & 0xff)) << 8) |
- (destData[dp + 2] & 0xff)) << 8) |
- (destData[dp + 3] & 0xff);
- rq = destReds[(data & destRedMask) >>> destRedShift] & 0xff;
- gq = destGreens[(data & destGreenMask) >>> destGreenShift] & 0xff;
- bq = destBlues[(data & destBlueMask) >>> destBlueShift] & 0xff;
- aq = destAlphas[(data & destAlphaMask) >>> destAlphaShift] & 0xff;
- } break;
- case TYPE_GENERIC_32_LSB: {
- final int data = (( (( ((destData[dp + 3] & 0xff) << 8) |
- (destData[dp + 2] & 0xff)) << 8) |
- (destData[dp + 1] & 0xff)) << 8) |
- (destData[dp] & 0xff);
- rq = destReds[(data & destRedMask) >>> destRedShift] & 0xff;
- gq = destGreens[(data & destGreenMask) >>> destGreenShift] & 0xff;
- bq = destBlues[(data & destBlueMask) >>> destBlueShift] & 0xff;
- aq = destAlphas[(data & destAlphaMask) >>> destAlphaShift] & 0xff;
- } break;
- }
- // Perform alpha blending
- a = aq + ((a - aq) * alpha >> 16);
- r = rq + ((r - rq) * alpha >> 16);
- g = gq + ((g - gq) * alpha >> 16);
- b = bq + ((b - bq) * alpha >> 16);
- }
-
- /*** WRITE NEXT PIXEL ***/
- final int data =
- (r >>> destRedPreShift << destRedShift) |
- (g >>> destGreenPreShift << destGreenShift) |
- (b >>> destBluePreShift << destBlueShift) |
- (a >>> destAlphaPreShift << destAlphaShift);
- switch (dtype) {
- case TYPE_GENERIC_8: {
- destData[dp] = (byte) data;
- } break;
- case TYPE_GENERIC_16_MSB: {
- destData[dp] = (byte) (data >>> 8);
- destData[dp + 1] = (byte) (data & 0xff);
- } break;
- case TYPE_GENERIC_16_LSB: {
- destData[dp] = (byte) (data & 0xff);
- destData[dp + 1] = (byte) (data >>> 8);
- } break;
- case TYPE_GENERIC_24: {
- destData[dp] = (byte) (data >>> 16);
- destData[dp + 1] = (byte) (data >>> 8);
- destData[dp + 2] = (byte) (data & 0xff);
- } break;
- case TYPE_GENERIC_32_MSB: {
- destData[dp] = (byte) (data >>> 24);
- destData[dp + 1] = (byte) (data >>> 16);
- destData[dp + 2] = (byte) (data >>> 8);
- destData[dp + 3] = (byte) (data & 0xff);
- } break;
- case TYPE_GENERIC_32_LSB: {
- destData[dp] = (byte) (data & 0xff);
- destData[dp + 1] = (byte) (data >>> 8);
- destData[dp + 2] = (byte) (data >>> 16);
- destData[dp + 3] = (byte) (data >>> 24);
- } break;
- }
- }
- }
- }
-
- /**
- * Computes the required channel shift from a mask.
- */
- static int getChannelShift(int mask) {
- if (mask == 0) return 0;
- int i;
- for (i = 0; ((mask & 1) == 0) && (i < 32); ++i) {
- mask >>>= 1;
- }
- return i;
- }
-
- /**
- * Computes the required channel width (depth) from a mask.
- */
- static int getChannelWidth(int mask, int shift) {
- if (mask == 0) return 0;
- int i;
- mask >>>= shift;
- for (i = shift; ((mask & 1) != 0) && (i < 32); ++i) {
- mask >>>= 1;
- }
- return i - shift;
- }
-}
diff --git a/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/Library.java b/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/Library.java
deleted file mode 100644
index 7a486e3eca..0000000000
--- a/bundles/org.eclipse.swt.opengl/common/org/eclipse/swt/opengl/Library.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl;
-
-
-public class Library {
-
-/**
- * Returns the platform name.
- *
- * @return the platform name of the currently running SWT
- */
-static String getPlatform () {
- String [] names = new String [] {"motif", "gtk", "win32", "photon", "carbon"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
- for (int i = 0; i < names.length; i++) {
- try {
- Class.forName("org.eclipse.swt.internal."+names[i]+".OS"); //$NON-NLS-1$ //$NON-NLS-2$
- return names[i];
- } catch (ClassNotFoundException e) {
- }
- }
- return "unknown"; //$NON-NLS-1$
-}
-
-/**
- * Loads the shared library that matches the version of the
- * Java code which is currently running. SWT shared libraries
- * follow an encoding scheme where the major, minor and revision
- * numbers are embedded in the library name and this along with
- * <code>name</code> is used to load the library. If this fails,
- * <code>name</code> is used in another attempt to load the library,
- * this time ignoring the SWT version encoding scheme.
- *
- * @param name the name of the library to load
- */
-public static void loadLibrary (String name) {
- /*
- * Include platform name to support different windowing systems
- * on same operating system.
- */
- String platform = getPlatform ();
-
- try {
- String newName = name + "-" + platform; //$NON-NLS-1$ //$NON-NLS-2$
- System.loadLibrary (newName);
- return;
- } catch (UnsatisfiedLinkError e1) {
- throw e1;
- }
-}
-
-}
diff --git a/bundles/org.eclipse.swt.opengl/gtk/gl_library/build.sh b/bundles/org.eclipse.swt.opengl/gtk/gl_library/build.sh
deleted file mode 100644
index 9133ca2f7f..0000000000
--- a/bundles/org.eclipse.swt.opengl/gtk/gl_library/build.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-#*******************************************************************************
-
-#!/bin/sh
-
-make -f make_gtk.mak ${1+"$@"}
diff --git a/bundles/org.eclipse.swt.opengl/gtk/gl_library/glx.c b/bundles/org.eclipse.swt.opengl/gtk/gl_library/glx.c
deleted file mode 100644
index 03cc1c2091..0000000000
--- a/bundles/org.eclipse.swt.opengl/gtk/gl_library/glx.c
+++ /dev/null
@@ -1,247 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-#include <GL/glx.h>
-#include <string.h>
-#include "swt.h"
-#include "structs.h"
-
-#define XGL_NATIVE(func) Java_org_eclipse_swt_opengl_internal_gtk_XGL_##func
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXChooseVisual)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc;
-
- NATIVE_ENTER(env, that, "glXChooseVisual\n")
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- rc = (jint)glXChooseVisual((Display *)arg0, arg1, (int *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glXChooseVisual\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXCopyContext)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- NATIVE_ENTER(env, that, "glXCopyContext\n")
- glXCopyContext((Display *)arg0, (GLXContext)arg1, (GLXContext)arg2, arg3);
- NATIVE_EXIT(env, that, "glXCopyContext\n")
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXCreateContext)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jboolean arg3)
-{
- XVisualInfo _arg1, *lparg1=NULL;
- jint rc;
-
- NATIVE_ENTER(env, that, "glXCreateContext\n")
- if (arg1) lparg1 = getXVisualInfoFields(env, arg1, &_arg1);
- rc = (jint)glXCreateContext((Display *)arg0, lparg1, (GLXContext)arg2, arg3);
- if (arg1) setXVisualInfoFields(env, arg1, lparg1);
- NATIVE_EXIT(env, that, "glXCreateContext\n")
- return rc;
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXCreateGLXPixmap)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- XVisualInfo _arg1, *lparg1=NULL;
- jint rc;
-
- NATIVE_ENTER(env, that, "glXCreateGLXPixmap\n")
- if (arg1) lparg1 = getXVisualInfoFields(env, arg1, &_arg1);
- rc = (jint)glXCreateGLXPixmap((Display *)arg0, lparg1, arg2);
- if (arg1) setXVisualInfoFields(env, arg1, lparg1);
- NATIVE_EXIT(env, that, "glXCreateGLXPixmap\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXDestroyContext)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glXDestroyContext\n")
- glXDestroyContext((Display *)arg0, (GLXContext)arg1);
- NATIVE_EXIT(env, that, "glXDestroyContext\n")
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXDestroyGLXPixmap)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glXDestroyGLXPixmap\n")
- glXDestroyGLXPixmap((Display *)arg0, arg1);
- NATIVE_EXIT(env, that, "glXDestroyGLXPixmap\n")
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXGetClientString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc;
- NATIVE_ENTER(env, that, "glXGetClientString\n")
- rc = (jint)glXGetClientString((Display *)arg0, arg1);
- NATIVE_EXIT(env, that, "glXGetClientString\n")
- return rc;
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXGetConfig)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jintArray arg3)
-{
- XVisualInfo _arg1, *lparg1=NULL;
- jint *lparg3=NULL;
- jint rc;
-
- NATIVE_ENTER(env, that, "glXGetConfig\n")
- if (arg1) lparg1 = getXVisualInfoFields(env, arg1, &_arg1);
- if (arg3) lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL);
- rc = (jint)glXGetConfig((Display *)arg0, lparg1, arg2, (int *)lparg3);
- if (arg1) setXVisualInfoFields(env, arg1, lparg1);
- if (arg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- NATIVE_EXIT(env, that, "glXGetConfig\n")
- return rc;
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXGetCurrentContext)
- (JNIEnv *env, jclass that)
-{
- jint rc;
- NATIVE_ENTER(env, that, "glXGetCurrentContext\n")
- rc = (jint)glXGetCurrentContext();
- NATIVE_EXIT(env, that, "glXGetCurrentContext\n")
- return rc;
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXGetCurrentDrawable)
- (JNIEnv *env, jclass that)
-{
- jint rc;
- NATIVE_ENTER(env, that, "glXGetCurrentDrawable\n")
- rc = (jint)glXGetCurrentDrawable();
- NATIVE_EXIT(env, that, "glXGetCurrentDrawable\n")
- return rc;
-}
-
-JNIEXPORT jboolean JNICALL XGL_NATIVE(glXIsDirect)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jboolean result;
- NATIVE_ENTER(env, that, "glXIsDirect\n")
- result = (jboolean)glXIsDirect((Display *)arg0, (GLXContext)arg1);
- NATIVE_EXIT(env, that, "glXIsDirect\n")
- return result;
-}
-
-JNIEXPORT jboolean JNICALL XGL_NATIVE(glXMakeCurrent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jboolean result;
- NATIVE_ENTER(env, that, "glXMakeCurrent\n")
- result = (jboolean)glXMakeCurrent((Display *)arg0, (GLXDrawable)arg1, (GLXContext)arg2);
- NATIVE_EXIT(env, that, "glXMakeCurrent\n")
- return result;
-}
-
-JNIEXPORT jboolean JNICALL XGL_NATIVE(glXQueryExtension)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- jboolean rc;
-
- NATIVE_ENTER(env, that, "glXQueryExtension\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- rc = (jboolean)glXQueryExtension((Display *)arg0, (int *)lparg1, (int *)lparg2);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glXQueryExtension\n")
- return rc;
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXQueryExtensionsString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- jint rc;
- NATIVE_ENTER(env, that, "glXQueryExtensionsString\n")
- rc = (jint)glXQueryExtensionsString((Display *)arg0, arg1);
- NATIVE_EXIT(env, that, "glXQueryExtensionsString\n")
- return rc;
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXQueryServerString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- jint rc;
- NATIVE_ENTER(env, that, "glXQueryServerString\n")
- rc = (jint)glXQueryServerString((Display *)arg0, arg1, arg2);
- NATIVE_EXIT(env, that, "glXQueryServerString\n")
- return rc;
-}
-
-JNIEXPORT jboolean JNICALL XGL_NATIVE(glXQueryVersion)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- jboolean rc;
-
- NATIVE_ENTER(env, that, "glXQueryVersion\n")
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- rc = (jboolean)glXQueryVersion((Display *)arg0, (int *)lparg1, (int *)lparg2);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- NATIVE_EXIT(env, that, "glXQueryVersion\n")
- return rc;
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXSwapBuffers)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- NATIVE_ENTER(env, that, "glXSwapBuffers\n")
- glXSwapBuffers((Display *)arg0, (GLXDrawable)arg1);
- NATIVE_EXIT(env, that, "glXSwapBuffers\n")
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXUseXFont)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- NATIVE_ENTER(env, that, "glXUseXFont\n")
- glXUseXFont(arg0, arg1, arg2, arg3);
- NATIVE_EXIT(env, that, "glXUseXFont\n")
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXWaitGL)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glXWaitGL\n")
- glXWaitGL();
- NATIVE_EXIT(env, that, "glXWaitGL\n")
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXWaitX)
- (JNIEnv *env, jclass that)
-{
- NATIVE_ENTER(env, that, "glXWaitX\n")
- glXWaitX();
- NATIVE_EXIT(env, that, "glXWaitX\n")
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(memmove__Lorg_eclipse_swt_opengl_internal_gtk_XVisualInfo_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- XVisualInfo _arg0, *lparg0=NULL;
-
- NATIVE_ENTER(env, that, "memmove__Lorg_eclipse_swt_opengl_internal_gtk_XVisualInfo_2II\n")
- if (arg0) lparg0 = &_arg0;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
- if (arg0) setXVisualInfoFields(env, arg0, lparg0);
- NATIVE_EXIT(env, that, "memmove__Lorg_eclipse_swt_opengl_internal_gtk_XVisualInfo_2II\n")
-}
diff --git a/bundles/org.eclipse.swt.opengl/gtk/gl_library/make_gtk.mak b/bundles/org.eclipse.swt.opengl/gtk/gl_library/make_gtk.mak
deleted file mode 100644
index d765b8bd5e..0000000000
--- a/bundles/org.eclipse.swt.opengl/gtk/gl_library/make_gtk.mak
+++ /dev/null
@@ -1,52 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-#*******************************************************************************
-
-# Define the installation directories for various products.
-JAVA_HOME = /bluebird/teamswt/swt-builddir/ive/bin
-
-CC=gcc
-LD=gcc
-
-# Define the various shared libraries to be made.
-WS_PREFIX = gtk
-GL_PREFIX = gl
-GL_DLL = lib$(GL_PREFIX)-$(WS_PREFIX).so
-GL_OBJ = gl.o glu.o structs.o glx.o
-GL_LIB = -shared -L/usr/X11R6/lib -lGL -lGLU -lm
-XGTK_PREFIX = xgtk
-XGTK_DLL = lib$(XGTK_PREFIX)-$(WS_PREFIX).so
-XGTK_OBJ = xgtk.o
-XGTK_LIB = -shared `pkg-config --libs gtk+-2.0 gthread-2.0`
-
-#
-# The following CFLAGS are for compiling the SWT OpenGL libraries.
-#
-CFLAGS = -O -Wall \
- -I./ \
- -I$(JAVA_HOME)/include \
- `pkg-config --cflags gtk+-2.0`
-
-all: make_gl make_xgtk
-
-make_gl: $(GL_DLL)
- $(LD) $(GL_LIB) -o $(GL_DLL) $(GL_OBJ)
-
-$(GL_DLL): $(GL_OBJ)
- $(CC) $(CFLAGS) -c glx.c
-
-make_xgtk: $(XGTK_DLL)
- $(LD) $(XGTK_LIB) -o $(XGTK_DLL) $(XGTK_OBJ)
-
-$(XGTK_DLL): $(XGTK_OBJ)
- $(CC) $(CFLAGS) -c xgtk.c
-
-clean:
- rm -f *.so *.o
diff --git a/bundles/org.eclipse.swt.opengl/gtk/gl_library/structs.c b/bundles/org.eclipse.swt.opengl/gtk/gl_library/structs.c
deleted file mode 100644
index 368852dc33..0000000000
--- a/bundles/org.eclipse.swt.opengl/gtk/gl_library/structs.c
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-#include <X11/X.h>
-#include <X11/Xlib.h>
-#include "swt.h"
-#include "structs.h"
-
-typedef struct XVisualInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID visual, visualid, screen, depth, cclass, red_mask, green_mask, blue_mask, colormap_size, bits_per_rgb;
-} XVisualInfo_FID_CACHE;
-typedef XVisualInfo_FID_CACHE *PXVisualInfo_FID_CACHE;
-
-XVisualInfo_FID_CACHE XVisualInfoFc;
-
-void cacheXVisualInfoFids(JNIEnv *env, jobject lpObject, PXVisualInfo_FID_CACHE lpCache)
-{
- if (lpCache->cached) return;
- lpCache->clazz = (*env)->GetObjectClass(env, lpObject);
- lpCache->visual = (*env)->GetFieldID(env, lpCache->clazz, "visual", "I");
- lpCache->visualid = (*env)->GetFieldID(env, lpCache->clazz, "visualid", "I");
- lpCache->screen = (*env)->GetFieldID(env, lpCache->clazz, "screen", "I");
- lpCache->depth = (*env)->GetFieldID(env, lpCache->clazz, "depth", "I");
- lpCache->cclass = (*env)->GetFieldID(env, lpCache->clazz, "cclass", "I");
- lpCache->red_mask = (*env)->GetFieldID(env, lpCache->clazz, "red_mask", "I");
- lpCache->green_mask = (*env)->GetFieldID(env, lpCache->clazz, "green_mask", "I");
- lpCache->blue_mask = (*env)->GetFieldID(env, lpCache->clazz, "blue_mask", "I");
- lpCache->colormap_size = (*env)->GetFieldID(env, lpCache->clazz, "colormap_size", "I");
- lpCache->bits_per_rgb = (*env)->GetFieldID(env, lpCache->clazz, "bits_per_rgb", "I");
- lpCache->cached = 1;
-}
-
-XVisualInfo *getXVisualInfoFields(JNIEnv *env, jobject lpObject, XVisualInfo *lpStruct)
-{
- PXVisualInfo_FID_CACHE lpCache = &XVisualInfoFc;
- if (!lpCache->cached) cacheXVisualInfoFids(env, lpObject, lpCache);
- lpStruct->visual = (Visual *)(*env)->GetIntField(env, lpObject, lpCache->visual);
- lpStruct->visualid = (*env)->GetIntField(env, lpObject, lpCache->visualid);
- lpStruct->screen = (*env)->GetIntField(env, lpObject, lpCache->screen);
- lpStruct->depth = (*env)->GetIntField(env, lpObject, lpCache->depth);
- lpStruct->class = (*env)->GetIntField(env, lpObject, lpCache->cclass);
- lpStruct->red_mask = (*env)->GetIntField(env, lpObject, lpCache->red_mask);
- lpStruct->green_mask = (*env)->GetIntField(env, lpObject, lpCache->green_mask);
- lpStruct->blue_mask = (*env)->GetIntField(env, lpObject, lpCache->blue_mask);
- lpStruct->colormap_size = (*env)->GetIntField(env, lpObject, lpCache->colormap_size);
- lpStruct->bits_per_rgb = (*env)->GetIntField(env, lpObject, lpCache->bits_per_rgb);
- return lpStruct;
-}
-
-void setXVisualInfoFields(JNIEnv *env, jobject lpObject, XVisualInfo *lpStruct)
-{
- PXVisualInfo_FID_CACHE lpCache = &XVisualInfoFc;
- if (!lpCache->cached) cacheXVisualInfoFids(env, lpObject, lpCache);
- (*env)->SetIntField(env, lpObject, lpCache->visual, (jint)lpStruct->visual);
- (*env)->SetIntField(env, lpObject, lpCache->visualid, (jint)lpStruct->visualid);
- (*env)->SetIntField(env, lpObject, lpCache->screen, (jint)lpStruct->screen);
- (*env)->SetIntField(env, lpObject, lpCache->depth, (jint)lpStruct->depth);
- (*env)->SetIntField(env, lpObject, lpCache->cclass, (jint)lpStruct->class);
- (*env)->SetIntField(env, lpObject, lpCache->red_mask, (jint)lpStruct->red_mask);
- (*env)->SetIntField(env, lpObject, lpCache->green_mask, (jint)lpStruct->green_mask);
- (*env)->SetIntField(env, lpObject, lpCache->blue_mask, (jint)lpStruct->blue_mask);
- (*env)->SetIntField(env, lpObject, lpCache->colormap_size, (jint)lpStruct->colormap_size);
- (*env)->SetIntField(env, lpObject, lpCache->bits_per_rgb, (jint)lpStruct->bits_per_rgb);
-}
diff --git a/bundles/org.eclipse.swt.opengl/gtk/gl_library/structs.h b/bundles/org.eclipse.swt.opengl/gtk/gl_library/structs.h
deleted file mode 100644
index 80791498e6..0000000000
--- a/bundles/org.eclipse.swt.opengl/gtk/gl_library/structs.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-#include <X11/X.h>
-#include <X11/Xutil.h>
-
-XVisualInfo *getXVisualInfoFields(JNIEnv *env, jobject lpObject, XVisualInfo *lpStruct);
-void setXVisualInfoFields(JNIEnv *env, jobject lpObject, XVisualInfo *lpStruct);
-
diff --git a/bundles/org.eclipse.swt.opengl/gtk/gl_library/xgtk.c b/bundles/org.eclipse.swt.opengl/gtk/gl_library/xgtk.c
deleted file mode 100644
index 0f97a7846d..0000000000
--- a/bundles/org.eclipse.swt.opengl/gtk/gl_library/xgtk.c
+++ /dev/null
@@ -1,109 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-#include "swt.h"
-#include <gdk/gdkx.h>
-#include <stdlib.h>
-
-#define XGTK_NATIVE(func) Java_org_eclipse_swt_opengl_internal_gtk_XGTK_##func
-
-#ifndef NO_free
-JNIEXPORT void JNICALL XGTK_NATIVE(free)
- (JNIEnv *env, jclass that, jint arg0)
-{
- NATIVE_ENTER(env, that, "free\n")
- free((char *)arg0);
- NATIVE_EXIT(env, that, "free\n")
-}
-#endif
-
-#ifndef NO_malloc
-JNIEXPORT jint JNICALL XGTK_NATIVE(malloc)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc;
- NATIVE_ENTER(env, that, "malloc\n")
- rc = (jint)malloc(arg0);
- NATIVE_EXIT(env, that, "malloc\n")
- return rc;
-}
-#endif
-
-#ifndef NO_gdk_1x11_1gc_1get_1xdisplay
-JNIEXPORT int JNICALL XGTK_NATIVE(gdk_1x11_1gc_1get_1xdisplay)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc;
- NATIVE_ENTER(env, that, "gdk_1x11_1gc_1get_1xdisplay\n")
- rc = (jint)gdk_x11_gc_get_xdisplay((GdkGC *)arg0);
- NATIVE_EXIT(env, that, "gdk_1x11_1gc_1get_1xdisplay\n")
- return rc;
-}
-#endif
-
-#ifndef NO_gdk_1x11_1drawable_1get_1xid
-JNIEXPORT int JNICALL XGTK_NATIVE(gdk_1x11_1drawable_1get_1xid)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc;
- NATIVE_ENTER(env, that, "gdk_1x11_1drawable_1get_1xid\n")
- rc = (jint)gdk_x11_drawable_get_xid((GdkDrawable *)arg0);
- NATIVE_EXIT(env, that, "gdk_1x11_1drawable_1get_1xid\n")
- return rc;
-}
-#endif
-
-#ifndef NO_XDefaultScreen
-JNIEXPORT jint JNICALL XGTK_NATIVE(XDefaultScreen)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc;
- NATIVE_ENTER(env, that, "XDefaultScreen\n")
- rc = (jint)XDefaultScreen((Display *)arg0);
- NATIVE_EXIT(env, that, "XDefaultScreen\n")
- return rc;
-}
-#endif
-
-#ifndef NO_XDefaultScreenOfDisplay
-JNIEXPORT jint JNICALL XGTK_NATIVE(XDefaultScreenOfDisplay)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc;
- NATIVE_ENTER(env, that, "XDefaultScreenOfDisplay\n")
- rc = (jint)XDefaultScreenOfDisplay((Display *)arg0);
- NATIVE_EXIT(env, that, "XDefaultScreenOfDisplay\n")
- return rc;
-}
-#endif
-
-#ifndef NO_XDefaultDepthOfScreen
-JNIEXPORT jint JNICALL XGTK_NATIVE(XDefaultDepthOfScreen)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc;
- NATIVE_ENTER(env, that, "XDefaultDepthOfScreen\n")
- rc = (jint)XDefaultDepthOfScreen((Screen *)arg0);
- NATIVE_EXIT(env, that, "XDefaultDepthOfScreen\n")
- return rc;
-}
-#endif
-
-#ifndef NO_XFree
-JNIEXPORT jint JNICALL XGTK_NATIVE(XFree)
- (JNIEnv *env, jclass that, jint arg0)
-{
- jint rc;
- NATIVE_ENTER(env, that, "XFree\n")
- rc = (jint)XFree((char *)arg0);
- NATIVE_EXIT(env, that, "XFree\n")
- return rc;
-}
-#endif
diff --git a/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/GLContext.java b/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/GLContext.java
deleted file mode 100644
index 0acee0d4ec..0000000000
--- a/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/GLContext.java
+++ /dev/null
@@ -1,307 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.internal.gtk.*;
-import org.eclipse.swt.opengl.internal.gtk.*;
-
-/**
- * Instances of <code>GLContext</code> are used to draw on swt <code>Drawable</code>s
- * through invocations of provided OpenGL functions.
- * <p>
- * Application code must explicitly invoke the <code>GLContext.dispose ()</code>
- * method to release the operating system resources managed by each instance
- * when those instances are no longer required. This is <em>particularly</em>
- * important on Windows95 and Windows98 where the operating system has a limited
- * number of device contexts available.
- * </p>
- */
-public class GLContext {
- int handle;
- int gc;
- GCData data;
- Drawable drawable;
- int selectBufferPtr = 0;
-
- static final int MSB_FIRST = 1;
- static final int LSB_FIRST = 2;
-
- /**
- * Constructs a new instance of this class which has been
- * configured to draw on the specified drawable.
- * <p>
- * You must dispose the <code>GLContext</code> when it is no longer required.
- * </p>
- *
- * @param drawable the drawable to draw on
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the drawable is null</li>
- * </ul>
- * @exception SWTError <ul>
- * <li>ERROR_NO_HANDLES if a handle could not be obtained for gc creation</li>
- * <li>ERROR_UNSUPPORTED_DEPTH - if the current display depth is not supported</li>
- * </ul>
- */
- public GLContext (Drawable drawable) {
- if (drawable == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- this.drawable = drawable;
- data = new GCData ();
- gc = drawable.internal_new_GC (data);
- if (gc == 0) SWT.error (SWT.ERROR_NO_HANDLES);
- int xDisplay = XGTK.gdk_x11_gc_get_xdisplay (gc);
- int screen = XGTK.XDefaultScreen (xDisplay);
- int depth = XGTK.XDefaultDepthOfScreen (XGTK.XDefaultScreenOfDisplay (xDisplay));
- int attrib [] = {
- XGL.GLX_LEVEL,
- 0,
- XGL.GLX_RGBA,
- XGL.GLX_DOUBLEBUFFER,
- XGL.GLX_DEPTH_SIZE,
- depth,
- 0
- };
- int infoPtr = XGL.glXChooseVisual (xDisplay, screen, attrib);
- if (infoPtr == 0) SWT.error (SWT.ERROR_UNSUPPORTED_DEPTH);
- XVisualInfo info = new XVisualInfo ();
- XGL.memmove (info, infoPtr, XVisualInfo.sizeof);
- XGTK.XFree (infoPtr);
- handle = XGL.glXCreateContext (xDisplay, info, 0, false);
- if (handle == 0) SWT.error (SWT.ERROR_NO_HANDLES);
- }
-
- public ImageData convertImageData (ImageData source) {
- PaletteData palette = new PaletteData (0xff0000, 0xff00, 0xff);
- ImageData newSource = new ImageData (source.width, source.height, 24, palette);
- ImageDataUtil.blit (
- 1,
- source.data,
- source.depth,
- source.bytesPerLine,
- (source.depth != 16) ? MSB_FIRST : LSB_FIRST,
- 0,
- 0,
- source.width,
- source.height,
- source.palette.redMask,
- source.palette.greenMask,
- source.palette.blueMask,
- 255,
- null,
- 0,
- 0,
- 0,
- newSource.data,
- newSource.depth,
- newSource.bytesPerLine,
- (newSource.depth != 16) ? MSB_FIRST : LSB_FIRST,
- 0,
- 0,
- newSource.width,
- newSource.height,
- newSource.palette.redMask,
- newSource.palette.greenMask,
- newSource.palette.blueMask,
- false,
- true);
-
- return newSource;
- }
-
- /**
- * Disposes of the operating system resources associated with
- * the receiver. Applications must dispose of all <code>GLContext</code>s
- * that they allocate.
- */
- public void dispose () {
- if (handle == 0) return;
- int xDisplay = XGTK.gdk_x11_gc_get_xdisplay (gc);
- if (XGL.glXGetCurrentContext () == handle) {
- int display = XGTK.gdk_x11_gc_get_xdisplay (gc);
- XGL.glXMakeCurrent (display, 0, 0);
- }
- if (selectBufferPtr != 0) XGTK.free (selectBufferPtr);
- XGL.glXDestroyContext (xDisplay, handle);
- handle = 0;
- // drawable may be disposed
- try {
- drawable.internal_dispose_GC (gc, data);
- } catch (SWTException e) {
- }
- gc = 0;
- data.clipRgn = data.context = data.drawable = 0;
- data.font = data.layout = data.style = 0;
- drawable = null;
- data.device = null;
- data.image = null;
- data = null;
- }
-
- public int[] getSelectBuffer (int selectBufferPtr, int[] selectBuffer) {
- OS.memmove (selectBuffer, selectBufferPtr, selectBuffer.length * 4);
- return selectBuffer;
- }
-
- public int getSelectBufferPtr (int[] selectBuffer) {
- if (selectBufferPtr == 0) {
- selectBufferPtr = XGTK.malloc (selectBuffer.length * 4);
- }
- OS.memmove (selectBufferPtr, selectBuffer, selectBuffer.length * 4);
- return selectBufferPtr;
- }
-
- /**
- * Returns a boolean indicating whether the receiver is the current
- * <code>GLContext</code>.
- *
- * @return true if the receiver is the current <code>GLContext</code>,
- * false otherwise
- * @exception SWTError <ul>
- * <li>ERROR_GRAPHIC_DISPOSED if the receiver is disposed</li>
- * </ul>
- */
- public boolean isCurrent () {
- if (isDisposed ()) SWT.error (SWT.ERROR_GRAPHIC_DISPOSED);
- return XGL.glXGetCurrentContext () == handle;
- }
-
- /**
- * Returns a boolean indicating whether the <code>GLContext</code> has been
- * disposed.
- * <p>
- * This method gets the dispose state for the <code>GLContext</code>.
- * When a <code>GLContext</code> has been disposed, it is an error to
- * invoke any other method using the <code>GLContext</code>.
- *
- * @return true if the <code>GLContext</code> is disposed, false otherwise
- */
- public boolean isDisposed () {
- return handle == 0;
- }
-
- /**
- * Loads the specified bitmap font.
- *
- * @param fdata
- * @param device
- * @param base
- * @param first
- * @param count
- */
- public void loadBitmapFont (FontData fdata, Device device, int base, int startIndex, int length) {
- /* Temporary code, due some problems when running on UTF-8 loadBitmapFont ()
- * is restrict to works only for ascii.
- * Note: en_US.ISO8859-1 also code be used.
- */
-// fdata.setLocale ("C");
-// Font font = new Font (device, fdata);
-// int fontList = font.handle;
-// int[] buffer = new int [1];
-// if (!OS.XmFontListInitFontContext (buffer, fontList)) return;
-// int context = buffer [0];
-// XFontStruct fontStruct = new XFontStruct ();
-// int fontListEntry;
-// int[] fontStructPtr = new int [1];
-// int[] fontNamePtr = new int [1];
-// int xfont = 0;
-// // go through each entry in the font list
-// while ((fontListEntry = OS.XmFontListNextEntry (context)) != 0) {
-// int fontPtr = OS.XmFontListEntryGetFont (fontListEntry, buffer);
-// if (buffer [0] == OS.XmFONT_IS_FONT) {
-// // FontList contains a single font
-// OS.memmove (fontStruct, fontPtr, 20 * 4);
-// xfont = fontStruct.fid;
-// } else {
-// // FontList contains a fontSet
-// int nFonts = OS.XFontsOfFontSet (fontPtr, fontStructPtr, fontNamePtr);
-// int[] fontStructs = new int [nFonts];
-// OS.memmove (fontStructs, fontStructPtr [0], nFonts * 4);
-// // Go through each fontStruct in the font set.
-// for (int i = 0; i < nFonts; i++) {
-// OS.memmove (fontStruct, fontStructs [i], XFontStruct.sizeof);
-// xfont = fontStruct.fid;
-// }
-// }
-// }
-// if (xfont != 0) {
-// XGL.glXUseXFont (xfont, startIndex, length, base);
-// }
-// font.dispose ();
-// OS.XmFontListFreeFontContext (context);
- }
-
- /**
- * Loads the specified outline font.
- *
- * @param fdata
- * @param device
- * @param base
- * @param first
- * @param count
- * @param deviation
- * @param extrusion
- * @param format
- * @param lpgmf
- */
- public void loadOutlineFont (FontData fdata, Device device, int base, int first,
- int count, float deviation, float extrusion, int format, GLYPHMETRICSFLOAT[] lpgmf) {
- // stub
- }
-
- /**
- * Resizes the receiver.
- *
- * @param x
- * @param y
- * @param width
- * @param height
- */
- public void resize (int x, int y, int width, int height) {
- if (height == 0) height = 1;
- GL.glViewport (x, y, width, height);
- GL.glMatrixMode (GL.GL_PROJECTION);
- GL.glLoadIdentity ();
- GLU.gluPerspective (45.0f, (float) width / (float) height, 0.1f, 100.0f);
- GL.glMatrixMode (GL.GL_MODELVIEW);
- GL.glLoadIdentity ();
- }
-
- /**
- * Sets the receiver to be the current <code>GLContext</code>.
- *
- * @exception SWTError <ul>
- * <li>ERROR_GRAPHIC_DISPOSED if the receiver is disposed</li>
- * </ul>
- */
- public void setCurrent () {
- if (isDisposed ()) SWT.error (SWT.ERROR_GRAPHIC_DISPOSED);
- if (XGL.glXGetCurrentContext () == handle) return;
- int display = XGTK.gdk_x11_gc_get_xdisplay (gc);
- int drawable = XGTK.gdk_x11_drawable_get_xid (data.drawable);
- XGL.glXMakeCurrent (display, drawable, handle);
- }
-
- /**
- * Swaps the receiver's buffers.
- *
- * @exception SWTError <ul>
- * <li>ERROR_GRAPHIC_DISPOSED if the receiver is disposed</li>
- * </ul>
- */
- public void swapBuffers () {
- if (isDisposed ()) SWT.error (SWT.ERROR_GRAPHIC_DISPOSED);
- int display = XGTK.gdk_x11_gc_get_xdisplay (gc);
- int drawable = XGTK.gdk_x11_drawable_get_xid(data.drawable);
- XGL.glXSwapBuffers (display, drawable);
- }
-}
diff --git a/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XGL.java b/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XGL.java
deleted file mode 100644
index 46f07b9ce4..0000000000
--- a/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XGL.java
+++ /dev/null
@@ -1,226 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.internal.gtk;
-
-import org.eclipse.swt.opengl.Library;
-
-public class XGL {
-
-static {
- Library.loadLibrary("gl");
-}
-
-public static final int GLX_VERSION_1_1 = 1;
-public static final int GLX_VERSION_1_2 = 1;
-public static final int GLX_VERSION_1_3 = 1;
-
-/*
-** Visual Config Attributes (glXGetConfig, glXGetFBConfigAttrib)
-*/
-public static final int GLX_USE_GL = 1; /* support GLX rendering */
-public static final int GLX_BUFFER_SIZE = 2; /* depth of the color buffer */
-public static final int GLX_LEVEL = 3; /* level in plane stacking */
-public static final int GLX_RGBA = 4; /* true if RGBA mode */
-public static final int GLX_DOUBLEBUFFER = 5; /* double buffering supported */
-public static final int GLX_STEREO = 6; /* stereo buffering supported */
-public static final int GLX_AUX_BUFFERS = 7; /* number of aux buffers */
-public static final int GLX_RED_SIZE = 8; /* number of red component bits */
-public static final int GLX_GREEN_SIZE = 9; /* number of green component bits */
-public static final int GLX_BLUE_SIZE = 10; /* number of blue component bits */
-public static final int GLX_ALPHA_SIZE = 11; /* number of alpha component bits */
-public static final int GLX_DEPTH_SIZE = 12; /* number of depth bits */
-public static final int GLX_STENCIL_SIZE = 13; /* number of stencil bits */
-public static final int GLX_ACCUM_RED_SIZE = 14; /* number of red accum bits */
-public static final int GLX_ACCUM_GREEN_SIZE = 15; /* number of green accum bits */
-public static final int GLX_ACCUM_BLUE_SIZE = 16; /* number of blue accum bits */
-public static final int GLX_ACCUM_ALPHA_SIZE = 17; /* number of alpha accum bits */
-/*
-** FBConfig-specific attributes
-*/
-public static final int GLX_X_VISUAL_TYPE = 0x22;
-public static final int GLX_CONFIG_CAVEAT = 0x20; /* Like visual_info VISUAL_CAVEAT_EXT */
-public static final int GLX_TRANSPARENT_TYPE = 0x23;
-public static final int GLX_TRANSPARENT_INDEX_VALUE = 0x24;
-public static final int GLX_TRANSPARENT_RED_VALUE = 0x25;
-public static final int GLX_TRANSPARENT_GREEN_VALUE = 0x26;
-public static final int GLX_TRANSPARENT_BLUE_VALUE = 0x27;
-public static final int GLX_TRANSPARENT_ALPHA_VALUE = 0x28;
-public static final int GLX_DRAWABLE_TYPE = 0x8010;
-public static final int GLX_RENDER_TYPE = 0x8011;
-public static final int GLX_X_RENDERABLE = 0x8012;
-public static final int GLX_FBCONFIG_ID = 0x8013;
-public static final int GLX_MAX_PBUFFER_WIDTH = 0x8016;
-public static final int GLX_MAX_PBUFFER_HEIGHT = 0x8017;
-public static final int GLX_MAX_PBUFFER_PIXELS = 0x8018;
-public static final int GLX_VISUAL_ID = 0x800B;
-
-/*
-** Error return values from glXGetConfig. Success is indicated by
-** a value of 0.
-*/
-public static final int GLX_BAD_SCREEN = 1; /* screen # is bad */
-public static final int GLX_BAD_ATTRIBUTE = 2; /* attribute to get is bad */
-public static final int GLX_NO_EXTENSION = 3; /* no glx extension on server */
-public static final int GLX_BAD_VISUAL = 4; /* visual # not known by GLX */
-public static final int GLX_BAD_CONTEXT = 5; /* returned only by import_context EXT? */
-public static final int GLX_BAD_VALUE = 6; /* returned only by glXSwapIntervalSGI? */
-public static final int GLX_BAD_ENUM = 7; /* unused? */
-
-/* FBConfig attribute values */
-
-/*
-** Generic "don't care" value for glX ChooseFBConfig attributes (except
-** GLX_LEVEL)
-*/
-public static final int GLX_DONT_CARE = 0xFFFFFFFF;
-
-/* GLX_RENDER_TYPE bits */
-public static final int GLX_RGBA_BIT = 0x00000001;
-public static final int GLX_COLOR_INDEX_BIT = 0x00000002;
-
-/* GLX_DRAWABLE_TYPE bits */
-public static final int GLX_WINDOW_BIT = 0x00000001;
-public static final int GLX_PIXMAP_BIT = 0x00000002;
-public static final int GLX_PBUFFER_BIT = 0x00000004;
-
-/* GLX_CONFIG_CAVEAT attribute values */
-public static final int GLX_NONE = 0x8000;
-public static final int GLX_SLOW_CONFIG = 0x8001;
-public static final int GLX_NON_CONFORMANT_CONFIG = 0x800D;
-
-/* GLX_X_VISUAL_TYPE attribute values */
-public static final int GLX_TRUE_COLOR = 0x8002;
-public static final int GLX_DIRECT_COLOR = 0x8003;
-public static final int GLX_PSEUDO_COLOR = 0x8004;
-public static final int GLX_STATIC_COLOR = 0x8005;
-public static final int GLX_GRAY_SCALE = 0x8006;
-public static final int GLX_STATIC_GRAY = 0x8007;
-
-/* GLX_TRANSPARENT_TYPE attribute values */
-/* public static final int GLX_NONE 0x8000 */
-public static final int GLX_TRANSPARENT_RGB = 0x8008;
-public static final int GLX_TRANSPARENT_INDEX = 0x8009;
-
-/* glXCreateGLXPbuffer attributes */
-public static final int GLX_PRESERVED_CONTENTS = 0x801B;
-public static final int GLX_LARGEST_PBUFFER = 0x801C;
-public static final int GLX_PBUFFER_HEIGHT = 0x8040; /* New for GLX 1.3 */
-public static final int GLX_PBUFFER_WIDTH = 0x8041; /* New for GLX 1.3 */
-
-/* glXQueryGLXPBuffer attributes */
-public static final int GLX_WIDTH = 0x801D;
-public static final int GLX_HEIGHT = 0x801E;
-public static final int GLX_EVENT_MASK = 0x801F;
-
-/* glXCreateNewContext render_type attribute values */
-public static final int GLX_RGBA_TYPE = 0x8014;
-public static final int GLX_COLOR_INDEX_TYPE = 0x8015;
-
-/* glXQueryContext attributes */
-/* public static final int GLX_FBCONFIG_ID 0x8013 */
-/* public static final int GLX_RENDER_TYPE 0x8011 */
-public static final int GLX_SCREEN = 0x800C;
-
-/* glXSelectEvent event mask bits */
-public static final int GLX_PBUFFER_CLOBBER_MASK = 0x08000000;
-
-/* GLXPbufferClobberEvent event_type values */
-public static final int GLX_DAMAGED = 0x8020;
-public static final int GLX_SAVED = 0x8021;
-
-/* GLXPbufferClobberEvent draw_type values */
-public static final int GLX_WINDOW = 0x8022;
-public static final int GLX_PBUFFER = 0x8023;
-
-/* GLXPbufferClobberEvent buffer_mask bits */
-public static final int GLX_FRONT_LEFT_BUFFER_BIT = 0x00000001;
-public static final int GLX_FRONT_RIGHT_BUFFER_BIT = 0x00000002;
-public static final int GLX_BACK_LEFT_BUFFER_BIT = 0x00000004;
-public static final int GLX_BACK_RIGHT_BUFFER_BIT = 0x00000008;
-public static final int GLX_AUX_BUFFERS_BIT = 0x00000010;
-public static final int GLX_DEPTH_BUFFER_BIT = 0x00000020;
-public static final int GLX_STENCIL_BUFFER_BIT = 0x00000040;
-public static final int GLX_ACCUM_BUFFER_BIT = 0x00000080;
-
-/*
-** Extension return values from glXGetConfig. These are also
-** accepted as parameter values for glXChooseVisual.
-*/
-
-public static final int GLX_X_VISUAL_TYPE_EXT = 0x22; /* visual_info extension type */
-public static final int GLX_TRANSPARENT_TYPE_EXT = 0x23; /* visual_info extension */
-public static final int GLX_TRANSPARENT_INDEX_VALUE_EXT = 0x24; /* visual_info extension */
-public static final int GLX_TRANSPARENT_RED_VALUE_EXT = 0x25; /* visual_info extension */
-public static final int GLX_TRANSPARENT_GREEN_VALUE_EXT = 0x26; /* visual_info extension */
-public static final int GLX_TRANSPARENT_BLUE_VALUE_EXT = 0x27; /* visual_info extension */
-public static final int GLX_TRANSPARENT_ALPHA_VALUE_EXT = 0x28; /* visual_info extension */
-
-/* Property values for visual_type */
-public static final int GLX_TRUE_COLOR_EXT = 0x8002;
-public static final int GLX_DIRECT_COLOR_EXT = 0x8003;
-public static final int GLX_PSEUDO_COLOR_EXT = 0x8004;
-public static final int GLX_STATIC_COLOR_EXT = 0x8005;
-public static final int GLX_GRAY_SCALE_EXT = 0x8006;
-public static final int GLX_STATIC_GRAY_EXT = 0x8007;
-
-/* Property values for transparent pixel */
-public static final int GLX_NONE_EXT = 0x8000;
-public static final int GLX_TRANSPARENT_RGB_EXT = 0x8008;
-public static final int GLX_TRANSPARENT_INDEX_EXT = 0x8009;
-
-/* Property values for visual_rating */
-public static final int GLX_VISUAL_CAVEAT_EXT = 0x20; /* visual_rating extension type */
-public static final int GLX_SLOW_VISUAL_EXT = 0x8001;
-public static final int GLX_NON_CONFORMANT_VISUAL_EXT = 0x800D;
-
-/*
-** Names for attributes to glXGetClientString.
-*/
-public static final int GLX_VENDOR = 0x1;
-public static final int GLX_VERSION = 0x2;
-public static final int GLX_EXTENSIONS = 0x3;
-
-/*
-** Names for attributes to glXQueryContextInfoEXT.
-*/
-public static final int GLX_SHARE_CONTEXT_EXT = 0x800A; /* id of share context */
-public static final int GLX_VISUAL_ID_EXT = 0x800B; /* id of context's visual */
-public static final int GLX_SCREEN_EXT = 0x800C; /* screen number */
-
-/* GLX Extension Strings */
-public static final int GLX_EXT_import_context = 1;
-public static final int GLX_EXT_visual_info = 1;
-public static final int GLX_EXT_visual_rating = 1;
-public static final int GLX_ARB_get_proc_address = 1;
-
-public static final native int glXChooseVisual(int dpy, int screen, int[] attribList);
-public static final native void glXCopyContext(int dpy, int src, int dst, int mask);
-//public static final native int glXCreateContext(int dpy, int vis, int shareList, boolean direct);
-public static final native int glXCreateContext(int dpy, XVisualInfo vis, int shareList, boolean direct);
-public static final native int glXCreateGLXPixmap(int dpy, XVisualInfo vis, int pixmap);
-public static final native void glXDestroyContext(int dpy, int ctx);
-public static final native void glXDestroyGLXPixmap(int dpy, int pix);
-public static final native int glXGetConfig(int dpy, XVisualInfo vis, int attrib, int[] value);
-public static final native int glXGetCurrentContext();
-public static final native int glXGetCurrentDrawable();
-public static final native boolean glXIsDirect(int dpy, int ctx);
-public static final native boolean glXMakeCurrent(int dpy, int drawable, int ctx);
-public static final native boolean glXQueryExtension(int dpy, int[] errorBase, int[] eventBase);
-public static final native boolean glXQueryVersion(int dpy, int[] major, int[] minor);
-public static final native void glXSwapBuffers(int dpy, int drawable);
-public static final native void glXUseXFont(int font, int first, int count, int listBase);
-public static final native void glXWaitGL();
-public static final native void glXWaitX();
-public static final native int glXGetClientString(int dpy, int name);
-public static final native int glXQueryServerString(int dpy, int screen, int name);
-public static final native int glXQueryExtensionsString(int dpy, int screen);
-public static final native void memmove(XVisualInfo dest, int src, int size);
-}
diff --git a/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XGTK.java b/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XGTK.java
deleted file mode 100644
index d6c017a923..0000000000
--- a/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XGTK.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.internal.gtk;
-
-import org.eclipse.swt.opengl.Library;
-
-public class XGTK {
-
- static {
- Library.loadLibrary("xgtk");
- }
-
- public static final synchronized native int gdk_x11_gc_get_xdisplay(int gc);
- public static final synchronized native int gdk_x11_drawable_get_xid(int gc);
- public static final synchronized native int XDefaultScreen(int display);
- public static final synchronized native int XDefaultScreenOfDisplay(int display);
- public static final synchronized native int XDefaultDepthOfScreen(int screen);
- public static final synchronized native int XFree(int address);
- public static final synchronized native void free(int ptr);
- public static final synchronized native int malloc(int size);
-}
diff --git a/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XVisualInfo.java b/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XVisualInfo.java
deleted file mode 100644
index cc89f202e6..0000000000
--- a/bundles/org.eclipse.swt.opengl/gtk/org/eclipse/swt/opengl/internal/gtk/XVisualInfo.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.internal.gtk;
-
-
-public class XVisualInfo {
- public int visual;
- public int visualid;
- public int screen;
- public int depth;
- public int cclass;
- public int red_mask, green_mask, blue_mask;
- public int colormap_size;
- public int bits_per_rgb;
- public static final int sizeof = 40;
-}
diff --git a/bundles/org.eclipse.swt.opengl/motif/gl_library/build.csh b/bundles/org.eclipse.swt.opengl/motif/gl_library/build.csh
deleted file mode 100644
index dd0b6d9691..0000000000
--- a/bundles/org.eclipse.swt.opengl/motif/gl_library/build.csh
+++ /dev/null
@@ -1,69 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-#*******************************************************************************
-
-#!/bin/csh
-
-# Some UNIX/Linux compilers don't like <CR>'s in files (DOS format).
-set fixup_files = `grep -l "\ " *.[ch]`
-if ( "$fixup_files" != "" ) then
- echo "Converting files from DOS to UNIX format:"
- foreach file ($fixup_files)
- echo " $file"
- ex $file << EOF >& /dev/null
-g/ \$/s///
-w
-EOF
- end
-endif
-
-# Determine the operating system being built
-set OS=`uname -s`
-switch ($OS )
- case AIX:
- if ( "$1" == "clean" ) then
- make -f make_aix.mak clean
- else
- echo "Building AIX version of SWT OpenGL library."
- make -f make_aix.mak make_swt
- endif
- breaksw
-
- case Linux:
- if ( "$1" == "clean" ) then
- make -f make_linux.mak clean
- else
- echo "Building Linux version of SWT OpenGL library."
- make -f make_linux.mak make_swt
- endif
- breaksw
-
- case SunOS:
- if ( "$1" == "clean" ) then
- make -f make_solaris.mak clean
- else
- echo "Building Solaris version of SWT OpenGL library."
- make -f make_solaris.mak make_swt
- endif
- breaksw
-
- case HP-UX:
- if ( "$1" == "clean" ) then
- make -f make_hpux.mak clean
- else
- echo "Building HP-UX version of SWT OpenGL library."
- make -f make_hpux.mak make_swt
- endif
- breaksw
-
- default:
- echo "Unknown OS -- build aborted"
- breaksw
-endsw
diff --git a/bundles/org.eclipse.swt.opengl/motif/gl_library/glx.c b/bundles/org.eclipse.swt.opengl/motif/gl_library/glx.c
deleted file mode 100644
index 4fca4eb8eb..0000000000
--- a/bundles/org.eclipse.swt.opengl/motif/gl_library/glx.c
+++ /dev/null
@@ -1,232 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-#include <GL/glx.h>
-#include "swt.h"
-#include "structs.h"
-
-#define XGL_NATIVE(func) Java_org_eclipse_swt_opengl_internal_motif_XGL_##func
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXChooseVisual)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jintArray arg2)
-{
- jint *lparg2=NULL;
- jint rc;
-
- DEBUG_CALL("glXChooseVisual\n")
-
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- rc = (jint)glXChooseVisual((Display *)arg0, arg1, (int *)lparg2);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- return rc;
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXCopyContext)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- DEBUG_CALL("glXCopyContext\n")
-
- glXCopyContext((Display *)arg0, (GLXContext)arg1, (GLXContext)arg2, arg3);
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXCreateContext)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jboolean arg3)
-{
- XVisualInfo _arg1, *lparg1=NULL;
- jint rc;
-
- DEBUG_CALL("glXCreateContext\n")
-
- if (arg1) lparg1 = getXVisualInfoFields(env, arg1, &_arg1);
- rc = (jint)glXCreateContext((Display *)arg0, lparg1, (GLXContext)arg2, arg3);
- if (arg1) setXVisualInfoFields(env, arg1, lparg1);
- return rc;
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXCreateGLXPixmap)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2)
-{
- XVisualInfo _arg1, *lparg1=NULL;
- jint rc;
-
- DEBUG_CALL("glXCreateGLXPixmap\n")
-
- if (arg1) lparg1 = getXVisualInfoFields(env, arg1, &_arg1);
- rc = (jint)glXCreateGLXPixmap((Display *)arg0, lparg1, arg2);
- if (arg1) setXVisualInfoFields(env, arg1, lparg1);
- return rc;
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXDestroyContext)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- DEBUG_CALL("glXDestroyContext\n")
-
- glXDestroyContext((Display *)arg0, (GLXContext)arg1);
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXDestroyGLXPixmap)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- DEBUG_CALL("glXDestroyGLXPixmap\n")
-
- glXDestroyGLXPixmap((Display *)arg0, arg1);
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXGetClientString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- DEBUG_CALL("glXGetClientString\n")
-
- return (jint)glXGetClientString((Display *)arg0, arg1);
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXGetConfig)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1, jint arg2, jintArray arg3)
-{
- XVisualInfo _arg1, *lparg1=NULL;
- jint *lparg3=NULL;
- jint rc;
-
- DEBUG_CALL("glXGetConfig\n")
-
- if (arg1) lparg1 = getXVisualInfoFields(env, arg1, &_arg1);
- if (arg3) lparg3 = (*env)->GetIntArrayElements(env, arg3, NULL);
- rc = (jint)glXGetConfig((Display *)arg0, lparg1, arg2, (int *)lparg3);
- if (arg1) setXVisualInfoFields(env, arg1, lparg1);
- if (arg3) (*env)->ReleaseIntArrayElements(env, arg3, lparg3, 0);
- return rc;
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXGetCurrentContext)
- (JNIEnv *env, jclass that)
-{
- DEBUG_CALL("glXGetCurrentContext\n")
-
- return (jint)glXGetCurrentContext();
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXGetCurrentDrawable)
- (JNIEnv *env, jclass that)
-{
- DEBUG_CALL("glXGetCurrentDrawable\n")
-
- return (jint)glXGetCurrentDrawable();
-}
-
-JNIEXPORT jboolean JNICALL XGL_NATIVE(glXIsDirect)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- DEBUG_CALL("glXIsDirect\n")
-
- return (jboolean)glXIsDirect((Display *)arg0, (GLXContext)arg1);
-}
-
-JNIEXPORT jboolean JNICALL XGL_NATIVE(glXMakeCurrent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- DEBUG_CALL("glXMakeCurrent\n")
-
- return (jboolean)glXMakeCurrent((Display *)arg0, (GLXDrawable)arg1, (GLXContext)arg2);
-}
-
-JNIEXPORT jboolean JNICALL XGL_NATIVE(glXQueryExtension)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- jboolean rc;
-
- DEBUG_CALL("glXQueryExtension\n")
-
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- rc = (jboolean)glXQueryExtension((Display *)arg0, (int *)lparg1, (int *)lparg2);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- return rc;
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXQueryExtensionsString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- DEBUG_CALL("glXQueryExtensionsString\n")
-
- return (jint)glXQueryExtensionsString((Display *)arg0, arg1);
-}
-
-JNIEXPORT jint JNICALL XGL_NATIVE(glXQueryServerString)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- DEBUG_CALL("glXQueryServerString\n")
-
- return (jint)glXQueryServerString((Display *)arg0, arg1, arg2);
-}
-
-JNIEXPORT jboolean JNICALL XGL_NATIVE(glXQueryVersion)
- (JNIEnv *env, jclass that, jint arg0, jintArray arg1, jintArray arg2)
-{
- jint *lparg1=NULL;
- jint *lparg2=NULL;
- jboolean rc;
-
- DEBUG_CALL("glXQueryVersion\n")
-
- if (arg1) lparg1 = (*env)->GetIntArrayElements(env, arg1, NULL);
- if (arg2) lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL);
- rc = (jboolean)glXQueryVersion((Display *)arg0, (int *)lparg1, (int *)lparg2);
- if (arg1) (*env)->ReleaseIntArrayElements(env, arg1, lparg1, 0);
- if (arg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0);
- return rc;
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXSwapBuffers)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- DEBUG_CALL("glXSwapBuffers\n")
-
- glXSwapBuffers((Display *)arg0, (GLXDrawable)arg1);
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXUseXFont)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- DEBUG_CALL("glXUseXFont\n")
-
- glXUseXFont(arg0, arg1, arg2, arg3);
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXWaitGL)
- (JNIEnv *env, jclass that)
-{
- DEBUG_CALL("glXWaitGL\n")
-
- glXWaitGL();
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(glXWaitX)
- (JNIEnv *env, jclass that)
-{
- DEBUG_CALL("glXWaitX\n")
-
- glXWaitX();
-}
-
-JNIEXPORT void JNICALL XGL_NATIVE(memmove__Lorg_eclipse_swt_opengl_internal_motif_XVisualInfo_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- XVisualInfo _arg0, *lparg0=NULL;
-
- DEBUG_CALL("memmove__Lorg_eclipse_swt_opengl_internal_motif_XVisualInfo_2II\n")
-
- if (arg0) lparg0 = &_arg0;
- memmove((void *)lparg0, (const void *)arg1, (size_t)arg2);
- if (arg0) setXVisualInfoFields(env, arg0, lparg0);
-}
diff --git a/bundles/org.eclipse.swt.opengl/motif/gl_library/make_aix.mak b/bundles/org.eclipse.swt.opengl/motif/gl_library/make_aix.mak
deleted file mode 100644
index 6928cabd4e..0000000000
--- a/bundles/org.eclipse.swt.opengl/motif/gl_library/make_aix.mak
+++ /dev/null
@@ -1,40 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-#*******************************************************************************
-
-# Define the installation directories for various products.
-# JAVA_HOME - The JDK > 1.3
-JAVA_HOME = /usr/java131
-
-# Define the various shared libraries to be made.
-SWT_PREFIX = swt
-WS_PREFIX = motif
-SWT_DLL = lib$(SWT_PREFIX)-$(WS_PREFIX).so
-SWT_OBJ = gl.o glu.o structs.o glx.o
-SWT_LIB = -G -bnoentry -lc_r -lC_r -lm -bexpall -lMrm -lX11 -lXext -liconv -lGL -lGLU
-
-#
-# The following CFLAGS are for compiling the SWT OpenGL library.
-#
-CFLAGS = -O -s \
- -DAIX \
- -DNO_XINERAMA_EXTENSIONS \
- -q mbcs -qlanglvl=extended -qmaxmem=8192 \
- -I$(JAVA_HOME)/include
-
-all: make_swt
-
-make_swt: $(SWT_DLL)
-
-$(SWT_DLL): $(SWT_OBJ)
- ld $(SWT_LIB) -o $(SWT_DLL) $(SWT_OBJ)
-
-clean:
- rm -f *.o *.so *.a
diff --git a/bundles/org.eclipse.swt.opengl/motif/gl_library/make_hpux.mak b/bundles/org.eclipse.swt.opengl/motif/gl_library/make_hpux.mak
deleted file mode 100644
index 16648de5f0..0000000000
--- a/bundles/org.eclipse.swt.opengl/motif/gl_library/make_hpux.mak
+++ /dev/null
@@ -1,44 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-#*******************************************************************************
-
-# Define the installation directories for various products.
-JAVA_HOME = /opt/java1.3
-
-# Define the various shared libraries to be made.
-SWT_PREFIX = gl
-WS_PREFIX = motif
-SWT_DLL = lib$(SWT_PREFIX)-$(WS_PREFIX).sl
-SWT_OBJ = gl.o glu.o structs.o glx.o
-SWT_LIB = -L/usr/lib -L/opt/graphics/OpenGL/lib -G -lGL -lGLU -lc -ldld -lm
-
-#
-# The following CFLAGS are for compiling the SWT OpenGL library.
-#
-# Note:
-# The flag -xarch=generic ensure the compiled modules will be targeted
-# for 32-bit architectures. If this flag is not
-#
-CFLAGS = -Ae +z \
- -DNO_XINERAMA_EXTENSIONS \
- -D_HPUX -D_POSIX_C_SOURCE=199506L \
- -I./ \
- -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/hp-ux \
- -I/opt/graphics/OpenGL/include
-
-all: make_swt
-
-make_swt: $(SWT_DLL)
-
-$(SWT_DLL): $(SWT_OBJ)
- ld -b -z -o $@ $(SWT_OBJ) $(SWT_LIB)
-
-clean:
- rm -f *.sl *.o
diff --git a/bundles/org.eclipse.swt.opengl/motif/gl_library/make_linux.mak b/bundles/org.eclipse.swt.opengl/motif/gl_library/make_linux.mak
deleted file mode 100644
index 755895fe3d..0000000000
--- a/bundles/org.eclipse.swt.opengl/motif/gl_library/make_linux.mak
+++ /dev/null
@@ -1,38 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-#*******************************************************************************
-
-# Define the installation directories for various products.
-JAVA_HOME = /bluebird/teamswt/swt-builddir/ive/bin
-
-
-# Define the various shared libraries to be made.
-SWT_PREFIX = gl
-WS_PREFIX = motif
-SWT_DLL = lib$(SWT_PREFIX)-$(WS_PREFIX).so
-SWT_OBJ = gl.o glu.o structs.o glx.o
-SWT_LIB = -shared -L/usr/X11R6/lib -lGL -lGLU -lm
-
-#
-# The following CFLAGS are for compiling the SWT OpenGL library.
-#
-CFLAGS = -O -s \
- -I./ \
- -I$(JAVA_HOME)/include
-
-all: make_swt
-
-make_swt: $(SWT_DLL)
-
-$(SWT_DLL): $(SWT_OBJ)
- ld -o $@ $(SWT_OBJ) $(SWT_LIB)
-
-clean:
- rm -f *.so *.o
diff --git a/bundles/org.eclipse.swt.opengl/motif/gl_library/make_solaris.mak b/bundles/org.eclipse.swt.opengl/motif/gl_library/make_solaris.mak
deleted file mode 100644
index 1b08b07f47..0000000000
--- a/bundles/org.eclipse.swt.opengl/motif/gl_library/make_solaris.mak
+++ /dev/null
@@ -1,45 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-#*******************************************************************************
-
-# Define the installation directories for various products.
-JAVA_HOME = /bluebird/teamswt/swt-builddir/ive/bin
-
-# Define the various shared libraries to be made.
-SWT_PREFIX = gl
-WS_PREFIX = motif
-SWT_DLL = lib$(SWT_PREFIX)-$(WS_PREFIX).so
-SWT_OBJ = gl.o glu.o structs.o glx.o
-SWT_LIB = -G -L/usr/lib -lm -lGL -lGLU
-
-#
-# The following CFLAGS are for compiling the SWT OpenGL library.
-#
-# Note:
-# The flag -xarch=generic ensure the compiled modules will be targeted
-# for 32-bit architectures.
-#
-CFLAGS = -O -s \
- -xarch=generic \
- -KPIC \
- -I./ \
- -I$(JAVA_HOME)/include
-
-all: make_swt
-
-make_swt: $(SWT_DLL)
-
-$(SWT_DLL): $(SWT_OBJ)
- ld -o $@ $(SWT_OBJ) $(SWT_LIB)
-
-clean:
- rm -f *.so *.o
-
-
diff --git a/bundles/org.eclipse.swt.opengl/motif/gl_library/structs.c b/bundles/org.eclipse.swt.opengl/motif/gl_library/structs.c
deleted file mode 100644
index bf8db55dfa..0000000000
--- a/bundles/org.eclipse.swt.opengl/motif/gl_library/structs.c
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-#include <X11/X.h>
-#include <X11/Xlib.h>
-#include "swt.h"
-#include "structs.h"
-
-typedef struct XVisualInfo_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID visual, visualid, screen, depth, cclass, red_mask, green_mask, blue_mask, colormap_size, bits_per_rgb;
-} XVisualInfo_FID_CACHE;
-typedef XVisualInfo_FID_CACHE *PXVisualInfo_FID_CACHE;
-
-XVisualInfo_FID_CACHE XVisualInfoFc;
-
-void cacheXVisualInfoFids(JNIEnv *env, jobject lpObject, PXVisualInfo_FID_CACHE lpCache)
-{
- if (lpCache->cached) return;
- lpCache->clazz = (*env)->GetObjectClass(env, lpObject);
- lpCache->visual = (*env)->GetFieldID(env, lpCache->clazz, "visual", "I");
- lpCache->visualid = (*env)->GetFieldID(env, lpCache->clazz, "visualid", "I");
- lpCache->screen = (*env)->GetFieldID(env, lpCache->clazz, "screen", "I");
- lpCache->depth = (*env)->GetFieldID(env, lpCache->clazz, "depth", "I");
- lpCache->cclass = (*env)->GetFieldID(env, lpCache->clazz, "cclass", "I");
- lpCache->red_mask = (*env)->GetFieldID(env, lpCache->clazz, "red_mask", "I");
- lpCache->green_mask = (*env)->GetFieldID(env, lpCache->clazz, "green_mask", "I");
- lpCache->blue_mask = (*env)->GetFieldID(env, lpCache->clazz, "blue_mask", "I");
- lpCache->colormap_size = (*env)->GetFieldID(env, lpCache->clazz, "colormap_size", "I");
- lpCache->bits_per_rgb = (*env)->GetFieldID(env, lpCache->clazz, "bits_per_rgb", "I");
- lpCache->cached = 1;
-}
-
-XVisualInfo *getXVisualInfoFields(JNIEnv *env, jobject lpObject, XVisualInfo *lpStruct)
-{
- PXVisualInfo_FID_CACHE lpCache = &XVisualInfoFc;
- if (!lpCache->cached) cacheXVisualInfoFids(env, lpObject, lpCache);
- lpStruct->visual = (Visual *)(*env)->GetIntField(env, lpObject, lpCache->visual);
- lpStruct->visualid = (*env)->GetIntField(env, lpObject, lpCache->visualid);
- lpStruct->screen = (*env)->GetIntField(env, lpObject, lpCache->screen);
- lpStruct->depth = (*env)->GetIntField(env, lpObject, lpCache->depth);
- lpStruct->class = (*env)->GetIntField(env, lpObject, lpCache->cclass);
- lpStruct->red_mask = (*env)->GetIntField(env, lpObject, lpCache->red_mask);
- lpStruct->green_mask = (*env)->GetIntField(env, lpObject, lpCache->green_mask);
- lpStruct->blue_mask = (*env)->GetIntField(env, lpObject, lpCache->blue_mask);
- lpStruct->colormap_size = (*env)->GetIntField(env, lpObject, lpCache->colormap_size);
- lpStruct->bits_per_rgb = (*env)->GetIntField(env, lpObject, lpCache->bits_per_rgb);
- return lpStruct;
-}
-
-void setXVisualInfoFields(JNIEnv *env, jobject lpObject, XVisualInfo *lpStruct)
-{
- PXVisualInfo_FID_CACHE lpCache = &XVisualInfoFc;
- if (!lpCache->cached) cacheXVisualInfoFids(env, lpObject, lpCache);
- (*env)->SetIntField(env, lpObject, lpCache->visual, (jint)lpStruct->visual);
- (*env)->SetIntField(env, lpObject, lpCache->visualid, (jint)lpStruct->visualid);
- (*env)->SetIntField(env, lpObject, lpCache->screen, (jint)lpStruct->screen);
- (*env)->SetIntField(env, lpObject, lpCache->depth, (jint)lpStruct->depth);
- (*env)->SetIntField(env, lpObject, lpCache->cclass, (jint)lpStruct->class);
- (*env)->SetIntField(env, lpObject, lpCache->red_mask, (jint)lpStruct->red_mask);
- (*env)->SetIntField(env, lpObject, lpCache->green_mask, (jint)lpStruct->green_mask);
- (*env)->SetIntField(env, lpObject, lpCache->blue_mask, (jint)lpStruct->blue_mask);
- (*env)->SetIntField(env, lpObject, lpCache->colormap_size, (jint)lpStruct->colormap_size);
- (*env)->SetIntField(env, lpObject, lpCache->bits_per_rgb, (jint)lpStruct->bits_per_rgb);
-}
diff --git a/bundles/org.eclipse.swt.opengl/motif/gl_library/structs.h b/bundles/org.eclipse.swt.opengl/motif/gl_library/structs.h
deleted file mode 100644
index 4121f7f488..0000000000
--- a/bundles/org.eclipse.swt.opengl/motif/gl_library/structs.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-#include <X11/X.h>
-#include <X11/Xutil.h>
-
-XVisualInfo *getXVisualInfoFields(JNIEnv *env, jobject lpObject, XVisualInfo *lpStruct);
-void setXVisualInfoFields(JNIEnv *env, jobject lpObject, XVisualInfo *lpStruct);
-
diff --git a/bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/GLContext.java b/bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/GLContext.java
deleted file mode 100644
index 8bab074aac..0000000000
--- a/bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/GLContext.java
+++ /dev/null
@@ -1,303 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.internal.motif.*;
-import org.eclipse.swt.opengl.internal.motif.*;
-
-/**
- * Instances of <code>GLContext</code> are used to draw on swt <code>Drawable</code>s
- * through invocations of provided OpenGL functions.
- * <p>
- * Application code must explicitly invoke the <code>GLContext.dispose ()</code>
- * method to release the operating system resources managed by each instance
- * when those instances are no longer required. This is <em>particularly</em>
- * important on Windows95 and Windows98 where the operating system has a limited
- * number of device contexts available.
- * </p>
- */
-public class GLContext {
- int handle;
- int gc;
- GCData data;
- Drawable drawable;
- int selectBufferPtr = 0;
-
- static final int MSB_FIRST = 1;
- static final int LSB_FIRST = 2;
-
- /**
- * Constructs a new instance of this class which has been
- * configured to draw on the specified drawable.
- * <p>
- * You must dispose the <code>GLContext</code> when it is no longer required.
- * </p>
- *
- * @param drawable the drawable to draw on
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the drawable is null</li>
- * </ul>
- * @exception SWTError <ul>
- * <li>ERROR_NO_HANDLES if a handle could not be obtained for gc creation</li>
- * <li>ERROR_UNSUPPORTED_DEPTH - if the current display depth is not supported</li>
- * </ul>
- */
- public GLContext (Drawable drawable) {
- if (drawable == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- this.drawable = drawable;
- this.data = new GCData ();
- gc = drawable.internal_new_GC (data);
- if (gc == 0) SWT.error (SWT.ERROR_NO_HANDLES);
- int xDisplay = data.display;
- int screen = OS.XDefaultScreen (xDisplay);
- int depth = OS.XDefaultDepthOfScreen (OS.XDefaultScreenOfDisplay (xDisplay));
- int attrib [] = {
- XGL.GLX_LEVEL,
- 0,
- XGL.GLX_RGBA,
- XGL.GLX_DOUBLEBUFFER,
- XGL.GLX_DEPTH_SIZE,
- depth,
- 0
- };
- int infoPtr = XGL.glXChooseVisual (xDisplay, screen, attrib);
- if (infoPtr == 0) SWT.error (SWT.ERROR_UNSUPPORTED_DEPTH);
- XVisualInfo info = new XVisualInfo ();
- XGL.memmove (info, infoPtr, XVisualInfo.sizeof);
- OS.XFree (infoPtr);
- handle = XGL.glXCreateContext (xDisplay, info, 0, false);
- if (handle == 0) SWT.error (SWT.ERROR_NO_HANDLES);
- }
-
- public ImageData convertImageData (ImageData source) {
- PaletteData palette = new PaletteData (0xff0000, 0xff00, 0xff);
- ImageData newSource = new ImageData (source.width, source.height, 24, palette);
- ImageDataUtil.blit (
- 1,
- source.data,
- source.depth,
- source.bytesPerLine,
- (source.depth != 16) ? MSB_FIRST : LSB_FIRST,
- 0,
- 0,
- source.width,
- source.height,
- source.palette.redMask,
- source.palette.greenMask,
- source.palette.blueMask,
- 255,
- null,
- 0,
- 0,
- 0,
- newSource.data,
- newSource.depth,
- newSource.bytesPerLine,
- (newSource.depth != 16) ? MSB_FIRST : LSB_FIRST,
- 0,
- 0,
- newSource.width,
- newSource.height,
- newSource.palette.redMask,
- newSource.palette.greenMask,
- newSource.palette.blueMask,
- false,
- true);
-
- return newSource;
- }
-
- /**
- * Disposes of the operating system resources associated with
- * the receiver. Applications must dispose of all <code>GLContext</code>s
- * that they allocate.
- */
- public void dispose () {
- if (handle == 0) return;
- int xDisplay = data.display;
- if (XGL.glXGetCurrentContext () == handle) {
- XGL.glXMakeCurrent (xDisplay, 0, 0);
- }
- if (selectBufferPtr != 0) OS.XtFree (selectBufferPtr);
- XGL.glXDestroyContext (xDisplay, handle);
- handle = 0;
- // drawable may be disposed
- try {
- drawable.internal_dispose_GC (gc, data);
- } catch (SWTException e) {
- }
- gc = 0;
- data.display = data.drawable = data.colormap = 0;
- data.fontList = data.clipRgn = data.renderTable = 0;
- drawable = null;
- data.device = null;
- data.image = null;
- data.codePage = null;
- data = null;
- }
-
- public int[] getSelectBuffer (int selectBufferPtr, int[] selectBuffer) {
- OS.memmove (selectBuffer, selectBufferPtr, selectBuffer.length * 4);
- return selectBuffer;
- }
-
- public int getSelectBufferPtr (int[] selectBuffer) {
- if (selectBufferPtr == 0) {
- selectBufferPtr = OS.XtMalloc (selectBuffer.length * 4);
- }
- OS.memmove (selectBufferPtr, selectBuffer, selectBuffer.length * 4);
- return selectBufferPtr;
- }
-
- /**
- * Returns a boolean indicating whether the receiver is the current
- * <code>GLContext</code>.
- *
- * @return true if the receiver is the current <code>GLContext</code>,
- * false otherwise
- * @exception SWTError <ul>
- * <li>ERROR_GRAPHIC_DISPOSED if the receiver is disposed</li>
- * </ul>
- */
- public boolean isCurrent () {
- if (isDisposed ()) SWT.error (SWT.ERROR_GRAPHIC_DISPOSED);
- return XGL.glXGetCurrentContext () == handle;
- }
-
- /**
- * Returns a boolean indicating whether the <code>GLContext</code> has been
- * disposed.
- * <p>
- * This method gets the dispose state for the <code>GLContext</code>.
- * When a <code>GLContext</code> has been disposed, it is an error to
- * invoke any other method using the <code>GLContext</code>.
- *
- * @return true if the <code>GLContext</code> is disposed, false otherwise
- */
- public boolean isDisposed () {
- return handle == 0;
- }
-
- /**
- * Loads the specified bitmap font.
- *
- * @param fdata
- * @param device
- * @param base
- * @param first
- * @param count
- */
- public void loadBitmapFont (FontData fdata, Device device, int base, int startIndex, int length) {
- /* Temporaly code, due some problems when running on UTF-8 loadBitmapFont ()
- * is restrict to works only for ascii.
- * Note: en_US.ISO8859-1 also code be used.
- */
- fdata.setLocale ("C");
- Font font = new Font (device, fdata);
- int fontList = font.handle;
- int[] buffer = new int [1];
- if (!OS.XmFontListInitFontContext (buffer, fontList)) return;
- int context = buffer [0];
- XFontStruct fontStruct = new XFontStruct ();
- int fontListEntry;
- int[] fontStructPtr = new int [1];
- int[] fontNamePtr = new int [1];
- int xfont = 0;
- // go through each entry in the font list
- while ((fontListEntry = OS.XmFontListNextEntry (context)) != 0) {
- int fontPtr = OS.XmFontListEntryGetFont (fontListEntry, buffer);
- if (buffer [0] == OS.XmFONT_IS_FONT) {
- // FontList contains a single font
- OS.memmove (fontStruct, fontPtr, 20 * 4);
- xfont = fontStruct.fid;
- } else {
- // FontList contains a fontSet
- int nFonts = OS.XFontsOfFontSet (fontPtr, fontStructPtr, fontNamePtr);
- int[] fontStructs = new int [nFonts];
- OS.memmove (fontStructs, fontStructPtr [0], nFonts * 4);
- // Go through each fontStruct in the font set.
- for (int i = 0; i < nFonts; i++) {
- OS.memmove (fontStruct, fontStructs [i], XFontStruct.sizeof);
- xfont = fontStruct.fid;
- }
- }
- }
- if (xfont != 0) {
- XGL.glXUseXFont (xfont, startIndex, length, base);
- }
- font.dispose ();
- OS.XmFontListFreeFontContext (context);
- }
-
- /**
- * Loads the specified outline font.
- *
- * @param fdata
- * @param device
- * @param base
- * @param first
- * @param count
- * @param deviation
- * @param extrusion
- * @param format
- * @param lpgmf
- */
- public void loadOutlineFont (FontData fdata, Device device, int base, int first,
- int count, float deviation, float extrusion, int format, GLYPHMETRICSFLOAT[] lpgmf) {
- // stub
- }
-
- /**
- * Resizes the receiver.
- *
- * @param x
- * @param y
- * @param width
- * @param height
- */
- public void resize (int x, int y, int width, int height) {
- if (height == 0) height = 1;
- GL.glViewport (x, y, width, height);
- GL.glMatrixMode (GL.GL_PROJECTION);
- GL.glLoadIdentity ();
- GLU.gluPerspective (45.0f, (float) width / (float) height, 0.1f, 100.0f);
- GL.glMatrixMode (GL.GL_MODELVIEW);
- GL.glLoadIdentity ();
- }
-
- /**
- * Sets the receiver to be the current <code>GLContext</code>.
- *
- * @exception SWTError <ul>
- * <li>ERROR_GRAPHIC_DISPOSED if the receiver is disposed</li>
- * </ul>
- */
- public void setCurrent () {
- if (isDisposed ()) SWT.error (SWT.ERROR_GRAPHIC_DISPOSED);
- if (XGL.glXGetCurrentContext () == handle) return;
- XGL.glXMakeCurrent (data.display, data.drawable, handle);
- }
-
- /**
- * Swaps the receiver's buffers.
- *
- * @exception SWTError <ul>
- * <li>ERROR_GRAPHIC_DISPOSED if the receiver is disposed</li>
- * </ul>
- */
- public void swapBuffers () {
- if (isDisposed ()) SWT.error (SWT.ERROR_GRAPHIC_DISPOSED);
- XGL.glXSwapBuffers (data.display, data.drawable);
- }
-}
diff --git a/bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/internal/motif/XGL.java b/bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/internal/motif/XGL.java
deleted file mode 100644
index ce3705a06f..0000000000
--- a/bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/internal/motif/XGL.java
+++ /dev/null
@@ -1,227 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.internal.motif;
-
-import org.eclipse.swt.opengl.Library;
-
-public class XGL {
-
-static {
- Library.loadLibrary("gl");
-}
-
-public static final int GLX_VERSION_1_1 = 1;
-public static final int GLX_VERSION_1_2 = 1;
-public static final int GLX_VERSION_1_3 = 1;
-
-/*
-** Visual Config Attributes (glXGetConfig, glXGetFBConfigAttrib)
-*/
-public static final int GLX_USE_GL = 1; /* support GLX rendering */
-public static final int GLX_BUFFER_SIZE = 2; /* depth of the color buffer */
-public static final int GLX_LEVEL = 3; /* level in plane stacking */
-public static final int GLX_RGBA = 4; /* true if RGBA mode */
-public static final int GLX_DOUBLEBUFFER = 5; /* double buffering supported */
-public static final int GLX_STEREO = 6; /* stereo buffering supported */
-public static final int GLX_AUX_BUFFERS = 7; /* number of aux buffers */
-public static final int GLX_RED_SIZE = 8; /* number of red component bits */
-public static final int GLX_GREEN_SIZE = 9; /* number of green component bits */
-public static final int GLX_BLUE_SIZE = 10; /* number of blue component bits */
-public static final int GLX_ALPHA_SIZE = 11; /* number of alpha component bits */
-public static final int GLX_DEPTH_SIZE = 12; /* number of depth bits */
-public static final int GLX_STENCIL_SIZE = 13; /* number of stencil bits */
-public static final int GLX_ACCUM_RED_SIZE = 14; /* number of red accum bits */
-public static final int GLX_ACCUM_GREEN_SIZE = 15; /* number of green accum bits */
-public static final int GLX_ACCUM_BLUE_SIZE = 16; /* number of blue accum bits */
-public static final int GLX_ACCUM_ALPHA_SIZE = 17; /* number of alpha accum bits */
-/*
-** FBConfig-specific attributes
-*/
-public static final int GLX_X_VISUAL_TYPE = 0x22;
-public static final int GLX_CONFIG_CAVEAT = 0x20; /* Like visual_info VISUAL_CAVEAT_EXT */
-public static final int GLX_TRANSPARENT_TYPE = 0x23;
-public static final int GLX_TRANSPARENT_INDEX_VALUE = 0x24;
-public static final int GLX_TRANSPARENT_RED_VALUE = 0x25;
-public static final int GLX_TRANSPARENT_GREEN_VALUE = 0x26;
-public static final int GLX_TRANSPARENT_BLUE_VALUE = 0x27;
-public static final int GLX_TRANSPARENT_ALPHA_VALUE = 0x28;
-public static final int GLX_DRAWABLE_TYPE = 0x8010;
-public static final int GLX_RENDER_TYPE = 0x8011;
-public static final int GLX_X_RENDERABLE = 0x8012;
-public static final int GLX_FBCONFIG_ID = 0x8013;
-public static final int GLX_MAX_PBUFFER_WIDTH = 0x8016;
-public static final int GLX_MAX_PBUFFER_HEIGHT = 0x8017;
-public static final int GLX_MAX_PBUFFER_PIXELS = 0x8018;
-public static final int GLX_VISUAL_ID = 0x800B;
-
-/*
-** Error return values from glXGetConfig. Success is indicated by
-** a value of 0.
-*/
-public static final int GLX_BAD_SCREEN = 1; /* screen # is bad */
-public static final int GLX_BAD_ATTRIBUTE = 2; /* attribute to get is bad */
-public static final int GLX_NO_EXTENSION = 3; /* no glx extension on server */
-public static final int GLX_BAD_VISUAL = 4; /* visual # not known by GLX */
-public static final int GLX_BAD_CONTEXT = 5; /* returned only by import_context EXT? */
-public static final int GLX_BAD_VALUE = 6; /* returned only by glXSwapIntervalSGI? */
-public static final int GLX_BAD_ENUM = 7; /* unused? */
-
-/* FBConfig attribute values */
-
-/*
-** Generic "don't care" value for glX ChooseFBConfig attributes (except
-** GLX_LEVEL)
-*/
-public static final int GLX_DONT_CARE = 0xFFFFFFFF;
-
-/* GLX_RENDER_TYPE bits */
-public static final int GLX_RGBA_BIT = 0x00000001;
-public static final int GLX_COLOR_INDEX_BIT = 0x00000002;
-
-/* GLX_DRAWABLE_TYPE bits */
-public static final int GLX_WINDOW_BIT = 0x00000001;
-public static final int GLX_PIXMAP_BIT = 0x00000002;
-public static final int GLX_PBUFFER_BIT = 0x00000004;
-
-/* GLX_CONFIG_CAVEAT attribute values */
-public static final int GLX_NONE = 0x8000;
-public static final int GLX_SLOW_CONFIG = 0x8001;
-public static final int GLX_NON_CONFORMANT_CONFIG = 0x800D;
-
-/* GLX_X_VISUAL_TYPE attribute values */
-public static final int GLX_TRUE_COLOR = 0x8002;
-public static final int GLX_DIRECT_COLOR = 0x8003;
-public static final int GLX_PSEUDO_COLOR = 0x8004;
-public static final int GLX_STATIC_COLOR = 0x8005;
-public static final int GLX_GRAY_SCALE = 0x8006;
-public static final int GLX_STATIC_GRAY = 0x8007;
-
-/* GLX_TRANSPARENT_TYPE attribute values */
-/* public static final int GLX_NONE 0x8000 */
-public static final int GLX_TRANSPARENT_RGB = 0x8008;
-public static final int GLX_TRANSPARENT_INDEX = 0x8009;
-
-/* glXCreateGLXPbuffer attributes */
-public static final int GLX_PRESERVED_CONTENTS = 0x801B;
-public static final int GLX_LARGEST_PBUFFER = 0x801C;
-public static final int GLX_PBUFFER_HEIGHT = 0x8040; /* New for GLX 1.3 */
-public static final int GLX_PBUFFER_WIDTH = 0x8041; /* New for GLX 1.3 */
-
-/* glXQueryGLXPBuffer attributes */
-public static final int GLX_WIDTH = 0x801D;
-public static final int GLX_HEIGHT = 0x801E;
-public static final int GLX_EVENT_MASK = 0x801F;
-
-/* glXCreateNewContext render_type attribute values */
-public static final int GLX_RGBA_TYPE = 0x8014;
-public static final int GLX_COLOR_INDEX_TYPE = 0x8015;
-
-/* glXQueryContext attributes */
-/* public static final int GLX_FBCONFIG_ID 0x8013 */
-/* public static final int GLX_RENDER_TYPE 0x8011 */
-public static final int GLX_SCREEN = 0x800C;
-
-/* glXSelectEvent event mask bits */
-public static final int GLX_PBUFFER_CLOBBER_MASK = 0x08000000;
-
-/* GLXPbufferClobberEvent event_type values */
-public static final int GLX_DAMAGED = 0x8020;
-public static final int GLX_SAVED = 0x8021;
-
-/* GLXPbufferClobberEvent draw_type values */
-public static final int GLX_WINDOW = 0x8022;
-public static final int GLX_PBUFFER = 0x8023;
-
-/* GLXPbufferClobberEvent buffer_mask bits */
-public static final int GLX_FRONT_LEFT_BUFFER_BIT = 0x00000001;
-public static final int GLX_FRONT_RIGHT_BUFFER_BIT = 0x00000002;
-public static final int GLX_BACK_LEFT_BUFFER_BIT = 0x00000004;
-public static final int GLX_BACK_RIGHT_BUFFER_BIT = 0x00000008;
-public static final int GLX_AUX_BUFFERS_BIT = 0x00000010;
-public static final int GLX_DEPTH_BUFFER_BIT = 0x00000020;
-public static final int GLX_STENCIL_BUFFER_BIT = 0x00000040;
-public static final int GLX_ACCUM_BUFFER_BIT = 0x00000080;
-
-/*
-** Extension return values from glXGetConfig. These are also
-** accepted as parameter values for glXChooseVisual.
-*/
-
-public static final int GLX_X_VISUAL_TYPE_EXT = 0x22; /* visual_info extension type */
-public static final int GLX_TRANSPARENT_TYPE_EXT = 0x23; /* visual_info extension */
-public static final int GLX_TRANSPARENT_INDEX_VALUE_EXT = 0x24; /* visual_info extension */
-public static final int GLX_TRANSPARENT_RED_VALUE_EXT = 0x25; /* visual_info extension */
-public static final int GLX_TRANSPARENT_GREEN_VALUE_EXT = 0x26; /* visual_info extension */
-public static final int GLX_TRANSPARENT_BLUE_VALUE_EXT = 0x27; /* visual_info extension */
-public static final int GLX_TRANSPARENT_ALPHA_VALUE_EXT = 0x28; /* visual_info extension */
-
-/* Property values for visual_type */
-public static final int GLX_TRUE_COLOR_EXT = 0x8002;
-public static final int GLX_DIRECT_COLOR_EXT = 0x8003;
-public static final int GLX_PSEUDO_COLOR_EXT = 0x8004;
-public static final int GLX_STATIC_COLOR_EXT = 0x8005;
-public static final int GLX_GRAY_SCALE_EXT = 0x8006;
-public static final int GLX_STATIC_GRAY_EXT = 0x8007;
-
-/* Property values for transparent pixel */
-public static final int GLX_NONE_EXT = 0x8000;
-public static final int GLX_TRANSPARENT_RGB_EXT = 0x8008;
-public static final int GLX_TRANSPARENT_INDEX_EXT = 0x8009;
-
-/* Property values for visual_rating */
-public static final int GLX_VISUAL_CAVEAT_EXT = 0x20; /* visual_rating extension type */
-public static final int GLX_SLOW_VISUAL_EXT = 0x8001;
-public static final int GLX_NON_CONFORMANT_VISUAL_EXT = 0x800D;
-
-/*
-** Names for attributes to glXGetClientString.
-*/
-public static final int GLX_VENDOR = 0x1;
-public static final int GLX_VERSION = 0x2;
-public static final int GLX_EXTENSIONS = 0x3;
-
-/*
-** Names for attributes to glXQueryContextInfoEXT.
-*/
-public static final int GLX_SHARE_CONTEXT_EXT = 0x800A; /* id of share context */
-public static final int GLX_VISUAL_ID_EXT = 0x800B; /* id of context's visual */
-public static final int GLX_SCREEN_EXT = 0x800C; /* screen number */
-
-/* GLX Extension Strings */
-public static final int GLX_EXT_import_context = 1;
-public static final int GLX_EXT_visual_info = 1;
-public static final int GLX_EXT_visual_rating = 1;
-public static final int GLX_ARB_get_proc_address = 1;
-
-public static final native int glXChooseVisual(int dpy, int screen, int[] attribList);
-public static final native void glXCopyContext(int dpy, int src, int dst, int mask);
-//public static final native int glXCreateContext(int dpy, int vis, int shareList, boolean direct);
-public static final native int glXCreateContext(int dpy, XVisualInfo vis, int shareList, boolean direct);
-public static final native int glXCreateGLXPixmap(int dpy, XVisualInfo vis, int pixmap);
-public static final native void glXDestroyContext(int dpy, int ctx);
-public static final native void glXDestroyGLXPixmap(int dpy, int pix);
-public static final native int glXGetConfig(int dpy, XVisualInfo vis, int attrib, int[] value);
-public static final native int glXGetCurrentContext();
-public static final native int glXGetCurrentDrawable();
-public static final native boolean glXIsDirect(int dpy, int ctx);
-public static final native boolean glXMakeCurrent(int dpy, int drawable, int ctx);
-public static final native boolean glXQueryExtension(int dpy, int[] errorBase, int[] eventBase);
-public static final native boolean glXQueryVersion(int dpy, int[] major, int[] minor);
-public static final native void glXSwapBuffers(int dpy, int drawable);
-public static final native void glXUseXFont(int font, int first, int count, int listBase);
-public static final native void glXWaitGL();
-public static final native void glXWaitX();
-public static final native int glXGetClientString(int dpy, int name);
-public static final native int glXQueryServerString(int dpy, int screen, int name);
-public static final native int glXQueryExtensionsString(int dpy, int screen);
-public static final native void memmove(XVisualInfo dest, int src, int size);
-
-}
diff --git a/bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/internal/motif/XVisualInfo.java b/bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/internal/motif/XVisualInfo.java
deleted file mode 100644
index d6cba4ad60..0000000000
--- a/bundles/org.eclipse.swt.opengl/motif/org/eclipse/swt/opengl/internal/motif/XVisualInfo.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.internal.motif;
-
-
-public class XVisualInfo {
- public int visual;
- public int visualid;
- public int screen;
- public int depth;
- public int cclass;
- public int red_mask, green_mask, blue_mask;
- public int colormap_size;
- public int bits_per_rgb;
- public static final int sizeof = 40;
-}
diff --git a/bundles/org.eclipse.swt.opengl/plugin.properties b/bundles/org.eclipse.swt.opengl/plugin.properties
deleted file mode 100644
index 72fe2d9ff6..0000000000
--- a/bundles/org.eclipse.swt.opengl/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-pluginName = Standard Widget Toolkit OpenGL Bindings
-providerName = Eclipse.org \ No newline at end of file
diff --git a/bundles/org.eclipse.swt.opengl/plugin.xml b/bundles/org.eclipse.swt.opengl/plugin.xml
deleted file mode 100644
index 0e8596357a..0000000000
--- a/bundles/org.eclipse.swt.opengl/plugin.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin
- id="org.eclipse.swt.opengl"
- name="%pluginName"
- version="2.1.0"
- provider-name="%providerName">
-
- <runtime>
- <library name="$ws$/swt.jar">
- <export name="*"/>
- <packages prefixes="org.eclipse.swt.opengl"/>
- </library>
- </runtime>
- <requires>
- <import plugin="org.eclipse.swt"/>
- </requires>
-
-
-</plugin>
diff --git a/bundles/org.eclipse.swt.opengl/win32/gl_library/build.bat b/bundles/org.eclipse.swt.opengl/win32/gl_library/build.bat
deleted file mode 100644
index 9d6a37a923..0000000000
--- a/bundles/org.eclipse.swt.opengl/win32/gl_library/build.bat
+++ /dev/null
@@ -1,34 +0,0 @@
-rem *******************************************************************************
-rem Copyright (c) 2000, 2003 IBM Corporation and others.
-rem All rights reserved. This program and the accompanying materials
-rem are made available under the terms of the Common Public License v1.0
-rem which accompanies this distribution, and is available at
-rem http://www.eclipse.org/legal/cpl-v10.html
-rem
-rem Contributors:
-rem IBM Corporation - initial API and implementation
-rem *******************************************************************************
-
-@echo off
-
-IF NOT "%JAVA_HOME%"=="" GOTO MAKE
-
-rem *****
-rem Javah
-rem *****
-set JAVA_HOME=j:\teamswt\swt-builddir\ive\bin
-set path=%JAVA_HOME%;%path%
-
-rem ********
-rem MSVC 6.0
-rem ********
-call k:\dev\products\msvc60\vc98\bin\vcvars32.bat
-
-rem ******
-rem MS-SDK
-rem ******
-set Mssdk=j:\teamswt\swt-builddir\mssdk
-call %mssdk%\setenv.bat
-
-:MAKE
-nmake -f make_win32.mak %1 %2 %3 %4
diff --git a/bundles/org.eclipse.swt.opengl/win32/gl_library/glw.c b/bundles/org.eclipse.swt.opengl/win32/gl_library/glw.c
deleted file mode 100644
index bcad15db6b..0000000000
--- a/bundles/org.eclipse.swt.opengl/win32/gl_library/glw.c
+++ /dev/null
@@ -1,283 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-#include <windows.h>
-#include <wingdi.h>
-#include "jni.h"
-#include "swt.h"
-#include "structs.h"
-
-#define WGL_NATIVE(func) Java_org_eclipse_swt_opengl_internal_win32_WGL_##func
-
-JNIEXPORT jint JNICALL WGL_NATIVE(ChoosePixelFormat)
- (JNIEnv *env, jclass that, jint arg0, jobject arg1)
-{
- PIXELFORMATDESCRIPTOR _arg1, *lparg1=NULL;
- jint rc;
-
- DEBUG_CALL("ChoosePixelFormat\n")
-
- if (arg1) lparg1 = getPIXELFORMATDESCRIPTORFields(env, arg1, &_arg1);
- rc = (jint)ChoosePixelFormat((HDC)arg0, (CONST PIXELFORMATDESCRIPTOR *)lparg1);
- if (arg1) setPIXELFORMATDESCRIPTORFields(env, arg1, lparg1);
- return rc;
-}
-
-JNIEXPORT jint JNICALL WGL_NATIVE(DescribePixelFormat)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jobject arg3)
-{
- PIXELFORMATDESCRIPTOR _arg3, *lparg3=NULL;
- jint rc;
-
- DEBUG_CALL("DescribePixelFormat\n")
-
- if (arg3) lparg3 = getPIXELFORMATDESCRIPTORFields(env, arg3, &_arg3);
- rc = (jint)DescribePixelFormat((HDC)arg0, arg1, arg2, (LPPIXELFORMATDESCRIPTOR)lparg3);
- if (arg3) setPIXELFORMATDESCRIPTORFields(env, arg3, lparg3);
- return rc;
-}
-
-JNIEXPORT jint JNICALL WGL_NATIVE(GetPixelFormat)
- (JNIEnv *env, jclass that, jint arg0)
-{
- DEBUG_CALL("GetPixelFormat\n")
-
- return (jint)GetPixelFormat((HDC)arg0);
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(SetPixelFormat)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jobject arg2)
-{
- PIXELFORMATDESCRIPTOR _arg2, *lparg2=NULL;
- jboolean rc;
-
- DEBUG_CALL("SetPixelFormat\n")
-
- if (arg2) lparg2 = getPIXELFORMATDESCRIPTORFields(env, arg2, &_arg2);
- rc = (jboolean)SetPixelFormat((HDC)arg0, arg1, (CONST PIXELFORMATDESCRIPTOR *)lparg2);
- if (arg2) setPIXELFORMATDESCRIPTORFields(env, arg2, lparg2);
- return rc;
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(SwapBuffers)
- (JNIEnv *env, jclass that, jint arg0)
-{
- DEBUG_CALL("SwapBuffers\n")
-
- return (jboolean)SwapBuffers((HDC)arg0);
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(wglCopyContext)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2)
-{
- DEBUG_CALL("wglCopyContext\n")
-
- return (jboolean)wglCopyContext((HGLRC)arg0, (HGLRC)arg1, (UINT)arg2);
-}
-
-JNIEXPORT jint JNICALL WGL_NATIVE(wglCreateContext)
- (JNIEnv *env, jclass that, jint arg0)
-{
- DEBUG_CALL("wglCreateContext\n")
-
- return (jint)wglCreateContext((HDC)arg0);
-}
-
-JNIEXPORT jint JNICALL WGL_NATIVE(wglCreateLayerContext)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- DEBUG_CALL("wglCreateLayerContext\n")
-
- return (jint)wglCreateLayerContext((HDC)arg0, arg1);
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(wglDeleteContext)
- (JNIEnv *env, jclass that, jint arg0)
-{
- DEBUG_CALL("wglDeleteContext\n")
-
- return (jboolean)wglDeleteContext((HGLRC)arg0);
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(wglDescribeLayerPlane)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jobject arg4)
-{
- LAYERPLANEDESCRIPTOR _arg4, *lparg4=NULL;
- jboolean rc;
-
- DEBUG_CALL("wglDescribeLayerPlane\n")
-
- if (arg4) lparg4 = getLAYERPLANEDESCRIPTORFields(env, arg4, &_arg4);
- rc = (jboolean)wglDescribeLayerPlane((HDC)arg0, arg1, arg2, arg3, (LPLAYERPLANEDESCRIPTOR)lparg4);
- if (arg4) setLAYERPLANEDESCRIPTORFields(env, arg4, lparg4);
- return rc;
-}
-
-JNIEXPORT jint JNICALL WGL_NATIVE(wglGetCurrentContext)
- (JNIEnv *env, jclass that)
-{
- DEBUG_CALL("wglGetCurrentContext\n")
-
- return (jint)wglGetCurrentContext();
-}
-
-JNIEXPORT jint JNICALL WGL_NATIVE(wglGetCurrentDC)
- (JNIEnv *env, jclass that)
-{
- DEBUG_CALL("wglGetCurrentDC\n")
-
- return (jint)wglGetCurrentDC();
-}
-
-JNIEXPORT jint JNICALL WGL_NATIVE(wglGetLayerPaletteEntries)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4)
-{
- jint *lparg4=NULL;
- jint rc;
-
- DEBUG_CALL("wglGetLayerPaletteEntries\n")
-
- if (arg4) lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL);
- rc = (jint)wglGetLayerPaletteEntries((HDC)arg0, arg1, arg2, arg3, (COLORREF *)lparg4);
- if (arg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- return rc;
-}
-
-JNIEXPORT jint JNICALL WGL_NATIVE(wglGetProcAddress)
- (JNIEnv *env, jclass that, jbyteArray arg0)
-{
- jbyte *lparg0=NULL;
- jint rc;
-
- DEBUG_CALL("wglGetProcAddress\n")
-
- if (arg0) lparg0 = (*env)->GetByteArrayElements(env, arg0, NULL);
- rc = (jint)wglGetProcAddress((LPCSTR)lparg0);
- if (arg0) (*env)->ReleaseByteArrayElements(env, arg0, lparg0, 0);
- return rc;
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(wglMakeCurrent)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- DEBUG_CALL("wglMakeCurrent\n")
-
- return (jboolean)wglMakeCurrent((HDC)arg0, (HGLRC)arg1);
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(wglRealizeLayerPalette)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jboolean arg2)
-{
- DEBUG_CALL("wglRealizeLayerPalette\n")
-
- return (jboolean)wglRealizeLayerPalette((HDC)arg0, arg1, (BOOL)arg2);
-}
-
-JNIEXPORT jint JNICALL WGL_NATIVE(wglSetLayerPaletteEntries)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jintArray arg4)
-{
- jint *lparg4=NULL;
- jint rc;
-
- DEBUG_CALL("wglSetLayerPaletteEntries\n")
-
- if (arg4) lparg4 = (*env)->GetIntArrayElements(env, arg4, NULL);
- rc = (jint)wglSetLayerPaletteEntries((HDC)arg0, arg1, arg2, arg3, (CONST COLORREF *)lparg4);
- if (arg4) (*env)->ReleaseIntArrayElements(env, arg4, lparg4, 0);
- return rc;
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(wglShareLists)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- DEBUG_CALL("wglShareLists\n")
-
- return (jboolean)wglShareLists((HGLRC)arg0, (HGLRC)arg1);
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(wglSwapLayerBuffers)
- (JNIEnv *env, jclass that, jint arg0, jint arg1)
-{
- DEBUG_CALL("wglSwapLayerBuffers\n")
-
- return (jboolean)wglSwapLayerBuffers((HDC)arg0, arg1);
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(wglUseFontBitmapsA)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- DEBUG_CALL("wglUseFontBitmapsA\n")
-
- return (jboolean)wglUseFontBitmapsA((HDC)arg0, arg1, arg2, arg3);
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(wglUseFontBitmapsW)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3)
-{
- DEBUG_CALL("wglUseFontBitmapsW\n")
-
- return (jboolean)wglUseFontBitmapsW((HDC)arg0, arg1, arg2, arg3);
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(wglUseFontOutlinesA)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jfloat arg4, jfloat arg5, jint arg6, jobject arg7)
-{
-// GLYPHMETRICSFLOAT _arg7, *lparg7=NULL;
- jboolean rc;
-
- DEBUG_CALL("wglUseFontOutlinesA\n")
-
-// if (arg7) lparg7 = getGLYPHMETRICSFLOATFields(env, arg7, &_arg7);
- rc = (jboolean)wglUseFontOutlinesA((HDC)arg0, arg1, arg2, arg3, (FLOAT)arg4, (FLOAT)arg5, arg6, (LPGLYPHMETRICSFLOAT)arg7);
-// if (arg7) setGLYPHMETRICSFLOATFields(env, arg7, lparg7);
- return rc;
-}
-
-JNIEXPORT jboolean JNICALL WGL_NATIVE(wglUseFontOutlinesW)
- (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jfloat arg4, jfloat arg5, jint arg6, jobject arg7)
-{
-// GLYPHMETRICSFLOAT _arg7, *lparg7=NULL;
- jboolean rc;
-
- DEBUG_CALL("wglUseFontOutlinesW\n")
-
-// if (arg7) lparg7 = getGLYPHMETRICSFLOATFields(env, arg7, &_arg7);
- rc = (jboolean)wglUseFontOutlinesW((HDC)arg0, arg1, arg2, arg3, (FLOAT)arg4, (FLOAT)arg5, arg6, (LPGLYPHMETRICSFLOAT)arg7);
-// if (arg7) setGLYPHMETRICSFLOATFields(env, arg7, lparg7);
- return rc;
-}
-
-JNIEXPORT void JNICALL WGL_NATIVE(MoveMemoryW__Lorg_eclipse_swt_opengl_internal_win32_GLYPHMETRICSFLOAT_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- GLYPHMETRICSFLOAT _arg0, *lparg0=NULL;
-
- DEBUG_CALL("MoveMemoryW__Lorg_eclipse_swt_opengl_internal_win32_GLYPHMETRICSFLOAT_2II\n")
- DEBUG_CHECK_NULL(env, arg1)
-
- if (arg0) lparg0 = &_arg0;
- MoveMemory((PVOID)lparg0, (CONST VOID *)arg1, arg2);
- if (arg0) setGLYPHMETRICSFLOATFields(env, arg0, lparg0);
-}
-
-JNIEXPORT void JNICALL WGL_NATIVE(MoveMemoryA__Lorg_eclipse_swt_opengl_internal_win32_GLYPHMETRICSFLOAT_2II)
- (JNIEnv *env, jclass that, jobject arg0, jint arg1, jint arg2)
-{
- GLYPHMETRICSFLOAT _arg0, *lparg0=NULL;
-
- DEBUG_CALL("MoveMemoryA__Lorg_eclipse_swt_opengl_internal_win32_GLYPHMETRICSFLOAT_2II\n")
- DEBUG_CHECK_NULL(env, arg1)
-
- if (arg0) lparg0 = &_arg0;
- MoveMemory((PVOID)lparg0, (CONST VOID *)arg1, arg2);
- if (arg0) setGLYPHMETRICSFLOATFields(env, arg0, lparg0);
-}
-
-
diff --git a/bundles/org.eclipse.swt.opengl/win32/gl_library/make_win32.mak b/bundles/org.eclipse.swt.opengl/win32/gl_library/make_win32.mak
deleted file mode 100644
index 6bbd18c756..0000000000
--- a/bundles/org.eclipse.swt.opengl/win32/gl_library/make_win32.mak
+++ /dev/null
@@ -1,56 +0,0 @@
-#*******************************************************************************
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-#*******************************************************************************
-
-# assumes JAVA_HOME is set in the environment from which nmake is run
-
-APPVER=5.0
-!include <win32.mak>
-
-pgm_ver_str="SWT $(maj_ver).$(min_ver) for Windows"
-timestamp_str=__DATE__\" \"__TIME__\" (EST)\"
-copyright = "Copyright (C) 1999, 2003 IBM Corp. All rights reserved."
-
-SWT_PREFIX=gl
-WS_PREFIX=win32
-SWT_LIB = $(SWT_PREFIX)-$(WS_PREFIX).dll
-
-LINK_LIBS = opengl32.lib glu32.lib gdi32.lib
-
-# note: thoroughly test all examples after changing any optimization flags
-SWT_CDEBUG = #-Zi -Odi
-SWT_LDEBUG = #/DEBUG /DEBUGTYPE:both
-CFLAGS = -c -W3 -G6 -GD -O1 $(SWT_CDEBUG) -nologo -D_X86_=1 -D_WIN32 -D_WIN95 -D_WIN32_WINDOWS=0x0400 -D_MT -MT -DWIN32 -D_WIN32_DCOM /I$(JAVA_HOME)\include /I.
-RCFLAGS = -DSWT_COMMA_VERSION=$(comma_ver)
-LFLAGS = /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO $(SWT_LDEBUG) -entry:_DllMainCRTStartup@12 -dll /BASE:0x10000000 /comment:$(pgm_ver_str) /comment:$(copyright) /DLL
-
-SWT_OBJS = gl.obj glu.obj glw.obj structs.obj
-
-all: $(SWT_LIB)
-
-.c.obj:
- cl $(CFLAGS) $*.c
-
-$(SWT_LIB): $(SWT_OBJS) swt.res
- echo $(LFLAGS) >templrf
- echo $(LINK_LIBS) >>templrf
- echo -machine:IX86 >>templrf
- echo -subsystem:windows >>templrf
- echo -out:$(SWT_LIB) >>templrf
- echo $(SWT_OBJS) >>templrf
- echo swt.res >>templrf
- link @templrf
- del templrf
-
-swt.res:
- rc $(RCFLAGS) -DSWT_ORG_FILENAME=\"$(SWT_LIB)\" -r -fo swt.res swt.rc
-
-clean:
- del *.obj *.res *.dll *.lib *.exp
diff --git a/bundles/org.eclipse.swt.opengl/win32/gl_library/structs.c b/bundles/org.eclipse.swt.opengl/win32/gl_library/structs.c
deleted file mode 100644
index a9c61dcf6f..0000000000
--- a/bundles/org.eclipse.swt.opengl/win32/gl_library/structs.c
+++ /dev/null
@@ -1,304 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "swt.h"
-#include "structs.h"
-
-typedef struct GLYPHMETRICSFLOAT_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID gmfCellIncY, gmfCellIncX, gmfptGlyphOrigin_y, gmfptGlyphOrigin_x, gmfBlackBoxY, gmfBlackBoxX;
-} GLYPHMETRICSFLOAT_FID_CACHE;
-typedef GLYPHMETRICSFLOAT_FID_CACHE *PGLYPHMETRICSFLOAT_FID_CACHE;
-
-GLYPHMETRICSFLOAT_FID_CACHE GLYPHMETRICSFLOATFc;
-
-void cacheGLYPHMETRICSFLOATFids(JNIEnv *env, jobject lpObject, PGLYPHMETRICSFLOAT_FID_CACHE lpCache)
-{
- if (lpCache->cached) return;
- lpCache->clazz = (*env)->GetObjectClass(env, lpObject);
- lpCache->gmfCellIncY = (*env)->GetFieldID(env, lpCache->clazz, "gmfCellIncY", "F");
- lpCache->gmfCellIncX = (*env)->GetFieldID(env, lpCache->clazz, "gmfCellIncX", "F");
- lpCache->gmfptGlyphOrigin_y = (*env)->GetFieldID(env, lpCache->clazz, "gmfptGlyphOrigin_y", "F");
- lpCache->gmfptGlyphOrigin_x = (*env)->GetFieldID(env, lpCache->clazz, "gmfptGlyphOrigin_x", "F");
- lpCache->gmfBlackBoxY = (*env)->GetFieldID(env, lpCache->clazz, "gmfBlackBoxY", "F");
- lpCache->gmfBlackBoxX = (*env)->GetFieldID(env, lpCache->clazz, "gmfBlackBoxX", "F");
- lpCache->cached = 1;
-}
-
-GLYPHMETRICSFLOAT *getGLYPHMETRICSFLOATFields(JNIEnv *env, jobject lpObject, GLYPHMETRICSFLOAT *lpStruct)
-{
- PGLYPHMETRICSFLOAT_FID_CACHE lpCache = &GLYPHMETRICSFLOATFc;
- if (!lpCache->cached) cacheGLYPHMETRICSFLOATFids(env, lpObject, lpCache);
- lpStruct->gmfCellIncY = (*env)->GetFloatField(env, lpObject, lpCache->gmfCellIncY);
- lpStruct->gmfCellIncX = (*env)->GetFloatField(env, lpObject, lpCache->gmfCellIncX);
- lpStruct->gmfptGlyphOrigin.y = (*env)->GetFloatField(env, lpObject, lpCache->gmfptGlyphOrigin_y);
- lpStruct->gmfptGlyphOrigin.x = (*env)->GetFloatField(env, lpObject, lpCache->gmfptGlyphOrigin_x);
- lpStruct->gmfBlackBoxY = (*env)->GetFloatField(env, lpObject, lpCache->gmfBlackBoxY);
- lpStruct->gmfBlackBoxX = (*env)->GetFloatField(env, lpObject, lpCache->gmfBlackBoxX);
- return lpStruct;
-}
-
-void setGLYPHMETRICSFLOATFields(JNIEnv *env, jobject lpObject, GLYPHMETRICSFLOAT *lpStruct)
-{
- PGLYPHMETRICSFLOAT_FID_CACHE lpCache = &GLYPHMETRICSFLOATFc;
- if (!lpCache->cached) cacheGLYPHMETRICSFLOATFids(env, lpObject, lpCache);
- (*env)->SetFloatField(env, lpObject, lpCache->gmfCellIncY, (jfloat)lpStruct->gmfCellIncY);
- (*env)->SetFloatField(env, lpObject, lpCache->gmfCellIncX, (jfloat)lpStruct->gmfCellIncX);
- (*env)->SetFloatField(env, lpObject, lpCache->gmfptGlyphOrigin_y, (jfloat)lpStruct->gmfptGlyphOrigin.y);
- (*env)->SetFloatField(env, lpObject, lpCache->gmfptGlyphOrigin_x, (jfloat)lpStruct->gmfptGlyphOrigin.x);
- (*env)->SetFloatField(env, lpObject, lpCache->gmfBlackBoxY, (jfloat)lpStruct->gmfBlackBoxY);
- (*env)->SetFloatField(env, lpObject, lpCache->gmfBlackBoxX, (jfloat)lpStruct->gmfBlackBoxX);
-}
-
-typedef struct LAYERPLANEDESCRIPTOR_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID crTransparent, bReserved, iLayerPlane, cAuxBuffers, cStencilBits, cDepthBits, cAccumAlphaBits, cAccumBlueBits, cAccumGreenBits, cAccumRedBits, cAccumBits, cAlphaShift, cAlphaBits, cBlueShift, cBlueBits, cGreenShift, cGreenBits, cRedShift, cRedBits, cColorBits, iPixelType, dwFlags, nVersion, nSize;
-} LAYERPLANEDESCRIPTOR_FID_CACHE;
-typedef LAYERPLANEDESCRIPTOR_FID_CACHE *PLAYERPLANEDESCRIPTOR_FID_CACHE;
-
-LAYERPLANEDESCRIPTOR_FID_CACHE LAYERPLANEDESCRIPTORFc;
-
-void cacheLAYERPLANEDESCRIPTORFids(JNIEnv *env, jobject lpObject, PLAYERPLANEDESCRIPTOR_FID_CACHE lpCache)
-{
- if (lpCache->cached) return;
- lpCache->clazz = (*env)->GetObjectClass(env, lpObject);
- lpCache->crTransparent = (*env)->GetFieldID(env, lpCache->clazz, "crTransparent", "I");
- lpCache->bReserved = (*env)->GetFieldID(env, lpCache->clazz, "bReserved", "B");
- lpCache->iLayerPlane = (*env)->GetFieldID(env, lpCache->clazz, "iLayerPlane", "B");
- lpCache->cAuxBuffers = (*env)->GetFieldID(env, lpCache->clazz, "cAuxBuffers", "B");
- lpCache->cStencilBits = (*env)->GetFieldID(env, lpCache->clazz, "cStencilBits", "B");
- lpCache->cDepthBits = (*env)->GetFieldID(env, lpCache->clazz, "cDepthBits", "B");
- lpCache->cAccumAlphaBits = (*env)->GetFieldID(env, lpCache->clazz, "cAccumAlphaBits", "B");
- lpCache->cAccumBlueBits = (*env)->GetFieldID(env, lpCache->clazz, "cAccumBlueBits", "B");
- lpCache->cAccumGreenBits = (*env)->GetFieldID(env, lpCache->clazz, "cAccumGreenBits", "B");
- lpCache->cAccumRedBits = (*env)->GetFieldID(env, lpCache->clazz, "cAccumRedBits", "B");
- lpCache->cAccumBits = (*env)->GetFieldID(env, lpCache->clazz, "cAccumBits", "B");
- lpCache->cAlphaShift = (*env)->GetFieldID(env, lpCache->clazz, "cAlphaShift", "B");
- lpCache->cAlphaBits = (*env)->GetFieldID(env, lpCache->clazz, "cAlphaBits", "B");
- lpCache->cBlueShift = (*env)->GetFieldID(env, lpCache->clazz, "cBlueShift", "B");
- lpCache->cBlueBits = (*env)->GetFieldID(env, lpCache->clazz, "cBlueBits", "B");
- lpCache->cGreenShift = (*env)->GetFieldID(env, lpCache->clazz, "cGreenShift", "B");
- lpCache->cGreenBits = (*env)->GetFieldID(env, lpCache->clazz, "cGreenBits", "B");
- lpCache->cRedShift = (*env)->GetFieldID(env, lpCache->clazz, "cRedShift", "B");
- lpCache->cRedBits = (*env)->GetFieldID(env, lpCache->clazz, "cRedBits", "B");
- lpCache->cColorBits = (*env)->GetFieldID(env, lpCache->clazz, "cColorBits", "B");
- lpCache->iPixelType = (*env)->GetFieldID(env, lpCache->clazz, "iPixelType", "B");
- lpCache->dwFlags = (*env)->GetFieldID(env, lpCache->clazz, "dwFlags", "I");
- lpCache->nVersion = (*env)->GetFieldID(env, lpCache->clazz, "nVersion", "S");
- lpCache->nSize = (*env)->GetFieldID(env, lpCache->clazz, "nSize", "S");
- lpCache->cached = 1;
-}
-
-LAYERPLANEDESCRIPTOR *getLAYERPLANEDESCRIPTORFields(JNIEnv *env, jobject lpObject, LAYERPLANEDESCRIPTOR *lpStruct)
-{
- PLAYERPLANEDESCRIPTOR_FID_CACHE lpCache = &LAYERPLANEDESCRIPTORFc;
- if (!lpCache->cached) cacheLAYERPLANEDESCRIPTORFids(env, lpObject, lpCache);
- lpStruct->crTransparent = (*env)->GetIntField(env, lpObject, lpCache->crTransparent);
- lpStruct->bReserved = (*env)->GetByteField(env, lpObject, lpCache->bReserved);
- lpStruct->iLayerPlane = (*env)->GetByteField(env, lpObject, lpCache->iLayerPlane);
- lpStruct->cAuxBuffers = (*env)->GetByteField(env, lpObject, lpCache->cAuxBuffers);
- lpStruct->cStencilBits = (*env)->GetByteField(env, lpObject, lpCache->cStencilBits);
- lpStruct->cDepthBits = (*env)->GetByteField(env, lpObject, lpCache->cDepthBits);
- lpStruct->cAccumAlphaBits = (*env)->GetByteField(env, lpObject, lpCache->cAccumAlphaBits);
- lpStruct->cAccumBlueBits = (*env)->GetByteField(env, lpObject, lpCache->cAccumBlueBits);
- lpStruct->cAccumGreenBits = (*env)->GetByteField(env, lpObject, lpCache->cAccumGreenBits);
- lpStruct->cAccumRedBits = (*env)->GetByteField(env, lpObject, lpCache->cAccumRedBits);
- lpStruct->cAccumBits = (*env)->GetByteField(env, lpObject, lpCache->cAccumBits);
- lpStruct->cAlphaShift = (*env)->GetByteField(env, lpObject, lpCache->cAlphaShift);
- lpStruct->cAlphaBits = (*env)->GetByteField(env, lpObject, lpCache->cAlphaBits);
- lpStruct->cBlueShift = (*env)->GetByteField(env, lpObject, lpCache->cBlueShift);
- lpStruct->cBlueBits = (*env)->GetByteField(env, lpObject, lpCache->cBlueBits);
- lpStruct->cGreenShift = (*env)->GetByteField(env, lpObject, lpCache->cGreenShift);
- lpStruct->cGreenBits = (*env)->GetByteField(env, lpObject, lpCache->cGreenBits);
- lpStruct->cRedShift = (*env)->GetByteField(env, lpObject, lpCache->cRedShift);
- lpStruct->cRedBits = (*env)->GetByteField(env, lpObject, lpCache->cRedBits);
- lpStruct->cColorBits = (*env)->GetByteField(env, lpObject, lpCache->cColorBits);
- lpStruct->iPixelType = (*env)->GetByteField(env, lpObject, lpCache->iPixelType);
- lpStruct->dwFlags = (*env)->GetIntField(env, lpObject, lpCache->dwFlags);
- lpStruct->nVersion = (*env)->GetShortField(env, lpObject, lpCache->nVersion);
- lpStruct->nSize = (*env)->GetShortField(env, lpObject, lpCache->nSize);
- return lpStruct;
-}
-
-void setLAYERPLANEDESCRIPTORFields(JNIEnv *env, jobject lpObject, LAYERPLANEDESCRIPTOR *lpStruct)
-{
- PLAYERPLANEDESCRIPTOR_FID_CACHE lpCache = &LAYERPLANEDESCRIPTORFc;
- if (!lpCache->cached) cacheLAYERPLANEDESCRIPTORFids(env, lpObject, lpCache);
- (*env)->SetIntField(env, lpObject, lpCache->crTransparent, (jint)lpStruct->crTransparent);
- (*env)->SetByteField(env, lpObject, lpCache->bReserved, (jbyte)lpStruct->bReserved);
- (*env)->SetByteField(env, lpObject, lpCache->iLayerPlane, (jbyte)lpStruct->iLayerPlane);
- (*env)->SetByteField(env, lpObject, lpCache->cAuxBuffers, (jbyte)lpStruct->cAuxBuffers);
- (*env)->SetByteField(env, lpObject, lpCache->cStencilBits, (jbyte)lpStruct->cStencilBits);
- (*env)->SetByteField(env, lpObject, lpCache->cDepthBits, (jbyte)lpStruct->cDepthBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAccumAlphaBits, (jbyte)lpStruct->cAccumAlphaBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAccumBlueBits, (jbyte)lpStruct->cAccumBlueBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAccumGreenBits, (jbyte)lpStruct->cAccumGreenBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAccumRedBits, (jbyte)lpStruct->cAccumRedBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAccumBits, (jbyte)lpStruct->cAccumBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAlphaShift, (jbyte)lpStruct->cAlphaShift);
- (*env)->SetByteField(env, lpObject, lpCache->cAlphaBits, (jbyte)lpStruct->cAlphaBits);
- (*env)->SetByteField(env, lpObject, lpCache->cBlueShift, (jbyte)lpStruct->cBlueShift);
- (*env)->SetByteField(env, lpObject, lpCache->cBlueBits, (jbyte)lpStruct->cBlueBits);
- (*env)->SetByteField(env, lpObject, lpCache->cGreenShift, (jbyte)lpStruct->cGreenShift);
- (*env)->SetByteField(env, lpObject, lpCache->cGreenBits, (jbyte)lpStruct->cGreenBits);
- (*env)->SetByteField(env, lpObject, lpCache->cRedShift, (jbyte)lpStruct->cRedShift);
- (*env)->SetByteField(env, lpObject, lpCache->cRedBits, (jbyte)lpStruct->cRedBits);
- (*env)->SetByteField(env, lpObject, lpCache->cColorBits, (jbyte)lpStruct->cColorBits);
- (*env)->SetByteField(env, lpObject, lpCache->iPixelType, (jbyte)lpStruct->iPixelType);
- (*env)->SetIntField(env, lpObject, lpCache->dwFlags, (jint)lpStruct->dwFlags);
- (*env)->SetShortField(env, lpObject, lpCache->nVersion, (jshort)lpStruct->nVersion);
- (*env)->SetShortField(env, lpObject, lpCache->nSize, (jshort)lpStruct->nSize);
-}
-
-typedef struct POINTFLOAT_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID y, x;
-} POINTFLOAT_FID_CACHE;
-typedef POINTFLOAT_FID_CACHE *PPOINTFLOAT_FID_CACHE;
-
-POINTFLOAT_FID_CACHE POINTFLOATFc;
-
-void cachePOINTFLOATFids(JNIEnv *env, jobject lpObject, PPOINTFLOAT_FID_CACHE lpCache)
-{
- if (lpCache->cached) return;
- lpCache->clazz = (*env)->GetObjectClass(env, lpObject);
- lpCache->y = (*env)->GetFieldID(env, lpCache->clazz, "y", "F");
- lpCache->x = (*env)->GetFieldID(env, lpCache->clazz, "x", "F");
- lpCache->cached = 1;
-}
-
-POINTFLOAT *getPOINTFLOATFields(JNIEnv *env, jobject lpObject, POINTFLOAT *lpStruct)
-{
- PPOINTFLOAT_FID_CACHE lpCache = &POINTFLOATFc;
- if (!lpCache->cached) cachePOINTFLOATFids(env, lpObject, lpCache);
- lpStruct->y = (*env)->GetFloatField(env, lpObject, lpCache->y);
- lpStruct->x = (*env)->GetFloatField(env, lpObject, lpCache->x);
- return lpStruct;
-}
-
-void setPOINTFLOATFields(JNIEnv *env, jobject lpObject, POINTFLOAT *lpStruct)
-{
- PPOINTFLOAT_FID_CACHE lpCache = &POINTFLOATFc;
- if (!lpCache->cached) cachePOINTFLOATFids(env, lpObject, lpCache);
- (*env)->SetFloatField(env, lpObject, lpCache->y, (jfloat)lpStruct->y);
- (*env)->SetFloatField(env, lpObject, lpCache->x, (jfloat)lpStruct->x);
-}
-
-typedef struct PIXELFORMATDESCRIPTOR_FID_CACHE {
- int cached;
- jclass clazz;
- jfieldID dwDamageMask, dwVisibleMask, dwLayerMask, bReserved, iLayerType, cAuxBuffers, cStencilBits, cDepthBits, cAccumAlphaBits, cAccumBlueBits, cAccumGreenBits, cAccumRedBits, cAccumBits, cAlphaShift, cAlphaBits, cBlueShift, cBlueBits, cGreenShift, cGreenBits, cRedShift, cRedBits, cColorBits, iPixelType, dwFlags, nVersion, nSize;
-} PIXELFORMATDESCRIPTOR_FID_CACHE;
-typedef PIXELFORMATDESCRIPTOR_FID_CACHE *PPIXELFORMATDESCRIPTOR_FID_CACHE;
-
-PIXELFORMATDESCRIPTOR_FID_CACHE PIXELFORMATDESCRIPTORFc;
-
-void cachePIXELFORMATDESCRIPTORFids(JNIEnv *env, jobject lpObject, PPIXELFORMATDESCRIPTOR_FID_CACHE lpCache)
-{
- if (lpCache->cached) return;
- lpCache->clazz = (*env)->GetObjectClass(env, lpObject);
- lpCache->dwDamageMask = (*env)->GetFieldID(env, lpCache->clazz, "dwDamageMask", "I");
- lpCache->dwVisibleMask = (*env)->GetFieldID(env, lpCache->clazz, "dwVisibleMask", "I");
- lpCache->dwLayerMask = (*env)->GetFieldID(env, lpCache->clazz, "dwLayerMask", "I");
- lpCache->bReserved = (*env)->GetFieldID(env, lpCache->clazz, "bReserved", "B");
- lpCache->iLayerType = (*env)->GetFieldID(env, lpCache->clazz, "iLayerType", "B");
- lpCache->cAuxBuffers = (*env)->GetFieldID(env, lpCache->clazz, "cAuxBuffers", "B");
- lpCache->cStencilBits = (*env)->GetFieldID(env, lpCache->clazz, "cStencilBits", "B");
- lpCache->cDepthBits = (*env)->GetFieldID(env, lpCache->clazz, "cDepthBits", "B");
- lpCache->cAccumAlphaBits = (*env)->GetFieldID(env, lpCache->clazz, "cAccumAlphaBits", "B");
- lpCache->cAccumBlueBits = (*env)->GetFieldID(env, lpCache->clazz, "cAccumBlueBits", "B");
- lpCache->cAccumGreenBits = (*env)->GetFieldID(env, lpCache->clazz, "cAccumGreenBits", "B");
- lpCache->cAccumRedBits = (*env)->GetFieldID(env, lpCache->clazz, "cAccumRedBits", "B");
- lpCache->cAccumBits = (*env)->GetFieldID(env, lpCache->clazz, "cAccumBits", "B");
- lpCache->cAlphaShift = (*env)->GetFieldID(env, lpCache->clazz, "cAlphaShift", "B");
- lpCache->cAlphaBits = (*env)->GetFieldID(env, lpCache->clazz, "cAlphaBits", "B");
- lpCache->cBlueShift = (*env)->GetFieldID(env, lpCache->clazz, "cBlueShift", "B");
- lpCache->cBlueBits = (*env)->GetFieldID(env, lpCache->clazz, "cBlueBits", "B");
- lpCache->cGreenShift = (*env)->GetFieldID(env, lpCache->clazz, "cGreenShift", "B");
- lpCache->cGreenBits = (*env)->GetFieldID(env, lpCache->clazz, "cGreenBits", "B");
- lpCache->cRedShift = (*env)->GetFieldID(env, lpCache->clazz, "cRedShift", "B");
- lpCache->cRedBits = (*env)->GetFieldID(env, lpCache->clazz, "cRedBits", "B");
- lpCache->cColorBits = (*env)->GetFieldID(env, lpCache->clazz, "cColorBits", "B");
- lpCache->iPixelType = (*env)->GetFieldID(env, lpCache->clazz, "iPixelType", "B");
- lpCache->dwFlags = (*env)->GetFieldID(env, lpCache->clazz, "dwFlags", "I");
- lpCache->nVersion = (*env)->GetFieldID(env, lpCache->clazz, "nVersion", "S");
- lpCache->nSize = (*env)->GetFieldID(env, lpCache->clazz, "nSize", "S");
- lpCache->cached = 1;
-}
-
-PIXELFORMATDESCRIPTOR *getPIXELFORMATDESCRIPTORFields(JNIEnv *env, jobject lpObject, PIXELFORMATDESCRIPTOR *lpStruct)
-{
- PPIXELFORMATDESCRIPTOR_FID_CACHE lpCache = &PIXELFORMATDESCRIPTORFc;
- if (!lpCache->cached) cachePIXELFORMATDESCRIPTORFids(env, lpObject, lpCache);
- lpStruct->dwDamageMask = (*env)->GetIntField(env, lpObject, lpCache->dwDamageMask);
- lpStruct->dwVisibleMask = (*env)->GetIntField(env, lpObject, lpCache->dwVisibleMask);
- lpStruct->dwLayerMask = (*env)->GetIntField(env, lpObject, lpCache->dwLayerMask);
- lpStruct->bReserved = (*env)->GetByteField(env, lpObject, lpCache->bReserved);
- lpStruct->iLayerType = (*env)->GetByteField(env, lpObject, lpCache->iLayerType);
- lpStruct->cAuxBuffers = (*env)->GetByteField(env, lpObject, lpCache->cAuxBuffers);
- lpStruct->cStencilBits = (*env)->GetByteField(env, lpObject, lpCache->cStencilBits);
- lpStruct->cDepthBits = (*env)->GetByteField(env, lpObject, lpCache->cDepthBits);
- lpStruct->cAccumAlphaBits = (*env)->GetByteField(env, lpObject, lpCache->cAccumAlphaBits);
- lpStruct->cAccumBlueBits = (*env)->GetByteField(env, lpObject, lpCache->cAccumBlueBits);
- lpStruct->cAccumGreenBits = (*env)->GetByteField(env, lpObject, lpCache->cAccumGreenBits);
- lpStruct->cAccumRedBits = (*env)->GetByteField(env, lpObject, lpCache->cAccumRedBits);
- lpStruct->cAccumBits = (*env)->GetByteField(env, lpObject, lpCache->cAccumBits);
- lpStruct->cAlphaShift = (*env)->GetByteField(env, lpObject, lpCache->cAlphaShift);
- lpStruct->cAlphaBits = (*env)->GetByteField(env, lpObject, lpCache->cAlphaBits);
- lpStruct->cBlueShift = (*env)->GetByteField(env, lpObject, lpCache->cBlueShift);
- lpStruct->cBlueBits = (*env)->GetByteField(env, lpObject, lpCache->cBlueBits);
- lpStruct->cGreenShift = (*env)->GetByteField(env, lpObject, lpCache->cGreenShift);
- lpStruct->cGreenBits = (*env)->GetByteField(env, lpObject, lpCache->cGreenBits);
- lpStruct->cRedShift = (*env)->GetByteField(env, lpObject, lpCache->cRedShift);
- lpStruct->cRedBits = (*env)->GetByteField(env, lpObject, lpCache->cRedBits);
- lpStruct->cColorBits = (*env)->GetByteField(env, lpObject, lpCache->cColorBits);
- lpStruct->iPixelType = (*env)->GetByteField(env, lpObject, lpCache->iPixelType);
- lpStruct->dwFlags = (*env)->GetIntField(env, lpObject, lpCache->dwFlags);
- lpStruct->nVersion = (*env)->GetShortField(env, lpObject, lpCache->nVersion);
- lpStruct->nSize = (*env)->GetShortField(env, lpObject, lpCache->nSize);
- return lpStruct;
-}
-
-void setPIXELFORMATDESCRIPTORFields(JNIEnv *env, jobject lpObject, PIXELFORMATDESCRIPTOR *lpStruct)
-{
- PPIXELFORMATDESCRIPTOR_FID_CACHE lpCache = &PIXELFORMATDESCRIPTORFc;
- if (!lpCache->cached) cachePIXELFORMATDESCRIPTORFids(env, lpObject, lpCache);
- (*env)->SetIntField(env, lpObject, lpCache->dwDamageMask, (jint)lpStruct->dwDamageMask);
- (*env)->SetIntField(env, lpObject, lpCache->dwVisibleMask, (jint)lpStruct->dwVisibleMask);
- (*env)->SetIntField(env, lpObject, lpCache->dwLayerMask, (jint)lpStruct->dwLayerMask);
- (*env)->SetByteField(env, lpObject, lpCache->bReserved, (jbyte)lpStruct->bReserved);
- (*env)->SetByteField(env, lpObject, lpCache->iLayerType, (jbyte)lpStruct->iLayerType);
- (*env)->SetByteField(env, lpObject, lpCache->cAuxBuffers, (jbyte)lpStruct->cAuxBuffers);
- (*env)->SetByteField(env, lpObject, lpCache->cStencilBits, (jbyte)lpStruct->cStencilBits);
- (*env)->SetByteField(env, lpObject, lpCache->cDepthBits, (jbyte)lpStruct->cDepthBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAccumAlphaBits, (jbyte)lpStruct->cAccumAlphaBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAccumBlueBits, (jbyte)lpStruct->cAccumBlueBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAccumGreenBits, (jbyte)lpStruct->cAccumGreenBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAccumRedBits, (jbyte)lpStruct->cAccumRedBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAccumBits, (jbyte)lpStruct->cAccumBits);
- (*env)->SetByteField(env, lpObject, lpCache->cAlphaShift, (jbyte)lpStruct->cAlphaShift);
- (*env)->SetByteField(env, lpObject, lpCache->cAlphaBits, (jbyte)lpStruct->cAlphaBits);
- (*env)->SetByteField(env, lpObject, lpCache->cBlueShift, (jbyte)lpStruct->cBlueShift);
- (*env)->SetByteField(env, lpObject, lpCache->cBlueBits, (jbyte)lpStruct->cBlueBits);
- (*env)->SetByteField(env, lpObject, lpCache->cGreenShift, (jbyte)lpStruct->cGreenShift);
- (*env)->SetByteField(env, lpObject, lpCache->cGreenBits, (jbyte)lpStruct->cGreenBits);
- (*env)->SetByteField(env, lpObject, lpCache->cRedShift, (jbyte)lpStruct->cRedShift);
- (*env)->SetByteField(env, lpObject, lpCache->cRedBits, (jbyte)lpStruct->cRedBits);
- (*env)->SetByteField(env, lpObject, lpCache->cColorBits, (jbyte)lpStruct->cColorBits);
- (*env)->SetByteField(env, lpObject, lpCache->iPixelType, (jbyte)lpStruct->iPixelType);
- (*env)->SetIntField(env, lpObject, lpCache->dwFlags, (jint)lpStruct->dwFlags);
- (*env)->SetShortField(env, lpObject, lpCache->nVersion, (jshort)lpStruct->nVersion);
- (*env)->SetShortField(env, lpObject, lpCache->nSize, (jshort)lpStruct->nSize);
-}
-
diff --git a/bundles/org.eclipse.swt.opengl/win32/gl_library/structs.h b/bundles/org.eclipse.swt.opengl/win32/gl_library/structs.h
deleted file mode 100644
index 63f8b7b109..0000000000
--- a/bundles/org.eclipse.swt.opengl/win32/gl_library/structs.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-#include <windows.h>
-
-GLYPHMETRICSFLOAT *getGLYPHMETRICSFLOATFields(JNIEnv *env, jobject lpObject, GLYPHMETRICSFLOAT *lpStruct);
-void setGLYPHMETRICSFLOATFields(JNIEnv *env, jobject lpObject, GLYPHMETRICSFLOAT *lpStruct);
-
-LAYERPLANEDESCRIPTOR *getLAYERPLANEDESCRIPTORFields(JNIEnv *env, jobject lpObject, LAYERPLANEDESCRIPTOR *lpStruct);
-void setLAYERPLANEDESCRIPTORFields(JNIEnv *env, jobject lpObject, LAYERPLANEDESCRIPTOR *lpStruct);
-
-POINTFLOAT *getPOINTFLOATFields(JNIEnv *env, jobject lpObject, POINTFLOAT *lpStruct);
-void setPOINTFLOATFields(JNIEnv *env, jobject lpObject, POINTFLOAT *lpStruct);
-
-PIXELFORMATDESCRIPTOR *getPIXELFORMATDESCRIPTORFields(JNIEnv *env, jobject lpObject, PIXELFORMATDESCRIPTOR *lpStruct);
-void setPIXELFORMATDESCRIPTORFields(JNIEnv *env, jobject lpObject, PIXELFORMATDESCRIPTOR *lpStruct);
-
diff --git a/bundles/org.eclipse.swt.opengl/win32/gl_library/swt.rc b/bundles/org.eclipse.swt.opengl/win32/gl_library/swt.rc
deleted file mode 100644
index 68b7074163..0000000000
--- a/bundles/org.eclipse.swt.opengl/win32/gl_library/swt.rc
+++ /dev/null
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-
-#include "windows.h"
-
-VS_VERSION_INFO VERSIONINFO
- PRODUCTVERSION 0,0,0,0
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x40000L
- FILETYPE 0x2L
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904b0"
- BEGIN
- VALUE "CompanyName", "IBM Corporation\0"
- VALUE "FileDescription", "Standard Widget Toolkit\0"
- VALUE "InternalName", "SWT\0"
- VALUE "LegalCopyright", "© Copyright 2000, 2003 IBM Corp. All Rights Reserved.\0"
- VALUE "OriginalFilename", SWT_ORG_FILENAME
- VALUE "ProductName", "\0"
- VALUE "ProductVersion", "0,0,0,0\0"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1200
- END
-END
-
-/* SHMENUBAR Pocket PC
- * ID_MENU SHMENUBAR DISCARDABLE
- * BEGIN
- * ID_MENU, 1,
- * IMAGE_NONE, ID_MENU_ITEM1, 0, 0,
- * 0, 0, 0,
- * END
- * ID_MENU MENU DISCARDABLE
- * BEGIN
- * MENUITEM "", ID_MENU_ITEM1
- * END
- */
-100 RCDATA DISCARDABLE
-BEGIN
- 100, 1,
- -2, 101, 0, 0,
- 0, 0, 0,
-END
-
-100 MENU DISCARDABLE
-BEGIN
- MENUITEM "", 101
-END \ No newline at end of file
diff --git a/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/GLContext.java b/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/GLContext.java
deleted file mode 100644
index b2863df75c..0000000000
--- a/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/GLContext.java
+++ /dev/null
@@ -1,313 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.opengl.internal.win32.*;
-import org.eclipse.swt.internal.win32.*;
-
-/**
- * Instances of <code>GLContext</code> are used to draw on swt <code>Drawable</code>s
- * through invocations of provided OpenGL functions.
- * <p>
- * Application code must explicitly invoke the <code>GLContext.dispose ()</code>
- * method to release the operating system resources managed by each instance
- * when those instances are no longer required. This is <em>particularly</em>
- * important on Windows95 and Windows98 where the operating system has a limited
- * number of device contexts available.
- * </p>
- */
-public class GLContext {
- int handle;
- int hDC;
- GCData data;
- Drawable drawable;
- int selectBufferPtr = 0;
-
- static final int MSB_FIRST = 1;
- static final int LSB_FIRST = 2;
-
- /**
- * Constructs a new instance of this class which has been
- * configured to draw on the specified drawable.
- * <p>
- * You must dispose the <code>GLContext</code> when it is no longer required.
- * </p>
- *
- * @param drawable the drawable to draw on
- * @exception IllegalArgumentException <ul>
- * <li>ERROR_NULL_ARGUMENT - if the drawable is null</li>
- * </ul>
- * @exception SWTError <ul>
- * <li>ERROR_NO_HANDLES if a handle could not be obtained for gc creation</li>
- * <li>ERROR_UNSUPPORTED_DEPTH - if the current display depth is not supported</li>
- * </ul>
- */
- public GLContext (Drawable drawable) {
- if (drawable == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
- this.drawable = drawable;
- this.data = new GCData ();
- hDC = drawable.internal_new_GC (data);
- if (hDC == 0) SWT.error (SWT.ERROR_NO_HANDLES);
- int bits = OS.GetDeviceCaps (hDC, OS.BITSPIXEL);
- int planes = OS.GetDeviceCaps (hDC, OS.PLANES);
- int depth = bits * planes;
- PIXELFORMATDESCRIPTOR pfd = new PIXELFORMATDESCRIPTOR ();
- pfd.nSize = (short) PIXELFORMATDESCRIPTOR.sizeof;
- pfd.nVersion = 1;
- pfd.dwFlags =
- WGL.PFD_DRAW_TO_WINDOW
- | WGL.PFD_SUPPORT_OPENGL
- | WGL.PFD_DOUBLEBUFFER;
- pfd.dwLayerMask = WGL.PFD_MAIN_PLANE;
- pfd.iPixelType = (byte) WGL.PFD_TYPE_RGBA;
- pfd.cColorBits = (byte) depth;
- pfd.cDepthBits = (byte) depth;
- pfd.cAccumBits = 0;
- pfd.cStencilBits = 0;
- int pixelFormat = WGL.ChoosePixelFormat (hDC, pfd);
- if (pixelFormat == 0) {
- drawable.internal_dispose_GC (hDC, data);
- SWT.error (SWT.ERROR_UNSUPPORTED_DEPTH);
- }
- if (!WGL.SetPixelFormat (hDC, pixelFormat, pfd)) {
- drawable.internal_dispose_GC (hDC, data);
- SWT.error (SWT.ERROR_UNSUPPORTED_DEPTH);
- }
- handle = WGL.wglCreateContext (hDC);
- if (handle == 0) SWT.error (SWT.ERROR_NO_HANDLES);
- }
-
- public ImageData convertImageData (ImageData source) {
- PaletteData palette = new PaletteData (0xff0000, 0xff00, 0xff);
- ImageData newSource = new ImageData (source.width, source.height, 24, palette);
-
- ImageDataUtil.blit (
- 1,
- source.data,
- source.depth,
- source.bytesPerLine,
- (source.depth != 16) ? MSB_FIRST : LSB_FIRST,
- 0,
- 0,
- source.width,
- source.height,
- source.palette.redMask,
- source.palette.greenMask,
- source.palette.blueMask,
- 255,
- null,
- 0,
- 0,
- 0,
- newSource.data,
- newSource.depth,
- newSource.bytesPerLine,
- (newSource.depth != 16) ? MSB_FIRST : LSB_FIRST,
- 0,
- 0,
- newSource.width,
- newSource.height,
- newSource.palette.redMask,
- newSource.palette.greenMask,
- newSource.palette.blueMask,
- false,
- true);
-
- return newSource;
- }
-
- /**
- * Disposes of the operating system resources associated with
- * the receiver. Applications must dispose of all <code>GLContext</code>s
- * that they allocate.
- */
- public void dispose () {
- if (handle == 0) return;
- if (WGL.wglGetCurrentContext () == handle) {
- WGL.wglMakeCurrent (0, 0);
- }
- WGL.wglDeleteContext (handle);
- handle = 0;
-
- // drawable may be disposed
- try {
- drawable.internal_dispose_GC (hDC, data);
- } catch (SWTException e) {
- }
- int hHeap = OS.GetProcessHeap ();
- if (selectBufferPtr != 0) {
- OS.HeapFree (hHeap, 0, selectBufferPtr);
- }
- hDC = 0;
- drawable = null;
- data.device = null;
- data = null;
- }
-
- public int[] getSelectBuffer (int selectBufferPtr, int[] selectBuffer) {
- OS.MoveMemory (selectBuffer, selectBufferPtr, selectBuffer.length * 4);
- return selectBuffer;
- }
-
- public int getSelectBufferPtr (int[] selectBuffer) {
- if (selectBufferPtr == 0) {
- int hHeap = OS.GetProcessHeap ();
- selectBufferPtr =
- OS.HeapAlloc (
- hHeap,
- OS.HEAP_ZERO_MEMORY,
- selectBuffer.length * 4);
- }
- OS.MoveMemory (selectBufferPtr, selectBuffer, selectBuffer.length * 4);
- return selectBufferPtr;
- }
-
- /**
- * Returns a boolean indicating whether the receiver is the current
- * <code>GLContext</code>.
- *
- * @return true if the receiver is the current <code>GLContext</code>,
- * false otherwise
- * @exception SWTError <ul>
- * <li>ERROR_GRAPHIC_DISPOSED if the receiver is disposed</li>
- * </ul>
- */
- public boolean isCurrent () {
- if (isDisposed ()) SWT.error (SWT.ERROR_GRAPHIC_DISPOSED);
- return WGL.wglGetCurrentContext () == handle;
- }
-
- /**
- * Returns a boolean indicating whether the <code>GLContext</code> has been
- * disposed.
- * <p>
- * This method gets the dispose state for the <code>GLContext</code>.
- * When a <code>GLContext</code> has been disposed, it is an error to
- * invoke any other method using the <code>GLContext</code>.
- *
- * @return true if the <code>GLContext</code> is disposed, false otherwise
- */
- public boolean isDisposed () {
- return handle == 0;
- }
-
- /**
- * Loads the specified bitmap font.
- *
- * @param fdata
- * @param device
- * @param base
- * @param first
- * @param count
- */
- public void loadBitmapFont (FontData fdata, Device device, int base, int first, int count) {
- Font font = new Font (device, fdata);
- int oldFont = OS.SelectObject (hDC, font.handle);
- WGL.wglUseFontBitmaps (hDC, first, count, base);
- OS.SelectObject (hDC, oldFont);
- font.dispose ();
- }
-
- /**
- * Loads the specified outline font.
- *
- * @param fdata
- * @param device
- * @param base
- * @param first
- * @param count
- * @param deviation
- * @param extrusion
- * @param format
- * @param lpgmf
- */
- public void loadOutlineFont (FontData fdata, Device device, int base, int first,
- int count, float deviation, float extrusion, int format, GLYPHMETRICSFLOAT[] lpgmf) {
- int ptr = 0;
- int hHeap = 0;
- if (lpgmf != null && lpgmf.length == count + 1) {
- hHeap = OS.GetProcessHeap ();
- ptr =
- OS.HeapAlloc (
- hHeap,
- OS.HEAP_ZERO_MEMORY,
- count * GLYPHMETRICSFLOAT.sizeof);
- }
-
- if (format == GL.GL_POLYGON) {
- format = WGL.WGL_FONT_POLYGONS;
- }
- if (format == GL.GL_LINE) {
- format = WGL.WGL_FONT_LINES;
- }
-
- Font font = new Font (device, fdata);
- int oldFont = OS.SelectObject (hDC, font.handle);
- WGL.wglUseFontOutlines (hDC, first, count, base, deviation, extrusion, format, ptr);
- OS.SelectObject (hDC, oldFont);
- font.dispose ();
- if (ptr != 0) {
- int sizeof = GLYPHMETRICSFLOAT.sizeof;
- for (int i = 0; i < lpgmf.length; i++) {
- WGL.MoveMemory (lpgmf [i], ptr + (sizeof * i), sizeof);
- };
- OS.HeapFree (hHeap, 0, ptr);
- }
- }
-
- /**
- * Resizes the receiver.
- *
- * @param x
- * @param y
- * @param width
- * @param height
- */
- public void resize (int x, int y, int width, int height) {
- if (height == 0) height = 1;
- GL.glViewport (0, 0, width, height);
- float nRange = 200.0f;
- GL.glMatrixMode (GL.GL_PROJECTION);
- GL.glLoadIdentity ();
- // load projection
- GLU.gluPerspective (45.0f, (float) width / (float) height, 0.1f, 100.0f);
- GL.glMatrixMode (GL.GL_MODELVIEW);
- GL.glLoadIdentity ();
- }
-
- /**
- * Sets the receiver to be the current <code>GLContext</code>.
- *
- * @exception SWTError <ul>
- * <li>ERROR_GRAPHIC_DISPOSED if the receiver is disposed</li>
- * </ul>
- */
- public void setCurrent () {
- if (isDisposed ()) SWT.error (SWT.ERROR_GRAPHIC_DISPOSED);
- if (WGL.wglGetCurrentContext () == handle) return;
- WGL.wglMakeCurrent (hDC, handle);
- }
-
- /**
- * Swaps the receiver's buffers.
- *
- * @exception SWTError <ul>
- * <li>ERROR_GRAPHIC_DISPOSED if the receiver is disposed</li>
- * </ul>
- */
- public void swapBuffers () {
- if (isDisposed ()) SWT.error (SWT.ERROR_GRAPHIC_DISPOSED);
- WGL.SwapBuffers (hDC);
- }
-}
diff --git a/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/LAYERPLANEDESCRIPTOR.java b/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/LAYERPLANEDESCRIPTOR.java
deleted file mode 100644
index ec410a1f54..0000000000
--- a/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/LAYERPLANEDESCRIPTOR.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.internal.win32;
-
-
-public class LAYERPLANEDESCRIPTOR {
- public short nSize;
- public short nVersion;
- public int dwFlags;
- public byte iPixelType;
- public byte cColorBits;
- public byte cRedBits;
- public byte cRedShift;
- public byte cGreenBits;
- public byte cGreenShift;
- public byte cBlueBits;
- public byte cBlueShift;
- public byte cAlphaBits;
- public byte cAlphaShift;
- public byte cAccumBits;
- public byte cAccumRedBits;
- public byte cAccumGreenBits;
- public byte cAccumBlueBits;
- public byte cAccumAlphaBits;
- public byte cDepthBits;
- public byte cStencilBits;
- public byte cAuxBuffers;
- public byte iLayerPlane;
- public byte bReserved;
- public int crTransparent;
- public static final int sizeof = 36;
-}
diff --git a/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/PIXELFORMATDESCRIPTOR.java b/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/PIXELFORMATDESCRIPTOR.java
deleted file mode 100644
index 254f868f85..0000000000
--- a/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/PIXELFORMATDESCRIPTOR.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.internal.win32;
-
-
-public class PIXELFORMATDESCRIPTOR {
- public short nSize;
- public short nVersion;
- public int dwFlags;
- public byte iPixelType;
- public byte cColorBits;
- public byte cRedBits;
- public byte cRedShift;
- public byte cGreenBits;
- public byte cGreenShift;
- public byte cBlueBits;
- public byte cBlueShift;
- public byte cAlphaBits;
- public byte cAlphaShift;
- public byte cAccumBits;
- public byte cAccumRedBits;
- public byte cAccumGreenBits;
- public byte cAccumBlueBits;
- public byte cAccumAlphaBits;
- public byte cDepthBits;
- public byte cStencilBits;
- public byte cAuxBuffers;
- public byte iLayerType;
- public byte bReserved;
- public int dwLayerMask;
- public int dwVisibleMask;
- public int dwDamageMask;
- public static final int sizeof = 40;
-}
diff --git a/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/POINTFLOAT.java b/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/POINTFLOAT.java
deleted file mode 100644
index b0601f1953..0000000000
--- a/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/POINTFLOAT.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.internal.win32;
-
-
-public class POINTFLOAT {
- public float x;
- public float y;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/WGL.java b/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/WGL.java
deleted file mode 100644
index 000f528d2d..0000000000
--- a/bundles/org.eclipse.swt.opengl/win32/org/eclipse/swt/opengl/internal/win32/WGL.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.internal.win32;
-
-
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.opengl.Library;
-import org.eclipse.swt.internal.win32.OS;
-
-public class WGL {
-
-static {
- Library.loadLibrary("gl");
-}
-
-public static final int WGL_FONT_LINES = 0;
-public static final int WGL_FONT_POLYGONS = 1;
-
-/* LAYERPLANEDESCRIPTOR flags */
-public static final int LPD_DOUBLEBUFFER = 0x00000001;
-public static final int LPD_STEREO = 0x00000002;
-public static final int LPD_SUPPORT_GDI = 0x00000010;
-public static final int LPD_SUPPORT_OPENGL = 0x00000020;
-public static final int LPD_SHARE_DEPTH = 0x00000040;
-public static final int LPD_SHARE_STENCIL = 0x00000080;
-public static final int LPD_SHARE_ACCUM = 0x00000100;
-public static final int LPD_SWAP_EXCHANGE = 0x00000200;
-public static final int LPD_SWAP_COPY = 0x00000400;
-public static final int LPD_TRANSPARENT = 0x00001000;
-
-public static final int LPD_TYPE_RGBA = 0;
-public static final int LPD_TYPE_COLORINDEX = 1;
-
-/* wglSwapLayerBuffers flags */
-public static final int WGL_SWAP_MAIN_PLANE = 0x00000001;
-public static final int WGL_SWAP_OVERLAY1 = 0x00000002;
-public static final int WGL_SWAP_OVERLAY2 = 0x00000004;
-public static final int WGL_SWAP_OVERLAY3 = 0x00000008;
-public static final int WGL_SWAP_OVERLAY4 = 0x00000010;
-public static final int WGL_SWAP_OVERLAY5 = 0x00000020;
-public static final int WGL_SWAP_OVERLAY6 = 0x00000040;
-public static final int WGL_SWAP_OVERLAY7 = 0x00000080;
-public static final int WGL_SWAP_OVERLAY8 = 0x00000100;
-public static final int WGL_SWAP_OVERLAY9 = 0x00000200;
-public static final int WGL_SWAP_OVERLAY10 = 0x00000400;
-public static final int WGL_SWAP_OVERLAY11 = 0x00000800;
-public static final int WGL_SWAP_OVERLAY12 = 0x00001000;
-public static final int WGL_SWAP_OVERLAY13 = 0x00002000;
-public static final int WGL_SWAP_OVERLAY14 = 0x00004000;
-public static final int WGL_SWAP_OVERLAY15 = 0x00008000;
-public static final int WGL_SWAP_UNDERLAY1 = 0x00010000;
-public static final int WGL_SWAP_UNDERLAY2 = 0x00020000;
-public static final int WGL_SWAP_UNDERLAY3 = 0x00040000;
-public static final int WGL_SWAP_UNDERLAY4 = 0x00080000;
-public static final int WGL_SWAP_UNDERLAY5 = 0x00100000;
-public static final int WGL_SWAP_UNDERLAY6 = 0x00200000;
-public static final int WGL_SWAP_UNDERLAY7 = 0x00400000;
-public static final int WGL_SWAP_UNDERLAY8 = 0x00800000;
-public static final int WGL_SWAP_UNDERLAY9 = 0x01000000;
-public static final int WGL_SWAP_UNDERLAY10 = 0x02000000;
-public static final int WGL_SWAP_UNDERLAY11 = 0x04000000;
-public static final int WGL_SWAP_UNDERLAY12 = 0x08000000;
-public static final int WGL_SWAP_UNDERLAY13 = 0x10000000;
-public static final int WGL_SWAP_UNDERLAY14 = 0x20000000;
-public static final int WGL_SWAP_UNDERLAY15 = 0x40000000;
-
-/* pixel types */
-public static final int PFD_TYPE_RGBA = 0;
-public static final int PFD_TYPE_COLORINDEX = 1;
-
-/* layer types */
-public static final int PFD_MAIN_PLANE = 0;
-public static final int PFD_OVERLAY_PLANE = 1;
-public static final int PFD_UNDERLAY_PLANE = (-1);
-
-/* PIXELFORMATDESCRIPTOR flags */
-public static final int PFD_DOUBLEBUFFER = 0x00000001;
-public static final int PFD_STEREO = 0x00000002;
-public static final int PFD_DRAW_TO_WINDOW = 0x00000004;
-public static final int PFD_DRAW_TO_BITMAP = 0x00000008;
-public static final int PFD_SUPPORT_GDI = 0x00000010;
-public static final int PFD_SUPPORT_OPENGL = 0x00000020;
-public static final int PFD_GENERIC_FORMAT = 0x00000040;
-public static final int PFD_NEED_PALETTE = 0x00000080;
-public static final int PFD_NEED_SYSTEM_PALETTE = 0x00000100;
-public static final int PFD_SWAP_EXCHANGE = 0x00000200;
-public static final int PFD_SWAP_COPY = 0x00000400;
-public static final int PFD_SWAP_LAYER_BUFFERS = 0x00000800;
-public static final int PFD_GENERIC_ACCELERATED = 0x00001000;
-public static final int PFD_SUPPORT_DIRECTDRAW = 0x00002000;
-
-/* PIXELFORMATDESCRIPTOR flags for use in ChoosePixelFormat only */
-public static final int PFD_DEPTH_DONTCARE = 0x20000000;
-public static final int PFD_DOUBLEBUFFER_DONTCARE = 0x40000000;
-public static final int PFD_STEREO_DONTCARE = 0x80000000;
-
-public static final native int ChoosePixelFormat(int hdc, PIXELFORMATDESCRIPTOR ppfd);
-public static final native int DescribePixelFormat(int hdc, int iPixelFormat, int nBytes, PIXELFORMATDESCRIPTOR ppfd);
-public static final native int GetPixelFormat(int hdc);
-public static final native boolean SetPixelFormat(int hdc, int iPixelFormat, PIXELFORMATDESCRIPTOR ppfd);
-public static final native boolean SwapBuffers(int hdc);
-public static final native boolean wglCopyContext(int hglrcSrc, int hglrcDst, int mask);
-public static final native int wglCreateContext(int hdc);
-public static final native int wglCreateLayerContext(int hdc, int iLayerPlane);
-public static final native boolean wglDeleteContext(int hglrc);
-public static final native int wglGetCurrentContext();
-public static final native int wglGetCurrentDC();
-public static final native int wglGetProcAddress(byte[] lpszProc);
-public static final native boolean wglMakeCurrent(int hdc, int hglrc);
-public static final native boolean wglShareLists(int hglrc1, int hglrc2);
-public static final native boolean wglUseFontBitmapsA(int hdc, int first, int count, int listBase);
-public static final native boolean wglUseFontBitmapsW(int hdc, int first, int count, int listBase);
-public static final boolean wglUseFontBitmaps(int hdc, int first, int count, int listBase) {
- if (OS.IsUnicode) return wglUseFontBitmapsW(hdc, first, count, listBase);
- return wglUseFontBitmapsA(hdc, first, count, listBase);
-}
-public static final native boolean wglUseFontOutlinesA(int hdc, int first, int count, int listBase, float deviation, float extrusion, int format, int lpgmf);
-public static final native boolean wglUseFontOutlinesW(int hdc, int first, int count, int listBase, float deviation, float extrusion, int format, int lpgmf);
-public static final boolean wglUseFontOutlines(int hdc, int first, int count, int listBase, float deviation, float extrusion, int format, int lpgmf) {
- if (OS.IsUnicode) return wglUseFontOutlinesW(hdc, first, count, listBase, deviation, extrusion, format, lpgmf);
- return wglUseFontOutlinesA(hdc, first, count, listBase, deviation, extrusion, format, lpgmf);
-}
-public static final native boolean wglDescribeLayerPlane(int hdc, int iPixelFormat, int iLayerPlane, int nBytes, LAYERPLANEDESCRIPTOR plpd);
-public static final native int wglSetLayerPaletteEntries(int hdc, int iLayerPlane, int iStart, int cEntries, int[] pcr);
-public static final native int wglGetLayerPaletteEntries(int hdc, int iLayerPlane, int iStart, int cEntries, int[] pcr);
-public static final native boolean wglRealizeLayerPalette(int hdc, int iLayerPlane, boolean bRealize);
-public static final native boolean wglSwapLayerBuffers(int hdc, int fuPlanes);
-public static final void MoveMemory (GLYPHMETRICSFLOAT Destination, int Source, int Length) {
- if (OS.IsUnicode) MoveMemoryW (Destination, Source, Length);
- else MoveMemoryA(Destination, Source, Length);
-}
-public static final native void MoveMemoryA (GLYPHMETRICSFLOAT Destination, int Source, int Length);
-public static final native void MoveMemoryW (GLYPHMETRICSFLOAT Destination, int Source, int Length);
-}
diff --git a/bundles/org.eclipse.swt.tools/.classpath b/bundles/org.eclipse.swt.tools/.classpath
deleted file mode 100644
index 8fcfc73636..0000000000
--- a/bundles/org.eclipse.swt.tools/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="src" path="Preprocessor"/>
- <classpathentry kind="src" path="JNI Generation"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/bundles/org.eclipse.swt.tools/.cvsignore b/bundles/org.eclipse.swt.tools/.cvsignore
deleted file mode 100644
index ba077a4031..0000000000
--- a/bundles/org.eclipse.swt.tools/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin
diff --git a/bundles/org.eclipse.swt.tools/.project b/bundles/org.eclipse.swt.tools/.project
deleted file mode 100644
index 8dd524dd69..0000000000
--- a/bundles/org.eclipse.swt.tools/.project
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.swt.tools</name>
- <comment></comment>
- <projects>
- <project>org.apache.ant</project>
- <project>org.eclipse.swt</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ClassData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ClassData.java
deleted file mode 100644
index 5ea91f7434..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ClassData.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-public class ClassData extends ItemData {
-
- Class clazz;
-
-public ClassData(Class clazz, String str) {
- super(str);
- this.clazz = clazz;
-}
-
-public static String[] getAllFlags() {
- return new String[]{"no_gen"};
-}
-
-public Class getClazz() {
- return clazz;
-}
-
-public String getExclude() {
- return (String)getParam("exclude");
-}
-
-public void setExclude(String str) {
- setParam("exclude", str);
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupClass.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupClass.java
deleted file mode 100644
index 7ff95b3915..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupClass.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.io.*;
-import java.util.*;
-
-public abstract class CleanupClass extends JNIGenerator {
-
-String classSourcePath;
-String[] sourcePath;
-String classSource;
-Hashtable files;
-int usedCount, unusedCount;
-
-void loadClassSource() {
- if (classSourcePath == null) return;
- File f = new File(classSourcePath);
- classSource = loadFile(f);
-}
-
-void loadFiles () {
- // BAD - holds on to a lot of memory
- if (sourcePath == null) return;
- files = new Hashtable ();
- for (int i = 0; i < sourcePath.length; i++) {
- File file = new File(sourcePath[i]);
- if (file.exists()) {
- if (!file.isDirectory()) {
- if (file.getAbsolutePath().endsWith(".java")) {
- files.put(file, loadFile(file));
- }
- } else {
- loadDirectory(file);
- }
- }
- }
-}
-
-String loadFile (File file) {
- try {
- FileReader fr = new FileReader(file);
- BufferedReader br = new BufferedReader(fr);
- StringBuffer str = new StringBuffer();
- char[] buffer = new char[1024];
- int read;
- while ((read = br.read(buffer)) != -1) {
- str.append(buffer, 0, read);
- }
- fr.close();
- return str.toString();
- } catch (IOException e) {
- e.printStackTrace(System.out);
- }
- return "";
-}
-
-void loadDirectory(File file) {
- String[] entries = file.list();
- for (int i = 0; i < entries.length; i++) {
- String entry = entries[i];
- File f = new File(file, entry);
- if (!f.isDirectory()) {
- if (f.getAbsolutePath().endsWith(".java")) {
- files.put(f, loadFile(f));
- }
- } else {
- loadDirectory(f);
- }
- }
-}
-
-public void generate(Class clazz) {
- loadFiles ();
- loadClassSource();
-}
-
-public void setSourcePath(String[] sourcePath) {
- this.sourcePath = sourcePath;
- files = null;
-}
-
-public void setClassSourcePath(String classSourcePath) {
- this.classSourcePath = classSourcePath;
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupConstants.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupConstants.java
deleted file mode 100644
index dcf8fd4407..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupConstants.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.lang.reflect.*;
-import java.util.*;
-
-public class CleanupConstants extends CleanupClass {
-
-String getFieldValue(Field field) {
- String name = field.getName();
- int index = 0;
- while (true) {
- index = classSource.indexOf(name, index + 1);
- if (index == -1) return null;
- int equalsIndex = classSource.indexOf("=", index);
- if (classSource.substring(index + name.length(), equalsIndex).trim().length() == 0) {
- int semiIndex = classSource.indexOf(";", equalsIndex);
- return classSource.substring(equalsIndex + 1, semiIndex).trim();
- }
- }
-}
-
-public void generate(Class clazz) {
- unusedCount = usedCount = 0;
- super.generate(clazz);
- Field[] fields = clazz.getDeclaredFields();
- generate(fields);
- output("used=" + usedCount + " unused=" + unusedCount + " total=" + (unusedCount + usedCount));
-}
-
-public void generate(Field[] fields) {
- sort(fields);
- for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
- if ((field.getModifiers() & Modifier.FINAL) == 0) continue;
- generate(field);
- }
-}
-
-public void generate(Field field) {
- String name = field.getName();
- Enumeration keys = files.keys();
- while (keys.hasMoreElements()) {
- Object key = keys.nextElement();
- String str = (String)files.get(key);
- if (str.indexOf(name) != -1) {
- int modifiers = field.getModifiers();
- String modifiersStr = Modifier.toString(modifiers);
- output("\t");
- output(modifiersStr);
- if (modifiersStr.length() > 0) output(" ");
- output(getTypeSignature3(field.getType()));
- output(" " );
- output(field.getName());
- output(" = ");
- output(getFieldValue(field));
- output(";");
- outputDelimiter();
- usedCount++;
- return;
- }
- }
- unusedCount++;
-// output("NOT USED=" + field.toString() + " \n");
-}
-
-public static void main(String[] args) {
- if (args.length < 2) {
- System.out.println("Usage: java CleanupConstants <OS className> <src path> <class source>");
- return;
- }
- try {
- CleanupConstants gen = new CleanupConstants();
- String clazzName = args[0];
- String[] sourcePath = new String[]{args[1]};
- String classSource = args[2];
-// clazzName = "org.eclipse.swt.internal.carbon.OS";
-// sourcePath = new String[]{
-// "/Users/ssq/Desktop/eclipse/workspace/org.eclipse.swt/Eclipse SWT/carbon/",
-// "/Users/ssq/Desktop/eclipse/workspace/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/MacUtil.java",
-// "/Users/ssq/Desktop/eclipse/workspace/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd",
-// };
-// classSource = "/Users/ssq/Desktop/eclipse/workspace/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java";
- Class clazz = Class.forName(clazzName);
- gen.setSourcePath(sourcePath);
- gen.setClassSourcePath(classSource);
- gen.generate(clazz);
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupNatives.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupNatives.java
deleted file mode 100644
index dab69df6ee..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/CleanupNatives.java
+++ /dev/null
@@ -1,132 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.util.*;
-import java.lang.reflect.*;
-
-public class CleanupNatives extends CleanupClass {
-
-public CleanupNatives() {
-}
-
-String[] getArgNames(Method method) {
- int n_args = method.getParameterTypes().length;
- if (n_args == 0) return new String[0];
- String name = method.getName();
- String params = "";
- int index = 0;
- while (true) {
- index = classSource.indexOf(name, index + 1);
- if (index == -1) return null;
- int parantesesStart = classSource.indexOf("(", index);
- if (classSource.substring(index + name.length(), parantesesStart).trim().length() == 0) {
- int parantesesEnd = classSource.indexOf(")", parantesesStart);
- params = classSource.substring(parantesesStart + 1, parantesesEnd);
- break;
- }
- }
- String[] names = new String[n_args];
- StringTokenizer tk = new StringTokenizer(params, ",");
- for (int i = 0; i < names.length; i++) {
- String s = tk.nextToken().trim();
- StringTokenizer tk1 = new StringTokenizer(s, " ");
- String s1 = null;
- while (tk1.hasMoreTokens()) {
- s1 = tk1.nextToken();
- }
- names[i] = s1.trim();
- }
- return names;
-}
-
-public void generate(Class clazz) {
- unusedCount = usedCount = 0;
- super.generate(clazz);
- Method[] methods = clazz.getDeclaredMethods();
- generate(methods);
- output("used=" + usedCount + " unused=" + unusedCount + " total=" + (unusedCount + usedCount));
-}
-
-public void generate(Method[] methods) {
- sort(methods);
- for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
- if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
- generate(method);
- }
-}
-
-public void generate(Method method) {
- String name = method.getName();
- Enumeration keys = files.keys();
- while (keys.hasMoreElements()) {
- Object key = keys.nextElement();
- String str = (String)files.get(key);
- if (str.indexOf(name) != -1) {
- int modifiers = method.getModifiers();
- Class clazz = method.getDeclaringClass();
- String modifiersStr = Modifier.toString(modifiers);
- output(modifiersStr);
- if (modifiersStr.length() > 0) output(" ");
- output(getTypeSignature3(method.getReturnType()));
- output(" " );
- output(method.getName());
- output("(");
- Class[] paramTypes = method.getParameterTypes();
- String[] paramNames = getArgNames(method);
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- if (i != 0) output(", ");
- String sig = getTypeSignature3(paramType);
- if (clazz.getPackage().equals(paramType.getPackage())) sig = getClassName(paramType);
- output(sig);
- output(" ");
- output(paramNames[i]);
- }
- output(");");
- outputDelimiter();
- usedCount++;
- return;
- }
- }
- unusedCount++;
-// output("NOT USED=" + method.toString() + "\n");
-}
-
-public static void main(String[] args) {
-// args = new String[]{"a", "b", "c"};
- if (args.length < 2) {
- System.out.println("Usage: java CleanupNatives <OS className> <src path> <class source>");
- return;
- }
- try {
- CleanupNatives gen = new CleanupNatives();
- String clazzName = args[0];
- String[] sourcePath = new String[]{args[1]};
- String classSource = args[2];
-// clazzName = "org.eclipse.swt.internal.gtk.OS";
-// sourcePath = new String[]{
-// "/bluebird/teamswt/ssq/eclipse-gtk/workspace/org.eclipse.swt/Eclipse SWT/gtk/",
-// "/bluebird/teamswt/ssq/eclipse-gtk/workspace/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/",
-// };
-// classSource = "/bluebird/teamswt/ssq/eclipse-gtk/workspace/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java";
- Class clazz = Class.forName(clazzName);
- gen.setSourcePath(sourcePath);
- gen.setClassSourcePath(classSource);
- gen.generate(clazz);
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ConstantsGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ConstantsGenerator.java
deleted file mode 100644
index 68ca6acd16..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ConstantsGenerator.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.lang.reflect.*;
-
-public class ConstantsGenerator extends JNIGenerator {
-
-public void generate(Class clazz) {
- Field[] fields = clazz.getDeclaredFields();
- generate(fields);
-}
-
-public void generate(Field[] fields) {
- sort(fields);
- output("int main() {");
- outputDelimiter();
- for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
- if ((field.getModifiers() & Modifier.FINAL) == 0) continue;
- generate(field);
- }
- output("}");
- outputDelimiter();
-}
-
-public void generate(Field field) {
- Class type = field.getType();
- output("\tprintf(\"public static final ");
- output(getTypeSignature3(field));
- output(" ");
- output(field.getName());
- output(" = ");
- if (type == String.class || type == byte[].class) output("\"%s\"");
- else output("0x%x");
- output(";\\n\", ");
- output(field.getName());
- output(");");
- outputDelimiter();
-}
-
-public static void main(String[] args) {
- if (args.length < 1) {
- System.out.println("Usage: java ConstantsGenerator <className1> <className2>");
- return;
- }
- try {
- ConstantsGenerator gen = new ConstantsGenerator();
- for (int i = 0; i < args.length; i++) {
- String clazzName = args[i];
- Class clazz = Class.forName(clazzName);
- gen.generate(clazz);
- }
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/FieldData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/FieldData.java
deleted file mode 100644
index a1a4aa1f16..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/FieldData.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.lang.reflect.Field;
-
-public class FieldData extends ItemData {
-
- Field field;
-
-public FieldData(Field field, String str) {
- super(str);
- this.field = field;
-}
-
-public static String[] getAllFlags() {
- return new String[]{"no_gen", "no_wince"};
-}
-
-public String getAccessor() {
- return (String)getParam("accessor");
-}
-
-public String getCast() {
- String cast = ((String)getParam("cast")).trim();
- if (cast.length() > 0) {
- if (!cast.startsWith("(")) cast = "(" + cast;
- if (!cast.endsWith(")")) cast = cast + ")";
- }
- return cast;
-}
-
-public String getExclude() {
- return (String)getParam("exclude");
-}
-
-public Field getField() {
- return field;
-}
-
-public void setAccessor(String str) {
- setParam("accessor", str);
-}
-
-public void setCast(String str) {
- setParam("cast", str);
-}
-
-public void setExclude(String str) {
- setParam("exclude", str);
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ItemData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ItemData.java
deleted file mode 100644
index 774d4b3114..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ItemData.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Set;
-import java.util.StringTokenizer;
-
-public abstract class ItemData {
-
- HashMap params;
-
-public ItemData(String str) {
- parse(str);
-}
-
-static String[] split(String str, String separator) {
- StringTokenizer tk = new StringTokenizer(str, separator);
- ArrayList result = new ArrayList();
- while (tk.hasMoreElements()) {
- result.add(tk.nextElement());
- }
- return (String[])result.toArray(new String[result.size()]);
-}
-
-public String[] getFlags() {
- Object flags = getParam("flags");
- if (flags == null) return new String[0];
- if (flags instanceof String[]) return (String[])flags;
- String[] result = split((String)flags, " ");
- params.put("flags", result);
- return result;
-}
-
-public boolean getFlag(String flag) {
- String[] flags = getFlags();
- for (int i = 0; i < flags.length; i++) {
- if (flags[i].equals(flag)) return true;
- }
- return false;
-}
-
-public Object getParam(String key) {
- Object value = params.get(key);
- return value == null ? "" : value;
-}
-
-public boolean isGenerate() {
- return !getFlag("no_gen");
-}
-
-public void parse(String str) {
- this.params = new HashMap();
- if (str.length() == 0) return;
- String[] params = split(str, ",");
- for (int i = 0; i < params.length; i++) {
- String param = params[i];
- int equals = param.indexOf('=');
- if (equals == -1) {
- System.out.println();
- }
- String key = param.substring(0, equals).trim();
- String value = param.substring(equals + 1).trim();
- setParam(key, value);
- }
-}
-
-public void setFlags(String[] flags) {
- setParam("flags", flags);
-}
-
-public void setFlag(String flag, boolean value) {
- String[] flags = getFlags();
- HashSet set = new HashSet(Arrays.asList(flags));
- if (value) {
- set.add(flag);
- } else {
- set.remove(flag);
- }
- setFlags((String[])set.toArray(new String[set.size()]));
-}
-
-public void setGenerate(boolean value) {
- setFlag("no_gen", !value);
-}
-
-public void setParam(String key, Object value) {
- params.put(key, value);
-}
-
-public String toString() {
- StringBuffer buffer = new StringBuffer();
- Set set = params.keySet();
- String[] keys = (String[])set.toArray(new String[set.size()]);
- Arrays.sort(keys);
- for (int j = 0; j < keys.length; j++) {
- String key = keys[j];
- Object value = params.get(key);
- String valueStr = "";
- if (value instanceof String) {
- valueStr = (String)value;
- } else if (value instanceof String[]) {
- String[] values = (String[])value;
- StringBuffer valueBuffer = new StringBuffer();
- for (int i = 0; i < values.length; i++) {
- if (i != 0) valueBuffer.append(" ");
- valueBuffer.append(values[i]);
- }
- valueStr = valueBuffer.toString();
- } else {
- valueStr = value.toString();
- }
- if (valueStr.length() > 0) {
- if (buffer.length() != 0) buffer.append(",");
- buffer.append(key);
- buffer.append("=");
- buffer.append(valueStr);
- }
- }
- return buffer.toString();
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGenerator.java
deleted file mode 100644
index 5c10a01fc8..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGenerator.java
+++ /dev/null
@@ -1,272 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.io.*;
-import java.lang.reflect.*;
-
-import java.util.*;
-
-public abstract class JNIGenerator {
-
-String delimiter;
-PrintStream output;
-MetaData metaData;
-
-public JNIGenerator() {
- delimiter = System.getProperty("line.separator");
- output = System.out;
- metaData = new MetaData(new Properties());
-}
-
-String fixDelimiter(String str) {
- if (delimiter.equals("\n")) return str;
- int index = 0, length = str.length();
- StringBuffer buffer = new StringBuffer();
- while (index != -1) {
- int start = index;
- index = str.indexOf('\n', start);
- if (index == -1) {
- buffer.append(str.substring(start, length));
- } else {
- buffer.append(str.substring(start, index));
- buffer.append(delimiter);
- index++;
- }
- }
- return buffer.toString();
-}
-
-static String getClassName(Class clazz) {
- String name = clazz.getName();
- int index = name.lastIndexOf('.') + 1;
- return name.substring(index, name.length());
-}
-
-static String getFunctionName(Method method) {
- return getFunctionName(method, method.getParameterTypes());
-}
-
-static String getFunctionName(Method method, Class[] paramTypes) {
- String function = toC(method.getName());
- if (!isUnique(method, Modifier.NATIVE)) {
- function += "__";
- if (paramTypes.length > 0) {
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- function += toC(getTypeSignature(paramType));
- }
- }
- }
- return function;
-}
-
-static int getByteCount(Class clazz) {
- if (clazz == Integer.TYPE) return 4;
- if (clazz == Boolean.TYPE) return 4;
- if (clazz == Long.TYPE) return 8;
- if (clazz == Short.TYPE) return 2;
- if (clazz == Character.TYPE) return 2;
- if (clazz == Byte.TYPE) return 1;
- if (clazz == Float.TYPE) return 4;
- if (clazz == Double.TYPE) return 8;
- return 4;
-}
-
-static String getTypeSignature(Field field) {
- Class clazz = field.getType();
- return getTypeSignature(clazz);
-}
-
-static String getTypeSignature(Class clazz) {
- if (clazz == Integer.TYPE) return "I";
- if (clazz == Boolean.TYPE) return "Z";
- if (clazz == Long.TYPE) return "J";
- if (clazz == Short.TYPE) return "S";
- if (clazz == Character.TYPE) return "C";
- if (clazz == Byte.TYPE) return "B";
- if (clazz == Float.TYPE) return "F";
- if (clazz == Double.TYPE) return "D";
- if (clazz.isArray()) {
- Class componentType = clazz.getComponentType();
- return "[" + getTypeSignature(componentType);
- }
- return "L" + clazz.getName().replace('.', '/') + ";";
-}
-
-static String getTypeSignature1(Field field) {
- Class clazz = field.getType();
- return getTypeSignature1(clazz);
-}
-
-static String getTypeSignature1(Class clazz) {
- if (clazz == Integer.TYPE) return "Int";
- if (clazz == Boolean.TYPE) return "Boolean";
- if (clazz == Long.TYPE) return "Long";
- if (clazz == Short.TYPE) return "Short";
- if (clazz == Character.TYPE) return "Char";
- if (clazz == Byte.TYPE) return "Byte";
- if (clazz == Float.TYPE) return "Float";
- if (clazz == Double.TYPE) return "Double";
- return "Object";
-}
-
-static String getTypeSignature2(Field field) {
- Class clazz = field.getType();
- return getTypeSignature2(clazz);
-}
-
-static String getTypeSignature2(Class clazz) {
- if (clazz == Void.TYPE) return "void";
- if (clazz == Integer.TYPE) return "jint";
- if (clazz == Boolean.TYPE) return "jboolean";
- if (clazz == Long.TYPE) return "jlong";
- if (clazz == Short.TYPE) return "jshort";
- if (clazz == Character.TYPE) return "jchar";
- if (clazz == Byte.TYPE) return "jbyte";
- if (clazz == Float.TYPE) return "jfloat";
- if (clazz == Double.TYPE) return "jdouble";
- if (clazz.isArray()) {
- Class componentType = clazz.getComponentType();
- return getTypeSignature2(componentType) + "Array";
- }
- return "jobject";
-}
-
-static String getTypeSignature3(Field field) {
- Class clazz = field.getType();
- return getTypeSignature3(clazz);
-}
-
-static String getTypeSignature3(Class clazz) {
- if (clazz == Void.TYPE) return "void";
- if (clazz == Integer.TYPE) return "int";
- if (clazz == Boolean.TYPE) return "boolean";
- if (clazz == Long.TYPE) return "long";
- if (clazz == Short.TYPE) return "short";
- if (clazz == Character.TYPE) return "char";
- if (clazz == Byte.TYPE) return "byte";
- if (clazz == Float.TYPE) return "float";
- if (clazz == Double.TYPE) return "double";
- if (clazz == String.class) return "String";
- if (clazz.isArray()) {
- Class componentType = clazz.getComponentType();
- return getTypeSignature3(componentType) + "[]";
- }
- return clazz.getName();
-}
-
-static boolean isUnique(Method method, int modifierMask) {
- Class clazz = method.getDeclaringClass();
- Method[] methods = clazz.getDeclaredMethods();
- for (int i = 0; i < methods.length; i++) {
- Method mth = methods[i];
- if ((method.getModifiers() & modifierMask) == 0) continue;
- if (method.equals(mth)) continue;
- if (method.getName().equals(mth.getName())) return false;
- }
- return true;
-}
-
-static void sort(Method[] methods) {
- Arrays.sort(methods, new Comparator() {
- public int compare(Object a, Object b) {
- Method mth1 = (Method)a;
- Method mth2 = (Method)b;
- int result = mth1.getName().compareTo(mth2.getName());
- return result != 0 ? result : getFunctionName(mth1).compareTo(getFunctionName(mth2));
- }
- });
-}
-
-static void sort(Field[] fields) {
- Arrays.sort(fields, new Comparator() {
- public int compare(Object a, Object b) {
- return ((Field)a).getName().compareTo(((Field)b).getName());
- }
- });
-}
-
-static void sort(Class[] classes) {
- Arrays.sort(classes, new Comparator() {
- public int compare(Object a, Object b) {
- return ((Class)a).getName().compareTo(((Class)b).getName());
- }
- });
-}
-
-static String toC(String str) {
- StringBuffer buf = new StringBuffer();
- for (int i = 0; i < str.length(); i++) {
- char c = str.charAt(i);
- switch (c) {
- case '_': buf.append("_1"); break;
- case ';': buf.append("_2"); break;
- case '[': buf.append("_3"); break;
- case '.': buf.append("_"); break;
- case '/': buf.append("_"); break;
- default: buf.append(c);
- }
- }
- return buf.toString();
-}
-
-public String getDelimiter() {
- return delimiter;
-}
-
-public PrintStream getOutput() {
- return output;
-}
-
-public MetaData getMetaData() {
- return metaData;
-}
-
-public abstract void generate(Class clazz);
-
-public void generateMetaData(String key) {
- MetaData mt = getMetaData();
- String data = mt.getMetaData(key, null);
- if (data == null) return;
- output(fixDelimiter(data));
- outputDelimiter();
-}
-
-public void generate(Class[] classes) {
- sort(classes);
- for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- generate(clazz);
- }
-}
-
-public void output(String str) {
- output.print(str);
-}
-
-public void outputDelimiter() {
- output(getDelimiter());
-}
-
-public void setDelimiter(String delimiter) {
- this.delimiter = delimiter;
-}
-
-public void setOutput(PrintStream output) {
- this.output = output;
-}
-
-public void setMetaData(MetaData data) {
- metaData = data;
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorApp.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorApp.java
deleted file mode 100644
index f91ea9a421..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorApp.java
+++ /dev/null
@@ -1,342 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.io.*;
-import java.lang.reflect.*;
-import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.Properties;
-import java.util.zip.*;
-import java.util.Arrays;
-
-import org.eclipse.swt.internal.Platform;
-
-public class JNIGeneratorApp {
-
- String mainClass, outputDir, classpath;
- MetaData metaData;
-
-public JNIGeneratorApp() {
-}
-
-public String getClasspath() {
- return classpath;
-}
-
-public String getMainClass() {
- return mainClass;
-}
-
-public MetaData getMetaData() {
- return metaData;
-}
-
-String getMetaDataDir() {
- return "./JNI Generation/org/eclipse/swt/tools/internal/";
-}
-
-public String getOutputDir() {
- return outputDir;
-}
-
-void generateSTRUCTS_H() {
- try {
- String outputName = getClassName(mainClass).toLowerCase();
- metaData.setMetaData("swt_includes", "#include \"" + outputName + ".h\"\n");
- StructsGenerator gen = new StructsGenerator();
- gen.setMetaData(metaData);
- ByteArrayOutputStream out = new ByteArrayOutputStream();
- PrintStream print = new PrintStream(out);
- gen.setOutput(print);
- gen.generateHeaderFile(getStructureClasses());
- print.flush();
- if (out.size() > 0) output(out.toByteArray(), outputDir + outputName + "_structs.h");
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
-
-}
-
-void generateSTRUCTS_C() {
- try {
- String outputName = getClassName(mainClass).toLowerCase();
- String inc =
- "#include \"swt.h\"\n" +
- "#include \"" + outputName + "_structs.h\"\n";
- metaData.setMetaData("swt_includes", inc);
- StructsGenerator gen = new StructsGenerator();
- gen.setMetaData(metaData);
- ByteArrayOutputStream out = new ByteArrayOutputStream();
- PrintStream print = new PrintStream(out);
- gen.setOutput(print);
- gen.generateSourceFile(getStructureClasses());
- print.flush();
- if (out.size() > 0) output(out.toByteArray(), outputDir + outputName + "_structs.c");
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
-
-}
-
-void generateSWT_C() {
- try {
- String outputName = getClassName(mainClass).toLowerCase();
- String inc =
- "#include \"swt.h\"\n" +
- "#include \"" + outputName + "_structs.h\"\n";
- metaData.setMetaData("swt_includes", inc);
- NativesGenerator gen = new NativesGenerator();
- gen.setMetaData(metaData);
- ByteArrayOutputStream out = new ByteArrayOutputStream();
- PrintStream print = new PrintStream(out);
- gen.setOutput(print);
- gen.generate(getNativesClasses());
- print.flush();
- if (out.size() > 0) output(out.toByteArray(), outputDir + outputName + ".c");
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
-}
-
-
-void generateAllMetaData() {
- try {
- MetaDataGenerator gen = new MetaDataGenerator();
- gen.setMetaData(metaData);
- ByteArrayOutputStream out = new ByteArrayOutputStream();
- PrintStream print = new PrintStream(out);
- gen.setOutput(print);
- gen.generate(getClasses());
- print.flush();
- if (!new File(getMetaDataDir()).exists()) {
- System.out.println("Warning: Meta data output dir does not exist");
- return;
- }
- if (out.size() > 0) output(out.toByteArray(), getMetaDataDir() + mainClass + ".properties");
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
-}
-
-public void generate() {
- if (mainClass == null) return;
- generateSTRUCTS_H();
- generateSTRUCTS_C();
- generateSWT_C();
- generateAllMetaData();
-}
-
-boolean compare(InputStream is1, InputStream is2) throws IOException {
- while (true) {
- int c1 = is1.read();
- int c2 = is2.read();
- if (c1 != c2) return false;
- if (c1 == -1) break;
- }
- return true;
-}
-
-void output(byte[] bytes, String fileName) throws IOException {
- FileInputStream is = null;
- try {
- is = new FileInputStream(fileName);
- if (compare(new ByteArrayInputStream(bytes), new BufferedInputStream(is))) return;
- } catch (FileNotFoundException e) {
- } finally {
- try {
- if (is != null) is.close();
- } catch (IOException e) {}
- }
- FileOutputStream out = new FileOutputStream(fileName);
- out.write(bytes);
- out.close();
-}
-
-String getClassName(String className) {
- int dot = mainClass.lastIndexOf('.');
- if (dot == -1) return className;
- return mainClass.substring(dot + 1);
-}
-
-String getPackageName(String className) {
- int dot = mainClass.lastIndexOf('.');
- if (dot == -1) return "";
- return mainClass.substring(0, dot);
-}
-
-String[] getClassNames(String mainClassName) {
- String pkgName = getPackageName(mainClassName);
- String classpath = getClasspath();
- if (classpath == null) classpath = System.getProperty("java.class.path");
- String pkgPath = pkgName.replace('.', File.separatorChar);
- String pkgZipPath = pkgName.replace('.', '/');
- ArrayList classes = new ArrayList();
- int start = 0;
- int index = 0;
- while (index < classpath.length()) {
- index = classpath.indexOf(File.pathSeparatorChar, start);
- if (index == -1) index = classpath.length();
- String path = classpath.substring(start, index);
- if (path.toLowerCase().endsWith(".jar")) {
- ZipFile zipFile = null;
- try {
- zipFile = new ZipFile(path);
- Enumeration entries = zipFile.entries();
- while (entries.hasMoreElements()) {
- ZipEntry entry = (ZipEntry)entries.nextElement();
- String name = entry.getName();
- if (name.startsWith(pkgZipPath) && name.endsWith(".class")) {
- String className = name.substring(pkgZipPath.length() + 1, name.length() - 6);
- className.replace('/', '.');
- classes.add(className);
- }
- }
- } catch (IOException e) {
- } finally {
- try {
- if (zipFile != null) zipFile.close();
- } catch (IOException ex) {}
- }
- } else {
- File file = new File(path + File.separator + pkgPath);
- if (file.exists()) {
- String[] entries = file.list();
- for (int i = 0; i < entries.length; i++) {
- String entry = entries[i];
- File f = new File(file, entry);
- if (!f.isDirectory()) {
- if (f.getAbsolutePath().endsWith(".class")) {
- String className = entry.substring(0, entry.length() - 6);
- classes.add(className);
- }
- } else {
- System.out.println("SUBDIR NOT DONE=" + f);
- }
- }
- }
- }
- start = index + 1;
- }
- return (String[])classes.toArray(new String[classes.size()]);
-}
-
-public Class[] getClasses() {
- if (mainClass == null) return new Class[0];
- String[] classNames = getClassNames(mainClass);
- Arrays.sort(classNames);
- String packageName = getPackageName(mainClass);
- Class[] classes = new Class[classNames.length];
- for (int i = 0; i < classNames.length; i++) {
- String className = classNames[i];
- try {
- classes[i] = Class.forName(packageName + "." + className, false, getClass().getClassLoader());
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- return classes;
-}
-
-public Class[] getNativesClasses() {
- if (mainClass == null) return new Class[0];
- ArrayList result = new ArrayList();
- Class[] classes = getClasses();
- for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- Method[] methods = clazz.getDeclaredMethods();
- for (int j = 0; j < methods.length; j++) {
- Method method = methods[j];
- int mods = method.getModifiers();
- if ((mods & Modifier.NATIVE) != 0) {
- result.add(clazz);
- break;
- }
- }
- }
- return (Class[])result.toArray(new Class[result.size()]);
-}
-
-public Class[] getStructureClasses() {
- if (mainClass == null) return new Class[0];
- ArrayList result = new ArrayList();
- Class[] classes = getClasses();
- outer:
- for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- Method[] methods = clazz.getDeclaredMethods();
- for (int j = 0; j < methods.length; j++) {
- Method method = methods[j];
- int mods = method.getModifiers();
- if ((mods & Modifier.NATIVE) != 0) continue outer;
- }
- result.add(clazz);
- }
- return (Class[])result.toArray(new Class[result.size()]);
-}
-
-MetaData loadMetaData() {
- int index = 0;
- Properties propeties = new Properties();
- int length = mainClass.length();
- while (index < length) {
- index = mainClass.indexOf('.', index);
- if (index == -1) index = length;
- try {
- InputStream is = getClass().getResourceAsStream(mainClass.substring(0, index) + ".properties");
- propeties.load(is);
- is.close();
- } catch (Exception e) {
- }
- index++;
- }
- return new MetaData(propeties);
-}
-
-public void setClasspath(String classpath) {
- this.classpath = classpath;
-}
-
-public void setMainClass(String str) {
- mainClass = str;
- metaData = loadMetaData();
-}
-
-public void setOutputDir(String str) {
- outputDir = str;
-}
-
-public static String getDefaultMainClass() {
- return "org.eclipse.swt.internal." + Platform.PLATFORM + ".OS";
-}
-
-public static String getDefaultOutputDir() {
- return "../org.eclipse.swt/Eclipse SWT PI/" + Platform.PLATFORM + "/library/";
-}
-
-public static void main(String[] args) {
- JNIGeneratorApp gen = new JNIGeneratorApp ();
- if (args.length > 0) {
- gen.setMainClass(args[0]);
- if (args.length > 1) gen.setOutputDir(args[1]);
- if (args.length > 2) gen.setClasspath(args[2]);
- } else {
- gen.setMainClass(getDefaultMainClass());
- gen.setOutputDir(getDefaultOutputDir());
- }
- gen.generate();
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java
deleted file mode 100644
index 29830a6fad..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGeneratorAppUI.java
+++ /dev/null
@@ -1,893 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.io.*;
-import java.lang.reflect.*;
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.widgets.*;
-import org.eclipse.swt.custom.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.layout.*;
-
-public class JNIGeneratorAppUI {
-
- Display display;
- Shell shell;
-
- Combo mainClassCb, outputDirCb;
- Table classesLt, membersLt, paramsLt;
- FileDialog fileDialog;
-
- TableEditor paramTextEditor, paramListEditor, memberTextEditor, memberListEditor, classTextEditor, classListEditor;
- Text paramEditorTx, memberEditorTx, classEditorTx;
- List paramEditorLt, memberEditorLt, classEditorLt;
-
- JNIGeneratorApp app;
-
- static final int CLASS_NAME_COLUMN = 0;
- static final int CLASS_EXCLUDE_COLUMN = 1;
-
- static final int FIELD_NAME_COLUMN = 0;
- static final int FIELD_CAST_COLUMN = 1;
- static final int FIELD_ACCESSOR_COLUMN = 2;
- static final int FIELD_FLAGS_COLUMN = 3;
- static final int FIELD_EXCLUDE_COLUMN = 4;
-
- static final int METHOD_NAME_COLUMN = 0;
- static final int METHOD_FLAGS_COLUMN = 1;
- static final int METHOD_EXCLUDE_COLUMN = 2;
-
- static final int PARAM_INDEX_COLUMN = 0;
- static final int PARAM_TYPE_COLUMN = 1;
- static final int PARAM_CAST_COLUMN = 2;
- static final int PARAM_FLAGS_COLUMN = 3;
-
-public JNIGeneratorAppUI() {
- this (new JNIGeneratorApp());
-}
-
-public JNIGeneratorAppUI(JNIGeneratorApp app) {
- this.app = app;
-}
-
-void cleanup() {
-}
-
-void generateStructsHeader () {
- StructsGenerator gen = new StructsGenerator();
- gen.setMetaData(app.getMetaData());
- Class[] classes = getSelectedClasses();
- gen.generateHeaderFile(classes);
-}
-
-void generateStructs () {
- StructsGenerator gen = new StructsGenerator();
- gen.setMetaData(app.getMetaData());
- Class[] classes = getSelectedClasses();
- gen.generateSourceFile(classes);
-}
-
-void generateSizeof () {
- SizeofGenerator gen = new SizeofGenerator();
- gen.setMetaData(app.getMetaData());
- gen.generate(getSelectedClasses());
-}
-
-void generateMetaData () {
- MetaDataGenerator gen = new MetaDataGenerator();
- gen.setMetaData(app.getMetaData());
- Method[] methods = getSelectedMethods();
- if (methods.length != 0) gen.generate(methods);
- else gen.generate(getSelectedClasses());
-}
-
-void generateNatives () {
- NativesGenerator gen = new NativesGenerator();
- gen.setMetaData(app.getMetaData());
- Method[] methods = getSelectedMethods();
- if (methods.length != 0) gen.generate(methods);
- else gen.generate(getSelectedClasses());
-}
-
-void generateConstants () {
- ConstantsGenerator gen = new ConstantsGenerator();
- gen.setMetaData(app.getMetaData());
- Field[] fields = getSelectedFields();
- if (fields.length != 0) gen.generate(fields);
- else gen.generate(getSelectedClasses());
-}
-
-Class[] getSelectedClasses() {
- TableItem[] items = classesLt.getSelection();
- Class[] classes = new Class[items.length];
- for (int i = 0; i < items.length; i++) {
- TableItem item = items[i];
- classes[i] = ((ClassData)item.getData()).getClazz();
- }
- return classes;
-}
-
-Method[] getSelectedMethods() {
- TableItem[] selection = membersLt.getSelection();
- Method[] methods = new Method[selection.length];
- int count = 0;
- for (int i = 0; i < selection.length; i++) {
- TableItem item = selection [i];
- Object data = item.getData();
- if (data instanceof MethodData) {
- Method method = ((MethodData)data).getMethod();
- methods[count++] = method;
- }
- }
- if (count != methods.length) {
- Method[] result = new Method[count];
- System.arraycopy(methods, 0, result, 0, count);
- methods = result;
- }
- return methods;
-}
-
-Field[] getSelectedFields() {
- TableItem[] selection = membersLt.getSelection();
- Field[] fields = new Field[selection.length];
- int count = 0;
- for (int i = 0; i < selection.length; i++) {
- TableItem item = selection [i];
- Object data = item.getData();
- if (data instanceof FieldData) {
- Field field = ((FieldData)data).getField();
- fields[count++] = field;
- }
- }
- if (count != fields.length) {
- Field[] result = new Field[count];
- System.arraycopy(fields, 0, result, 0, count);
- fields = result;
- }
- return fields;
-}
-
-public void open () {
- display = new Display();
- shell = new Shell(display);
- shell.setText("JNI Generator");
-
- GridData data;
- GridLayout shellLayout = new GridLayout();
- shellLayout.numColumns = 2;
- shell.setLayout(shellLayout);
-
- Composite panel = new Composite(shell, SWT.NONE);
- data = new GridData(GridData.FILL_BOTH);
- panel.setLayoutData(data);
-
- GridLayout panelLayout = new GridLayout();
- panelLayout.numColumns = 1;
- panel.setLayout(panelLayout);
-
- Listener updateMainClassListener = new Listener() {
- public void handleEvent(Event e) {
- updateMainClass();
- if (!updateOutputDir()) return;
- updateClasses();
- updateMembers();
- updateParameters();
- }
- };
- createMainClassPanel(panel, updateMainClassListener);
- createOutputDirPanel(panel, updateMainClassListener);
- createClassesPanel(panel);
- createMembersPanel(panel);
- createParametersPanel(panel);
- createActionButtons(shell);
-
- Point preferredSize = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- shell.setSize(shell.getSize().x, preferredSize.y);
- ((GridData)classesLt.getLayoutData()).heightHint = -1;
- ((GridData)membersLt.getLayoutData()).heightHint = -1;
- ((GridData)paramsLt.getLayoutData()).heightHint = -1;
-
- updateMainClass();
- updateClasses();
- updateMembers();
- updateParameters();
-}
-
-void createMainClassPanel(Composite panel, Listener updateListener) {
- Label mainClassLb = new Label(panel, SWT.NONE);
- mainClassLb.setText("Main Class:");
-
- GridData data;
- mainClassCb = new Combo(panel, SWT.DROP_DOWN);
- String mainClass = app.getMainClass();
- mainClassCb.setText(mainClass == null ? "" : mainClass);
- data = new GridData(GridData.FILL_HORIZONTAL);
- mainClassCb.setLayoutData(data);
- mainClassCb.addListener(SWT.Selection, updateListener);
- mainClassCb.addListener(SWT.DefaultSelection, updateListener);
-}
-
-void createOutputDirPanel(Composite panel, Listener updateListener) {
- Label outputDirLb = new Label(panel, SWT.NONE);
- outputDirLb.setText("Output Dir:");
-
- GridData data;
- outputDirCb = new Combo(panel, SWT.DROP_DOWN);
- String outputDir = app.getOutputDir();
- outputDirCb.setText(outputDir == null ? "" : outputDir);
- data = new GridData(GridData.FILL_HORIZONTAL);
- outputDirCb.setLayoutData(data);
- outputDirCb.addListener(SWT.Selection, updateListener);
- outputDirCb.addListener(SWT.DefaultSelection, updateListener);
-}
-
-void createClassesPanel(Composite panel) {
- Label classesLb = new Label(panel, SWT.NONE);
- classesLb.setText("Classes:");
-
- GridData data;
- classesLt = new Table(panel, SWT.CHECK | SWT.MULTI | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION);
- data = new GridData(GridData.FILL_BOTH);
- data.heightHint = classesLt.getItemHeight() * 6;
- classesLt.setLayoutData(data);
- classesLt.setHeaderVisible(true);
- classesLt.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (e.detail == SWT.CHECK) {
- updateGenerate((TableItem)e.item);
- } else {
- updateMembers();
- updateParameters();
- }
- }
- });
- TableColumn column;
- column = new TableColumn(classesLt, SWT.NONE, CLASS_NAME_COLUMN);
- column.setText("Class");
- /*
- column = new TableColumn(classesLt, SWT.NONE, CLASS_EXCLUDE_COLUMN);
- column.setText("Exclude");
- */
-}
-
-void createMembersPanel(Composite panel) {
- Label membersLb = new Label(panel, SWT.NONE);
- membersLb.setText("Members:");
-
- GridData data;
- membersLt = new Table(panel, SWT.CHECK | SWT.MULTI | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION);
- data = new GridData(GridData.FILL_BOTH);
- data.heightHint = membersLt.getItemHeight() * 6;
- membersLt.setLayoutData(data);
- membersLt.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (e.detail == SWT.CHECK) {
- updateGenerate((TableItem)e.item);
- } else {
- updateParameters();
- }
- }
- });
-
- memberTextEditor = new TableEditor(membersLt);
- memberTextEditor.grabHorizontal = true;
- memberEditorTx = new Text(membersLt, SWT.SINGLE);
- memberTextEditor.setEditor(memberEditorTx);
- Listener memberTextListener = new Listener() {
- public void handleEvent(Event e) {
- memberEditorTx.setVisible(false);
- TableItem item = memberTextEditor.getItem();
- if (item == null) return;
- int column = memberTextEditor.getColumn();
- ItemData memberData = (ItemData)item.getData();
- String text = memberEditorTx.getText();
- MetaData metaData = app.getMetaData();
- if (memberData instanceof FieldData) {
- FieldData fieldData = (FieldData)memberData;
- switch (column) {
- case FIELD_CAST_COLUMN: {
- fieldData.setCast(text);
- item.setText(column, fieldData.getCast());
- break;
- }
- case FIELD_ACCESSOR_COLUMN: {
- fieldData.setAccessor(text);
- item.setText(column, fieldData.getAccessor());
- break;
- }
- case FIELD_EXCLUDE_COLUMN: {
- fieldData.setExclude(text);
- item.setText(column, fieldData.getExclude());
- break;
- }
- }
- metaData.setMetaData(fieldData.getField(), fieldData);
- membersLt.getColumn(column).pack();
- } else if (memberData instanceof MethodData) {
- MethodData methodData = (MethodData)memberData;
- switch (column) {
- case METHOD_EXCLUDE_COLUMN: {
- methodData.setExclude(text);
- item.setText(column, methodData.getExclude());
- break;
- }
- }
- metaData.setMetaData(methodData.getMethod(), methodData);
- membersLt.getColumn(column).pack();
- }
- }
- };
- memberEditorTx.addListener(SWT.DefaultSelection, memberTextListener);
- memberEditorTx.addListener(SWT.FocusOut, memberTextListener);
-
- memberListEditor = new TableEditor(membersLt);
- memberEditorLt = new List(membersLt, SWT.MULTI | SWT.BORDER);
- memberListEditor.setEditor(memberEditorLt);
- Listener memberListListener = new Listener() {
- public void handleEvent(Event e) {
- memberEditorLt.setVisible(false);
- TableItem item = memberListEditor.getItem();
- if (item == null) return;
- int column = memberListEditor.getColumn();
- ItemData data = (ItemData)item.getData();
- String[] flags = memberEditorLt.getSelection();
- data.setFlags(flags);
- item.setText(column, getFlagsString(data.getFlags()));
- item.setChecked(data.isGenerate());
- MetaData metaData = app.getMetaData();
- if (data instanceof FieldData) {
- FieldData fieldData = (FieldData)data;
- metaData.setMetaData(fieldData.getField(), fieldData);
- membersLt.getColumn(column).pack();
- } else if (data instanceof MethodData) {
- MethodData methodData = (MethodData)data;
- metaData.setMetaData(methodData.getMethod(), methodData);
- membersLt.getColumn(column).pack();
- }
- }
- };
- memberEditorLt.addListener(SWT.DefaultSelection, memberListListener);
- memberEditorLt.addListener(SWT.FocusOut, memberListListener);
-
- membersLt.addListener(SWT.MouseDown, new Listener() {
- public void handleEvent(Event e) {
- if (e.button != 1) return;
- Point pt = new Point(e.x, e.y);
- TableItem item = membersLt.getItem(pt);
- if (item == null) return;
- int column = -1;
- for (int i = 0; i < membersLt.getColumnCount(); i++) {
- if (item.getBounds(i).contains(pt)) {
- column = i;
- break;
- }
- }
- if (column == -1) return;
- ItemData itemData = (ItemData)item.getData();
- if (itemData instanceof FieldData) {
- FieldData data = (FieldData)itemData;
- if (column == FIELD_CAST_COLUMN || column == FIELD_ACCESSOR_COLUMN || column == FIELD_EXCLUDE_COLUMN) {
- memberTextEditor.setColumn(column);
- memberTextEditor.setItem(item);
- String text = "";
- switch (column) {
- case FIELD_CAST_COLUMN: text = data.getCast(); break;
- case FIELD_ACCESSOR_COLUMN: text = data.getAccessor(); break;
- case FIELD_EXCLUDE_COLUMN: text = data.getExclude(); break;
- }
- memberEditorTx.setText(text);
- memberEditorTx.selectAll();
- memberEditorTx.setVisible(true);
- memberEditorTx.setFocus();
- } else if (column == FIELD_FLAGS_COLUMN) {
- if (membersLt.getClientArea().contains(pt.x, pt.y + memberEditorLt.getSize().y)) {
- memberListEditor.verticalAlignment = SWT.TOP;
- } else {
- memberListEditor.verticalAlignment = SWT.BOTTOM;
- }
- memberListEditor.setColumn(column);
- memberListEditor.setItem(item);
- memberEditorLt.setItems(FieldData.getAllFlags());
- Point size = memberEditorLt.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- memberListEditor.minimumWidth = size.x;
- memberListEditor.minimumHeight = size.y;
- memberEditorLt.setSelection(data.getFlags());
- memberEditorLt.setVisible(true);
- memberEditorLt.setFocus();
- }
- } else if (itemData instanceof MethodData) {
- MethodData data = (MethodData)itemData;
- if (column == METHOD_EXCLUDE_COLUMN) {
- memberTextEditor.setColumn(column);
- memberTextEditor.setItem(item);
- memberEditorTx.setText(data.getExclude());
- memberEditorTx.selectAll();
- memberEditorTx.setVisible(true);
- memberEditorTx.setFocus();
- } else if (column == METHOD_FLAGS_COLUMN) {
- if (membersLt.getClientArea().contains(pt.x, pt.y + memberEditorLt.getSize().y)) {
- memberListEditor.verticalAlignment = SWT.TOP;
- } else {
- memberListEditor.verticalAlignment = SWT.BOTTOM;
- }
- memberListEditor.setColumn(column);
- memberListEditor.setItem(item);
- memberEditorLt.setItems(MethodData.getAllFlags());
- Point size = memberEditorLt.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- memberListEditor.minimumWidth = size.x;
- memberListEditor.minimumHeight = size.y;
- memberEditorLt.setSelection(data.getFlags());
- memberEditorLt.setVisible(true);
- memberEditorLt.setFocus();
- }
- }
- }
- });
-}
-
-void createParametersPanel(Composite panel) {
- Label paramsLb = new Label(panel, SWT.NONE);
- paramsLb.setText("Parameters:");
-
- GridData data;
- paramsLt = new Table(panel, SWT.MULTI | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION);
- data = new GridData(GridData.FILL_BOTH);
- int itemHeight = paramsLt.getItemHeight();
- data.heightHint = itemHeight * 6;
- paramsLt.setLayoutData(data);
- paramsLt.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (e.detail == SWT.CHECK) {
- updateGenerate((TableItem)e.item);
- }
- }
- });
-
- TableColumn column;
- column = new TableColumn(paramsLt, SWT.NONE, PARAM_INDEX_COLUMN);
- column = new TableColumn(paramsLt, SWT.NONE, PARAM_TYPE_COLUMN);
- column.setText("Type");
- column = new TableColumn(paramsLt, SWT.NONE, PARAM_CAST_COLUMN);
- column.setText("Cast");
- column = new TableColumn(paramsLt, SWT.NONE, PARAM_FLAGS_COLUMN);
- column.setText("Flags");
-
- paramTextEditor = new TableEditor(paramsLt);
- paramTextEditor.grabHorizontal = true;
- paramEditorTx = new Text(paramsLt, SWT.SINGLE);
- paramTextEditor.setEditor(paramEditorTx);
- Listener paramTextListener = new Listener() {
- public void handleEvent(Event e) {
- paramEditorTx.setVisible(false);
- TableItem item = paramTextEditor.getItem();
- if (item == null) return;
- int column = paramTextEditor.getColumn();
- ParameterData paramData = (ParameterData)item.getData();
- if (column == PARAM_CAST_COLUMN) {
- String text = paramEditorTx.getText();
- paramData.setCast(text);
- item.setText(column, paramData.getCast());
- MetaData metaData = app.getMetaData();
- metaData.setMetaData(paramData.getMethod(), paramData.getParameter(), paramData);
- paramsLt.getColumn(column).pack();
- }
- }
- };
- paramEditorTx.addListener(SWT.DefaultSelection, paramTextListener);
- paramEditorTx.addListener(SWT.FocusOut, paramTextListener);
-
- paramListEditor = new TableEditor(paramsLt);
- paramEditorLt = new List(paramsLt, SWT.MULTI | SWT.BORDER);
- paramEditorLt.setItems(ParameterData.getAllFlags());
- Point size = paramEditorLt.computeSize(SWT.DEFAULT, SWT.DEFAULT);
- paramListEditor.minimumWidth = size.x;
- paramListEditor.minimumHeight = size.y;
- paramListEditor.setEditor(paramEditorLt);
- Listener paramListListener = new Listener() {
- public void handleEvent(Event e) {
- paramEditorLt.setVisible(false);
- TableItem item = paramListEditor.getItem();
- if (item == null) return;
- int column = paramListEditor.getColumn();
- ParameterData paramData = (ParameterData)item.getData();
- if (column == PARAM_FLAGS_COLUMN) {
- String[] flags = paramEditorLt.getSelection();
- paramData.setFlags(flags);
- item.setText(column, getFlagsString(paramData.getFlags()));
- MetaData metaData = app.getMetaData();
- metaData.setMetaData(paramData.getMethod(), paramData.getParameter(), paramData);
- paramsLt.getColumn(column).pack();
- }
- }
- };
- paramEditorLt.addListener(SWT.DefaultSelection, paramListListener);
- paramEditorLt.addListener(SWT.FocusOut, paramListListener);
-
- paramsLt.addListener(SWT.MouseDown, new Listener() {
- public void handleEvent(Event e) {
- if (e.button != 1) return;
- Point pt = new Point(e.x, e.y);
- TableItem item = paramsLt.getItem(pt);
- if (item == null) return;
- int column = -1;
- for (int i = 0; i < paramsLt.getColumnCount(); i++) {
- if (item.getBounds(i).contains(pt)) {
- column = i;
- break;
- }
- }
- if (column == -1) return;
- ParameterData data = (ParameterData)item.getData();
- if (column == PARAM_CAST_COLUMN) {
- paramTextEditor.setColumn(column);
- paramTextEditor.setItem(item);
- paramEditorTx.setText(data.getCast());
- paramEditorTx.selectAll();
- paramEditorTx.setVisible(true);
- paramEditorTx.setFocus();
- } else if (column == PARAM_FLAGS_COLUMN) {
- if (paramsLt.getClientArea().contains(pt.x, pt.y + paramEditorLt.getSize().y)) {
- paramListEditor.verticalAlignment = SWT.TOP;
- } else {
- paramListEditor.verticalAlignment = SWT.BOTTOM;
- }
- paramListEditor.setColumn(column);
- paramListEditor.setItem(item);
- paramEditorLt.setSelection(data.getFlags());
- paramEditorLt.setVisible(true);
- paramEditorLt.setFocus();
- }
- }
- });
-}
-
-Button createActionButton(Composite parent, String text, Listener listener) {
- Button action = new Button(parent, SWT.PUSH);
- action.setText(text);
- GridData data = new GridData(GridData.FILL_HORIZONTAL);
- action.setLayoutData(data);
- action.addListener(SWT.Selection, listener);
- return action;
-}
-
-void createActionButtons(Composite parent) {
- Composite actionsPanel = new Composite(parent, SWT.NONE);
-
- GridData data = new GridData(GridData.FILL_VERTICAL);
- actionsPanel.setLayoutData(data);
-
- GridLayout actionsLayout = new GridLayout();
- actionsLayout.numColumns = 1;
- actionsPanel.setLayout(actionsLayout);
-
- createActionButton(actionsPanel, "Generate All", new Listener() {
- public void handleEvent(Event e) {
- if (!updateOutputDir()) return;
- Cursor cursor = new Cursor(shell.getDisplay(), SWT.CURSOR_WAIT);
- shell.setCursor(cursor);
- app.generate();
- shell.setCursor(null);
- cursor.dispose();
-
- }
- });
-
- Label separator = new Label(actionsPanel, SWT.SEPARATOR | SWT.HORIZONTAL);
- data = new GridData(GridData.FILL_HORIZONTAL);
- separator.setLayoutData(data);
- separator = new Label(actionsPanel, SWT.SEPARATOR | SWT.HORIZONTAL);
- data = new GridData(GridData.FILL_HORIZONTAL);
- separator.setLayoutData(data);
-
- createActionButton(actionsPanel, "Generate Structs Header", new Listener() {
- public void handleEvent(Event e) {
- generateStructsHeader();
- }
- });
- createActionButton(actionsPanel, "Generate Structs", new Listener() {
- public void handleEvent(Event e) {
- generateStructs();
- }
- });
- createActionButton(actionsPanel, "Generate Natives", new Listener() {
- public void handleEvent(Event e) {
- generateNatives();
- }
- });
- createActionButton(actionsPanel, "Generate Constants", new Listener() {
- public void handleEvent(Event e) {
- generateConstants();
- }
- });
- createActionButton(actionsPanel, "Generate Sizeof", new Listener() {
- public void handleEvent(Event e) {
- generateSizeof();
- }
- });
- createActionButton(actionsPanel, "Generate Meta Data", new Listener() {
- public void handleEvent(Event e) {
- generateMetaData();
- }
- });
-}
-
-public void run() {
- shell.open();
- while (!shell.isDisposed()) {
- if (!display.readAndDispatch()) display.sleep ();
- }
- cleanup();
-}
-
-String getPackageString(String className) {
- int dot = app.getMainClass().lastIndexOf('.');
- if (dot == -1) return "";
- return app.getMainClass().substring(0, dot);
-}
-
-String getClassString(Class clazz) {
- String name = JNIGenerator.getTypeSignature3(clazz);
- int index = name.lastIndexOf('.');
- if (index == -1) return name;
- return name.substring(index + 1, name.length());
-}
-
-String getFlagsString(String[] flags) {
- if (flags.length == 0) return "";
- StringBuffer buffer = new StringBuffer();
- for (int j = 0; j < flags.length; j++) {
- String flag = flags[j];
- if (buffer.length() != 0) buffer.append(", ");
- buffer.append(flag);
- }
- return buffer.toString();
-}
-
-String getMethodString(Method method) {
- String pkgName = getPackageString(method.getDeclaringClass().getName());
- StringBuffer buffer = new StringBuffer();
- buffer.append(method.getName());
- buffer.append("(");
- Class[] params = method.getParameterTypes();
- for (int i = 0; i < params.length; i++) {
- Class param = params[i];
- if (i != 0) buffer.append(",");
- String string = JNIGenerator.getTypeSignature3(param);
- if (string.startsWith(pkgName)) string = string.substring(pkgName.length() + 1);
- buffer.append(string);
- }
- buffer.append(")");
- return buffer.toString();
-}
-
-String getFieldString(Field field) {
- return field.getName();
-}
-
-void updateClasses() {
- classesLt.removeAll();
- MetaData metaData = app.getMetaData();
- Class[] classes = app.getClasses();
- for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- ClassData classData = metaData.getMetaData(clazz);
- TableItem item = new TableItem(classesLt, SWT.NONE);
- item.setData(classData);
- item.setText(CLASS_NAME_COLUMN, getClassString(clazz));
- item.setChecked(classData.isGenerate());
- }
- TableColumn[] columns = classesLt.getColumns();
- for (int i = 0; i < columns.length; i++) {
- TableColumn column = columns[i];
- column.pack();
- }
-}
-
-void updateMembers() {
- membersLt.removeAll();
- MetaData metaData = app.getMetaData();
- membersLt.setHeaderVisible(false);
- TableColumn[] columns = membersLt.getColumns();
- for (int i = 0; i < columns.length; i++) {
- TableColumn column = columns[i];
- column.dispose();
- }
- int[] indices = classesLt.getSelectionIndices();
- if (indices.length != 1) return;
- TableItem classItem = classesLt.getItem(indices[0]);
- ClassData classData = (ClassData)classItem.getData();
- Class clazz = classData.getClazz();
- boolean hasNatives = false;
- Method[] methods = clazz.getDeclaredMethods();
- for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
- int mods = method.getModifiers();
- if (hasNatives =((mods & Modifier.NATIVE) != 0)) break;
- }
- membersLt.setRedraw(false);
- if (hasNatives) {
- TableColumn column;
- column = new TableColumn(membersLt, SWT.NONE, METHOD_NAME_COLUMN);
- column.setText("Method");
- column = new TableColumn(membersLt, SWT.NONE, METHOD_FLAGS_COLUMN);
- column.setText("Flags");
- /*
- column = new TableColumn(membersLt, SWT.NONE, METHOD_EXCLUDE_COLUMN);
- column.setText("Exclude");
- */
- JNIGenerator.sort(methods);
- for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
- if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
- MethodData methodData = metaData.getMetaData(method);
- TableItem item = new TableItem(membersLt, SWT.NONE);
- item.setData(methodData);
- item.setText(METHOD_NAME_COLUMN, getMethodString(method));
- item.setChecked(methodData.isGenerate());
- item.setText(METHOD_FLAGS_COLUMN, getFlagsString(methodData.getFlags()));
- /*
- item.setText(METHOD_EXCLUDE_COLUMN, methodData.getExclude());
- */
- }
- } else {
- TableColumn column;
- column = new TableColumn(membersLt, SWT.NONE, FIELD_NAME_COLUMN);
- column.setText("Field");
- column = new TableColumn(membersLt, SWT.NONE, FIELD_CAST_COLUMN);
- column.setText("Cast");
- column = new TableColumn(membersLt, SWT.NONE, FIELD_ACCESSOR_COLUMN);
- column.setText("Accessor");
- column = new TableColumn(membersLt, SWT.NONE, FIELD_FLAGS_COLUMN);
- column.setText("Flags");
- /*
- column = new TableColumn(membersLt, SWT.NONE, FIELD_EXCLUDE_COLUMN);
- column.setText("Exclude");
- */
- Field[] fields = clazz.getDeclaredFields();
- for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
- int mods = field.getModifiers();
- if (((mods & Modifier.PUBLIC) == 0) ||
- ((mods & Modifier.FINAL) != 0) ||
- ((mods & Modifier.STATIC) != 0)) continue;
- FieldData fieldData = metaData.getMetaData(field);
- TableItem item = new TableItem(membersLt, SWT.NONE);
- item.setData(fieldData);
- item.setText(FIELD_NAME_COLUMN, getFieldString(field));
- item.setChecked(fieldData.isGenerate());
- item.setText(FIELD_CAST_COLUMN, fieldData.getCast());
- item.setText(FIELD_ACCESSOR_COLUMN, fieldData.getAccessor());
- item.setText(FIELD_FLAGS_COLUMN, getFlagsString(fieldData.getFlags()));
- /*
- item.setText(FIELD_EXCLUDE_COLUMN, fieldData.getExclude());
- */
- }
- }
- columns = membersLt.getColumns();
- for (int i = 0; i < columns.length; i++) {
- TableColumn column = columns[i];
- column.pack();
- }
- membersLt.setHeaderVisible(true);
- membersLt.setRedraw(true);
-}
-
-void updateParameters() {
- paramsLt.removeAll();
- MetaData metaData = app.getMetaData();
- int[] indices = membersLt.getSelectionIndices();
- if (indices.length != 1) {
- paramsLt.setHeaderVisible(false);
- return;
- }
- paramsLt.setRedraw(false);
- TableItem memberItem = membersLt.getItem(indices[0]);
- Object data = memberItem.getData();
- if (!(data instanceof MethodData)) return;
- MethodData methodData = (MethodData)memberItem.getData();
- Method method = methodData.getMethod();
- Class[] params = method.getParameterTypes();
- for (int i = 0; i < params.length; i++) {
- Class param = params[i];
- ParameterData paramData = metaData.getMetaData(method, i);
- TableItem item = new TableItem(paramsLt, SWT.NONE);
- item.setData(paramData);
- item.setText(PARAM_INDEX_COLUMN, String.valueOf(i));
- item.setText(PARAM_TYPE_COLUMN, getClassString(param));
- item.setText(PARAM_CAST_COLUMN, paramData.getCast());
- item.setText(PARAM_FLAGS_COLUMN, getFlagsString(paramData.getFlags()));
- }
- TableColumn[] columns = paramsLt.getColumns();
- for (int i = 0; i < columns.length; i++) {
- TableColumn column = columns[i];
- column.pack();
- }
- paramsLt.setRedraw(true);
- paramsLt.setHeaderVisible(true);
-}
-
-void updateGenerate(TableItem item) {
- MetaData metaData = app.getMetaData();
- ItemData itemData = (ItemData)item.getData();
- itemData.setGenerate(item.getChecked());
- if (itemData instanceof ClassData) {
- ClassData data = (ClassData)itemData;
- metaData.setMetaData(data.getClazz(), data);
- } else if (itemData instanceof FieldData) {
- FieldData data = (FieldData)itemData;
- item.setText(FIELD_FLAGS_COLUMN, getFlagsString(data.getFlags()));
- metaData.setMetaData(data.getField(), data);
- } else if (itemData instanceof MethodData) {
- MethodData data = (MethodData)itemData;
- item.setText(METHOD_FLAGS_COLUMN, getFlagsString(data.getFlags()));
- metaData.setMetaData(data.getMethod(), data);
- } else if (itemData instanceof ParameterData) {
- ParameterData data = (ParameterData)itemData;
- item.setText(PARAM_FLAGS_COLUMN, getFlagsString(data.getFlags()));
- metaData.setMetaData(data.getMethod(), data.getParameter(), data);
- }
-}
-
-boolean updateOutputDir() {
- String outputDirStr = outputDirCb.getText();
- File file = new File(outputDirStr);
- if (!file.exists()) {
- MessageBox dialog = new MessageBox(shell, SWT.OK | SWT.ICON_ERROR);
- dialog.setMessage("Output directory does not exist.");
- dialog.open();
- return false;
- }
- if (!file.isDirectory()) {
- MessageBox dialog = new MessageBox(shell, SWT.OK | SWT.ICON_ERROR);
- dialog.setMessage("Output directory is not a directory.");
- dialog.open();
- return false;
- }
- if (outputDirStr.length() > 0) {
- if (!outputDirStr.equals(app.getOutputDir())) {
- app.setOutputDir(outputDirStr);
- }
- if (outputDirCb.indexOf(outputDirStr) == -1) {
- outputDirCb.add(outputDirStr);
- }
- }
- return true;
-}
-
-void updateMainClass() {
- String mainClassStr = mainClassCb.getText();
- if (mainClassStr.length() > 0) {
- if (!mainClassStr.equals(app.getMainClass())) {
- app.setMainClass(mainClassStr);
- }
- if (mainClassCb.indexOf(mainClassStr) == -1) {
- mainClassCb.add(mainClassStr);
- }
- }
-}
-
-public static void main(String[] args) {
- JNIGeneratorApp gen = new JNIGeneratorApp ();
- if (args.length > 0) {
- gen.setMainClass(args[0]);
- if (args.length > 1) gen.setOutputDir(args[1]);
- } else {
- gen.setMainClass(JNIGeneratorApp.getDefaultMainClass());
- gen.setOutputDir(JNIGeneratorApp.getDefaultOutputDir());
- }
- JNIGeneratorAppUI ui = new JNIGeneratorAppUI(gen);
- ui.open();
- ui.run();
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaData.java
deleted file mode 100644
index 73b0df91b9..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaData.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.lang.reflect.Field;
-import java.lang.reflect.Method;
-import java.lang.reflect.Modifier;
-import java.util.Properties;
-
-public class MetaData {
-
- Properties data;
-
-public MetaData(Properties data) {
- this.data = data;
-}
-
-public ClassData getMetaData(Class clazz) {
- String key = JNIGenerator.toC(clazz.getName());
- String value = getMetaData(key, "");
- return new ClassData(clazz, value);
-}
-
-public FieldData getMetaData(Field field) {
- String className = JNIGenerator.getClassName(field.getDeclaringClass());
- String key = className + "_" + field.getName();
- String value = getMetaData(key, "");
- return new FieldData(field, value);
-}
-
-boolean convertTo32Bit(Class[] paramTypes) {
- boolean changed = false;
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- if (paramType == Long.TYPE) {
- paramTypes[i] = Integer.TYPE;
- changed = true;
- }
- if (paramType == long[].class) {
- paramTypes[i] = int[].class;
- changed = true;
- }
- }
- return changed;
-}
-
-public MethodData getMetaData(Method method) {
- String className = JNIGenerator.getClassName(method.getDeclaringClass());
- String key = className + "_" + JNIGenerator.getFunctionName(method);
- String value = getMetaData(key, null);
- if (value == null) {
- key = className + "_" + method.getName();
- value = getMetaData(key, null);
- }
- /*
- * Support for 64 bit port.
- */
- if (value == null) {
- Class[] paramTypes = method.getParameterTypes();
- if (convertTo32Bit(paramTypes)) {
- key = className + "_" + JNIGenerator.getFunctionName(method, paramTypes);
- value = getMetaData(key, null);
- }
- }
- if (value == null) value = "";
- return new MethodData(method, value);
-}
-
-public ParameterData getMetaData(Method method, int parameter) {
- String className = JNIGenerator.getClassName(method.getDeclaringClass());
- String key = className + "_" + JNIGenerator.getFunctionName(method) + "_" + parameter;
- String value = getMetaData(key, null);
- if (value == null) {
- key = className + "_" + method.getName() + "_" + parameter;
- value = getMetaData(key, null);
- }
- /*
- * Support for 64 bit port.
- */
- if (value == null) {
- Class[] paramTypes = method.getParameterTypes();
- if (convertTo32Bit(paramTypes)) {
- key = className + "_" + JNIGenerator.getFunctionName(method, paramTypes) + "_" + parameter;
- value = getMetaData(key, null);
- }
- }
- if (value == null) value = "";
- return new ParameterData(method, parameter, value);
-}
-
-public String getMetaData(String key, String defaultValue) {
- return data.getProperty(key, defaultValue);
-}
-
-public void setMetaData(Class clazz, ClassData value) {
- String key = JNIGenerator.toC(clazz.getName());
- setMetaData(key, value.toString());
-}
-
-public void setMetaData(Field field, FieldData value) {
- String className = JNIGenerator.getClassName(field.getDeclaringClass());
- String key = className + "_" + field.getName();
- setMetaData(key, value.toString());
-}
-
-public void setMetaData(Method method, MethodData value) {
- String key;
- String className = JNIGenerator.getClassName(method.getDeclaringClass());
- if (JNIGenerator.isUnique(method, Modifier.NATIVE)) {
- key = className + "_" + method.getName ();
- } else {
- key = className + "_" + JNIGenerator.getFunctionName(method);
- }
- setMetaData(key, value.toString());
-}
-
-public void setMetaData(Method method, int arg, ParameterData value) {
- String key;
- String className = JNIGenerator.getClassName(method.getDeclaringClass());
- if (JNIGenerator.isUnique(method, Modifier.NATIVE)) {
- key = className + "_" + method.getName () + "_" + arg;
- } else {
- key = className + "_" + JNIGenerator.getFunctionName(method) + "_" + arg;
- }
- setMetaData(key, value.toString());
-}
-
-public void setMetaData(String key, String value) {
- data.setProperty(key, value);
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaDataGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaDataGenerator.java
deleted file mode 100644
index f924003542..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MetaDataGenerator.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.lang.reflect.*;
-
-public class MetaDataGenerator extends JNIGenerator {
-
-public void generate(Class clazz) {
- output(toC(clazz.getName()));
- output("=");
- ClassData data = getMetaData().getMetaData(clazz);
- if (data != null) output(data.toString());
- outputDelimiter();
- Field[] fields = clazz.getDeclaredFields();
- generate(fields);
- Method[] methods = clazz.getDeclaredMethods();
- generate(methods);
- outputDelimiter();
-}
-
-public void generate(Field[] fields) {
- for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
- int mods = field.getModifiers();
- if ((mods & Modifier.PUBLIC) == 0) continue;
- if ((mods & Modifier.FINAL) != 0) continue;
- if ((mods & Modifier.STATIC) != 0) continue;
- generate(field);
- outputDelimiter();
- }
-}
-
-public void generate(Field field) {
- output(getClassName(field.getDeclaringClass()));
- output("_");
- output(field.getName());
- output("=");
- FieldData data = getMetaData().getMetaData(field);
- if (data != null) output(data.toString());
-}
-
-public void generate(Method[] methods) {
- sort(methods);
- for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
- if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
- generate(method);
- outputDelimiter();
- }
-}
-
-public void generate(Method method) {
- StringBuffer buffer = new StringBuffer();
- buffer.append(getClassName(method.getDeclaringClass()));
- buffer.append("_");
- if (isUnique(method, Modifier.NATIVE)) {
- buffer.append(method.getName());
- } else {
- buffer.append(getFunctionName(method));
- }
- String key = buffer.toString();
- output(key);
- output("=");
- MethodData methodData = getMetaData().getMetaData(method);
- if (methodData != null) output(methodData.toString());
- outputDelimiter();
- int length = method.getParameterTypes().length;
- for (int i = 0; i < length; i++) {
- output(key);
- output("_");
- output(i + "=");
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (paramData != null) output(paramData.toString());
- outputDelimiter();
- }
-}
-
-public static void main(String[] args) {
- if (args.length < 1) {
- System.out.println("Usage: java CastGenerator <className1> <className2>");
- return;
- }
- try {
- MetaDataGenerator gen = new MetaDataGenerator();
- for (int i = 0; i < args.length; i++) {
- String clazzName = args[i];
- Class clazz = Class.forName(clazzName);
- gen.generate(clazz);
- }
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MethodData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MethodData.java
deleted file mode 100644
index 81e3484269..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MethodData.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.lang.reflect.Method;
-
-public class MethodData extends ItemData {
-
- Method method;
-
-public MethodData(Method method, String str) {
- super(str);
- this.method = method;
-}
-
-public static String[] getAllFlags() {
- return new String[]{"no_gen", "address", "const", "dynamic"};
-}
-
-public Method getMethod() {
- return method;
-}
-
-public String getAccessor() {
- return (String)getParam("accessor");
-}
-
-public String getExclude() {
- return (String)getParam("exclude");
-}
-
-public void setAccessor(String str) {
- setParam("accessor", str);
-}
-
-public void setExclude(String str) {
- setParam("exclude", str);
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java
deleted file mode 100644
index 5a4bcf6bc7..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java
+++ /dev/null
@@ -1,601 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.lang.reflect.*;
-import java.util.HashSet;
-import java.util.Iterator;
-
-import org.eclipse.swt.internal.Platform;
-
-public class NativesGenerator extends JNIGenerator {
-
-boolean nativeMacro, enterExitMacro, useCritical;
-
-public NativesGenerator() {
- useCritical = true;
- enterExitMacro = true;
- nativeMacro = true;
-}
-
-public void generate(Class clazz, String methodName) {
- Method[] methods = clazz.getDeclaredMethods();
- int count = 0;
- for (int i = 0; i < methods.length; i++) {
- if (methods[i].getName().startsWith(methodName)) count++;
- }
- Method[] result = new Method[count];
- count = 0;
- for (int i = 0; i < methods.length; i++) {
- if (methods[i].getName().startsWith(methodName)) result[count++] = methods[i];
- }
- generate(result);
-}
-
-public void generate(Class clazz) {
- ClassData classData = getMetaData().getMetaData(clazz);
- if (classData.getFlag("no_gen")) return;
- generateMetaData("swt_copyright");
- generateMetaData("swt_includes");
- generateNativeMacro(clazz);
- Method[] methods = clazz.getDeclaredMethods();
- generateExcludes(methods);
- generate(methods);
-}
-
-public void generateExcludes(Method[] methods) {
- sort(methods);
- HashSet excludes = new HashSet();
- for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
- if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
- MethodData methodData = getMetaData().getMetaData(method);
- String exclude = methodData.getExclude();
- if (exclude.length() != 0) {
- excludes.add(exclude);
- }
- }
- for (Iterator iter = excludes.iterator(); iter.hasNext();) {
- String exclude = (String)iter.next();
- output(exclude);
- outputDelimiter();
- for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
- if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
- MethodData methodData = getMetaData().getMetaData(method);
- String methodExclude = methodData.getExclude();
- if (exclude.equals(methodExclude)) {
- output("#define NO_");
- output(getFunctionName(method));
- outputDelimiter();
- }
- }
- output("#endif");
- outputDelimiter();
- outputDelimiter();
- }
-}
-
-public void generate(Method[] methods) {
- sort(methods);
- for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
- if ((method.getModifiers() & Modifier.NATIVE) == 0) continue;
- generate(method);
- }
-}
-
-public void generate(Method method) {
- MethodData methodData = getMetaData().getMetaData(method);
- if (methodData.getFlag("no_gen")) return;
- Class returnType = method.getReturnType();
- Class[] paramTypes = method.getParameterTypes();
- String function = getFunctionName(method);
-
- if (!(returnType == Void.TYPE || returnType.isPrimitive())) {
- output("Warnning: bad return type. :" + method);
- outputDelimiter();
- return;
- }
-
- generateSourceStart(function);
- generateFunctionPrototype(method, function, paramTypes, returnType);
- generateFunctionBody(method, methodData, function, paramTypes, returnType);
- generateSourceEnd(function);
- outputDelimiter();
-}
-
-public void setEnterExitMacro(boolean enterExitMacro) {
- this.enterExitMacro = enterExitMacro;
-}
-
-public void setNativeMacro(boolean nativeMacro) {
- this.nativeMacro = nativeMacro;
-}
-
-public void setUseCritical(boolean useCritical) {
- this.useCritical = useCritical;
-}
-
-void generateNativeMacro(Class clazz) {
- output("#define ");
- output(getClassName(clazz));
- output("_NATIVE(func) Java_");
- output(toC(clazz.getName()));
- output("_##func");
- outputDelimiter();
- outputDelimiter();
-}
-
-void generateGetParameter(int i, Class paramType, ParameterData paramData) {
- if (paramType.isPrimitive()) return;
- output("\tif (arg" + i);
- output(") lparg" + i);
- output(" = ");
- if (paramType.isArray()) {
- Class componentType = paramType.getComponentType();
- if (componentType.isPrimitive()) {
- if (useCritical && paramData.getFlag("critical")) {
- output("(*env)->GetPrimitiveArrayCritical(env, arg" + i);
- output(", NULL);");
- } else {
- output("(*env)->Get");
- output(getTypeSignature1(componentType));
- output("ArrayElements(env, arg" + i);
- output(", NULL);");
- }
- } else {
- throw new Error("not done");
- }
- } else if (paramType == String.class) {
- if (paramData.getFlag("unicode")) {
- output("(*env)->GetStringChars(env, arg" + i);
- output(", NULL);");
- } else {
- output("(*env)->GetStringUTFChars(env, arg" + i);
- output(", NULL);");
- }
- } else {
- if (paramData.getFlag("no_in")) {
- output("&_arg" + i);
- output(";");
- } else {
- output("get");
- output(getClassName(paramType));
- output("Fields(env, arg" + i);
- output(", &_arg" + i);
- output(");");
- }
- }
- outputDelimiter();
-}
-
-void genereateSetParameter(int i, Class paramType, ParameterData paramData) {
- if (paramType.isPrimitive()) return;
- if (paramType.isArray()) {
- output("\tif (arg" + i);
- output(") ");
- Class componentType = paramType.getComponentType();
- if (componentType.isPrimitive()) {
- if (useCritical && paramData.getFlag("critical")) {
- output("(*env)->ReleasePrimitiveArrayCritical(env, arg" + i);
- } else {
- output("(*env)->Release");
- output(getTypeSignature1(componentType));
- output("ArrayElements(env, arg" + i);
- }
- output(", lparg" + i);
- output(", ");
- if (paramData.getFlag("no_out")) {
- output("JNI_ABORT");
- } else {
- output("0");
- }
- output(");");
- } else {
- throw new Error("not done");
- }
- outputDelimiter();
- } else if (paramType == String.class) {
- output("\tif (arg" + i);
- output(") ");
- if (paramData.getFlag("unicode")) {
- output("(*env)->ReleaseStringChars(env, arg" + i);
- } else {
- output("(*env)->ReleaseStringUTFChars(env, arg" + i);
- }
- output(", lparg" + i);
- output(");");
- outputDelimiter();
- } else {
- if (!paramData.getFlag("no_out")) {
- output("\tif (arg" + i);
- output(") ");
- output("set");
- output(getClassName(paramType));
- output("Fields(env, arg" + i);
- output(", lparg" + i);
- output(");");
- outputDelimiter();
- }
- }
-}
-
-void generateExitMacro(String function) {
- if (!enterExitMacro) return;
- output("\tNATIVE_EXIT(env, that, \"");
- output(function);
- output("\\n\")");
- outputDelimiter();
-}
-
-void generateEnterMacro(String function) {
- if (!enterExitMacro) return;
- output("\tNATIVE_ENTER(env, that, \"");
- output(function);
- output("\\n\")");
- outputDelimiter();
-}
-
-boolean generateLocalVars(Method method, Class[] paramTypes, Class returnType) {
- boolean needsReturn = enterExitMacro;
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- if (paramType.isPrimitive()) continue;
- ParameterData paramData = getMetaData().getMetaData(method, i);
- output("\t");
- if (paramType.isArray()) {
- Class componentType = paramType.getComponentType();
- if (componentType.isPrimitive()) {
- output(getTypeSignature2(componentType));
- output(" *lparg" + i);
- output("=NULL;");
- } else {
- throw new Error("not done");
- }
- } else if (paramType == String.class) {
- if (paramData.getFlag("unicode")) {
- output("const jchar *lparg" + i);
- } else {
- output("const jbyte *lparg" + i);
- }
- output("= NULL;");
- } else {
- output(getClassName(paramType));
- output(" _arg" + i);
- if (paramData.getFlag("init")) output("={0}");
- output(", *lparg" + i);
- output("=NULL;");
- }
- outputDelimiter();
- needsReturn = true;
- }
- if (needsReturn) {
- if (returnType != Void.TYPE) {
- output("\t");
- output(getTypeSignature2(returnType));
- output(" rc;");
- outputDelimiter();
- }
- }
- return needsReturn;
-}
-
-void generateGetters(Method method, Class[] paramTypes) {
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (!paramData.getFlag("critical")) {
- generateGetParameter(i, paramType, paramData);
- }
- }
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (paramData.getFlag("critical")) {
- generateGetParameter(i, paramType, paramData);
- }
- }
-}
-
-void generateSetters(Method method, Class[] paramTypes) {
- for (int i = paramTypes.length - 1; i >= 0; i--) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (paramData.getFlag("critical")) {
- genereateSetParameter(i, paramType, paramData);
- }
- }
- for (int i = paramTypes.length - 1; i >= 0; i--) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (!paramData.getFlag("critical")) {
- genereateSetParameter(i, paramType, paramData);
- }
- }
-}
-
-void generateDynamicFunctionCall(Method method, MethodData methodData, Class[] paramTypes, Class returnType, boolean needsReturn) {
- output("/*");
- outputDelimiter();
- generateFunctionCall(method, methodData, paramTypes, returnType, needsReturn);
- output("*/");
- outputDelimiter();
- output("\t");
- output("{");
- outputDelimiter();
-
- if (Platform.PLATFORM.equals("win32")) {
- output("\t\tstatic int initialized = 0;");
- outputDelimiter();
- output("\t\tstatic HMODULE hm = NULL;");
- outputDelimiter();
- output("\t\tstatic FARPROC fp = NULL;");
- outputDelimiter();
- if (returnType != Void.TYPE) {
- if (needsReturn) {
- output("\t\trc = 0;");
- outputDelimiter();
- }
- }
- output("\t\tif (!initialized) {");
- outputDelimiter();
- output("\t\t\tif (!(hm = GetModuleHandle(");
- output(method.getName());
- output("_LIB))) hm = LoadLibrary(");
- output(method.getName());
- output("_LIB);");
- outputDelimiter();
- output("\t\t\tif (hm) fp = GetProcAddress(hm, \"");
- output(method.getName());
- output("\");");
- outputDelimiter();
- output("\t\t\tinitialized = 1;");
- outputDelimiter();
- output("\t\t}");
- outputDelimiter();
- output("\t\tif (fp) {");
- outputDelimiter();
- output("\t\t");
- generateFunctionCallLeftSide(method, methodData, returnType, needsReturn);
- output("fp");
- generateFunctionCallRightSide(method, methodData, paramTypes, 0);
- outputDelimiter();
- output("\t\t}");
- outputDelimiter();
- } else {
- output("\t\tstatic int initialized = 0;");
- outputDelimiter();
- output("\t\tstatic void *handle = NULL;");
- outputDelimiter();
- output("\t\tstatic int (*fptr)();");
- outputDelimiter();
- if (returnType != Void.TYPE) {
- if (needsReturn) {
- output("\t\trc = 0;");
- outputDelimiter();
- }
- }
- output("\t\tif (!initialized) {");
- outputDelimiter();
- output("\t\t\tif (!handle) handle = dlopen(");
- output(method.getName());
- output("_LIB, RTLD_LAZY);");
- outputDelimiter();
- output("\t\t\tif (handle) fptr = dlsym(handle, \"");
- output(method.getName());
- output("\");");
- outputDelimiter();
- output("\t\t\tinitialized = 1;");
- outputDelimiter();
- output("\t\t}");
- outputDelimiter();
- output("\t\tif (fptr) {");
- outputDelimiter();
- output("\t\t");
- generateFunctionCallLeftSide(method, methodData, returnType, needsReturn);
- output("(*fptr)");
- generateFunctionCallRightSide(method, methodData, paramTypes, 0);
- outputDelimiter();
- output("\t\t}");
- outputDelimiter();
- }
-
- output("\t");
- output("}");
- outputDelimiter();
-}
-
-void generateFunctionCallLeftSide(Method method, MethodData methodData, Class returnType, boolean needsReturn) {
- output("\t");
- if (returnType != Void.TYPE) {
- if (needsReturn) {
- output("rc = ");
- } else {
- output("return ");
- }
- output("(");
- output(getTypeSignature2(returnType));
- output(")");
- }
- if (methodData.getFlag("address")) {
- output("&");
- }
-}
-
-void generateFunctionCallRightSide(Method method, MethodData methodData, Class[] paramTypes, int paramStart) {
- if (!methodData.getFlag("const")) {
- output("(");
- for (int i = paramStart; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- ParameterData paramData = getMetaData().getMetaData(method, i);
- if (i != paramStart) output(", ");
- if (paramData.getFlag("struct")) output("*");
- output(paramData.getCast());
- if (!paramType.isPrimitive()) output("lp");
- output("arg" + i);
- }
- output(")");
- }
- output(";");
-}
-
-void generateFunctionCall(Method method, MethodData methodData, Class[] paramTypes, Class returnType, boolean needsReturn) {
- generateFunctionCallLeftSide(method, methodData, returnType, needsReturn);
- /*
- *
- */
- int paramStart = 0;
- if (method.getName().equalsIgnoreCase("call")) {
- output("(");
- ParameterData paramData = getMetaData().getMetaData(method, 0);
- String cast = paramData.getCast();
- if (cast.length() != 0 && !cast.equals("()")) {
- output(cast);
- } else {
- output("(");
- output(getTypeSignature2(returnType));
- output(" (*)())");
- }
- output("arg0)");
- paramStart = 1;
- } else if (method.getName().equals("VtblCall")) {
- output("((");
- output(getTypeSignature2(returnType));
- output(" (STDMETHODCALLTYPE *)())(*(int **)arg1)[arg0])");
- paramStart = 1;
- } else {
- output(method.getName());
- }
- generateFunctionCallRightSide(method, methodData, paramTypes, paramStart);
- outputDelimiter();
-}
-
-void generateReturn(Method method, Class returnType, boolean needsReturn) {
- if (needsReturn && returnType != Void.TYPE) {
- output("\treturn rc;");
- outputDelimiter();
- }
-}
-
-void generateGTKmemmove(Method method, String function, Class[] paramTypes) {
- generateEnterMacro(function);
- output("\t");
- boolean get = paramTypes[0].isPrimitive();
- String className = getClassName(paramTypes[get ? 1 : 0]);
- output(get ? "if (arg1) get" : "if (arg0) set");
- output(className);
- output(get ? "Fields(env, arg1, (" : "Fields(env, arg0, (");
- output(className);
- output(get ? " *)arg0)" : " *)arg1)");
- output(";");
- outputDelimiter();
- generateExitMacro(function);
-}
-
-void generateFunctionBody(Method method, MethodData methodData, String function, Class[] paramTypes, Class returnType) {
- output("{");
- outputDelimiter();
-
- /*
- *
- */
- boolean isGTKmemove = method.getName().equals("memmove") && paramTypes.length == 2 && returnType == Void.TYPE;
- if (isGTKmemove) {
- generateGTKmemmove(method, function, paramTypes);
- } else {
- boolean needsReturn = generateLocalVars(method, paramTypes, returnType);
- generateEnterMacro(function);
- generateGetters(method, paramTypes);
- if (methodData.getFlag("dynamic")) {
- generateDynamicFunctionCall(method, methodData, paramTypes, returnType, needsReturn);
- } else {
- generateFunctionCall(method, methodData, paramTypes, returnType, needsReturn);
- }
- generateSetters(method, paramTypes);
- generateExitMacro(function);
- generateReturn(method, returnType, needsReturn);
- }
-
- output("}");
- outputDelimiter();
-}
-
-void generateFunctionPrototype(Method method, String function, Class[] paramTypes, Class returnType) {
- output("JNIEXPORT ");
- output(getTypeSignature2(returnType));
- output(" JNICALL ");
- if (nativeMacro) {
- output(getClassName(method.getDeclaringClass()));
- output("_NATIVE(");
- } else {
- output("Java_");
- output(toC(method.getDeclaringClass().getName()));
- output("_");
- }
- output(function);
- if (nativeMacro) {
- output(")");
- }
- outputDelimiter();
- output("\t(JNIEnv *env, ");
- if ((method.getModifiers() & Modifier.STATIC) != 0) {
- output("jclass");
- } else {
- output("jobject");
- }
- output(" that");
- for (int i = 0; i < paramTypes.length; i++) {
- Class paramType = paramTypes[i];
- output(", ");
- output(getTypeSignature2(paramType));
- output(" arg" + i);
- }
- output(")");
- outputDelimiter();
-}
-
-void generateSourceStart(String function) {
- output("#ifndef NO_");
- output(function);
- outputDelimiter();
-}
-
-void generateSourceEnd(String function) {
- output("#endif");
- outputDelimiter();
-}
-
-boolean isUnique(Method method) {
- return isUnique(method, Modifier.NATIVE);
-}
-
-public static void main(String[] args) {
-// args = new String[]{"org.eclipse.swt.internal.win32.OS"};
- if (args.length < 1) {
- System.out.println("Usage: java NativesGenerator <className1> <className2>");
- return;
- }
- try {
- NativesGenerator gen = new NativesGenerator();
- for (int i = 0; i < args.length; i++) {
- String clazzName = args[i];
- Class clazz = Class.forName(clazzName);
- gen.generate(clazz);
-// gen.generate(clazz, "CommandBar_Destroy");
- }
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ParameterData.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ParameterData.java
deleted file mode 100644
index c4b8188ac9..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ParameterData.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.lang.reflect.Method;
-
-public class ParameterData extends ItemData {
-
- Method method;
- int parameter;
-
-public ParameterData(Method method, int parameter, String str) {
- super(str);
- this.method = method;
- this.parameter = parameter;
-}
-
-public static String[] getAllFlags() {
- return new String[]{"no_in", "no_out", "critical", "init", "struct", "unicode"};
-}
-
-public String getCast() {
- String cast = ((String)getParam("cast")).trim();
- if (cast.length() > 0) {
- if (!cast.startsWith("(")) cast = "(" + cast;
- if (!cast.endsWith(")")) cast = cast + ")";
- }
- return cast;
-}
-
-public Method getMethod() {
- return method;
-}
-
-public int getParameter() {
- return parameter;
-}
-
-public void setCast(String str) {
- setParam("cast", str);
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/SizeofGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/SizeofGenerator.java
deleted file mode 100644
index 8a325acc4d..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/SizeofGenerator.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.lang.reflect.*;
-
-public class SizeofGenerator extends JNIGenerator {
-
-public void generate(Class[] classes) {
- output("int main() {");
- outputDelimiter();
- super.generate(classes);
- output("}");
- outputDelimiter();
-}
-
-public void generate(Class clazz) {
- String className = getClassName(clazz);
- output("\tprintf(\"");
- output(className);
- output("=%d\\n\", sizeof(");
- output(className);
- output("));");
- outputDelimiter();
-// Field[] fields = clazz.getDeclaredFields();
-// generate(fields);
-}
-
-public void generate(Field[] fields) {
- sort(fields);
- for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
- if ((field.getModifiers() & Modifier.FINAL) == 0) continue;
- generate(field);
- }
-}
-
-public void generate(Field field) {
- output("\tprintf(\"");
- output(field.getName());
- output("=%d\\n\", sizeof(");
- output(field.getName());
- output("));");
- outputDelimiter();
-}
-
-public static void main(String[] args) {
- if (args.length < 1) {
- System.out.println("Usage: java SizeofGenerator <className1> <className2>");
- return;
- }
- try {
- SizeofGenerator gen = new SizeofGenerator();
- for (int i = 0; i < args.length; i++) {
- String clazzName = args[i];
- Class clazz = Class.forName(clazzName);
- gen.generate(clazz);
- }
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StructsGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StructsGenerator.java
deleted file mode 100644
index 2eb18f6299..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StructsGenerator.java
+++ /dev/null
@@ -1,554 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.lang.reflect.*;
-import java.util.Arrays;
-import java.util.Comparator;
-import java.util.HashSet;
-import java.util.Iterator;
-
-public class StructsGenerator extends JNIGenerator {
-
-public void generate(Class clazz) {
- generateHeaderFile(clazz);
- generateSourceFile(clazz);
-}
-
-public void generateExcludes(Class[] classes) {
- HashSet excludes = new HashSet();
- for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- ClassData classData = getMetaData().getMetaData(clazz);
- String exclude = classData.getExclude();
- if (exclude.length() != 0) {
- excludes.add(exclude);
- }
- }
- for (Iterator iter = excludes.iterator(); iter.hasNext();) {
- String exclude = (String)iter.next();
- output(exclude);
- outputDelimiter();
- for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- ClassData classData = getMetaData().getMetaData(clazz);
- String classExclude = classData.getExclude();
- if (exclude.equals(classExclude)) {
- output("#define NO_");
- output(getClassName(clazz));
- outputDelimiter();
- }
- }
- output("#endif");
- outputDelimiter();
- outputDelimiter();
- }
-}
-
-public void generateHeaderFile(Class clazz) {
- generateSourceStart(clazz);
- generatePrototypes(clazz);
- generateBlankMacros(clazz);
- generateSourceEnd(clazz);
- outputDelimiter();
-}
-
-public void generateHeaderFile(Class[] classes) {
- if (classes.length == 0) return;
- sortStructs(classes);
- generateMetaData("swt_copyright");
- generateMetaData("swt_includes");
- generateExcludes(classes);
- for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- ClassData classData = getMetaData().getMetaData(clazz);
- if (classData.getFlag("no_gen")) continue;
- generateHeaderFile(clazz);
- }
-}
-
-public void generateSourceFile(Class clazz) {
- generateSourceStart(clazz);
- generateFIDsStructure(clazz);
- outputDelimiter();
- generateGlobalVar(clazz);
- outputDelimiter();
- generateFunctions(clazz);
- generateSourceEnd(clazz);
- outputDelimiter();
-}
-
-public void generateSourceFile(Class[] classes) {
- if (classes.length == 0) return;
- sortStructs(classes);
- generateMetaData("swt_copyright");
- generateMetaData("swt_includes");
- for (int i = 0; i < classes.length; i++) {
- Class clazz = classes[i];
- ClassData classData = getMetaData().getMetaData(clazz);
- if (classData.getFlag("no_gen")) continue;
- generateSourceFile(clazz);
- }
-}
-
-void generateSourceStart(Class clazz) {
- String clazzName = getClassName(clazz);
- output("#ifndef NO_");
- output(clazzName);
- outputDelimiter();
-}
-
-void generateSourceEnd(Class clazz) {
- output("#endif");
- outputDelimiter();
-}
-
-void generateGlobalVar(Class clazz) {
- String clazzName = getClassName(clazz);
- output(clazzName);
- output("_FID_CACHE ");
- output(clazzName);
- output("Fc;");
- outputDelimiter();
-}
-
-void generateBlankMacros(Class clazz) {
- String clazzName = getClassName(clazz);
- output("#else");
- outputDelimiter();
- output("#define get");
- output(clazzName);
- output("Fields(a,b,c) NULL");
- outputDelimiter();
- output("#define set");
- output(clazzName);
- output("Fields(a,b,c)");
- outputDelimiter();
- output("#define ");
- output(clazzName);
- output("_sizeof() 0");
- outputDelimiter();
-}
-
-void generatePrototypes(Class clazz) {
- String clazzName = getClassName(clazz);
- output(clazzName);
- output(" *get");
- output(clazzName);
- output("Fields(JNIEnv *env, jobject lpObject, ");
- output(clazzName);
- output(" *lpStruct);");
- outputDelimiter();
- output("void set");
- output(clazzName);
- output("Fields(JNIEnv *env, jobject lpObject, ");
- output(clazzName);
- output(" *lpStruct);");
- outputDelimiter();
- output("#define ");
- output(clazzName);
- output("_sizeof() sizeof(");
- output(clazzName);
- output(")");
- outputDelimiter();
-}
-
-void generateFIDsStructure(Class clazz) {
- String clazzName = getClassName(clazz);
- output("typedef struct ");
- output(clazzName);
- output("_FID_CACHE {");
- outputDelimiter();
- output("\tint cached;");
- outputDelimiter();
- output("\tjclass clazz;");
- outputDelimiter();
- output("\tjfieldID ");
- Field[] fields = clazz.getDeclaredFields();
- boolean first = true;
- for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
- if (ignoreField(field)) continue;
- if (!first) output(", ");
- output(field.getName());
- first = false;
- }
- output(";");
- outputDelimiter();
- output("} ");
- output(clazzName);
- output("_FID_CACHE;");
- outputDelimiter();
-}
-
-void generateCacheFunction(Class clazz) {
- String clazzName = getClassName(clazz);
- output("void cache");
- output(clazzName);
- output("Fields(JNIEnv *env, jobject lpObject)");
- outputDelimiter();
- output("{");
- outputDelimiter();
- output("\tif (");
- output(clazzName);
- output("Fc.cached) return;");
- outputDelimiter();
- Class superclazz = clazz.getSuperclass();
- if (superclazz != Object.class) {
- String superName = getClassName(superclazz);
- output("\tcache");
- output(superName);
- output("Fields(env, lpObject);");
- outputDelimiter();
- }
- output("\t");
- output(clazzName);
- output("Fc.clazz = (*env)->GetObjectClass(env, lpObject);");
- outputDelimiter();
- Field[] fields = clazz.getDeclaredFields();
- for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
- if (ignoreField(field)) continue;
- output("\t");
- output(clazzName);
- output("Fc.");
- output(field.getName());
- output(" = (*env)->GetFieldID(env, ");
- output(clazzName);
- output("Fc.clazz, \"");
- output(field.getName());
- output("\", \"");
- output(getTypeSignature(field));
- output("\");");
- outputDelimiter();
- }
- output("\t");
- output(clazzName);
- output("Fc.cached = 1;");
- outputDelimiter();
- output("}");
- outputDelimiter();
-}
-
-void generateGetFields(Class clazz) {
- Class superclazz = clazz.getSuperclass();
- String clazzName = getClassName(clazz);
- String superName = getClassName(superclazz);
- if (superclazz != Object.class) {
- /* Windows exception - cannot call get/set function of super class in this case */
- if (!(clazzName.equals(superName + "A") || clazzName.equals(superName + "W"))) {
- output("\tget");
- output(superName);
- output("Fields(env, lpObject, (");
- output(superName);
- output(" *)lpStruct);");
- outputDelimiter();
- } else {
- generateGetFields(superclazz);
- }
- }
- Field[] fields = clazz.getDeclaredFields();
- for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
- if (ignoreField(field)) continue;
- FieldData fieldData = getMetaData().getMetaData(field);
- String exclude = fieldData.getExclude();
- if (exclude.length() != 0) {
- output(exclude);
- outputDelimiter();
- }
- boolean noWinCE = fieldData.getFlag("no_wince");
- if (noWinCE) {
- output("#ifndef _WIN32_WCE");
- outputDelimiter();
- }
- Class type = field.getType();
- String typeName = getClassName(type);
- String accessor = fieldData.getAccessor();
- if (accessor == null || accessor.length() == 0) accessor = field.getName();
- if (type.isPrimitive()) {
- output("\tlpStruct->");
- output(accessor);
- output(" = ");
- output(fieldData.getCast());
- output("(*env)->Get");
- output(getTypeSignature1(field));
- output("Field(env, lpObject, ");
- output(getClassName(field.getDeclaringClass()));
- output("Fc.");
- output(field.getName());
- output(");");
- } else if (type.isArray()) {
- Class componentType = type.getComponentType();
- if (componentType.isPrimitive()) {
- output("\t{");
- outputDelimiter();
- output("\t");
- output(getTypeSignature2(field));
- output(" lpObject1 = (*env)->GetObjectField(env, lpObject, ");
- output(getClassName(field.getDeclaringClass()));
- output("Fc.");
- output(field.getName());
- output(");");
- outputDelimiter();
- output("\t(*env)->Get");
- output(getTypeSignature1(componentType));
- output("ArrayRegion(env, lpObject1, 0, sizeof(lpStruct->");
- output(accessor);
- output(")");
- int byteCount = getByteCount(componentType);
- if (byteCount > 1) {
- output(" / ");
- output(String.valueOf(byteCount));
- }
- output(", (void *)lpStruct->");
- output(accessor);
- output(");");
- outputDelimiter();
- output("\t}");
- } else {
- throw new Error("not done");
- }
- } else {
- output("\t{");
- outputDelimiter();
- output("\tjobject lpObject1 = (*env)->GetObjectField(env, lpObject, ");
- output(getClassName(field.getDeclaringClass()));
- output("Fc.");
- output(field.getName());
- output(");");
- outputDelimiter();
- output("\tget");
- output(typeName);
- output("Fields(env, lpObject1, &lpStruct->");
- output(accessor);
- output(");");
- outputDelimiter();
- output("\t}");
- }
- outputDelimiter();
- if (noWinCE) {
- output("#endif");
- outputDelimiter();
- }
- if (exclude.length() != 0) {
- output("#endif");
- outputDelimiter();
- }
- }
-}
-void generateGetFunction(Class clazz) {
- String clazzName = getClassName(clazz);
- output(clazzName);
- output(" *get");
- output(clazzName);
- output("Fields(JNIEnv *env, jobject lpObject, ");
- output(clazzName);
- output(" *lpStruct)");
- outputDelimiter();
- output("{");
- outputDelimiter();
- output("\tif (!");
- output(clazzName);
- output("Fc.cached) cache");
- output(clazzName);
- output("Fields(env, lpObject);");
- outputDelimiter();
- generateGetFields(clazz);
- output("\treturn lpStruct;");
- outputDelimiter();
- output("}");
- outputDelimiter();
-}
-
-void generateSetFields(Class clazz) {
- Class superclazz = clazz.getSuperclass();
- String clazzName = getClassName(clazz);
- String superName = getClassName(superclazz);
- if (superclazz != Object.class) {
- /* Windows exception - cannot call get/set function of super class in this case */
- if (!(clazzName.equals(superName + "A") || clazzName.equals(superName + "W"))) {
- output("\tset");
- output(superName);
- output("Fields(env, lpObject, (");
- output(superName);
- output(" *)lpStruct);");
- outputDelimiter();
- } else {
- generateSetFields(superclazz);
- }
- }
- Field[] fields = clazz.getDeclaredFields();
- for (int i = 0; i < fields.length; i++) {
- Field field = fields[i];
- if (ignoreField(field)) continue;
- FieldData fieldData = getMetaData().getMetaData(field);
- String exclude = fieldData.getExclude();
- if (exclude.length() != 0) {
- output(exclude);
- outputDelimiter();
- }
- boolean noWinCE = fieldData.getFlag("no_wince");
- if (noWinCE) {
- output("#ifndef _WIN32_WCE");
- outputDelimiter();
- }
- Class type = field.getType();
- String typeName = getClassName(type);
- String accessor = fieldData.getAccessor();
- if (accessor == null || accessor.length() == 0) accessor = field.getName();
- if (type.isPrimitive()) {
- output("\t(*env)->Set");
- output(getTypeSignature1(field));
- output("Field(env, lpObject, ");
- output(getClassName(field.getDeclaringClass()));
- output("Fc.");
- output(field.getName());
- output(", (");
- output(getTypeSignature2(field));
- output(")lpStruct->");
- output(accessor);
- output(");");
- } else if (type.isArray()) {
- Class componentType = type.getComponentType();
- if (componentType.isPrimitive()) {
- output("\t{");
- outputDelimiter();
- output("\t");
- output(getTypeSignature2(field));
- output(" lpObject1 = (*env)->GetObjectField(env, lpObject, ");
- output(getClassName(field.getDeclaringClass()));
- output("Fc.");
- output(field.getName());
- output(");");
- outputDelimiter();
- output("\t(*env)->Set");
- output(getTypeSignature1(componentType));
- output("ArrayRegion(env, lpObject1, 0, sizeof(lpStruct->");
- output(accessor);
- output(")");
- int byteCount = getByteCount(componentType);
- if (byteCount > 1) {
- output(" / ");
- output(String.valueOf(byteCount));
- }
- output(", (void *)lpStruct->");
- output(accessor);
- output(");");
- outputDelimiter();
- output("\t}");
- } else {
- throw new Error("not done");
- }
- } else {
- output("\t{");
- outputDelimiter();
- output("\tjobject lpObject1 = (*env)->GetObjectField(env, lpObject, ");
- output(getClassName(field.getDeclaringClass()));
- output("Fc.");
- output(field.getName());
- output(");");
- outputDelimiter();
- output("\tset");
- output(typeName);
- output("Fields(env, lpObject1, &lpStruct->");
- output(accessor);
- output(");");
- outputDelimiter();
- output("\t}");
- }
- outputDelimiter();
- if (noWinCE) {
- output("#endif");
- outputDelimiter();
- }
- if (exclude.length() != 0) {
- output("#endif");
- outputDelimiter();
- }
- }
-}
-
-void generateSetFunction(Class clazz) {
- String clazzName = getClassName(clazz);
- output("void set");
- output(clazzName);
- output("Fields(JNIEnv *env, jobject lpObject, ");
- output(clazzName);
- output(" *lpStruct)");
- outputDelimiter();
- output("{");
- outputDelimiter();
- output("\tif (!");
- output(clazzName);
- output("Fc.cached) cache");
- output(clazzName);
- output("Fields(env, lpObject);");
- outputDelimiter();
- generateSetFields(clazz);
- output("}");
- outputDelimiter();
-}
-
-void generateFunctions(Class clazz) {
- generateCacheFunction(clazz);
- outputDelimiter();
- generateGetFunction(clazz);
- outputDelimiter();
- generateSetFunction(clazz);
-}
-
-boolean ignoreField(Field field) {
- int mods = field.getModifiers();
- return
- ((mods & Modifier.PUBLIC) == 0) ||
- ((mods & Modifier.FINAL) != 0) ||
- ((mods & Modifier.STATIC) != 0);
-}
-
-void sortStructs(Class[] classes) {
- Arrays.sort(classes, new Comparator() {
- public int compare(Object a, Object b) {
- if (a == b) return 0;
- Class class1 = (Class)a;
- Class class2 = (Class)b;
- Class tempClass = class1;
- while ((tempClass = tempClass.getSuperclass()) != Object.class) {
- if (tempClass == class2) return 1;
- }
- tempClass = class2;
- while ((tempClass = tempClass.getSuperclass()) != Object.class) {
- if (tempClass == class1) return -1;
- }
- return class1.getName().compareTo(class2.getName());
- }
- });
-}
-
-public static void main(String[] args) {
- if (args.length < 1) {
- System.out.println("Usage: java StructsGenerator <className1> <className2>");
- return;
- }
- try {
- StructsGenerator gen = new StructsGenerator();
- for (int i = 0; i < args.length; i++) {
- String clazzName = args[i];
- Class clazz = Class.forName(clazzName);
- gen.generate(clazz);
- }
- } catch (Exception e) {
- System.out.println("Problem");
- e.printStackTrace(System.out);
- }
-}
-
-}
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.accessibility.gtk.ATK.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.accessibility.gtk.ATK.properties
deleted file mode 100644
index e1bdd9bc39..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.accessibility.gtk.ATK.properties
+++ /dev/null
@@ -1,344 +0,0 @@
-org_eclipse_swt_internal_accessibility_gtk_ATK=
-ATK_ATK_ACTION_GET_IFACE=
-ATK_ATK_ACTION_GET_IFACE_0=
-
-ATK_ATK_COMPONENT_GET_IFACE=
-ATK_ATK_COMPONENT_GET_IFACE_0=
-
-ATK_ATK_OBJECT_FACTORY_CLASS=
-ATK_ATK_OBJECT_FACTORY_CLASS_0=
-
-ATK_ATK_SELECTION_GET_IFACE=
-ATK_ATK_SELECTION_GET_IFACE_0=
-
-ATK_ATK_TEXT_GET_IFACE=
-ATK_ATK_TEXT_GET_IFACE_0=
-
-ATK_AtkObjectFactoryClass_sizeof=
-
-ATK_AtkObjectFactory_sizeof=
-
-ATK_GInterfaceInfo_sizeof=
-
-ATK_GTK_ACCESSIBLE=
-ATK_GTK_ACCESSIBLE_0=
-
-ATK_GTypeInfo_sizeof=
-
-ATK_GTypeQuery_sizeof=
-
-ATK_G_OBJECT_CLASS=
-ATK_G_OBJECT_CLASS_0=
-
-ATK_G_OBJECT_GET_CLASS=
-ATK_G_OBJECT_GET_CLASS_0=
-
-ATK_G_TYPE_FROM_INSTANCE=
-ATK_G_TYPE_FROM_INSTANCE_0=
-
-ATK_atk_focus_tracker_notify=
-ATK_atk_focus_tracker_notify_0=cast=(AtkObject *)
-
-ATK_atk_get_default_registry=
-
-ATK_atk_object_factory_get_accessible_type=
-ATK_atk_object_factory_get_accessible_type_0=cast=(AtkObjectFactory *)
-
-ATK_atk_object_initialize=
-ATK_atk_object_initialize_0=cast=(AtkObject *)
-ATK_atk_object_initialize_1=cast=(gpointer)
-
-ATK_atk_registry_get_factory=
-ATK_atk_registry_get_factory_0=cast=(AtkRegistry *)
-ATK_atk_registry_get_factory_1=cast=(GType)
-
-ATK_atk_registry_set_factory_type=
-ATK_atk_registry_set_factory_type_0=cast=(AtkRegistry *)
-ATK_atk_registry_set_factory_type_1=cast=(GType)
-ATK_atk_registry_set_factory_type_2=cast=(GType)
-
-ATK_atk_state_set_add_state=
-ATK_atk_state_set_add_state_0=cast=(AtkStateSet *)
-ATK_atk_state_set_add_state_1=cast=(AtkStateType)
-
-ATK_atk_state_set_new=
-
-ATK_call__II=
-ATK_call__II_0=
-ATK_call__II_1=
-
-ATK_call__III=
-ATK_call__III_0=
-ATK_call__III_1=
-ATK_call__III_2=
-
-ATK_call__IIII=
-ATK_call__IIII_0=
-ATK_call__IIII_1=
-ATK_call__IIII_2=
-ATK_call__IIII_3=
-
-ATK_call__IIIII=
-ATK_call__IIIII_0=
-ATK_call__IIIII_1=
-ATK_call__IIIII_2=
-ATK_call__IIIII_3=
-ATK_call__IIIII_4=
-
-ATK_call__IIIIII=
-ATK_call__IIIIII_0=
-ATK_call__IIIIII_1=
-ATK_call__IIIIII_2=
-ATK_call__IIIIII_3=
-ATK_call__IIIIII_4=
-ATK_call__IIIIII_5=
-
-ATK_call__IIIIIII=
-ATK_call__IIIIIII_0=
-ATK_call__IIIIIII_1=
-ATK_call__IIIIIII_2=
-ATK_call__IIIIIII_3=
-ATK_call__IIIIIII_4=
-ATK_call__IIIIIII_5=
-ATK_call__IIIIIII_6=
-
-ATK_g_object_new=
-ATK_g_object_new_0=cast=(GType)
-ATK_g_object_new_1=cast=(const gchar *)
-
-ATK_g_type_add_interface_static=
-ATK_g_type_add_interface_static_0=cast=(GType)
-ATK_g_type_add_interface_static_1=cast=(GType)
-ATK_g_type_add_interface_static_2=cast=(const GInterfaceInfo *)
-
-ATK_g_type_class_peek=
-ATK_g_type_class_peek_0=cast=(GType)
-
-ATK_g_type_class_peek_parent=
-ATK_g_type_class_peek_parent_0=cast=(gpointer)
-
-ATK_g_type_from_name=
-ATK_g_type_from_name_0=
-
-ATK_g_type_interface_peek_parent=
-ATK_g_type_interface_peek_parent_0=cast=(gpointer)
-
-ATK_g_type_is_a=
-ATK_g_type_is_a_0=cast=(GType)
-ATK_g_type_is_a_1=cast=(GType)
-
-ATK_g_type_name=
-ATK_g_type_name_0=cast=(GType)
-
-ATK_g_type_parent=
-ATK_g_type_parent_0=cast=(GType)
-
-ATK_g_type_query=
-ATK_g_type_query_0=cast=(GType)
-ATK_g_type_query_1=cast=(GTypeQuery *)
-
-ATK_g_type_register_static=
-ATK_g_type_register_static_0=cast=(GType)
-ATK_g_type_register_static_1=
-ATK_g_type_register_static_2=cast=(const GTypeInfo *)
-ATK_g_type_register_static_3=cast=(GTypeFlags)
-
-ATK_gtk_widget_get_toplevel=
-ATK_gtk_widget_get_toplevel_0=cast=(GtkWidget *)
-
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkActionIface_2=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkActionIface_2_0=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkActionIface_2_1=
-
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkComponentIface_2=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkComponentIface_2_0=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkComponentIface_2_1=
-
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkObjectClass_2=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkObjectClass_2_0=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkObjectClass_2_1=
-
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkObjectFactoryClass_2=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkObjectFactoryClass_2_0=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkObjectFactoryClass_2_1=
-
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkSelectionIface_2=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkSelectionIface_2_0=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkSelectionIface_2_1=
-
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkTextIface_2=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkTextIface_2_0=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_AtkTextIface_2_1=
-
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_GInterfaceInfo_2I=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_GInterfaceInfo_2I_0=cast=(void *)
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_GInterfaceInfo_2I_1=cast=(const void *),flags=no_out
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_GInterfaceInfo_2I_2=cast=(size_t)
-
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_GObjectClass_2=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_GObjectClass_2_0=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_GObjectClass_2_1=
-
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_GTypeInfo_2I=
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_GTypeInfo_2I_0=cast=(void *)
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_GTypeInfo_2I_1=cast=(const void *),flags=no_out
-ATK_memmove__ILorg_eclipse_swt_internal_accessibility_gtk_GTypeInfo_2I_2=cast=(size_t)
-
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkActionIface_2I=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkActionIface_2I_0=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkActionIface_2I_1=
-
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkComponentIface_2I=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkComponentIface_2I_0=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkComponentIface_2I_1=
-
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkObjectClass_2I=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkObjectClass_2I_0=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkObjectClass_2I_1=
-
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkObjectFactoryClass_2I=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkObjectFactoryClass_2I_0=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkObjectFactoryClass_2I_1=
-
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkSelectionIface_2I=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkSelectionIface_2I_0=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkSelectionIface_2I_1=
-
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkTextIface_2I=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkTextIface_2I_0=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_AtkTextIface_2I_1=
-
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_GObjectClass_2I=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_GObjectClass_2I_0=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_GObjectClass_2I_1=
-
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_GTypeQuery_2II=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_GTypeQuery_2II_0=cast=(void *),flags=no_in
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_GTypeQuery_2II_1=cast=(const void *)
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_GTypeQuery_2II_2=cast=size_t)
-
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_GtkAccessible_2I=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_GtkAccessible_2I_0=
-ATK_memmove__Lorg_eclipse_swt_internal_accessibility_gtk_GtkAccessible_2I_1=
-
-
-org_eclipse_swt_internal_accessibility_gtk_AtkActionIface=
-AtkActionIface_do_action=cast=(gboolean (*)())
-AtkActionIface_get_n_actions=cast=(gint (*)())
-AtkActionIface_get_description=cast=(G_CONST_RETURN gchar *(*)())
-AtkActionIface_get_name=cast=(G_CONST_RETURN gchar *(*)())
-AtkActionIface_get_keybinding=cast=(G_CONST_RETURN gchar *(*)())
-AtkActionIface_set_description=cast=(gboolean (*)())
-
-org_eclipse_swt_internal_accessibility_gtk_AtkComponentIface=
-AtkComponentIface_add_focus_handler=cast=(guint (*)())
-AtkComponentIface_contains=cast=(gboolean (*)())
-AtkComponentIface_ref_accessible_at_point=cast=(AtkObject *(*)())
-AtkComponentIface_get_extents=cast=(void (*)())
-AtkComponentIface_get_position=cast=(void (*)())
-AtkComponentIface_get_size=cast=(void (*)())
-AtkComponentIface_grab_focus=cast=(gboolean (*)())
-AtkComponentIface_remove_focus_handler=cast=(void (*)())
-AtkComponentIface_set_extents=cast=(gboolean (*)())
-AtkComponentIface_set_position=cast=(gboolean (*)())
-AtkComponentIface_set_size=cast=(gboolean (*)())
-AtkComponentIface_get_layer=cast=(AtkLayer (*)())
-AtkComponentIface_get_mdi_zorder=cast=(gint (*)())
-
-org_eclipse_swt_internal_accessibility_gtk_AtkObjectClass=
-AtkObjectClass_get_name=cast=(G_CONST_RETURN gchar *(*)())
-AtkObjectClass_get_description=cast=(G_CONST_RETURN gchar *(*)())
-AtkObjectClass_get_parent=cast=(AtkObject *(*)())
-AtkObjectClass_get_n_children=cast=(gint (*)())
-AtkObjectClass_ref_child=cast=(AtkObject *(*)())
-AtkObjectClass_get_index_in_parent=cast=(gint (*)())
-AtkObjectClass_ref_relation_set=cast=(AtkRelationSet *(*)())
-AtkObjectClass_get_role=cast=(AtkRole (*)())
-AtkObjectClass_get_layer=cast=(AtkLayer (*)())
-AtkObjectClass_get_mdi_zorder=cast=(gint (*)())
-AtkObjectClass_ref_state_set=cast=(AtkStateSet *(*)())
-AtkObjectClass_set_name=cast=(void (*)())
-AtkObjectClass_set_description=cast=(void (*)())
-AtkObjectClass_set_parent=cast=(void (*)())
-AtkObjectClass_set_role=cast=(void (*)())
-AtkObjectClass_connect_property_change_handler=cast=(guint (*)())
-AtkObjectClass_remove_property_change_handler=cast=(void (*)())
-AtkObjectClass_initialize=cast=(void (*)())
-AtkObjectClass_children_changed=cast=(void (*)())
-AtkObjectClass_focus_event=cast=(void (*)())
-AtkObjectClass_property_change=cast=(void (*)())
-AtkObjectClass_state_change=cast=(void (*)())
-AtkObjectClass_visible_data_changed=cast=(void (*)())
-
-org_eclipse_swt_internal_accessibility_gtk_AtkObjectFactoryClass=
-AtkObjectFactoryClass_create_accessible=cast=(AtkObject *(*)())
-AtkObjectFactoryClass_invalidate=cast=(void (*)())
-AtkObjectFactoryClass_get_accessible_type=cast=(GType (*)())
-
-org_eclipse_swt_internal_accessibility_gtk_AtkSelectionIface=
-AtkSelectionIface_add_selection=cast=(gboolean (*)())
-AtkSelectionIface_clear_selection=cast=(gboolean (*)())
-AtkSelectionIface_ref_selection=cast=(AtkObject *(*)())
-AtkSelectionIface_get_selection_count=cast=(gint (*)())
-AtkSelectionIface_is_child_selected=cast=(gboolean (*)())
-AtkSelectionIface_remove_selection=cast=(gboolean (*)())
-AtkSelectionIface_select_all_selection=cast=(gboolean (*)())
-AtkSelectionIface_selection_changed=cast=(void (*)())
-
-org_eclipse_swt_internal_accessibility_gtk_AtkTextIface=
-AtkTextIface_get_text=cast=(gchar *(*)())
-AtkTextIface_get_text_after_offset=cast=(gchar *(*)())
-AtkTextIface_get_text_at_offset=cast=(gchar *(*)())
-AtkTextIface_get_character_at_offset=cast=(gunichar (*)())
-AtkTextIface_get_text_before_offset=cast=(gchar *(*)())
-AtkTextIface_get_caret_offset=cast=(gint (*)())
-AtkTextIface_get_run_attributes=cast=(AtkAttributeSet *(*)())
-AtkTextIface_get_default_attributes=cast=(AtkAttributeSet *(*)())
-AtkTextIface_get_character_extents=cast=(void (*)())
-AtkTextIface_get_character_count=cast=(gint (*)())
-AtkTextIface_get_offset_at_point=cast=(gint (*)())
-AtkTextIface_get_n_selections=cast=(gint (*)())
-AtkTextIface_get_selection=cast=(gchar *(*)())
-AtkTextIface_add_selection=cast=(gboolean (*)())
-AtkTextIface_remove_selection=cast=(gboolean (*)())
-AtkTextIface_set_selection=cast=(gboolean (*)())
-AtkTextIface_set_caret_offset=cast=(gboolean (*)())
-AtkTextIface_text_changed=cast=(void (*)())
-AtkTextIface_text_caret_moved=cast=(void (*)())
-AtkTextIface_text_selection_changed=cast=(void (*)())
-
-org_eclipse_swt_internal_accessibility_gtk_GInterfaceInfo=
-GInterfaceInfo_interface_init=cast=(GInterfaceInitFunc)
-GInterfaceInfo_interface_finalize=cast=(GInterfaceFinalizeFunc)
-GInterfaceInfo_interface_data=cast=(gpointer)
-
-org_eclipse_swt_internal_accessibility_gtk_GObjectClass=
-GObjectClass_constructor=cast=(GObject *(*)())
-GObjectClass_set_property=cast=(void (*)())
-GObjectClass_get_property=cast=(void (*)())
-GObjectClass_dispose=cast=(void (*)())
-GObjectClass_finalize=cast=(void (*)())
-GObjectClass_dispatch_properties_changed=cast=(void (*)())
-GObjectClass_notify=cast=(void (*)())
-
-org_eclipse_swt_internal_accessibility_gtk_GTypeInfo=
-GTypeInfo_class_size=cast=(guint16)
-GTypeInfo_base_init=cast=(GBaseInitFunc)
-GTypeInfo_base_finalize=cast=(GBaseFinalizeFunc)
-GTypeInfo_class_init=cast=(GClassInitFunc)
-GTypeInfo_class_finalize=cast=(GClassFinalizeFunc)
-GTypeInfo_class_data=cast=(gconstpointer)
-GTypeInfo_instance_size=cast=(guint16)
-GTypeInfo_n_preallocs=cast=(guint16)
-GTypeInfo_instance_init=cast=(GInstanceInitFunc)
-GTypeInfo_value_table=cast=(GTypeValueTable *)
-
-org_eclipse_swt_internal_accessibility_gtk_GTypeQuery=
-GTypeQuery_type=cast=(GType)
-GTypeQuery_type_name=cast=(const gchar *)
-GTypeQuery_class_size=cast=(guint)
-GTypeQuery_instance_size=cast=(guint)
-
-org_eclipse_swt_internal_accessibility_gtk_GtkAccessible=
-GtkAccessible_widget=cast=(GtkWidget *)
-
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.accessibility.gtk.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.accessibility.gtk.properties
deleted file mode 100644
index 21db003f34..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.accessibility.gtk.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-swt_copyright=/*******************************************************************************\n\
- * Copyright (c) 2000, 2003 IBM Corporation and others. All rights reserved.\n\
- * The contents of this file are made available under the terms\n\
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that\n\
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also\n\
- * available at http://www.gnu.org/licenses/lgpl.html. If the version\n\
- * of the LGPL at http://www.gnu.org is different to the version of\n\
- * the LGPL accompanying this distribution and there is any conflict\n\
- * between the two license versions, the terms of the LGPL accompanying\n\
- * this distribution shall govern.\n\
- * \n\
- * Contributors:\n\
- * IBM Corporation - initial API and implementation\n\
- *******************************************************************************/\n
- \ No newline at end of file
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties
deleted file mode 100644
index a1e91848fc..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties
+++ /dev/null
@@ -1,3696 +0,0 @@
-org_eclipse_swt_internal_carbon_AEDesc=
-AEDesc_descriptorType=cast=(DescType)
-AEDesc_dataHandle=cast=(AEDataStorage)
-
-org_eclipse_swt_internal_carbon_ATSTrapezoid=
-ATSTrapezoid_upperLeft_x=accessor=upperLeft.x
-ATSTrapezoid_upperLeft_y=accessor=upperLeft.y
-ATSTrapezoid_upperRight_x=accessor=upperRight.x
-ATSTrapezoid_upperRight_y=accessor=upperRight.y
-ATSTrapezoid_lowerRight_x=accessor=lowerRight.x
-ATSTrapezoid_lowerRight_y=accessor=lowerRight.y
-ATSTrapezoid_lowerLeft_x=accessor=lowerLeft.x
-ATSTrapezoid_lowerLeft_y=accessor=lowerLeft.y
-
-org_eclipse_swt_internal_carbon_ATSUCaret=
-ATSUCaret_fX=
-ATSUCaret_fY=
-ATSUCaret_fDeltaX=
-ATSUCaret_fDeltaY=
-
-org_eclipse_swt_internal_carbon_ATSUTab=
-ATSUTab_tabPosition=
-ATSUTab_tabType=
-
-org_eclipse_swt_internal_carbon_ATSUUnhighlightData=
-ATSUUnhighlightData_dataType=
-ATSUUnhighlightData_red=accessor=unhighlightData.backgroundColor.red
-ATSUUnhighlightData_green=accessor=unhighlightData.backgroundColor.green
-ATSUUnhighlightData_blue=accessor=unhighlightData.backgroundColor.blue
-ATSUUnhighlightData_alpha=accessor=unhighlightData.backgroundColor.alpha
-
-org_eclipse_swt_internal_carbon_AlertStdCFStringAlertParamRec=
-AlertStdCFStringAlertParamRec_version=
-AlertStdCFStringAlertParamRec_movable=
-AlertStdCFStringAlertParamRec_helpButton=
-AlertStdCFStringAlertParamRec_defaultText=cast=(CFStringRef)
-AlertStdCFStringAlertParamRec_cancelText=cast=(CFStringRef)
-AlertStdCFStringAlertParamRec_otherText=cast=(CFStringRef)
-AlertStdCFStringAlertParamRec_defaultButton=
-AlertStdCFStringAlertParamRec_cancelButton=
-AlertStdCFStringAlertParamRec_position=
-AlertStdCFStringAlertParamRec_flags=
-
-org_eclipse_swt_internal_carbon_BitMap=
-BitMap_baseAddr=cast=(void *)
-BitMap_rowBytes=
-BitMap_top=accessor=bounds.top
-BitMap_left=accessor=bounds.left
-BitMap_bottom=accessor=bounds.bottom
-BitMap_right=accessor=bounds.right
-
-org_eclipse_swt_internal_carbon_CFRange=
-CFRange_location=cast=(CFIndex)
-CFRange_length=cast=(CFIndex)
-
-org_eclipse_swt_internal_carbon_CGPoint=
-CGPoint_x=cast=(float)
-CGPoint_y=cast=(float)
-
-org_eclipse_swt_internal_carbon_CGRect=
-CGRect_x=accessor=origin.x,cast=(float)
-CGRect_y=accessor=origin.y,cast=(float)
-CGRect_width=accessor=size.width,cast=(float)
-CGRect_height=accessor=size.height,cast=(float)
-
-org_eclipse_swt_internal_carbon_ColorPickerInfo=
-ColorPickerInfo_profile=accessor=theColor.profile,cast=(CMProfileHandle)
-ColorPickerInfo_red=accessor=theColor.color.rgb.red,cast=(UInt16)
-ColorPickerInfo_green=accessor=theColor.color.rgb.green,cast=(UInt16)
-ColorPickerInfo_blue=accessor=theColor.color.rgb.blue,cast=(UInt16)
-ColorPickerInfo_dstProfile=cast=(CMProfileHandle)
-ColorPickerInfo_flags=cast=(UInt32)
-ColorPickerInfo_placeWhere=cast=(DialogPlacementSpec)
-ColorPickerInfo_h=accessor=dialogOrigin.h,cast=(short)
-ColorPickerInfo_v=accessor=dialogOrigin.v,cast=(short)
-ColorPickerInfo_pickerType=cast=(OSType)
-ColorPickerInfo_eventProc=cast=(UserEventUPP)
-ColorPickerInfo_colorProc=cast=(ColorChangedUPP)
-ColorPickerInfo_colorProcData=cast=(UInt32)
-ColorPickerInfo_prompt=cast=(Str255)
-ColorPickerInfo_editMenuID=accessor=mInfo.editMenuID,cast=(SInt16)
-ColorPickerInfo_cutItem=accessor=mInfo.cutItem,cast=(SInt16)
-ColorPickerInfo_copyItem=accessor=mInfo.copyItem,cast=(SInt16)
-ColorPickerInfo_pasteItem=accessor=mInfo.pasteItem,cast=(SInt16)
-ColorPickerInfo_clearItem=accessor=mInfo.clearItem,cast=(SInt16)
-ColorPickerInfo_undoItem=accessor=mInfo.undoItem,cast=(SInt16)
-ColorPickerInfo_newColorChosen=cast=(Boolean)
-
-org_eclipse_swt_internal_carbon_ControlButtonContentInfo=
-ControlButtonContentInfo_contentType=cast=(ControlContentType)
-ControlButtonContentInfo_iconRef=accessor=u.iconRef,cast=(void *)
-
-org_eclipse_swt_internal_carbon_ControlFontStyleRec=
-ControlFontStyleRec_flags=
-ControlFontStyleRec_font=
-ControlFontStyleRec_size=
-ControlFontStyleRec_style=
-ControlFontStyleRec_mode=
-ControlFontStyleRec_just=
-ControlFontStyleRec_foreColor_red=accessor=foreColor.red
-ControlFontStyleRec_foreColor_green=accessor=foreColor.green
-ControlFontStyleRec_foreColor_blue=accessor=foreColor.blue
-ControlFontStyleRec_backColor_red=accessor=backColor.red
-ControlFontStyleRec_backColor_green=accessor=backColor.green
-ControlFontStyleRec_backColor_blue=accessor=backColor.blue
-
-org_eclipse_swt_internal_carbon_ControlTabEntry=
-ControlTabEntry_icon=cast=(ControlButtonContentInfo *)
-ControlTabEntry_name=cast=(CFStringRef)
-ControlTabEntry_enabled=cast=(Boolean)
-
-org_eclipse_swt_internal_carbon_ControlTabInfoRecV1=
-ControlTabInfoRecV1_version=cast=(SInt16)
-ControlTabInfoRecV1_iconSuiteID=cast=(SInt16)
-ControlTabInfoRecV1_name=cast=(CFStringRef)
-
-org_eclipse_swt_internal_carbon_Cursor=
-Cursor_data=
-Cursor_mask=
-Cursor_hotSpot_v=accessor=hotSpot.v
-Cursor_hotSpot_h=accessor=hotSpot.h
-
-org_eclipse_swt_internal_carbon_DataBrowserCallbacks=
-DataBrowserCallbacks_version=cast=(UInt32)
-DataBrowserCallbacks_v1_itemDataCallback=accessor=u.v1.itemDataCallback,cast=(DataBrowserItemDataUPP)
-DataBrowserCallbacks_v1_itemCompareCallback=accessor=u.v1.itemCompareCallback,cast=(DataBrowserItemCompareUPP)
-DataBrowserCallbacks_v1_itemNotificationCallback=accessor=u.v1.itemNotificationCallback,cast=(DataBrowserItemNotificationUPP)
-DataBrowserCallbacks_v1_addDragItemCallback=accessor=u.v1.addDragItemCallback,cast=(DataBrowserAddDragItemUPP)
-DataBrowserCallbacks_v1_acceptDragCallback=accessor=u.v1.acceptDragCallback,cast=(DataBrowserAcceptDragUPP)
-DataBrowserCallbacks_v1_receiveDragCallback=accessor=u.v1.receiveDragCallback,cast=(DataBrowserReceiveDragUPP)
-DataBrowserCallbacks_v1_postProcessDragCallback=accessor=u.v1.postProcessDragCallback,cast=(DataBrowserPostProcessDragUPP)
-DataBrowserCallbacks_v1_itemHelpContentCallback=accessor=u.v1.itemHelpContentCallback,cast=(DataBrowserItemHelpContentUPP)
-DataBrowserCallbacks_v1_getContextualMenuCallback=accessor=u.v1.getContextualMenuCallback,cast=(DataBrowserGetContextualMenuUPP)
-DataBrowserCallbacks_v1_selectContextualMenuCallback=accessor=u.v1.selectContextualMenuCallback,cast=(DataBrowserSelectContextualMenuUPP)
-
-org_eclipse_swt_internal_carbon_DataBrowserCustomCallbacks=
-DataBrowserCustomCallbacks_version=
-DataBrowserCustomCallbacks_v1_drawItemCallback=accessor=u.v1.drawItemCallback,cast=(DataBrowserDrawItemUPP)
-DataBrowserCustomCallbacks_v1_editTextCallback=accessor=u.v1.editTextCallback,cast=(DataBrowserEditItemUPP)
-DataBrowserCustomCallbacks_v1_hitTestCallback=accessor=u.v1.hitTestCallback,cast=(DataBrowserHitTestUPP)
-DataBrowserCustomCallbacks_v1_trackingCallback=accessor=u.v1.trackingCallback,cast=(DataBrowserTrackingUPP)
-DataBrowserCustomCallbacks_v1_dragRegionCallback=accessor=u.v1.dragRegionCallback,cast=(DataBrowserItemDragRgnUPP)
-DataBrowserCustomCallbacks_v1_acceptDragCallback=accessor=u.v1.acceptDragCallback,cast=(DataBrowserItemAcceptDragUPP)
-DataBrowserCustomCallbacks_v1_receiveDragCallback=accessor=u.v1.receiveDragCallback,cast=(DataBrowserItemReceiveDragUPP)
-
-org_eclipse_swt_internal_carbon_DataBrowserListViewColumnDesc=
-DataBrowserListViewColumnDesc_propertyDesc_propertyID=accessor=propertyDesc.propertyID,cast=(DataBrowserPropertyID)
-DataBrowserListViewColumnDesc_propertyDesc_propertyType=accessor=propertyDesc.propertyType,cast=(OSType)
-DataBrowserListViewColumnDesc_propertyDesc_propertyFlags=accessor=propertyDesc.propertyFlags,cast=(DataBrowserPropertyFlags)
-DataBrowserListViewColumnDesc_headerBtnDesc_version=accessor=headerBtnDesc.version,cast=(UInt32)
-DataBrowserListViewColumnDesc_headerBtnDesc_minimumWidth=accessor=headerBtnDesc.minimumWidth,cast=(UInt16)
-DataBrowserListViewColumnDesc_headerBtnDesc_maximumWidth=accessor=headerBtnDesc.maximumWidth,cast=(UInt16)
-DataBrowserListViewColumnDesc_headerBtnDesc_titleOffset=accessor=headerBtnDesc.titleOffset,cast=(SInt16)
-DataBrowserListViewColumnDesc_headerBtnDesc_titleString=accessor=headerBtnDesc.titleString,cast=(CFStringRef)
-DataBrowserListViewColumnDesc_headerBtnDesc_initialOrder=accessor=headerBtnDesc.initialOrder,cast=(DataBrowserSortOrder)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_flags=accessor=headerBtnDesc.btnFontStyle.flags,cast=(SInt16)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_font=accessor=headerBtnDesc.btnFontStyle.font,cast=(SInt16)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_size=accessor=headerBtnDesc.btnFontStyle.size,cast=(SInt16)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_style=accessor=headerBtnDesc.btnFontStyle.style,cast=(SInt16)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_mode=accessor=headerBtnDesc.btnFontStyle.mode,cast=(SInt16)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_just=accessor=headerBtnDesc.btnFontStyle.just,cast=(SInt16)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_foreColor_red=accessor=headerBtnDesc.btnFontStyle.foreColor.red,cast=(unsigned short)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_foreColor_green=accessor=headerBtnDesc.btnFontStyle.foreColor.green,cast=(unsigned short)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_foreColor_blue=accessor=headerBtnDesc.btnFontStyle.foreColor.blue,cast=(unsigned short)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_backColor_red=accessor=headerBtnDesc.btnFontStyle.backColor.red,cast=(unsigned short)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_backColor_green=accessor=headerBtnDesc.btnFontStyle.backColor.green,cast=(unsigned short)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnFontStyle_backColor_blue=accessor=headerBtnDesc.btnFontStyle.backColor.blue,cast=(unsigned short)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnContentInfo_contentType=accessor=headerBtnDesc.btnContentInfo.contentType,cast=(ControlContentType)
-DataBrowserListViewColumnDesc_headerBtnDesc_btnContentInfo_iconRef=accessor=headerBtnDesc.btnContentInfo.u.iconRef,cast=(IconRef)
-
-org_eclipse_swt_internal_carbon_DataBrowserListViewHeaderDesc=
-DataBrowserListViewHeaderDesc_version=
-DataBrowserListViewHeaderDesc_minimumWidth=
-DataBrowserListViewHeaderDesc_maximumWidth=
-DataBrowserListViewHeaderDesc_titleOffset=
-DataBrowserListViewHeaderDesc_titleString=cast=(CFStringRef)
-DataBrowserListViewHeaderDesc_initialOrder=
-DataBrowserListViewHeaderDesc_btnFontStyle_flags=accessor=btnFontStyle.flags
-DataBrowserListViewHeaderDesc_btnFontStyle_font=accessor=btnFontStyle.font
-DataBrowserListViewHeaderDesc_btnFontStyle_size=accessor=btnFontStyle.size
-DataBrowserListViewHeaderDesc_btnFontStyle_style=accessor=btnFontStyle.style
-DataBrowserListViewHeaderDesc_btnFontStyle_mode=accessor=btnFontStyle.mode
-DataBrowserListViewHeaderDesc_btnFontStyle_just=accessor=btnFontStyle.just
-DataBrowserListViewHeaderDesc_btnFontStyle_foreColor_red=accessor=btnFontStyle.foreColor.red
-DataBrowserListViewHeaderDesc_btnFontStyle_foreColor_green=accessor=btnFontStyle.foreColor.green
-DataBrowserListViewHeaderDesc_btnFontStyle_foreColor_blue=accessor=btnFontStyle.foreColor.blue
-DataBrowserListViewHeaderDesc_btnFontStyle_backColor_red=accessor=btnFontStyle.backColor.red
-DataBrowserListViewHeaderDesc_btnFontStyle_backColor_green=accessor=btnFontStyle.backColor.green
-DataBrowserListViewHeaderDesc_btnFontStyle_backColor_blue=accessor=btnFontStyle.backColor.blue
-DataBrowserListViewHeaderDesc_btnContentInfo_contentType=accessor=btnContentInfo.contentType
-DataBrowserListViewHeaderDesc_btnContentInfo_iconRef=accessor=btnContentInfo.u.iconRef,cast=(IconRef)
-
-org_eclipse_swt_internal_carbon_EventRecord=
-EventRecord_what=cast=(EventKind)
-EventRecord_message=
-EventRecord_when=
-EventRecord_where_v=accessor=where.v
-EventRecord_where_h=accessor=where.h
-EventRecord_modifiers=cast=(EventModifiers)
-
-org_eclipse_swt_internal_carbon_FontInfo=
-FontInfo_ascent=
-FontInfo_descent=
-FontInfo_widMax=
-FontInfo_leading=
-
-org_eclipse_swt_internal_carbon_FontSelectionQDStyle=
-FontSelectionQDStyle_version=
-FontSelectionQDStyle_instance_fontFamily=accessor=instance.fontFamily
-FontSelectionQDStyle_instance_fontStyle=accessor=instance.fontStyle
-FontSelectionQDStyle_size=
-FontSelectionQDStyle_hasColor=
-FontSelectionQDStyle_reserved=
-FontSelectionQDStyle_color_red=accessor=color.red
-FontSelectionQDStyle_color_green=accessor=color.green
-FontSelectionQDStyle_color_blue=accessor=color.blue
-
-org_eclipse_swt_internal_carbon_GDevice=
-GDevice_gdRefNum=
-GDevice_gdID=
-GDevice_gdType=
-GDevice_gdITable=cast=(ITabHandle)
-GDevice_gdResPref=
-GDevice_gdSearchProc=cast=(SProcHndl)
-GDevice_gdCompProc=cast=(CProcHndl)
-GDevice_gdFlags=
-GDevice_gdPMap=cast=(PixMapHandle)
-GDevice_gdRefCon=
-GDevice_gdNextGD=cast=(GDHandle)
-GDevice_left=accessor=gdRect.left
-GDevice_top=accessor=gdRect.top
-GDevice_right=accessor=gdRect.right
-GDevice_bottom=accessor=gdRect.bottom
-GDevice_gdMode=
-GDevice_gdCCBytes=
-GDevice_gdCCDepth=
-GDevice_gdCCXData=cast=(Handle)
-GDevice_gdCCXMask=cast=(Handle)
-GDevice_gdExt=cast=(Handle)
-
-org_eclipse_swt_internal_carbon_HICommand=
-HICommand_attributes=
-HICommand_commandID=
-HICommand_menu_menuRef=accessor=menu.menuRef,cast=(MenuRef)
-HICommand_menu_menuItemIndex=accessor=menu.menuItemIndex,cast=(MenuItemIndex)
-
-org_eclipse_swt_internal_carbon_HMHelpContentRec=
-HMHelpContentRec_version=
-HMHelpContentRec_absHotRect_top=accessor=absHotRect.top
-HMHelpContentRec_absHotRect_left=accessor=absHotRect.left
-HMHelpContentRec_absHotRect_bottom=accessor=absHotRect.bottom
-HMHelpContentRec_absHotRect_right=accessor=absHotRect.right
-HMHelpContentRec_tagSide=
-HMHelpContentRec_content0_contentType=accessor=content[0].contentType
-HMHelpContentRec_content0_tagCFString=accessor=content[0].u.tagCFString,cast=(CFStringRef)
-HMHelpContentRec_content1_contentType=accessor=content[1].contentType
-HMHelpContentRec_content1_tagCFString=accessor=content[1].u.tagCFString,cast=(CFStringRef)
-
-org_eclipse_swt_internal_carbon_MenuTrackingData=
-MenuTrackingData_menu=cast=(MenuRef)
-MenuTrackingData_itemSelected=
-MenuTrackingData_itemUnderMouse=
-MenuTrackingData_top=accessor=itemRect.top
-MenuTrackingData_left=accessor=itemRect.left
-MenuTrackingData_bottom=accessor=itemRect.bottom
-MenuTrackingData_right=accessor=itemRect.right
-MenuTrackingData_virtualMenuTop=
-MenuTrackingData_virtualMenuBottom=
-
-org_eclipse_swt_internal_carbon_NavDialogCreationOptions=
-NavDialogCreationOptions_version=
-NavDialogCreationOptions_optionFlags=cast=(NavDialogOptionFlags)
-NavDialogCreationOptions_location_h=accessor=location.h
-NavDialogCreationOptions_location_v=accessor=location.v
-NavDialogCreationOptions_clientName=cast=(CFStringRef)
-NavDialogCreationOptions_windowTitle=cast=(CFStringRef)
-NavDialogCreationOptions_actionButtonLabel=cast=(CFStringRef)
-NavDialogCreationOptions_cancelButtonLabel=cast=(CFStringRef)
-NavDialogCreationOptions_saveFileName=cast=(CFStringRef)
-NavDialogCreationOptions_message=cast=(CFStringRef)
-NavDialogCreationOptions_preferenceKey=
-NavDialogCreationOptions_popupExtension=cast=(CFArrayRef)
-NavDialogCreationOptions_modality=cast=(WindowModality)
-NavDialogCreationOptions_parentWindow=cast=(WindowRef)
-
-org_eclipse_swt_internal_carbon_NavReplyRecord=
-NavReplyRecord_version=cast=(UInt16)
-NavReplyRecord_validRecord=cast=(Boolean)
-NavReplyRecord_replacing=cast=(Boolean)
-NavReplyRecord_isStationery=cast=(Boolean)
-NavReplyRecord_translationNeeded=cast=(Boolean)
-NavReplyRecord_selection_descriptorType=accessor=selection.descriptorType,cast=(DescType)
-NavReplyRecord_selection_dataHandle=accessor=selection.dataHandle,cast=(AEDataStorage)
-NavReplyRecord_keyScript=cast=(ScriptCode)
-NavReplyRecord_fileTranslation=cast=(FileTranslationSpecArrayHandle)
-NavReplyRecord_reserved1=cast=(UInt32)
-NavReplyRecord_saveFileName=cast=(CFStringRef)
-NavReplyRecord_saveFileExtensionHidden=cast=(Boolean)
-NavReplyRecord_reserved2=cast=(UInt8)
-NavReplyRecord_reserved=cast=(char[])
-
-org_eclipse_swt_internal_carbon_OS=
-OS_AECountItems=
-OS_AECountItems_0=cast=(const AEDescList *)
-OS_AECountItems_1=cast=(long *)
-
-OS_AEGetNthPtr=
-OS_AEGetNthPtr_0=cast=(const AEDescList *)
-OS_AEGetNthPtr_1=
-OS_AEGetNthPtr_2=cast=(DescType)
-OS_AEGetNthPtr_3=cast=(AEKeyword *)
-OS_AEGetNthPtr_4=cast=(DescType *)
-OS_AEGetNthPtr_5=cast=(void *)
-OS_AEGetNthPtr_6=cast=(Size)
-OS_AEGetNthPtr_7=cast=(Size *)
-
-OS_AEProcessAppleEvent=
-OS_AEProcessAppleEvent_0=cast=(const EventRecord *)
-
-OS_ATSFontGetPostScriptName=
-OS_ATSFontGetPostScriptName_0=cast=(ATSFontRef)
-OS_ATSFontGetPostScriptName_1=cast=(ATSOptionFlags)
-OS_ATSFontGetPostScriptName_2=cast=(CFStringRef *)
-
-OS_ATSUBatchBreakLines=
-OS_ATSUBatchBreakLines_0=cast=(ATSUTextLayout)
-OS_ATSUBatchBreakLines_1=
-OS_ATSUBatchBreakLines_2=
-OS_ATSUBatchBreakLines_3=
-OS_ATSUBatchBreakLines_4=cast=(ItemCount *)
-
-OS_ATSUCreateStyle=
-OS_ATSUCreateStyle_0=cast=(ATSUStyle *)
-
-OS_ATSUCreateTextLayout=
-OS_ATSUCreateTextLayout_0=cast=(ATSUTextLayout *)
-
-OS_ATSUCreateTextLayoutWithTextPtr=
-OS_ATSUCreateTextLayoutWithTextPtr_0=cast=(ConstUniCharArrayPtr)
-OS_ATSUCreateTextLayoutWithTextPtr_1=
-OS_ATSUCreateTextLayoutWithTextPtr_2=
-OS_ATSUCreateTextLayoutWithTextPtr_3=
-OS_ATSUCreateTextLayoutWithTextPtr_4=
-OS_ATSUCreateTextLayoutWithTextPtr_5=cast=(const UniCharCount *)
-OS_ATSUCreateTextLayoutWithTextPtr_6=cast=(ATSUStyle *)
-OS_ATSUCreateTextLayoutWithTextPtr_7=cast=(ATSUTextLayout *)
-
-OS_ATSUDisposeStyle=
-OS_ATSUDisposeStyle_0=cast=(ATSUStyle)
-
-OS_ATSUDisposeTextLayout=
-OS_ATSUDisposeTextLayout_0=cast=(ATSUTextLayout)
-
-OS_ATSUDrawText=
-OS_ATSUDrawText_0=cast=(ATSUTextLayout)
-OS_ATSUDrawText_1=cast=(UniCharArrayOffset)
-OS_ATSUDrawText_2=cast=(UniCharCount)
-OS_ATSUDrawText_3=cast=(ATSUTextMeasurement)
-OS_ATSUDrawText_4=cast=(ATSUTextMeasurement)
-
-OS_ATSUFindFontName=
-OS_ATSUFindFontName_0=cast=ATSUFontID
-OS_ATSUFindFontName_1=
-OS_ATSUFindFontName_2=
-OS_ATSUFindFontName_3=
-OS_ATSUFindFontName_4=
-OS_ATSUFindFontName_5=
-OS_ATSUFindFontName_6=cast=Ptr
-OS_ATSUFindFontName_7=
-OS_ATSUFindFontName_8=
-
-OS_ATSUGetFontIDs=
-OS_ATSUGetFontIDs_0=cast=ATSUFontID *
-OS_ATSUGetFontIDs_1=
-OS_ATSUGetFontIDs_2=
-
-OS_ATSUGetGlyphBounds__IIIIISII_3I=
-OS_ATSUGetGlyphBounds__IIIIISII_3I_0=cast=(ATSUTextLayout)
-OS_ATSUGetGlyphBounds__IIIIISII_3I_1=cast=(ATSUTextMeasurement)
-OS_ATSUGetGlyphBounds__IIIIISII_3I_2=cast=(ATSUTextMeasurement)
-OS_ATSUGetGlyphBounds__IIIIISII_3I_3=cast=(UniCharArrayOffset)
-OS_ATSUGetGlyphBounds__IIIIISII_3I_4=
-OS_ATSUGetGlyphBounds__IIIIISII_3I_5=
-OS_ATSUGetGlyphBounds__IIIIISII_3I_6=
-OS_ATSUGetGlyphBounds__IIIIISII_3I_7=cast=(ATSTrapezoid *)
-OS_ATSUGetGlyphBounds__IIIIISII_3I_8=cast=(ItemCount *)
-
-OS_ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I=
-OS_ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_0=cast=(ATSUTextLayout)
-OS_ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_1=cast=(ATSUTextMeasurement)
-OS_ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_2=cast=(ATSUTextMeasurement)
-OS_ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_3=cast=(UniCharArrayOffset)
-OS_ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_4=
-OS_ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_5=
-OS_ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_6=
-OS_ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_7=cast=(ATSTrapezoid *)
-OS_ATSUGetGlyphBounds__IIIIISILorg_eclipse_swt_internal_carbon_ATSTrapezoid_2_3I_8=cast=(ItemCount *)
-
-OS_ATSUGetLayoutControl=
-OS_ATSUGetLayoutControl_0=cast=ATSUTextLayout
-OS_ATSUGetLayoutControl_1=cast=ATSUAttributeTag
-OS_ATSUGetLayoutControl_2=
-OS_ATSUGetLayoutControl_3=cast=ATSUAttributeValuePtr
-OS_ATSUGetLayoutControl_4=cast=ByteCount *
-
-OS_ATSUGetSoftLineBreaks=
-OS_ATSUGetSoftLineBreaks_0=cast=(ATSUTextLayout)
-OS_ATSUGetSoftLineBreaks_1=cast=(UniCharArrayOffset)
-OS_ATSUGetSoftLineBreaks_2=cast=(UniCharCount)
-OS_ATSUGetSoftLineBreaks_3=cast=(ItemCount)
-OS_ATSUGetSoftLineBreaks_4=cast=(UniCharArrayOffset *)
-OS_ATSUGetSoftLineBreaks_5=cast=(ItemCount *)
-
-OS_ATSUGetTextHighlight=
-OS_ATSUGetTextHighlight_0=cast=(ATSUTextLayout)
-OS_ATSUGetTextHighlight_1=
-OS_ATSUGetTextHighlight_2=
-OS_ATSUGetTextHighlight_3=
-OS_ATSUGetTextHighlight_4=
-OS_ATSUGetTextHighlight_5=cast=RgnHandle
-
-OS_ATSUGetUnjustifiedBounds=
-OS_ATSUGetUnjustifiedBounds_0=cast=(ATSUTextLayout)
-OS_ATSUGetUnjustifiedBounds_1=
-OS_ATSUGetUnjustifiedBounds_2=
-OS_ATSUGetUnjustifiedBounds_3=cast=ATSUTextMeasurement *
-OS_ATSUGetUnjustifiedBounds_4=cast=ATSUTextMeasurement *
-OS_ATSUGetUnjustifiedBounds_5=cast=ATSUTextMeasurement *
-OS_ATSUGetUnjustifiedBounds_6=cast=ATSUTextMeasurement *
-
-OS_ATSUHighlightText=
-OS_ATSUHighlightText_0=cast=ATSUTextLayout
-OS_ATSUHighlightText_1=cast=ATSUTextMeasurement
-OS_ATSUHighlightText_2=cast=ATSUTextMeasurement
-OS_ATSUHighlightText_3=
-OS_ATSUHighlightText_4=
-
-OS_ATSUNextCursorPosition=
-OS_ATSUNextCursorPosition_0=cast=(ATSUTextLayout)
-OS_ATSUNextCursorPosition_1=cast=(UniCharArrayOffset)
-OS_ATSUNextCursorPosition_2=cast=(ATSUCursorMovementType)
-OS_ATSUNextCursorPosition_3=cast=(UniCharArrayOffset *)
-
-OS_ATSUOffsetToPosition=
-OS_ATSUOffsetToPosition_0=cast=(ATSUTextLayout)
-OS_ATSUOffsetToPosition_1=
-OS_ATSUOffsetToPosition_2=
-OS_ATSUOffsetToPosition_3=
-OS_ATSUOffsetToPosition_4=
-OS_ATSUOffsetToPosition_5=cast=Boolean *
-
-OS_ATSUPositionToOffset=
-OS_ATSUPositionToOffset_0=cast=(ATSUTextLayout)
-OS_ATSUPositionToOffset_1=
-OS_ATSUPositionToOffset_2=
-OS_ATSUPositionToOffset_3=cast=UniCharArrayOffset *
-OS_ATSUPositionToOffset_4=cast=Boolean *
-OS_ATSUPositionToOffset_5=cast=UniCharArrayOffset *
-
-OS_ATSUPreviousCursorPosition=
-OS_ATSUPreviousCursorPosition_0=cast=(ATSUTextLayout)
-OS_ATSUPreviousCursorPosition_1=cast=(UniCharArrayOffset)
-OS_ATSUPreviousCursorPosition_2=cast=(ATSUCursorMovementType)
-OS_ATSUPreviousCursorPosition_3=cast=(UniCharArrayOffset *)
-
-OS_ATSUSetAttributes=
-OS_ATSUSetAttributes_0=cast=(ATSUStyle)
-OS_ATSUSetAttributes_1=cast=(ItemCount)
-OS_ATSUSetAttributes_2=cast=(ATSUAttributeTag *)
-OS_ATSUSetAttributes_3=cast=(ByteCount *)
-OS_ATSUSetAttributes_4=cast=(ATSUAttributeValuePtr *)
-
-OS_ATSUSetFontFeatures=
-OS_ATSUSetFontFeatures_0=cast=(ATSUStyle)
-OS_ATSUSetFontFeatures_1=cast=(ItemCount)
-OS_ATSUSetFontFeatures_2=cast=(const ATSUFontFeatureType *)
-OS_ATSUSetFontFeatures_3=cast=(const ATSUFontFeatureSelector *)
-
-OS_ATSUSetHighlightingMethod=
-OS_ATSUSetHighlightingMethod_0=cast=(ATSUTextLayout)
-OS_ATSUSetHighlightingMethod_1=
-OS_ATSUSetHighlightingMethod_2=
-
-OS_ATSUSetLayoutControls=
-OS_ATSUSetLayoutControls_0=cast=(ATSUTextLayout)
-OS_ATSUSetLayoutControls_1=cast=(ItemCount)
-OS_ATSUSetLayoutControls_2=cast=(ATSUAttributeTag *)
-OS_ATSUSetLayoutControls_3=cast=(ByteCount *)
-OS_ATSUSetLayoutControls_4=cast=(ATSUAttributeValuePtr *)
-
-OS_ATSUSetRunStyle=
-OS_ATSUSetRunStyle_0=cast=(ATSUTextLayout)
-OS_ATSUSetRunStyle_1=cast=(ATSUStyle)
-OS_ATSUSetRunStyle_2=cast=(UniCharArrayOffset)
-OS_ATSUSetRunStyle_3=cast=(UniCharCount)
-
-OS_ATSUSetSoftLineBreak=
-OS_ATSUSetSoftLineBreak_0=cast=(ATSUTextLayout)
-OS_ATSUSetSoftLineBreak_1=
-
-OS_ATSUSetTabArray=
-OS_ATSUSetTabArray_0=cast=(ATSUTextLayout)
-OS_ATSUSetTabArray_1=cast=const ATSUTab *
-OS_ATSUSetTabArray_2=
-
-OS_ATSUSetTextPointerLocation=
-OS_ATSUSetTextPointerLocation_0=cast=(ATSUTextLayout)
-OS_ATSUSetTextPointerLocation_1=cast=(ConstUniCharArrayPtr)
-OS_ATSUSetTextPointerLocation_2=cast=(UniCharArrayOffset)
-OS_ATSUSetTextPointerLocation_3=cast=(UniCharCount)
-OS_ATSUSetTextPointerLocation_4=cast=(UniCharCount)
-
-OS_ATSUSetTransientFontMatching=
-OS_ATSUSetTransientFontMatching_0=cast=(ATSUTextLayout)
-OS_ATSUSetTransientFontMatching_1=
-
-OS_ATSUTextDeleted=
-OS_ATSUTextDeleted_0=cast=(ATSUTextLayout)
-OS_ATSUTextDeleted_1=
-OS_ATSUTextDeleted_2=
-
-OS_ATSUTextInserted=
-OS_ATSUTextInserted_0=cast=(ATSUTextLayout)
-OS_ATSUTextInserted_1=
-OS_ATSUTextInserted_2=
-
-OS_ActiveNonFloatingWindow=
-
-OS_AddDataBrowserItems=
-OS_AddDataBrowserItems_0=cast=(ControlRef)
-OS_AddDataBrowserItems_1=cast=(DataBrowserItemID)
-OS_AddDataBrowserItems_2=cast=(UInt32)
-OS_AddDataBrowserItems_3=cast=(const DataBrowserItemID *)
-OS_AddDataBrowserItems_4=cast=(DataBrowserPropertyID)
-
-OS_AddDataBrowserListViewColumn=
-OS_AddDataBrowserListViewColumn_0=cast=(ControlRef)
-OS_AddDataBrowserListViewColumn_1=cast=(DataBrowserListViewColumnDesc *),flags=init
-OS_AddDataBrowserListViewColumn_2=cast=(DataBrowserTableViewColumnIndex)
-
-OS_AddDragItemFlavor=
-OS_AddDragItemFlavor_0=cast=(DragRef)
-OS_AddDragItemFlavor_1=cast=(DragItemRef)
-OS_AddDragItemFlavor_2=cast=(FlavorType)
-OS_AddDragItemFlavor_3=cast=(const void *)
-OS_AddDragItemFlavor_4=cast=(Size)
-OS_AddDragItemFlavor_5=cast=(FlavorFlags)
-
-OS_AppendMenuItemTextWithCFString=
-OS_AppendMenuItemTextWithCFString_0=cast=(MenuRef)
-OS_AppendMenuItemTextWithCFString_1=cast=(CFStringRef)
-OS_AppendMenuItemTextWithCFString_2=cast=(MenuItemAttributes)
-OS_AppendMenuItemTextWithCFString_3=cast=(MenuCommand)
-OS_AppendMenuItemTextWithCFString_4=cast=(MenuItemIndex *)
-
-OS_AutoSizeDataBrowserListViewColumns=
-OS_AutoSizeDataBrowserListViewColumns_0=cast=(ControlRef)
-
-OS_BeginUpdate=
-OS_BeginUpdate_0=cast=(WindowRef)
-
-OS_BringToFront=
-OS_BringToFront_0=cast=(WindowRef)
-
-OS_CFArrayAppendValue=
-OS_CFArrayAppendValue_0=cast=(CFMutableArrayRef)
-OS_CFArrayAppendValue_1=cast=(const void *)
-
-OS_CFArrayCreateMutable=
-OS_CFArrayCreateMutable_0=cast=(CFAllocatorRef)
-OS_CFArrayCreateMutable_1=cast=(CFIndex)
-OS_CFArrayCreateMutable_2=cast=(const CFArrayCallBacks *)
-
-OS_CFArrayGetCount=
-OS_CFArrayGetCount_0=cast=(CFArrayRef)
-
-OS_CFArrayGetValueAtIndex=
-OS_CFArrayGetValueAtIndex_0=cast=(CFArrayRef)
-OS_CFArrayGetValueAtIndex_1=
-
-OS_CFRelease=
-OS_CFRelease_0=cast=(CFTypeRef)
-
-OS_CFStringCreateWithBytes=
-OS_CFStringCreateWithBytes_0=cast=(CFAllocatorRef)
-OS_CFStringCreateWithBytes_1=cast=(const UInt8 *)
-OS_CFStringCreateWithBytes_2=cast=(CFIndex)
-OS_CFStringCreateWithBytes_3=cast=(CFStringEncoding)
-OS_CFStringCreateWithBytes_4=
-
-OS_CFStringCreateWithCharacters=
-OS_CFStringCreateWithCharacters_0=cast=(CFAllocatorRef)
-OS_CFStringCreateWithCharacters_1=cast=(const UniChar *)
-OS_CFStringCreateWithCharacters_2=cast=(CFIndex)
-
-OS_CFStringGetBytes=
-OS_CFStringGetBytes_0=cast=(CFStringRef)
-OS_CFStringGetBytes_1=cast=(CFRange *),flags=struct
-OS_CFStringGetBytes_2=cast=(CFStringEncoding)
-OS_CFStringGetBytes_3=cast=(UInt8)
-OS_CFStringGetBytes_4=cast=(Boolean)
-OS_CFStringGetBytes_5=cast=(UInt8 *)
-OS_CFStringGetBytes_6=cast=(CFIndex)
-OS_CFStringGetBytes_7=cast=(CFIndex *)
-
-OS_CFStringGetCharacters=
-OS_CFStringGetCharacters_0=cast=(CFStringRef)
-OS_CFStringGetCharacters_1=cast=(CFRange *),flags=struct
-OS_CFStringGetCharacters_2=cast=(UniChar *)
-
-OS_CFStringGetLength=
-OS_CFStringGetLength_0=cast=(CFStringRef)
-
-OS_CFStringGetSystemEncoding=
-
-OS_CFURLCopyFileSystemPath=
-OS_CFURLCopyFileSystemPath_0=cast=(CFURLRef)
-OS_CFURLCopyFileSystemPath_1=cast=(CFURLPathStyle)
-
-OS_CFURLCopyLastPathComponent=
-OS_CFURLCopyLastPathComponent_0=cast=(CFURLRef)
-
-OS_CFURLCreateCopyAppendingPathComponent=
-OS_CFURLCreateCopyAppendingPathComponent_0=cast=(CFAllocatorRef)
-OS_CFURLCreateCopyAppendingPathComponent_1=cast=(CFURLRef)
-OS_CFURLCreateCopyAppendingPathComponent_2=cast=(CFStringRef)
-OS_CFURLCreateCopyAppendingPathComponent_3=cast=(Boolean)
-
-OS_CFURLCreateCopyDeletingLastPathComponent=
-OS_CFURLCreateCopyDeletingLastPathComponent_0=cast=(CFAllocatorRef)
-OS_CFURLCreateCopyDeletingLastPathComponent_1=cast=(CFURLRef)
-
-OS_CFURLCreateFromFSRef=
-OS_CFURLCreateFromFSRef_0=cast=(CFAllocatorRef)
-OS_CFURLCreateFromFSRef_1=cast=(const struct FSRef *)
-
-OS_CFURLCreateWithFileSystemPath=
-OS_CFURLCreateWithFileSystemPath_0=cast=(CFAllocatorRef)
-OS_CFURLCreateWithFileSystemPath_1=cast=(CFStringRef)
-OS_CFURLCreateWithFileSystemPath_2=cast=(CFURLPathStyle)
-OS_CFURLCreateWithFileSystemPath_3=
-
-OS_CFURLGetFSRef=
-OS_CFURLGetFSRef_0=cast=(CFURLRef)
-OS_CFURLGetFSRef_1=cast=(struct FSRef *)
-
-OS_CGBitmapContextCreate=
-OS_CGBitmapContextCreate_0=cast=(void *)
-OS_CGBitmapContextCreate_1=cast=(size_t)
-OS_CGBitmapContextCreate_2=cast=(size_t)
-OS_CGBitmapContextCreate_3=cast=(size_t)
-OS_CGBitmapContextCreate_4=cast=(size_t)
-OS_CGBitmapContextCreate_5=cast=(CGColorSpaceRef)
-OS_CGBitmapContextCreate_6=cast=(CGImageAlphaInfo)
-
-OS_CGColorSpaceCreateDeviceRGB=
-
-OS_CGColorSpaceRelease=
-OS_CGColorSpaceRelease_0=cast=(CGColorSpaceRef)
-
-OS_CGContextAddArc=
-OS_CGContextAddArc_0=cast=(CGContextRef)
-OS_CGContextAddArc_1=cast=(float)
-OS_CGContextAddArc_2=cast=(float)
-OS_CGContextAddArc_3=cast=(float)
-OS_CGContextAddArc_4=cast=(float)
-OS_CGContextAddArc_5=cast=(float)
-OS_CGContextAddArc_6=cast=(Boolean)
-
-OS_CGContextAddArcToPoint=
-OS_CGContextAddArcToPoint_0=cast=(CGContextRef)
-OS_CGContextAddArcToPoint_1=
-OS_CGContextAddArcToPoint_2=
-OS_CGContextAddArcToPoint_3=
-OS_CGContextAddArcToPoint_4=
-OS_CGContextAddArcToPoint_5=
-
-OS_CGContextAddLineToPoint=
-OS_CGContextAddLineToPoint_0=cast=(CGContextRef)
-OS_CGContextAddLineToPoint_1=
-OS_CGContextAddLineToPoint_2=
-
-OS_CGContextAddLines=
-OS_CGContextAddLines_0=cast=(CGContextRef)
-OS_CGContextAddLines_1=cast=(const CGPoint *)
-OS_CGContextAddLines_2=cast=(size_t)
-
-OS_CGContextBeginPath=
-OS_CGContextBeginPath_0=cast=(CGContextRef)
-
-OS_CGContextClearRect=
-OS_CGContextClearRect_0=cast=(CGContextRef)
-OS_CGContextClearRect_1=cast=(CGRect *),flags=struct
-
-OS_CGContextClip=
-OS_CGContextClip_0=cast=(CGContextRef)
-
-OS_CGContextClosePath=
-OS_CGContextClosePath_0=cast=(CGContextRef)
-
-OS_CGContextDrawImage=
-OS_CGContextDrawImage_0=cast=(CGContextRef)
-OS_CGContextDrawImage_1=cast=(CGRect *),flags=struct
-OS_CGContextDrawImage_2=cast=(CGImageRef)
-
-OS_CGContextEOFillPath=
-OS_CGContextEOFillPath_0=cast=(CGContextRef)
-
-OS_CGContextFillPath=
-OS_CGContextFillPath_0=cast=(CGContextRef)
-
-OS_CGContextFillRect=
-OS_CGContextFillRect_0=cast=(CGContextRef)
-OS_CGContextFillRect_1=cast=(CGRect *),flags=struct
-
-OS_CGContextFlush=
-OS_CGContextFlush_0=cast=(CGContextRef)
-
-OS_CGContextGetTextPosition=flags=no_gen
-OS_CGContextGetTextPosition_0=cast=(CGContextRef)
-OS_CGContextGetTextPosition_1=cast=(CGPoint)
-
-OS_CGContextMoveToPoint=
-OS_CGContextMoveToPoint_0=cast=(CGContextRef)
-OS_CGContextMoveToPoint_1=cast=(float)
-OS_CGContextMoveToPoint_2=cast=(float)
-
-OS_CGContextRelease=
-OS_CGContextRelease_0=cast=(CGContextRef)
-
-OS_CGContextRestoreGState=
-OS_CGContextRestoreGState_0=cast=(CGContextRef)
-
-OS_CGContextSaveGState=
-OS_CGContextSaveGState_0=cast=(CGContextRef)
-
-OS_CGContextScaleCTM=
-OS_CGContextScaleCTM_0=cast=(CGContextRef)
-OS_CGContextScaleCTM_1=cast=(float)
-OS_CGContextScaleCTM_2=cast=(float)
-
-OS_CGContextSelectFont=
-OS_CGContextSelectFont_0=cast=(CGContextRef)
-OS_CGContextSelectFont_1=cast=(const char *)
-OS_CGContextSelectFont_2=cast=(float)
-OS_CGContextSelectFont_3=cast=(CGTextEncoding)
-
-OS_CGContextSetFillColor=
-OS_CGContextSetFillColor_0=cast=(CGContextRef)
-OS_CGContextSetFillColor_1=cast=(const float *)
-
-OS_CGContextSetFillColorSpace=
-OS_CGContextSetFillColorSpace_0=cast=(CGContextRef)
-OS_CGContextSetFillColorSpace_1=cast=(CGColorSpaceRef)
-
-OS_CGContextSetFont=
-OS_CGContextSetFont_0=cast=(CGContextRef)
-OS_CGContextSetFont_1=cast=(CGFontRef)
-
-OS_CGContextSetFontSize=
-OS_CGContextSetFontSize_0=cast=(CGContextRef)
-OS_CGContextSetFontSize_1=cast=(float)
-
-OS_CGContextSetLineCap=
-OS_CGContextSetLineCap_0=cast=(CGContextRef)
-OS_CGContextSetLineCap_1=
-
-OS_CGContextSetLineDash=
-OS_CGContextSetLineDash_0=cast=(CGContextRef)
-OS_CGContextSetLineDash_1=cast=(float)
-OS_CGContextSetLineDash_2=cast=(const float *)
-OS_CGContextSetLineDash_3=cast=(size_t)
-
-OS_CGContextSetLineWidth=
-OS_CGContextSetLineWidth_0=cast=(CGContextRef)
-OS_CGContextSetLineWidth_1=cast=(float)
-
-OS_CGContextSetRGBFillColor=
-OS_CGContextSetRGBFillColor_0=cast=(CGContextRef)
-OS_CGContextSetRGBFillColor_1=cast=(float)
-OS_CGContextSetRGBFillColor_2=cast=(float)
-OS_CGContextSetRGBFillColor_3=cast=(float)
-OS_CGContextSetRGBFillColor_4=cast=(float)
-
-OS_CGContextSetRGBStrokeColor=
-OS_CGContextSetRGBStrokeColor_0=cast=(CGContextRef)
-OS_CGContextSetRGBStrokeColor_1=cast=(float)
-OS_CGContextSetRGBStrokeColor_2=cast=(float)
-OS_CGContextSetRGBStrokeColor_3=cast=(float)
-OS_CGContextSetRGBStrokeColor_4=cast=(float)
-
-OS_CGContextSetShouldAntialias=
-OS_CGContextSetShouldAntialias_0=cast=(CGContextRef)
-OS_CGContextSetShouldAntialias_1=
-
-OS_CGContextSetShouldSmoothFonts=
-OS_CGContextSetShouldSmoothFonts_0=cast=(CGContextRef)
-OS_CGContextSetShouldSmoothFonts_1=
-
-OS_CGContextSetStrokeColor=
-OS_CGContextSetStrokeColor_0=cast=(CGContextRef)
-OS_CGContextSetStrokeColor_1=cast=(const float *)
-
-OS_CGContextSetStrokeColorSpace=
-OS_CGContextSetStrokeColorSpace_0=cast=(CGContextRef)
-OS_CGContextSetStrokeColorSpace_1=cast=(CGColorSpaceRef)
-
-OS_CGContextSetTextDrawingMode=
-OS_CGContextSetTextDrawingMode_0=cast=(CGContextRef)
-OS_CGContextSetTextDrawingMode_1=cast=(CGTextDrawingMode)
-
-OS_CGContextSetTextMatrix=
-OS_CGContextSetTextMatrix_0=cast=(CGContextRef)
-OS_CGContextSetTextMatrix_1=cast=(CGAffineTransform *),flags=struct
-
-OS_CGContextSetTextPosition=
-OS_CGContextSetTextPosition_0=cast=(CGContextRef)
-OS_CGContextSetTextPosition_1=cast=(float)
-OS_CGContextSetTextPosition_2=cast=(float)
-
-OS_CGContextShowText=
-OS_CGContextShowText_0=cast=(CGContextRef)
-OS_CGContextShowText_1=cast=(const char *)
-OS_CGContextShowText_2=cast=(size_t)
-
-OS_CGContextShowTextAtPoint=
-OS_CGContextShowTextAtPoint_0=cast=(CGContextRef)
-OS_CGContextShowTextAtPoint_1=cast=(float)
-OS_CGContextShowTextAtPoint_2=cast=(float)
-OS_CGContextShowTextAtPoint_3=cast=(const char *)
-OS_CGContextShowTextAtPoint_4=cast=(size_t)
-
-OS_CGContextStrokePath=
-OS_CGContextStrokePath_0=cast=(CGContextRef)
-
-OS_CGContextStrokeRect=
-OS_CGContextStrokeRect_0=cast=(CGContextRef)
-OS_CGContextStrokeRect_1=cast=(CGRect *),flags=struct
-
-OS_CGContextSynchronize=
-OS_CGContextSynchronize_0=cast=(CGContextRef)
-
-OS_CGContextTranslateCTM=
-OS_CGContextTranslateCTM_0=cast=(CGContextRef)
-OS_CGContextTranslateCTM_1=cast=(float)
-OS_CGContextTranslateCTM_2=cast=(float)
-
-OS_CGDataProviderCreateWithData=
-OS_CGDataProviderCreateWithData_0=cast=(void *)
-OS_CGDataProviderCreateWithData_1=cast=(const void *)
-OS_CGDataProviderCreateWithData_2=cast=(size_t)
-OS_CGDataProviderCreateWithData_3=cast=(void *)
-
-OS_CGDataProviderRelease=
-OS_CGDataProviderRelease_0=cast=(CGDataProviderRef)
-
-OS_CGFontCreateWithPlatformFont=
-OS_CGFontCreateWithPlatformFont_0=
-
-OS_CGFontRelease=
-OS_CGFontRelease_0=cast=(CGFontRef)
-
-OS_CGImageCreate=
-OS_CGImageCreate_0=cast=(size_t)
-OS_CGImageCreate_1=cast=(size_t)
-OS_CGImageCreate_2=cast=(size_t)
-OS_CGImageCreate_3=cast=(size_t)
-OS_CGImageCreate_4=cast=(size_t)
-OS_CGImageCreate_5=cast=(CGColorSpaceRef)
-OS_CGImageCreate_6=cast=(CGImageAlphaInfo)
-OS_CGImageCreate_7=cast=(CGDataProviderRef)
-OS_CGImageCreate_8=cast=(const float *)
-OS_CGImageCreate_9=cast=(Boolean)
-OS_CGImageCreate_10=cast=(CGColorRenderingIntent)
-
-OS_CGImageGetAlphaInfo=
-OS_CGImageGetAlphaInfo_0=cast=(CGImageRef)
-
-OS_CGImageGetBitsPerComponent=
-OS_CGImageGetBitsPerComponent_0=cast=(CGImageRef)
-
-OS_CGImageGetBitsPerPixel=
-OS_CGImageGetBitsPerPixel_0=cast=(CGImageRef)
-
-OS_CGImageGetBytesPerRow=
-OS_CGImageGetBytesPerRow_0=cast=(CGImageRef)
-
-OS_CGImageGetColorSpace=
-OS_CGImageGetColorSpace_0=cast=(CGImageRef)
-
-OS_CGImageGetHeight=
-OS_CGImageGetHeight_0=cast=(CGImageRef)
-
-OS_CGImageGetWidth=
-OS_CGImageGetWidth_0=cast=(CGImageRef)
-
-OS_CGImageRelease=
-OS_CGImageRelease_0=cast=(CGImageRef)
-
-OS_CGPostKeyboardEvent=
-OS_CGPostKeyboardEvent_0=cast=(CGCharCode)
-OS_CGPostKeyboardEvent_1=cast=CGKeyCode
-OS_CGPostKeyboardEvent_2=cast=boolean_t
-
-OS_CGPostMouseEvent=
-OS_CGPostMouseEvent_0=flags=struct
-OS_CGPostMouseEvent_1=cast=boolean_t
-OS_CGPostMouseEvent_2=cast=CGButtonCount
-OS_CGPostMouseEvent_3=cast=boolean_t
-
-OS_CGWarpMouseCursorPosition=
-OS_CGWarpMouseCursorPosition_0=flags=struct
-
-OS_CallNextEventHandler=
-OS_CallNextEventHandler_0=cast=(EventHandlerCallRef)
-OS_CallNextEventHandler_1=cast=(EventRef)
-
-OS_CharWidth=
-OS_CharWidth_0=cast=(CharParameter)
-
-OS_ClearCurrentScrap=
-
-OS_ClearKeyboardFocus=
-OS_ClearKeyboardFocus_0=cast=(WindowRef)
-
-OS_ClearMenuBar=
-
-OS_ClipCGContextToRegion=
-OS_ClipCGContextToRegion_0=cast=(CGContextRef)
-OS_ClipCGContextToRegion_1=cast=(const Rect *)
-OS_ClipCGContextToRegion_2=cast=(RgnHandle)
-
-OS_CloseDataBrowserContainer=
-OS_CloseDataBrowserContainer_0=cast=(ControlRef)
-OS_CloseDataBrowserContainer_1=cast=(DataBrowserItemID)
-
-OS_ClosePoly=
-
-OS_CloseRgn=
-OS_CloseRgn_0=cast=(RgnHandle)
-
-OS_CollapseWindow=
-OS_CollapseWindow_0=cast=(WindowRef)
-OS_CollapseWindow_1=cast=(Boolean)
-
-OS_ConvertEventRefToEventRecord=
-OS_ConvertEventRefToEventRecord_0=cast=(EventRef)
-OS_ConvertEventRefToEventRecord_1=cast=(EventRecord *)
-
-OS_ConvertFromPStringToUnicode=
-OS_ConvertFromPStringToUnicode_0=cast=TextToUnicodeInfo
-OS_ConvertFromPStringToUnicode_1=cast=ConstStr255Param
-OS_ConvertFromPStringToUnicode_2=
-OS_ConvertFromPStringToUnicode_3=
-OS_ConvertFromPStringToUnicode_4=
-
-OS_CopyBits=
-OS_CopyBits_0=cast=(const BitMap *)
-OS_CopyBits_1=cast=(const BitMap *)
-OS_CopyBits_2=cast=(const Rect *)
-OS_CopyBits_3=cast=(const Rect *)
-OS_CopyBits_4=cast=(short)
-OS_CopyBits_5=cast=(RgnHandle)
-
-OS_CopyControlTitleAsCFString=
-OS_CopyControlTitleAsCFString_0=cast=(ControlRef)
-OS_CopyControlTitleAsCFString_1=cast=(CFStringRef *)
-
-OS_CopyDeepMask=
-OS_CopyDeepMask_0=cast=(const BitMap *)
-OS_CopyDeepMask_1=cast=(const BitMap *)
-OS_CopyDeepMask_2=cast=(const BitMap *)
-OS_CopyDeepMask_3=cast=(const Rect *)
-OS_CopyDeepMask_4=cast=(const Rect *)
-OS_CopyDeepMask_5=cast=(const Rect *)
-OS_CopyDeepMask_6=cast=(short)
-OS_CopyDeepMask_7=cast=(RgnHandle)
-
-OS_CopyMenuItemTextAsCFString=
-OS_CopyMenuItemTextAsCFString_0=cast=(MenuRef)
-OS_CopyMenuItemTextAsCFString_1=cast=(MenuItemIndex)
-OS_CopyMenuItemTextAsCFString_2=cast=(CFStringRef *)
-
-OS_CopyRgn=
-OS_CopyRgn_0=cast=(RgnHandle)
-OS_CopyRgn_1=cast=(RgnHandle)
-
-OS_CountDragItemFlavors=
-OS_CountDragItemFlavors_0=cast=(DragRef)
-OS_CountDragItemFlavors_1=cast=(DragItemRef)
-OS_CountDragItemFlavors_2=cast=(UInt16 *)
-
-OS_CountDragItems=
-OS_CountDragItems_0=cast=(DragRef)
-OS_CountDragItems_1=cast=(UInt16 *)
-
-OS_CountMenuItems=
-OS_CountMenuItems_0=cast=(MenuRef)
-
-OS_CountSubControls=
-OS_CountSubControls_0=cast=(ControlRef)
-OS_CountSubControls_1=cast=(UInt16 *)
-
-OS_CreateBevelButtonControl=
-OS_CreateBevelButtonControl_0=cast=(WindowRef)
-OS_CreateBevelButtonControl_1=cast=(const Rect *)
-OS_CreateBevelButtonControl_2=cast=(CFStringRef)
-OS_CreateBevelButtonControl_3=cast=(ControlBevelThickness)
-OS_CreateBevelButtonControl_4=cast=(ControlBevelButtonBehavior)
-OS_CreateBevelButtonControl_5=cast=(ControlButtonContentInfoPtr)
-OS_CreateBevelButtonControl_6=cast=(SInt16)
-OS_CreateBevelButtonControl_7=cast=(ControlBevelButtonMenuBehavior)
-OS_CreateBevelButtonControl_8=cast=(ControlBevelButtonMenuPlacement)
-OS_CreateBevelButtonControl_9=cast=(ControlRef *)
-
-OS_CreateCGContextForPort=
-OS_CreateCGContextForPort_0=cast=(CGrafPtr)
-OS_CreateCGContextForPort_1=cast=(CGContextRef *)
-
-OS_CreateCheckBoxControl=
-OS_CreateCheckBoxControl_0=cast=(WindowRef)
-OS_CreateCheckBoxControl_1=cast=(const Rect *)
-OS_CreateCheckBoxControl_2=cast=(CFStringRef)
-OS_CreateCheckBoxControl_3=cast=(SInt32)
-OS_CreateCheckBoxControl_4=cast=(Boolean)
-OS_CreateCheckBoxControl_5=cast=(ControlRef *)
-
-OS_CreateDataBrowserControl=
-OS_CreateDataBrowserControl_0=cast=(WindowRef)
-OS_CreateDataBrowserControl_1=cast=(const Rect *)
-OS_CreateDataBrowserControl_2=cast=(DataBrowserViewStyle)
-OS_CreateDataBrowserControl_3=cast=(ControlRef *)
-
-OS_CreateEditUnicodeTextControl=
-OS_CreateEditUnicodeTextControl_0=cast=(WindowRef)
-OS_CreateEditUnicodeTextControl_1=
-OS_CreateEditUnicodeTextControl_2=cast=(CFStringRef)
-OS_CreateEditUnicodeTextControl_3=
-OS_CreateEditUnicodeTextControl_4=
-OS_CreateEditUnicodeTextControl_5=cast=(ControlRef *)
-
-OS_CreateEvent=
-OS_CreateEvent_0=cast=(CFAllocatorRef)
-OS_CreateEvent_1=cast=(UInt32)
-OS_CreateEvent_2=cast=(UInt32)
-OS_CreateEvent_3=cast=(EventTime)
-OS_CreateEvent_4=cast=(EventAttributes)
-OS_CreateEvent_5=cast=(EventRef *)
-
-OS_CreateGroupBoxControl=
-OS_CreateGroupBoxControl_0=cast=(WindowRef)
-OS_CreateGroupBoxControl_1=cast=(const Rect *)
-OS_CreateGroupBoxControl_2=cast=(CFStringRef)
-OS_CreateGroupBoxControl_3=cast=(Boolean)
-OS_CreateGroupBoxControl_4=cast=(ControlRef *)
-
-OS_CreateIconControl=
-OS_CreateIconControl_0=cast=(WindowRef)
-OS_CreateIconControl_1=
-OS_CreateIconControl_2=
-OS_CreateIconControl_3=
-OS_CreateIconControl_4=cast=(ControlRef *)
-
-OS_CreateNewMenu=
-OS_CreateNewMenu_0=cast=(MenuID)
-OS_CreateNewMenu_1=cast=(MenuAttributes)
-OS_CreateNewMenu_2=cast=(MenuRef *)
-
-OS_CreateNewWindow=
-OS_CreateNewWindow_0=cast=(WindowClass)
-OS_CreateNewWindow_1=cast=(WindowAttributes)
-OS_CreateNewWindow_2=cast=(const Rect *)
-OS_CreateNewWindow_3=cast=(WindowRef *)
-
-OS_CreatePopupArrowControl=
-OS_CreatePopupArrowControl_0=cast=(WindowRef)
-OS_CreatePopupArrowControl_1=cast=(const Rect *)
-OS_CreatePopupArrowControl_2=cast=(ControlPopupArrowOrientation)
-OS_CreatePopupArrowControl_3=cast=(ControlPopupArrowSize)
-OS_CreatePopupArrowControl_4=cast=(ControlRef *)
-
-OS_CreatePopupButtonControl=
-OS_CreatePopupButtonControl_0=cast=(WindowRef)
-OS_CreatePopupButtonControl_1=
-OS_CreatePopupButtonControl_2=cast=(CFStringRef)
-OS_CreatePopupButtonControl_3=
-OS_CreatePopupButtonControl_4=
-OS_CreatePopupButtonControl_5=
-OS_CreatePopupButtonControl_6=
-OS_CreatePopupButtonControl_7=
-OS_CreatePopupButtonControl_8=cast=(ControlRef *)
-
-OS_CreateProgressBarControl=
-OS_CreateProgressBarControl_0=cast=(WindowRef)
-OS_CreateProgressBarControl_1=
-OS_CreateProgressBarControl_2=
-OS_CreateProgressBarControl_3=
-OS_CreateProgressBarControl_4=
-OS_CreateProgressBarControl_5=
-OS_CreateProgressBarControl_6=cast=(ControlRef *)
-
-OS_CreatePushButtonControl=
-OS_CreatePushButtonControl_0=cast=(WindowRef)
-OS_CreatePushButtonControl_1=cast=(const Rect *)
-OS_CreatePushButtonControl_2=cast=(CFStringRef)
-OS_CreatePushButtonControl_3=cast=(ControlRef *)
-
-OS_CreatePushButtonWithIconControl=
-OS_CreatePushButtonWithIconControl_0=cast=(WindowRef)
-OS_CreatePushButtonWithIconControl_1=
-OS_CreatePushButtonWithIconControl_2=cast=(CFStringRef)
-OS_CreatePushButtonWithIconControl_3=cast=(ControlButtonContentInfo *)
-OS_CreatePushButtonWithIconControl_4=cast=(ControlPushButtonIconAlignment)
-OS_CreatePushButtonWithIconControl_5=cast=(ControlRef *)
-
-OS_CreateRadioButtonControl=
-OS_CreateRadioButtonControl_0=cast=(WindowRef)
-OS_CreateRadioButtonControl_1=cast=(const Rect *)
-OS_CreateRadioButtonControl_2=cast=(CFStringRef)
-OS_CreateRadioButtonControl_3=cast=(SInt32)
-OS_CreateRadioButtonControl_4=cast=(Boolean)
-OS_CreateRadioButtonControl_5=cast=(ControlRef *)
-
-OS_CreateRootControl=
-OS_CreateRootControl_0=cast=(WindowRef)
-OS_CreateRootControl_1=cast=(ControlRef *)
-
-OS_CreateScrollBarControl=
-OS_CreateScrollBarControl_0=cast=(WindowRef)
-OS_CreateScrollBarControl_1=
-OS_CreateScrollBarControl_2=
-OS_CreateScrollBarControl_3=
-OS_CreateScrollBarControl_4=
-OS_CreateScrollBarControl_5=
-OS_CreateScrollBarControl_6=
-OS_CreateScrollBarControl_7=cast=(ControlActionUPP)
-OS_CreateScrollBarControl_8=cast=(ControlRef *)
-
-OS_CreateSeparatorControl=
-OS_CreateSeparatorControl_0=cast=(WindowRef)
-OS_CreateSeparatorControl_1=
-OS_CreateSeparatorControl_2=cast=(ControlRef *)
-
-OS_CreateSliderControl=
-OS_CreateSliderControl_0=cast=(WindowRef)
-OS_CreateSliderControl_1=cast=(const Rect *)
-OS_CreateSliderControl_2=cast=(SInt32)
-OS_CreateSliderControl_3=cast=(SInt32)
-OS_CreateSliderControl_4=cast=(SInt32)
-OS_CreateSliderControl_5=cast=(ControlSliderOrientation)
-OS_CreateSliderControl_6=cast=(UInt16)
-OS_CreateSliderControl_7=cast=(Boolean)
-OS_CreateSliderControl_8=cast=(ControlActionUPP)
-OS_CreateSliderControl_9=cast=(ControlRef *)
-
-OS_CreateStandardAlert=
-OS_CreateStandardAlert_0=cast=(AlertType)
-OS_CreateStandardAlert_1=cast=(CFStringRef)
-OS_CreateStandardAlert_2=cast=(CFStringRef)
-OS_CreateStandardAlert_3=cast=(const AlertStdCFStringAlertParamRec *)
-OS_CreateStandardAlert_4=cast=(DialogRef *)
-
-OS_CreateStaticTextControl=
-OS_CreateStaticTextControl_0=cast=(WindowRef)
-OS_CreateStaticTextControl_1=
-OS_CreateStaticTextControl_2=cast=(CFStringRef)
-OS_CreateStaticTextControl_3=cast=(const ControlFontStyleRec *)
-OS_CreateStaticTextControl_4=cast=(ControlRef *)
-
-OS_CreateTabsControl=
-OS_CreateTabsControl_0=cast=(WindowRef)
-OS_CreateTabsControl_1=cast=(const Rect *)
-OS_CreateTabsControl_2=cast=(ControlTabSize)
-OS_CreateTabsControl_3=cast=(ControlTabDirection)
-OS_CreateTabsControl_4=cast=(UInt16)
-OS_CreateTabsControl_5=cast=(const ControlTabEntry *)
-OS_CreateTabsControl_6=cast=(ControlRef *)
-
-OS_CreateTextToUnicodeInfoByEncoding=
-OS_CreateTextToUnicodeInfoByEncoding_0=cast=TextEncoding
-OS_CreateTextToUnicodeInfoByEncoding_1=cast=TextToUnicodeInfo *
-
-OS_CreateUserPaneControl=
-OS_CreateUserPaneControl_0=cast=(WindowRef)
-OS_CreateUserPaneControl_1=
-OS_CreateUserPaneControl_2=
-OS_CreateUserPaneControl_3=cast=(ControlRef *)
-
-OS_CreateWindowGroup=
-OS_CreateWindowGroup_0=cast=(WindowGroupAttributes)
-OS_CreateWindowGroup_1=cast=(WindowGroupRef *)
-
-OS_DMGetFirstScreenDevice=
-OS_DMGetFirstScreenDevice_0=cast=(Boolean)
-
-OS_DMGetNextScreenDevice=
-OS_DMGetNextScreenDevice_0=cast=(GDHandle)
-OS_DMGetNextScreenDevice_1=cast=(Boolean)
-
-OS_DeleteMenu=
-OS_DeleteMenu_0=cast=(MenuID)
-
-OS_DeleteMenuItem=
-OS_DeleteMenuItem_0=cast=(MenuRef)
-OS_DeleteMenuItem_1=cast=(short)
-
-OS_DeleteMenuItems=
-OS_DeleteMenuItems_0=cast=(MenuRef)
-OS_DeleteMenuItems_1=cast=(MenuItemIndex)
-OS_DeleteMenuItems_2=cast=(ItemCount)
-
-OS_DiffRgn=
-OS_DiffRgn_0=cast=(RgnHandle)
-OS_DiffRgn_1=cast=(RgnHandle)
-OS_DiffRgn_2=cast=(RgnHandle)
-
-OS_DisableControl=
-OS_DisableControl_0=cast=(ControlRef)
-
-OS_DisableMenuCommand=
-OS_DisableMenuCommand_0=cast=(MenuRef)
-OS_DisableMenuCommand_1=cast=(MenuCommand)
-
-OS_DisableMenuItem=
-OS_DisableMenuItem_0=cast=(MenuRef)
-OS_DisableMenuItem_1=cast=(MenuItemIndex)
-
-OS_DisposeControl=
-OS_DisposeControl_0=cast=(ControlRef)
-
-OS_DisposeDrag=
-OS_DisposeDrag_0=cast=(DragRef)
-
-OS_DisposeGWorld=
-OS_DisposeGWorld_0=cast=(GWorldPtr)
-
-OS_DisposeHandle=
-OS_DisposeHandle_0=cast=(Handle)
-
-OS_DisposeMenu=
-OS_DisposeMenu_0=cast=(MenuRef)
-
-OS_DisposePtr=
-OS_DisposePtr_0=cast=(Ptr)
-
-OS_DisposeRgn=
-OS_DisposeRgn_0=cast=(RgnHandle)
-
-OS_DisposeTextToUnicodeInfo=
-OS_DisposeTextToUnicodeInfo_0=cast=TextToUnicodeInfo *
-
-OS_DisposeWindow=
-OS_DisposeWindow_0=cast=(WindowRef)
-
-OS_DrawControlInCurrentPort=
-OS_DrawControlInCurrentPort_0=cast=(ControlRef)
-
-OS_DrawMenuBar=
-
-OS_DrawText=
-OS_DrawText_0=cast=(const void *)
-OS_DrawText_1=cast=(short)
-OS_DrawText_2=cast=(short)
-
-OS_DrawThemeButton=
-OS_DrawThemeButton_0=cast=(Rect *)
-OS_DrawThemeButton_1=cast=(ThemeButtonKind)
-OS_DrawThemeButton_2=cast=(const ThemeButtonDrawInfo *)
-OS_DrawThemeButton_3=cast=(const ThemeButtonDrawInfo *)
-OS_DrawThemeButton_4=cast=(ThemeEraseUPP)
-OS_DrawThemeButton_5=cast=(ThemeButtonDrawUPP)
-OS_DrawThemeButton_6=cast=(UInt32)
-
-OS_DrawThemeEditTextFrame=
-OS_DrawThemeEditTextFrame_0=cast=(const Rect *)
-OS_DrawThemeEditTextFrame_1=cast=(ThemeDrawState)
-
-OS_DrawThemeFocusRect=
-OS_DrawThemeFocusRect_0=cast=(const Rect *)
-OS_DrawThemeFocusRect_1=cast=(Boolean)
-
-OS_DrawThemePopupArrow=
-OS_DrawThemePopupArrow_0=
-OS_DrawThemePopupArrow_1=cast=ThemeArrowOrientation
-OS_DrawThemePopupArrow_2=cast=(ThemePopupArrowSize)
-OS_DrawThemePopupArrow_3=cast=(ThemeDrawState)
-OS_DrawThemePopupArrow_4=cast=(ThemeEraseUPP)
-OS_DrawThemePopupArrow_5=cast=(UInt32)
-
-OS_DrawThemeSeparator=
-OS_DrawThemeSeparator_0=cast=(const Rect *)
-OS_DrawThemeSeparator_1=cast=(ThemeDrawState)
-
-OS_DrawThemeTextBox=
-OS_DrawThemeTextBox_0=cast=(CFStringRef)
-OS_DrawThemeTextBox_1=cast=(ThemeFontID)
-OS_DrawThemeTextBox_2=cast=(ThemeDrawState)
-OS_DrawThemeTextBox_3=cast=(Boolean)
-OS_DrawThemeTextBox_4=cast=(const Rect *)
-OS_DrawThemeTextBox_5=cast=(SInt16)
-OS_DrawThemeTextBox_6=cast=(void *)
-
-OS_EmbedControl=
-OS_EmbedControl_0=cast=(ControlRef)
-OS_EmbedControl_1=cast=(ControlRef)
-
-OS_EmptyRect=
-OS_EmptyRect_0=cast=(const Rect *)
-
-OS_EmptyRgn=
-OS_EmptyRgn_0=cast=(RgnHandle)
-
-OS_EnableControl=
-OS_EnableControl_0=cast=(ControlRef)
-
-OS_EnableMenuCommand=
-OS_EnableMenuCommand_0=cast=(MenuRef)
-OS_EnableMenuCommand_1=cast=(MenuCommand)
-
-OS_EnableMenuItem=
-OS_EnableMenuItem_0=cast=(MenuRef)
-OS_EnableMenuItem_1=cast=(MenuItemIndex)
-
-OS_EndUpdate=
-OS_EndUpdate_0=cast=(WindowRef)
-
-OS_EqualRect=
-OS_EqualRect_0=
-OS_EqualRect_1=
-
-OS_EraseRect=
-OS_EraseRect_0=cast=(const Rect *)
-
-OS_EraseRgn=
-OS_EraseRgn_0=cast=(RgnHandle)
-
-OS_FMCreateFontFamilyInstanceIterator=
-OS_FMCreateFontFamilyInstanceIterator_0=cast=(FMFontFamily)
-OS_FMCreateFontFamilyInstanceIterator_1=cast=(FMFontFamilyInstanceIterator *)
-
-OS_FMCreateFontFamilyIterator=
-OS_FMCreateFontFamilyIterator_0=cast=(const FMFilter *)
-OS_FMCreateFontFamilyIterator_1=cast=(void *)
-OS_FMCreateFontFamilyIterator_2=cast=(OptionBits)
-OS_FMCreateFontFamilyIterator_3=cast=(FMFontFamilyIterator *)
-
-OS_FMDisposeFontFamilyInstanceIterator=
-OS_FMDisposeFontFamilyInstanceIterator_0=cast=(FMFontFamilyInstanceIterator *)
-
-OS_FMDisposeFontFamilyIterator=
-OS_FMDisposeFontFamilyIterator_0=cast=(FMFontFamilyIterator *)
-
-OS_FMGetATSFontRefFromFont=
-OS_FMGetATSFontRefFromFont_0=
-
-OS_FMGetFontFamilyFromName=
-OS_FMGetFontFamilyFromName_0=cast=(ConstStr255Param)
-
-OS_FMGetFontFamilyInstanceFromFont=
-OS_FMGetFontFamilyInstanceFromFont_0=cast=FMFont
-OS_FMGetFontFamilyInstanceFromFont_1=cast=FMFontFamily *
-OS_FMGetFontFamilyInstanceFromFont_2=cast=FMFontStyle *
-
-OS_FMGetFontFamilyName=
-OS_FMGetFontFamilyName_0=
-OS_FMGetFontFamilyName_1=
-
-OS_FMGetFontFromFontFamilyInstance=
-OS_FMGetFontFromFontFamilyInstance_0=cast=(FMFontFamily)
-OS_FMGetFontFromFontFamilyInstance_1=cast=(FMFontStyle)
-OS_FMGetFontFromFontFamilyInstance_2=cast=(FMFont *)
-OS_FMGetFontFromFontFamilyInstance_3=cast=(FMFontStyle *)
-
-OS_FMGetNextFontFamily=
-OS_FMGetNextFontFamily_0=cast=(FMFontFamilyIterator *)
-OS_FMGetNextFontFamily_1=cast=(FMFontFamily *)
-
-OS_FMGetNextFontFamilyInstance=
-OS_FMGetNextFontFamilyInstance_0=cast=(FMFontFamilyInstanceIterator *)
-OS_FMGetNextFontFamilyInstance_1=cast=(FMFont *)
-OS_FMGetNextFontFamilyInstance_2=cast=(FMFontStyle *)
-OS_FMGetNextFontFamilyInstance_3=cast=(FMFontSize *)
-
-OS_FPIsFontPanelVisible=
-
-OS_FPShowHideFontPanel=
-
-OS_FSGetCatalogInfo=
-OS_FSGetCatalogInfo_0=cast=(FSRef *)
-OS_FSGetCatalogInfo_1=cast=(FSCatalogInfoBitmap)
-OS_FSGetCatalogInfo_2=cast=(FSCatalogInfo *)
-OS_FSGetCatalogInfo_3=cast=(HFSUniStr255 *)
-OS_FSGetCatalogInfo_4=cast=(FSSpec *)
-OS_FSGetCatalogInfo_5=cast=(FSRef *)
-
-OS_FSpGetFInfo=
-OS_FSpGetFInfo_0=cast=(FSSpec *)
-OS_FSpGetFInfo_1=cast=(FInfo *)
-
-OS_FSpMakeFSRef=
-OS_FSpMakeFSRef_0=cast=(const FSSpec *)
-OS_FSpMakeFSRef_1=cast=(FSRef *)
-
-OS_FetchFontInfo=
-OS_FetchFontInfo_0=
-OS_FetchFontInfo_1=
-OS_FetchFontInfo_2=
-OS_FetchFontInfo_3=
-
-OS_FindWindow=
-OS_FindWindow_0=cast=(Point *),flags=struct
-OS_FindWindow_1=cast=(WindowRef *)
-
-OS_Fix2Long=
-OS_Fix2Long_0=
-
-OS_FrameOval=
-OS_FrameOval_0=cast=(const Rect *)
-
-OS_FramePoly=
-OS_FramePoly_0=cast=(PolyHandle)
-
-OS_FrameRect=
-OS_FrameRect_0=cast=(const Rect *)
-
-OS_FrameRoundRect=
-OS_FrameRoundRect_0=cast=(const Rect *)
-OS_FrameRoundRect_1=cast=(short)
-OS_FrameRoundRect_2=cast=(short)
-
-OS_FrontWindow=
-
-OS_GetAppFont=
-
-OS_GetApplicationEventTarget=
-
-OS_GetAvailableWindowAttributes=
-OS_GetAvailableWindowAttributes_0=cast=(WindowClass)
-
-OS_GetAvailableWindowPositioningBounds=
-OS_GetAvailableWindowPositioningBounds_0=cast=(GDHandle)
-OS_GetAvailableWindowPositioningBounds_1=cast=(Rect *)
-
-OS_GetBestControlRect=
-OS_GetBestControlRect_0=cast=(ControlRef)
-OS_GetBestControlRect_1=cast=(Rect *)
-OS_GetBestControlRect_2=cast=(SInt16 *)
-
-OS_GetCaretTime=
-
-OS_GetClip=
-OS_GetClip_0=cast=(RgnHandle)
-
-OS_GetControl32BitMaximum=
-OS_GetControl32BitMaximum_0=cast=(ControlRef)
-
-OS_GetControl32BitMinimum=
-OS_GetControl32BitMinimum_0=cast=(ControlRef)
-
-OS_GetControl32BitValue=
-OS_GetControl32BitValue_0=cast=(ControlRef)
-
-OS_GetControlBounds=
-OS_GetControlBounds_0=cast=(ControlRef)
-OS_GetControlBounds_1=cast=(Rect *)
-
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I=
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I_0=cast=(ControlRef)
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I_1=cast=(ControlPartCode)
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I_2=cast=(ResType)
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I_3=cast=(Size)
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I_4=cast=(void *)
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_ControlFontStyleRec_2_3I_5=cast=(Size *)
-
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I=
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I_0=cast=(ControlRef)
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I_1=cast=(ControlPartCode)
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I_2=cast=(ResType)
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I_3=cast=(Size)
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I_4=cast=(void *)
-OS_GetControlData__ISIILorg_eclipse_swt_internal_carbon_Rect_2_3I_5=cast=(Size *)
-
-OS_GetControlData__ISII_3B_3I=
-OS_GetControlData__ISII_3B_3I_0=cast=(ControlRef)
-OS_GetControlData__ISII_3B_3I_1=cast=(ControlPartCode)
-OS_GetControlData__ISII_3B_3I_2=cast=(ResType)
-OS_GetControlData__ISII_3B_3I_3=cast=(Size)
-OS_GetControlData__ISII_3B_3I_4=cast=(void *)
-OS_GetControlData__ISII_3B_3I_5=cast=(Size *)
-
-OS_GetControlData__ISII_3I_3I=
-OS_GetControlData__ISII_3I_3I_0=cast=(ControlRef)
-OS_GetControlData__ISII_3I_3I_1=cast=(ControlPartCode)
-OS_GetControlData__ISII_3I_3I_2=cast=(ResType)
-OS_GetControlData__ISII_3I_3I_3=cast=(Size)
-OS_GetControlData__ISII_3I_3I_4=cast=(void *)
-OS_GetControlData__ISII_3I_3I_5=cast=(Size *)
-
-OS_GetControlData__ISII_3S_3I=
-OS_GetControlData__ISII_3S_3I_0=cast=(ControlRef)
-OS_GetControlData__ISII_3S_3I_1=cast=(ControlPartCode)
-OS_GetControlData__ISII_3S_3I_2=cast=(ResType)
-OS_GetControlData__ISII_3S_3I_3=cast=(Size)
-OS_GetControlData__ISII_3S_3I_4=cast=(void *)
-OS_GetControlData__ISII_3S_3I_5=cast=(Size *)
-
-OS_GetControlEventTarget=
-OS_GetControlEventTarget_0=cast=(ControlRef)
-
-OS_GetControlFeatures=
-OS_GetControlFeatures_0=cast=(ControlRef)
-OS_GetControlFeatures_1=
-
-OS_GetControlOwner=
-OS_GetControlOwner_0=cast=(ControlRef)
-
-OS_GetControlProperty=
-OS_GetControlProperty_0=cast=(ControlRef)
-OS_GetControlProperty_1=
-OS_GetControlProperty_2=
-OS_GetControlProperty_3=
-OS_GetControlProperty_4=
-OS_GetControlProperty_5=
-
-OS_GetControlReference=
-OS_GetControlReference_0=cast=(ControlRef)
-
-OS_GetControlRegion=
-OS_GetControlRegion_0=cast=(ControlRef)
-OS_GetControlRegion_1=cast=(ControlPartCode)
-OS_GetControlRegion_2=cast=(RgnHandle)
-
-OS_GetControlValue=
-OS_GetControlValue_0=cast=(ControlRef)
-
-OS_GetControlViewSize=
-OS_GetControlViewSize_0=cast=(ControlRef)
-
-OS_GetCurrentEventButtonState=
-
-OS_GetCurrentEventKeyModifiers=
-
-OS_GetCurrentEventLoop=
-
-OS_GetCurrentEventQueue=
-
-OS_GetCurrentProcess=
-OS_GetCurrentProcess_0=cast=(ProcessSerialNumber *)
-
-OS_GetCurrentScrap=
-OS_GetCurrentScrap_0=cast=(ScrapRef *)
-
-OS_GetDataBrowserCallbacks=
-OS_GetDataBrowserCallbacks_0=cast=(ControlRef)
-OS_GetDataBrowserCallbacks_1=cast=(DataBrowserCallbacks *)
-
-OS_GetDataBrowserItemCount=
-OS_GetDataBrowserItemCount_0=cast=(ControlRef)
-OS_GetDataBrowserItemCount_1=cast=(DataBrowserItemID)
-OS_GetDataBrowserItemCount_2=cast=(Boolean)
-OS_GetDataBrowserItemCount_3=cast=(DataBrowserItemState)
-OS_GetDataBrowserItemCount_4=cast=(UInt32 *)
-
-OS_GetDataBrowserItemDataButtonValue=
-OS_GetDataBrowserItemDataButtonValue_0=cast=(ControlRef)
-OS_GetDataBrowserItemDataButtonValue_1=
-
-OS_GetDataBrowserItemPartBounds=
-OS_GetDataBrowserItemPartBounds_0=cast=(ControlRef)
-OS_GetDataBrowserItemPartBounds_1=cast=(DataBrowserItemID)
-OS_GetDataBrowserItemPartBounds_2=cast=(DataBrowserPropertyID)
-OS_GetDataBrowserItemPartBounds_3=cast=(DataBrowserPropertyPart)
-OS_GetDataBrowserItemPartBounds_4=cast=(Rect *)
-
-OS_GetDataBrowserItemState=
-OS_GetDataBrowserItemState_0=cast=(ControlRef)
-OS_GetDataBrowserItemState_1=
-OS_GetDataBrowserItemState_2=
-
-OS_GetDataBrowserItems=
-OS_GetDataBrowserItems_0=cast=(ControlRef)
-OS_GetDataBrowserItems_1=cast=(DataBrowserItemID)
-OS_GetDataBrowserItems_2=cast=(Boolean)
-OS_GetDataBrowserItems_3=cast=(DataBrowserItemState)
-OS_GetDataBrowserItems_4=cast=(Handle)
-
-OS_GetDataBrowserListViewHeaderBtnHeight=
-OS_GetDataBrowserListViewHeaderBtnHeight_0=cast=(ControlRef)
-OS_GetDataBrowserListViewHeaderBtnHeight_1=
-
-OS_GetDataBrowserListViewHeaderDesc=
-OS_GetDataBrowserListViewHeaderDesc_0=cast=(ControlRef)
-OS_GetDataBrowserListViewHeaderDesc_1=cast=(DataBrowserTableViewColumnID)
-OS_GetDataBrowserListViewHeaderDesc_2=cast=(DataBrowserListViewHeaderDesc *)
-
-OS_GetDataBrowserScrollBarInset=
-OS_GetDataBrowserScrollBarInset_0=cast=(ControlRef)
-OS_GetDataBrowserScrollBarInset_1=
-
-OS_GetDataBrowserScrollPosition=
-OS_GetDataBrowserScrollPosition_0=cast=(ControlRef)
-OS_GetDataBrowserScrollPosition_1=cast=(UInt32 *)
-OS_GetDataBrowserScrollPosition_2=cast=(UInt32 *)
-
-OS_GetDataBrowserSelectionAnchor=
-OS_GetDataBrowserSelectionAnchor_0=cast=(ControlRef)
-OS_GetDataBrowserSelectionAnchor_1=cast=(UInt32 *)
-OS_GetDataBrowserSelectionAnchor_2=cast=(UInt32 *)
-
-OS_GetDataBrowserSelectionFlags=
-OS_GetDataBrowserSelectionFlags_0=cast=(ControlRef)
-OS_GetDataBrowserSelectionFlags_1=
-
-OS_GetDataBrowserTableViewColumnPosition=
-OS_GetDataBrowserTableViewColumnPosition_0=cast=(ControlRef)
-OS_GetDataBrowserTableViewColumnPosition_1=cast=(DataBrowserTableViewColumnID)
-OS_GetDataBrowserTableViewColumnPosition_2=cast=(DataBrowserTableViewColumnIndex *)
-
-OS_GetDataBrowserTableViewItemID=
-OS_GetDataBrowserTableViewItemID_0=cast=(ControlRef)
-OS_GetDataBrowserTableViewItemID_1=cast=(DataBrowserTableViewRowIndex)
-OS_GetDataBrowserTableViewItemID_2=cast=(DataBrowserItemID *)
-
-OS_GetDataBrowserTableViewItemRow=
-OS_GetDataBrowserTableViewItemRow_0=cast=(ControlRef)
-OS_GetDataBrowserTableViewItemRow_1=cast=(DataBrowserTableViewRowIndex)
-OS_GetDataBrowserTableViewItemRow_2=cast=(DataBrowserItemID *)
-
-OS_GetDataBrowserTableViewNamedColumnWidth=
-OS_GetDataBrowserTableViewNamedColumnWidth_0=cast=(ControlRef)
-OS_GetDataBrowserTableViewNamedColumnWidth_1=cast=(DataBrowserTableViewColumnID)
-OS_GetDataBrowserTableViewNamedColumnWidth_2=cast=(UInt16 *)
-
-OS_GetDataBrowserTableViewRowHeight=
-OS_GetDataBrowserTableViewRowHeight_0=cast=(ControlRef)
-OS_GetDataBrowserTableViewRowHeight_1=cast=(UInt16 *)
-
-OS_GetDblTime=
-
-OS_GetDefFontSize=
-
-OS_GetDeviceList=
-
-OS_GetDragAllowableActions=
-OS_GetDragAllowableActions_0=cast=(DragRef)
-OS_GetDragAllowableActions_1=cast=(DragActions *)
-
-OS_GetDragDropAction=
-OS_GetDragDropAction_0=cast=(DragRef)
-OS_GetDragDropAction_1=cast=(DragActions *)
-
-OS_GetDragItemReferenceNumber=
-OS_GetDragItemReferenceNumber_0=cast=(DragRef)
-OS_GetDragItemReferenceNumber_1=
-OS_GetDragItemReferenceNumber_2=cast=(DragItemRef *)
-
-OS_GetDragModifiers=
-OS_GetDragModifiers_0=cast=(DragRef)
-OS_GetDragModifiers_1=cast=(SInt16 *)
-OS_GetDragModifiers_2=cast=(SInt16 *)
-OS_GetDragModifiers_3=cast=(SInt16 *)
-
-OS_GetDragMouse=
-OS_GetDragMouse_0=cast=(DragRef)
-OS_GetDragMouse_1=cast=(Point *)
-OS_GetDragMouse_2=cast=(Point *)
-
-OS_GetEventClass=
-OS_GetEventClass_0=cast=(EventRef)
-
-OS_GetEventDispatcherTarget=
-
-OS_GetEventKind=
-OS_GetEventKind_0=cast=(EventRef)
-
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2=
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2_0=cast=(EventRef)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2_1=cast=(EventParamName)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2_2=cast=(EventParamType)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2_3=cast=(EventParamType *)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2_4=cast=(UInt32)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2_5=cast=(UInt32 *)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_CGPoint_2_6=cast=(void *)
-
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2=
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2_0=cast=(EventRef)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2_1=cast=(EventParamName)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2_2=cast=(EventParamType)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2_3=cast=(EventParamType *)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2_4=cast=(UInt32)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2_5=cast=(UInt32 *)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_HICommand_2_6=cast=(void *)
-
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2=
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2_0=cast=(EventRef)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2_1=cast=(EventParamName)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2_2=cast=(EventParamType)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2_3=cast=(EventParamType *)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2_4=cast=(UInt32)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2_5=cast=(UInt32 *)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Point_2_6=cast=(void *)
-
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2=
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2_0=cast=(EventRef)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2_1=cast=(EventParamName)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2_2=cast=(EventParamType)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2_3=cast=(EventParamType *)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2_4=cast=(UInt32)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2_5=cast=(UInt32 *)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_RGBColor_2_6=cast=(void *)
-
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2=
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2_0=cast=(EventRef)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2_1=cast=(EventParamName)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2_2=cast=(EventParamType)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2_3=cast=(EventParamType *)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2_4=cast=(UInt32)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2_5=cast=(UInt32 *)
-OS_GetEventParameter__III_3II_3ILorg_eclipse_swt_internal_carbon_Rect_2_6=cast=(void *)
-
-OS_GetEventParameter__III_3II_3I_3B=
-OS_GetEventParameter__III_3II_3I_3B_0=cast=(EventRef)
-OS_GetEventParameter__III_3II_3I_3B_1=cast=(EventParamName)
-OS_GetEventParameter__III_3II_3I_3B_2=cast=(EventParamType)
-OS_GetEventParameter__III_3II_3I_3B_3=cast=(EventParamType *)
-OS_GetEventParameter__III_3II_3I_3B_4=cast=(UInt32)
-OS_GetEventParameter__III_3II_3I_3B_5=cast=(UInt32 *)
-OS_GetEventParameter__III_3II_3I_3B_6=cast=(void *)
-
-OS_GetEventParameter__III_3II_3I_3C=
-OS_GetEventParameter__III_3II_3I_3C_0=cast=(EventRef)
-OS_GetEventParameter__III_3II_3I_3C_1=cast=(EventParamName)
-OS_GetEventParameter__III_3II_3I_3C_2=cast=(EventParamType)
-OS_GetEventParameter__III_3II_3I_3C_3=cast=(EventParamType *)
-OS_GetEventParameter__III_3II_3I_3C_4=cast=(UInt32)
-OS_GetEventParameter__III_3II_3I_3C_5=cast=(UInt32 *)
-OS_GetEventParameter__III_3II_3I_3C_6=cast=(void *)
-
-OS_GetEventParameter__III_3II_3I_3I=
-OS_GetEventParameter__III_3II_3I_3I_0=cast=(EventRef)
-OS_GetEventParameter__III_3II_3I_3I_1=cast=(EventParamName)
-OS_GetEventParameter__III_3II_3I_3I_2=cast=(EventParamType)
-OS_GetEventParameter__III_3II_3I_3I_3=cast=(EventParamType *)
-OS_GetEventParameter__III_3II_3I_3I_4=cast=(UInt32)
-OS_GetEventParameter__III_3II_3I_3I_5=cast=(UInt32 *)
-OS_GetEventParameter__III_3II_3I_3I_6=cast=(void *)
-
-OS_GetEventParameter__III_3II_3I_3S=
-OS_GetEventParameter__III_3II_3I_3S_0=cast=(EventRef)
-OS_GetEventParameter__III_3II_3I_3S_1=cast=(EventParamName)
-OS_GetEventParameter__III_3II_3I_3S_2=cast=(EventParamType)
-OS_GetEventParameter__III_3II_3I_3S_3=cast=(EventParamType *)
-OS_GetEventParameter__III_3II_3I_3S_4=cast=(UInt32)
-OS_GetEventParameter__III_3II_3I_3S_5=cast=(UInt32 *)
-OS_GetEventParameter__III_3II_3I_3S_6=cast=(void *)
-
-OS_GetEventTime=
-OS_GetEventTime_0=cast=(EventRef)
-
-OS_GetFlavorData=
-OS_GetFlavorData_0=cast=(DragRef)
-OS_GetFlavorData_1=cast=(DragItemRef)
-OS_GetFlavorData_2=cast=(FlavorType)
-OS_GetFlavorData_3=cast=(void *)
-OS_GetFlavorData_4=cast=(Size *)
-OS_GetFlavorData_5=
-
-OS_GetFlavorDataSize=
-OS_GetFlavorDataSize_0=cast=(DragRef)
-OS_GetFlavorDataSize_1=cast=(DragItemRef)
-OS_GetFlavorDataSize_2=cast=(FlavorType)
-OS_GetFlavorDataSize_3=cast=(Size *)
-
-OS_GetFlavorType=
-OS_GetFlavorType_0=cast=(DragRef)
-OS_GetFlavorType_1=cast=(DragItemRef)
-OS_GetFlavorType_2=
-OS_GetFlavorType_3=cast=(FlavorType *)
-
-OS_GetFontInfo=
-OS_GetFontInfo_0=cast=(FontInfo *)
-
-OS_GetGDevice=
-
-OS_GetGWorld=
-OS_GetGWorld_0=cast=(CGrafPtr *)
-OS_GetGWorld_1=cast=(GDHandle *)
-
-OS_GetGlobalMouse=
-OS_GetGlobalMouse_0=cast=(Point *)
-
-OS_GetHandleSize=
-OS_GetHandleSize_0=cast=(Handle)
-
-OS_GetIconRef=
-OS_GetIconRef_0=cast=(SInt16)
-OS_GetIconRef_1=cast=(OSType)
-OS_GetIconRef_2=cast=(OSType)
-OS_GetIconRef_3=cast=(IconRef *)
-
-OS_GetIndMenuItemWithCommandID=
-OS_GetIndMenuItemWithCommandID_0=cast=(MenuRef)
-OS_GetIndMenuItemWithCommandID_1=cast=(MenuCommand)
-OS_GetIndMenuItemWithCommandID_2=cast=(UInt32)
-OS_GetIndMenuItemWithCommandID_3=cast=(MenuRef *)
-OS_GetIndMenuItemWithCommandID_4=cast=(MenuItemIndex *)
-
-OS_GetIndexedSubControl=
-OS_GetIndexedSubControl_0=cast=(ControlRef)
-OS_GetIndexedSubControl_1=cast=(UInt16)
-OS_GetIndexedSubControl_2=cast=(ControlRef *)
-
-OS_GetItemMark=
-OS_GetItemMark_0=cast=(MenuRef)
-OS_GetItemMark_1=
-OS_GetItemMark_2=
-
-OS_GetKeyboardFocus=
-OS_GetKeyboardFocus_0=cast=(WindowRef)
-OS_GetKeyboardFocus_1=cast=(ControlRef *)
-
-OS_GetLastUserEventTime=
-
-OS_GetMBarHeight=
-
-OS_GetMainDevice=
-
-OS_GetMainEventQueue=
-
-OS_GetMenuCommandMark=
-OS_GetMenuCommandMark_0=cast=(MenuRef)
-OS_GetMenuCommandMark_1=cast=(MenuCommand)
-OS_GetMenuCommandMark_2=cast=(UniChar *)
-
-OS_GetMenuEventTarget=
-OS_GetMenuEventTarget_0=cast=(MenuRef)
-
-OS_GetMenuFont=
-OS_GetMenuFont_0=cast=(MenuRef)
-OS_GetMenuFont_1=cast=(SInt16 *)
-OS_GetMenuFont_2=cast=(UInt16 *)
-
-OS_GetMenuHeight=
-OS_GetMenuHeight_0=cast=(MenuRef)
-
-OS_GetMenuID=
-OS_GetMenuID_0=cast=(MenuRef)
-
-OS_GetMenuItemCommandID=
-OS_GetMenuItemCommandID_0=cast=(MenuRef)
-OS_GetMenuItemCommandID_1=cast=(SInt16)
-OS_GetMenuItemCommandID_2=cast=(MenuCommand *)
-
-OS_GetMenuItemHierarchicalMenu=
-OS_GetMenuItemHierarchicalMenu_0=cast=(MenuRef)
-OS_GetMenuItemHierarchicalMenu_1=cast=(SInt16)
-OS_GetMenuItemHierarchicalMenu_2=cast=(MenuRef *)
-
-OS_GetMenuItemRefCon=
-OS_GetMenuItemRefCon_0=cast=(MenuRef)
-OS_GetMenuItemRefCon_1=cast=(SInt16)
-OS_GetMenuItemRefCon_2=cast=(UInt32 *)
-
-OS_GetMenuTrackingData=
-OS_GetMenuTrackingData_0=cast=(MenuRef)
-OS_GetMenuTrackingData_1=
-
-OS_GetMenuWidth=
-OS_GetMenuWidth_0=cast=(MenuRef)
-
-OS_GetMouse=
-OS_GetMouse_0=cast=(Point *)
-
-OS_GetNextDevice=
-OS_GetNextDevice_0=cast=(GDHandle)
-
-OS_GetPixBounds=
-OS_GetPixBounds_0=cast=(PixMapHandle)
-OS_GetPixBounds_1=cast=(Rect *)
-
-OS_GetPixDepth=
-OS_GetPixDepth_0=cast=(PixMapHandle)
-
-OS_GetPort=
-OS_GetPort_0=cast=(GrafPtr *)
-
-OS_GetPortBitMapForCopyBits=
-OS_GetPortBitMapForCopyBits_0=cast=(CGrafPtr)
-
-OS_GetPortBounds=
-OS_GetPortBounds_0=cast=(CGrafPtr)
-OS_GetPortBounds_1=cast=(Rect *)
-
-OS_GetPortClipRegion=
-OS_GetPortClipRegion_0=cast=(CGrafPtr)
-OS_GetPortClipRegion_1=cast=(RgnHandle)
-
-OS_GetPortVisibleRegion=
-OS_GetPortVisibleRegion_0=cast=(CGrafPtr)
-OS_GetPortVisibleRegion_1=cast=(RgnHandle)
-
-OS_GetPtrSize=
-OS_GetPtrSize_0=cast=(Ptr)
-
-OS_GetRegionBounds=
-OS_GetRegionBounds_0=cast=(RgnHandle)
-OS_GetRegionBounds_1=cast=(Rect *)
-
-OS_GetRootControl=
-OS_GetRootControl_0=cast=(WindowRef)
-OS_GetRootControl_1=cast=(ControlRef *)
-
-OS_GetScrapFlavorCount=
-OS_GetScrapFlavorCount_0=cast=(ScrapRef)
-OS_GetScrapFlavorCount_1=cast=(UInt32 *)
-
-OS_GetScrapFlavorData=
-OS_GetScrapFlavorData_0=cast=(ScrapRef)
-OS_GetScrapFlavorData_1=cast=(ScrapFlavorType)
-OS_GetScrapFlavorData_2=cast=(Size *)
-OS_GetScrapFlavorData_3=cast=(void *)
-
-OS_GetScrapFlavorInfoList=
-OS_GetScrapFlavorInfoList_0=cast=(ScrapRef)
-OS_GetScrapFlavorInfoList_1=cast=(UInt32 *)
-OS_GetScrapFlavorInfoList_2=cast=(ScrapFlavorInfo *)
-
-OS_GetScrapFlavorSize=
-OS_GetScrapFlavorSize_0=cast=(ScrapRef)
-OS_GetScrapFlavorSize_1=cast=(ScrapFlavorType)
-OS_GetScrapFlavorSize_2=cast=(Size *)
-
-OS_GetScriptManagerVariable=
-OS_GetScriptManagerVariable_0=
-
-OS_GetSuperControl=
-OS_GetSuperControl_0=cast=(ControlRef)
-OS_GetSuperControl_1=cast=(ControlRef *)
-
-OS_GetTabContentRect=
-OS_GetTabContentRect_0=cast=ControlRef
-OS_GetTabContentRect_1=
-
-OS_GetThemeBrushAsColor=
-OS_GetThemeBrushAsColor_0=
-OS_GetThemeBrushAsColor_1=
-OS_GetThemeBrushAsColor_2=
-OS_GetThemeBrushAsColor_3=
-
-OS_GetThemeDrawingState=
-OS_GetThemeDrawingState_0=cast=(ThemeDrawingState *)
-
-OS_GetThemeFont=
-OS_GetThemeFont_0=cast=(ThemeFontID)
-OS_GetThemeFont_1=cast=(ScriptCode)
-OS_GetThemeFont_2=cast=(char *)
-OS_GetThemeFont_3=cast=(SInt16 *)
-OS_GetThemeFont_4=cast=(Style *)
-
-OS_GetThemeMenuItemExtra=
-OS_GetThemeMenuItemExtra_0=
-OS_GetThemeMenuItemExtra_1=
-OS_GetThemeMenuItemExtra_2=
-
-OS_GetThemeMetric=
-OS_GetThemeMetric_0=
-OS_GetThemeMetric_1=
-
-OS_GetThemeTextColor=
-OS_GetThemeTextColor_0=
-OS_GetThemeTextColor_1=
-OS_GetThemeTextColor_2=
-OS_GetThemeTextColor_3=
-
-OS_GetThemeTextDimensions=
-OS_GetThemeTextDimensions_0=cast=(CFStringRef)
-OS_GetThemeTextDimensions_1=cast=(ThemeFontID)
-OS_GetThemeTextDimensions_2=cast=(ThemeDrawState)
-OS_GetThemeTextDimensions_3=cast=(Boolean)
-OS_GetThemeTextDimensions_4=cast=(Point *)
-OS_GetThemeTextDimensions_5=cast=(SInt16 *)
-
-OS_GetUserFocusEventTarget=
-
-OS_GetUserFocusWindow=
-
-OS_GetWRefCon=
-OS_GetWRefCon_0=cast=(WindowRef)
-
-OS_GetWindowActivationScope=
-OS_GetWindowActivationScope_0=cast=(WindowRef)
-OS_GetWindowActivationScope_1=cast=(WindowActivationScope *)
-
-OS_GetWindowBounds=
-OS_GetWindowBounds_0=cast=(WindowRef)
-OS_GetWindowBounds_1=cast=(WindowRegionCode)
-OS_GetWindowBounds_2=cast=(Rect *)
-
-OS_GetWindowDefaultButton=
-OS_GetWindowDefaultButton_0=cast=(WindowRef)
-OS_GetWindowDefaultButton_1=cast=(ControlRef *)
-
-OS_GetWindowEventTarget=
-OS_GetWindowEventTarget_0=cast=(WindowRef)
-
-OS_GetWindowFromPort=
-OS_GetWindowFromPort_0=cast=(CGrafPtr)
-
-OS_GetWindowGroupOfClass=
-OS_GetWindowGroupOfClass_0=
-
-OS_GetWindowModality=
-OS_GetWindowModality_0=cast=(WindowRef)
-OS_GetWindowModality_1=cast=(WindowModality *)
-OS_GetWindowModality_2=cast=(WindowRef *)
-
-OS_GetWindowPort=
-OS_GetWindowPort_0=cast=(WindowRef)
-
-OS_GetWindowRegion=
-OS_GetWindowRegion_0=cast=(WindowRef)
-OS_GetWindowRegion_1=cast=(WindowRegionCode)
-OS_GetWindowRegion_2=cast=(RgnHandle)
-
-OS_GetWindowStructureWidths=
-OS_GetWindowStructureWidths_0=cast=(WindowRef)
-OS_GetWindowStructureWidths_1=cast=(Rect *)
-
-OS_HIComboBoxAppendTextItem=
-OS_HIComboBoxAppendTextItem_0=cast=(HIViewRef)
-OS_HIComboBoxAppendTextItem_1=cast=(CFStringRef)
-OS_HIComboBoxAppendTextItem_2=cast=(CFIndex *)
-
-OS_HIComboBoxCopyTextItemAtIndex=
-OS_HIComboBoxCopyTextItemAtIndex_0=cast=(HIViewRef)
-OS_HIComboBoxCopyTextItemAtIndex_1=cast=(CFIndex)
-OS_HIComboBoxCopyTextItemAtIndex_2=cast=(CFStringRef *)
-
-OS_HIComboBoxCreate=
-OS_HIComboBoxCreate_0=cast=(const HIRect *)
-OS_HIComboBoxCreate_1=cast=(CFStringRef)
-OS_HIComboBoxCreate_2=cast=(const ControlFontStyleRec *)
-OS_HIComboBoxCreate_3=cast=(CFArrayRef)
-OS_HIComboBoxCreate_4=cast=(OptionBits)
-OS_HIComboBoxCreate_5=cast=(HIViewRef *)
-
-OS_HIComboBoxGetItemCount=
-OS_HIComboBoxGetItemCount_0=cast=(HIViewRef)
-
-OS_HIComboBoxInsertTextItemAtIndex=
-OS_HIComboBoxInsertTextItemAtIndex_0=cast=(HIViewRef)
-OS_HIComboBoxInsertTextItemAtIndex_1=cast=(CFIndex)
-OS_HIComboBoxInsertTextItemAtIndex_2=cast=(CFStringRef)
-
-OS_HIComboBoxRemoveItemAtIndex=
-OS_HIComboBoxRemoveItemAtIndex_0=cast=(HIViewRef)
-OS_HIComboBoxRemoveItemAtIndex_1=cast=(CFIndex)
-
-OS_HIObjectCopyClassID=
-OS_HIObjectCopyClassID_0=cast=(HIObjectRef)
-
-OS_HIObjectCreate=
-OS_HIObjectCreate_0=cast=(CFStringRef)
-OS_HIObjectCreate_1=cast=(EventRef)
-OS_HIObjectCreate_2=cast=(HIObjectRef *)
-
-OS_HIObjectRegisterSubclass=
-OS_HIObjectRegisterSubclass_0=cast=(CFStringRef)
-OS_HIObjectRegisterSubclass_1=cast=(CFStringRef)
-OS_HIObjectRegisterSubclass_2=cast=(OptionBits)
-OS_HIObjectRegisterSubclass_3=cast=(EventHandlerUPP)
-OS_HIObjectRegisterSubclass_4=cast=(UInt32)
-OS_HIObjectRegisterSubclass_5=cast=(const EventTypeSpec *)
-OS_HIObjectRegisterSubclass_6=cast=(void *)
-OS_HIObjectRegisterSubclass_7=cast=(HIObjectClassRef *)
-
-OS_HIViewAddSubview=
-OS_HIViewAddSubview_0=cast=(HIViewRef)
-OS_HIViewAddSubview_1=cast=(HIViewRef)
-
-OS_HIViewClick=
-OS_HIViewClick_0=cast=(HIViewRef)
-OS_HIViewClick_1=cast=(EventRef)
-
-OS_HIViewConvertPoint=
-OS_HIViewConvertPoint_0=cast=(HIPoint *)
-OS_HIViewConvertPoint_1=cast=(HIViewRef)
-OS_HIViewConvertPoint_2=cast=(HIViewRef)
-
-OS_HIViewFindByID=
-OS_HIViewFindByID_0=cast=(HIViewRef)
-OS_HIViewFindByID_1=cast=(HIViewID *),flags=struct
-OS_HIViewFindByID_2=cast=(HIViewRef *)
-
-OS_HIViewGetFirstSubview=
-OS_HIViewGetFirstSubview_0=cast=(HIViewRef)
-
-OS_HIViewGetFrame=
-OS_HIViewGetFrame_0=cast=(HIViewRef)
-OS_HIViewGetFrame_1=cast=(HIRect *)
-
-OS_HIViewGetLastSubview=
-OS_HIViewGetLastSubview_0=cast=(HIViewRef)
-
-OS_HIViewGetNextView=
-OS_HIViewGetNextView_0=cast=(HIViewRef)
-
-OS_HIViewGetRoot=
-OS_HIViewGetRoot_0=cast=(WindowRef)
-
-OS_HIViewGetSizeConstraints=
-OS_HIViewGetSizeConstraints_0=cast=(HIViewRef)
-OS_HIViewGetSizeConstraints_1=cast=(HISize *)
-OS_HIViewGetSizeConstraints_2=cast=(HISize *)
-
-OS_HIViewGetSubviewHit=
-OS_HIViewGetSubviewHit_0=cast=(HIViewRef)
-OS_HIViewGetSubviewHit_1=cast=(CGPoint *)
-OS_HIViewGetSubviewHit_2=cast=(Boolean)
-OS_HIViewGetSubviewHit_3=cast=(HIViewRef *)
-
-OS_HIViewGetViewForMouseEvent=
-OS_HIViewGetViewForMouseEvent_0=cast=(HIViewRef)
-OS_HIViewGetViewForMouseEvent_1=cast=(EventRef)
-OS_HIViewGetViewForMouseEvent_2=cast=(HIViewRef *)
-
-OS_HIViewIsVisible=
-OS_HIViewIsVisible_0=cast=(HIViewRef)
-
-OS_HIViewRemoveFromSuperview=
-OS_HIViewRemoveFromSuperview_0=cast=(HIViewRef)
-
-OS_HIViewSetBoundsOrigin=
-OS_HIViewSetBoundsOrigin_0=cast=(HIViewRef)
-OS_HIViewSetBoundsOrigin_1=
-OS_HIViewSetBoundsOrigin_2=
-
-OS_HIViewSetDrawingEnabled=
-OS_HIViewSetDrawingEnabled_0=cast=(HIViewRef)
-OS_HIViewSetDrawingEnabled_1=cast=(Boolean)
-
-OS_HIViewSetFrame=
-OS_HIViewSetFrame_0=cast=(HIViewRef)
-OS_HIViewSetFrame_1=cast=(const HIRect *)
-
-OS_HIViewSetNeedsDisplay=
-OS_HIViewSetNeedsDisplay_0=cast=(HIViewRef)
-OS_HIViewSetNeedsDisplay_1=cast=(Boolean)
-
-OS_HIViewSetNeedsDisplayInRegion=
-OS_HIViewSetNeedsDisplayInRegion_0=cast=(HIViewRef)
-OS_HIViewSetNeedsDisplayInRegion_1=cast=(RgnHandle)
-OS_HIViewSetNeedsDisplayInRegion_2=cast=(Boolean)
-
-OS_HIViewSetVisible=
-OS_HIViewSetVisible_0=cast=(HIViewRef)
-OS_HIViewSetVisible_1=cast=(Boolean)
-
-OS_HIViewSetZOrder=
-OS_HIViewSetZOrder_0=cast=(HIViewRef)
-OS_HIViewSetZOrder_1=cast=(HIViewZOrderOp)
-OS_HIViewSetZOrder_2=cast=(HIViewRef)
-
-OS_HIViewSimulateClick=
-OS_HIViewSimulateClick_0=cast=(HIViewRef)
-OS_HIViewSimulateClick_1=cast=(HIViewPartCode)
-OS_HIViewSimulateClick_2=cast=(UInt32)
-OS_HIViewSimulateClick_3=cast=(ControlPartCode *)
-
-OS_HLock=
-OS_HLock_0=cast=(Handle)
-
-OS_HMGetTagDelay=
-OS_HMGetTagDelay_0=
-
-OS_HMHideTag=
-
-OS_HMInstallControlContentCallback=
-OS_HMInstallControlContentCallback_0=cast=(ControlRef)
-OS_HMInstallControlContentCallback_1=cast=(HMControlContentUPP)
-
-OS_HMSetTagDelay=
-OS_HMSetTagDelay_0=
-
-OS_HUnlock=
-OS_HUnlock_0=cast=(Handle)
-
-OS_HandleControlClick=
-OS_HandleControlClick_0=cast=(ControlRef)
-OS_HandleControlClick_1=flags=struct
-OS_HandleControlClick_2=cast=(EventModifiers)
-OS_HandleControlClick_3=cast=(ControlActionUPP)
-
-OS_HandleControlSetCursor=
-OS_HandleControlSetCursor_0=cast=(ControlRef)
-OS_HandleControlSetCursor_1=flags=struct
-OS_HandleControlSetCursor_2=cast=(EventModifiers)
-OS_HandleControlSetCursor_3=cast=(Boolean *)
-
-OS_HiWord=
-OS_HiWord_0=
-
-OS_HideWindow=
-OS_HideWindow_0=cast=(WindowRef)
-
-OS_HiliteMenu=
-OS_HiliteMenu_0=cast=(MenuID)
-
-OS_InitContextualMenus=
-
-OS_InitCursor=
-
-OS_InitDataBrowserCallbacks=
-OS_InitDataBrowserCallbacks_0=cast=(DataBrowserCallbacks *),flags=init
-
-OS_InitDataBrowserCustomCallbacks=
-OS_InitDataBrowserCustomCallbacks_0=
-
-OS_InsertMenu=
-OS_InsertMenu_0=cast=(MenuRef)
-OS_InsertMenu_1=cast=(MenuID)
-
-OS_InsertMenuItemTextWithCFString=
-OS_InsertMenuItemTextWithCFString_0=cast=(MenuRef)
-OS_InsertMenuItemTextWithCFString_1=cast=(CFStringRef)
-OS_InsertMenuItemTextWithCFString_2=cast=(MenuItemIndex)
-OS_InsertMenuItemTextWithCFString_3=cast=(MenuItemAttributes)
-OS_InsertMenuItemTextWithCFString_4=cast=(MenuCommand)
-
-OS_InstallEventHandler=
-OS_InstallEventHandler_0=cast=(EventTargetRef)
-OS_InstallEventHandler_1=cast=(EventHandlerUPP)
-OS_InstallEventHandler_2=cast=(UInt32)
-OS_InstallEventHandler_3=cast=(const EventTypeSpec *)
-OS_InstallEventHandler_4=cast=(void *)
-OS_InstallEventHandler_5=cast=(EventHandlerRef *)
-
-OS_InstallEventLoopTimer=
-OS_InstallEventLoopTimer_0=cast=(EventLoopRef)
-OS_InstallEventLoopTimer_1=cast=(EventTimerInterval)
-OS_InstallEventLoopTimer_2=cast=(EventTimerInterval)
-OS_InstallEventLoopTimer_3=cast=(EventLoopTimerUPP)
-OS_InstallEventLoopTimer_4=cast=(void *)
-OS_InstallEventLoopTimer_5=cast=(EventLoopTimerRef *)
-
-OS_InstallReceiveHandler=
-OS_InstallReceiveHandler_0=cast=(DragReceiveHandlerUPP)
-OS_InstallReceiveHandler_1=cast=(WindowRef)
-OS_InstallReceiveHandler_2=cast=(void *)
-
-OS_InstallTrackingHandler=
-OS_InstallTrackingHandler_0=cast=(DragTrackingHandlerUPP)
-OS_InstallTrackingHandler_1=cast=(WindowRef)
-OS_InstallTrackingHandler_2=cast=(void *)
-
-OS_InvalWindowRect=
-OS_InvalWindowRect_0=cast=(WindowRef)
-OS_InvalWindowRect_1=cast=(const Rect *)
-
-OS_InvalWindowRgn=
-OS_InvalWindowRgn_0=cast=(WindowRef)
-OS_InvalWindowRgn_1=cast=(RgnHandle)
-
-OS_InvertRect=
-OS_InvertRect_0=cast=(const Rect *)
-
-OS_InvertRgn=
-OS_InvertRgn_0=cast=(RgnHandle)
-
-OS_IsControlActive=
-OS_IsControlActive_0=cast=(ControlRef)
-
-OS_IsControlEnabled=
-OS_IsControlEnabled_0=cast=(ControlRef)
-
-OS_IsControlVisible=
-OS_IsControlVisible_0=cast=(ControlRef)
-
-OS_IsDataBrowserItemSelected=
-OS_IsDataBrowserItemSelected_0=cast=(ControlRef)
-OS_IsDataBrowserItemSelected_1=cast=(DataBrowserItemID)
-
-OS_IsMenuCommandEnabled=
-OS_IsMenuCommandEnabled_0=cast=(MenuRef)
-OS_IsMenuCommandEnabled_1=cast=(MenuCommand)
-
-OS_IsMenuItemEnabled=
-OS_IsMenuItemEnabled_0=cast=(MenuRef)
-OS_IsMenuItemEnabled_1=cast=(MenuItemIndex)
-
-OS_IsValidControlHandle=
-OS_IsValidControlHandle_0=cast=(ControlRef)
-
-OS_IsValidMenu=
-OS_IsValidMenu_0=cast=(MenuRef)
-
-OS_IsValidWindowPtr=
-OS_IsValidWindowPtr_0=cast=(WindowRef)
-
-OS_IsWindowActive=
-OS_IsWindowActive_0=cast=(WindowRef)
-
-OS_IsWindowCollapsed=
-OS_IsWindowCollapsed_0=cast=(WindowRef)
-
-OS_IsWindowVisible=
-OS_IsWindowVisible_0=cast=(WindowRef)
-
-OS_KeyTranslate=
-OS_KeyTranslate_0=cast=const void *
-OS_KeyTranslate_1=
-OS_KeyTranslate_2=cast=UInt32 *
-
-OS_KillPoly=
-OS_KillPoly_0=cast=(PolyHandle)
-
-OS_LineTo=
-OS_LineTo_0=cast=(short)
-OS_LineTo_1=cast=(short)
-
-OS_LoWord=
-OS_LoWord_0=
-
-OS_LockPortBits=
-OS_LockPortBits_0=cast=(GrafPtr)
-
-OS_Long2Fix=
-OS_Long2Fix_0=
-
-OS_MenuSelect=
-OS_MenuSelect_0=cast=(Point *),flags=struct
-
-OS_MoveControl=
-OS_MoveControl_0=cast=(ControlRef)
-OS_MoveControl_1=cast=(SInt16)
-OS_MoveControl_2=cast=(SInt16)
-
-OS_MoveTo=
-OS_MoveTo_0=cast=(short)
-OS_MoveTo_1=cast=(short)
-
-OS_MoveWindow=
-OS_MoveWindow_0=cast=(WindowRef)
-OS_MoveWindow_1=cast=(short)
-OS_MoveWindow_2=cast=(short)
-OS_MoveWindow_3=cast=(Boolean)
-
-OS_NavCreateChooseFolderDialog=
-OS_NavCreateChooseFolderDialog_0=cast=(const NavDialogCreationOptions *)
-OS_NavCreateChooseFolderDialog_1=cast=(NavEventUPP)
-OS_NavCreateChooseFolderDialog_2=cast=(NavObjectFilterUPP)
-OS_NavCreateChooseFolderDialog_3=cast=(void *)
-OS_NavCreateChooseFolderDialog_4=cast=(NavDialogRef *)
-
-OS_NavCreateGetFileDialog=
-OS_NavCreateGetFileDialog_0=cast=(const NavDialogCreationOptions *)
-OS_NavCreateGetFileDialog_1=cast=(NavTypeListHandle)
-OS_NavCreateGetFileDialog_2=cast=(NavEventUPP)
-OS_NavCreateGetFileDialog_3=cast=(NavPreviewUPP)
-OS_NavCreateGetFileDialog_4=cast=(NavObjectFilterUPP)
-OS_NavCreateGetFileDialog_5=cast=(void *)
-OS_NavCreateGetFileDialog_6=cast=(NavDialogRef *)
-
-OS_NavCreatePutFileDialog=
-OS_NavCreatePutFileDialog_0=cast=(const NavDialogCreationOptions *)
-OS_NavCreatePutFileDialog_1=cast=(OSType)
-OS_NavCreatePutFileDialog_2=cast=(OSType)
-OS_NavCreatePutFileDialog_3=cast=(NavEventUPP)
-OS_NavCreatePutFileDialog_4=cast=(void *)
-OS_NavCreatePutFileDialog_5=cast=(NavDialogRef *)
-
-OS_NavDialogDispose=
-OS_NavDialogDispose_0=cast=(NavDialogRef)
-
-OS_NavDialogGetReply=
-OS_NavDialogGetReply_0=cast=(NavDialogRef)
-OS_NavDialogGetReply_1=cast=(NavReplyRecord *)
-
-OS_NavDialogGetSaveFileName=
-OS_NavDialogGetSaveFileName_0=cast=(NavDialogRef)
-
-OS_NavDialogGetUserAction=
-OS_NavDialogGetUserAction_0=cast=(NavDialogRef)
-
-OS_NavDialogRun=
-OS_NavDialogRun_0=cast=(NavDialogRef)
-
-OS_NavDialogSetSaveFileName=
-OS_NavDialogSetSaveFileName_0=cast=(NavDialogRef)
-OS_NavDialogSetSaveFileName_1=cast=(CFStringRef)
-
-OS_NavGetDefaultDialogCreationOptions=
-OS_NavGetDefaultDialogCreationOptions_0=cast=(NavDialogCreationOptions *)
-
-OS_NewControl=
-OS_NewControl_0=cast=(WindowRef)
-OS_NewControl_1=cast=(const Rect *)
-OS_NewControl_2=cast=(ConstStr255Param)
-OS_NewControl_3=cast=(Boolean)
-OS_NewControl_4=cast=(SInt16)
-OS_NewControl_5=cast=(SInt16)
-OS_NewControl_6=cast=(SInt16)
-OS_NewControl_7=cast=(SInt16)
-OS_NewControl_8=cast=(SInt32)
-
-OS_NewDrag=
-OS_NewDrag_0=cast=(DragRef *)
-
-OS_NewGWorldFromPtr=
-OS_NewGWorldFromPtr_0=cast=(GWorldPtr *)
-OS_NewGWorldFromPtr_1=cast=(unsigned long)
-OS_NewGWorldFromPtr_2=cast=(const Rect *)
-OS_NewGWorldFromPtr_3=cast=(CTabHandle)
-OS_NewGWorldFromPtr_4=cast=(GDHandle)
-OS_NewGWorldFromPtr_5=cast=(GWorldFlags)
-OS_NewGWorldFromPtr_6=cast=(Ptr)
-OS_NewGWorldFromPtr_7=cast=(long)
-
-OS_NewHandle=
-OS_NewHandle_0=cast=(Size)
-
-OS_NewHandleClear=
-OS_NewHandleClear_0=cast=(Size)
-
-OS_NewPtr=
-OS_NewPtr_0=cast=(Size)
-
-OS_NewPtrClear=
-OS_NewPtrClear_0=cast=(Size)
-
-OS_NewRgn=
-
-OS_OffsetRect=
-OS_OffsetRect_0=
-OS_OffsetRect_1=
-OS_OffsetRect_2=
-
-OS_OffsetRgn=
-OS_OffsetRgn_0=cast=(RgnHandle)
-OS_OffsetRgn_1=cast=(short)
-OS_OffsetRgn_2=cast=(short)
-
-OS_OpenDataBrowserContainer=
-OS_OpenDataBrowserContainer_0=cast=(ControlRef)
-OS_OpenDataBrowserContainer_1=cast=(DataBrowserItemID)
-
-OS_OpenPoly=
-
-OS_OpenRgn=
-
-OS_PMCreatePageFormat=
-OS_PMCreatePageFormat_0=cast=(PMPageFormat *)
-
-OS_PMCreatePrintSettings=
-OS_PMCreatePrintSettings_0=cast=(PMPrintSettings *)
-
-OS_PMCreateSession=
-OS_PMCreateSession_0=cast=(PMPrintSession *)
-
-OS_PMFlattenPageFormat=
-OS_PMFlattenPageFormat_0=cast=PMPageFormat
-OS_PMFlattenPageFormat_1=cast=Handle *
-
-OS_PMFlattenPrintSettings=
-OS_PMFlattenPrintSettings_0=cast=PMPrintSettings
-OS_PMFlattenPrintSettings_1=cast=Handle *
-
-OS_PMGetAdjustedPageRect=
-OS_PMGetAdjustedPageRect_0=cast=(PMPageFormat)
-OS_PMGetAdjustedPageRect_1=cast=(PMRect *)
-
-OS_PMGetAdjustedPaperRect=
-OS_PMGetAdjustedPaperRect_0=cast=(PMPageFormat)
-OS_PMGetAdjustedPaperRect_1=cast=(PMRect *)
-
-OS_PMGetCollate=
-OS_PMGetCollate_0=cast=PMPrintSettings
-OS_PMGetCollate_1=
-
-OS_PMGetCopies=
-OS_PMGetCopies_0=cast=(PMPrintSettings)
-OS_PMGetCopies_1=cast=(UInt32 *)
-
-OS_PMGetFirstPage=
-OS_PMGetFirstPage_0=cast=(PMPrintSettings)
-OS_PMGetFirstPage_1=cast=(UInt32 *)
-
-OS_PMGetJobNameCFString=
-OS_PMGetJobNameCFString_0=cast=(PMPrintSettings)
-OS_PMGetJobNameCFString_1=cast=(CFStringRef *)
-
-OS_PMGetLastPage=
-OS_PMGetLastPage_0=cast=(PMPrintSettings)
-OS_PMGetLastPage_1=cast=(UInt32 *)
-
-OS_PMGetPageRange=
-OS_PMGetPageRange_0=cast=(PMPrintSettings)
-OS_PMGetPageRange_1=cast=(UInt32 *)
-OS_PMGetPageRange_2=cast=(UInt32 *)
-
-OS_PMGetResolution=
-OS_PMGetResolution_0=cast=(PMPageFormat)
-OS_PMGetResolution_1=cast=(PMResolution *)
-
-OS_PMRelease=
-OS_PMRelease_0=cast=(PMObject)
-
-OS_PMSessionBeginDocumentNoDialog=
-OS_PMSessionBeginDocumentNoDialog_0=cast=(PMPrintSession)
-OS_PMSessionBeginDocumentNoDialog_1=cast=(PMPrintSettings)
-OS_PMSessionBeginDocumentNoDialog_2=cast=(PMPageFormat)
-
-OS_PMSessionBeginPageNoDialog=
-OS_PMSessionBeginPageNoDialog_0=cast=(PMPrintSession)
-OS_PMSessionBeginPageNoDialog_1=cast=(PMPageFormat)
-OS_PMSessionBeginPageNoDialog_2=cast=(const PMRect *)
-
-OS_PMSessionCopyDestinationLocation=
-OS_PMSessionCopyDestinationLocation_0=cast=PMPrintSession
-OS_PMSessionCopyDestinationLocation_1=cast=PMPrintSettings
-OS_PMSessionCopyDestinationLocation_2=cast=(CFURLRef *)
-
-OS_PMSessionCreatePrinterList=
-OS_PMSessionCreatePrinterList_0=cast=PMPrintSession
-OS_PMSessionCreatePrinterList_1=cast=CFArrayRef *
-OS_PMSessionCreatePrinterList_2=cast=CFIndex *
-OS_PMSessionCreatePrinterList_3=cast=PMPrinter *
-
-OS_PMSessionDefaultPageFormat=
-OS_PMSessionDefaultPageFormat_0=cast=(PMPrintSession)
-OS_PMSessionDefaultPageFormat_1=cast=(PMPageFormat)
-
-OS_PMSessionDefaultPrintSettings=
-OS_PMSessionDefaultPrintSettings_0=cast=(PMPrintSession)
-OS_PMSessionDefaultPrintSettings_1=cast=(PMPrintSettings)
-
-OS_PMSessionEndDocumentNoDialog=
-OS_PMSessionEndDocumentNoDialog_0=cast=(PMPrintSession)
-
-OS_PMSessionEndPageNoDialog=
-OS_PMSessionEndPageNoDialog_0=cast=(PMPrintSession)
-
-OS_PMSessionError=
-OS_PMSessionError_0=cast=(PMPrintSession)
-
-OS_PMSessionGetDestinationType=
-OS_PMSessionGetDestinationType_0=cast=PMPrintSession
-OS_PMSessionGetDestinationType_1=cast=PMPrintSettings
-OS_PMSessionGetDestinationType_2=cast=(PMDestinationType *)
-
-OS_PMSessionGetGraphicsContext=
-OS_PMSessionGetGraphicsContext_0=cast=(PMPrintSession)
-OS_PMSessionGetGraphicsContext_1=cast=(CFStringRef)
-OS_PMSessionGetGraphicsContext_2=cast=(void **)
-
-OS_PMSessionPageSetupDialog=
-OS_PMSessionPageSetupDialog_0=cast=(PMPrintSession)
-OS_PMSessionPageSetupDialog_1=cast=(PMPageFormat)
-OS_PMSessionPageSetupDialog_2=cast=(Boolean *)
-
-OS_PMSessionPrintDialog=
-OS_PMSessionPrintDialog_0=cast=(PMPrintSession)
-OS_PMSessionPrintDialog_1=cast=(PMPrintSettings)
-OS_PMSessionPrintDialog_2=cast=(PMPageFormat)
-OS_PMSessionPrintDialog_3=cast=(Boolean *)
-
-OS_PMSessionSetCurrentPrinter=
-OS_PMSessionSetCurrentPrinter_0=cast=PMPrintSession
-OS_PMSessionSetCurrentPrinter_1=cast=CFStringRef
-
-OS_PMSessionSetDestination=
-OS_PMSessionSetDestination_0=cast=PMPrintSession
-OS_PMSessionSetDestination_1=cast=PMPrintSettings
-OS_PMSessionSetDestination_2=cast=PMDestinationType
-OS_PMSessionSetDestination_3=cast=CFStringRef
-OS_PMSessionSetDestination_4=cast=CFURLRef
-
-OS_PMSessionSetDocumentFormatGeneration=
-OS_PMSessionSetDocumentFormatGeneration_0=cast=(PMPrintSession)
-OS_PMSessionSetDocumentFormatGeneration_1=cast=(CFStringRef)
-OS_PMSessionSetDocumentFormatGeneration_2=cast=(CFArrayRef)
-OS_PMSessionSetDocumentFormatGeneration_3=cast=(CFTypeRef)
-
-OS_PMSessionSetError=
-OS_PMSessionSetError_0=cast=(PMPrintSession)
-OS_PMSessionSetError_1=
-
-OS_PMSessionUseSheets=
-OS_PMSessionUseSheets_0=cast=(PMPrintSession)
-OS_PMSessionUseSheets_1=cast=(WindowRef)
-OS_PMSessionUseSheets_2=cast=(PMSheetDoneUPP)
-
-OS_PMSessionValidatePageFormat=
-OS_PMSessionValidatePageFormat_0=cast=(PMPrintSession)
-OS_PMSessionValidatePageFormat_1=cast=(PMPageFormat)
-OS_PMSessionValidatePageFormat_2=cast=(Boolean *)
-
-OS_PMSessionValidatePrintSettings=
-OS_PMSessionValidatePrintSettings_0=cast=(PMPrintSession)
-OS_PMSessionValidatePrintSettings_1=cast=(PMPrintSettings)
-OS_PMSessionValidatePrintSettings_2=cast=(Boolean *)
-
-OS_PMSetCollate=
-OS_PMSetCollate_0=cast=PMPrintSettings
-OS_PMSetCollate_1=
-
-OS_PMSetFirstPage=
-OS_PMSetFirstPage_0=cast=(PMPrintSettings)
-OS_PMSetFirstPage_1=cast=(UInt32)
-OS_PMSetFirstPage_2=cast=(Boolean)
-
-OS_PMSetJobNameCFString=
-OS_PMSetJobNameCFString_0=cast=(PMPrintSettings)
-OS_PMSetJobNameCFString_1=cast=CFStringRef
-
-OS_PMSetLastPage=
-OS_PMSetLastPage_0=cast=(PMPrintSettings)
-OS_PMSetLastPage_1=cast=(UInt32)
-OS_PMSetLastPage_2=cast=(Boolean)
-
-OS_PMSetPageRange=
-OS_PMSetPageRange_0=cast=(PMPrintSettings)
-OS_PMSetPageRange_1=cast=(UInt32)
-OS_PMSetPageRange_2=cast=(UInt32)
-
-OS_PMUnflattenPageFormat=
-OS_PMUnflattenPageFormat_0=cast=Handle
-OS_PMUnflattenPageFormat_1=cast=PMPageFormat *
-
-OS_PMUnflattenPrintSettings=
-OS_PMUnflattenPrintSettings_0=cast=Handle
-OS_PMUnflattenPrintSettings_1=cast=(PMPrintSettings *)
-
-OS_PaintOval=
-OS_PaintOval_0=cast=(const Rect *)
-
-OS_PaintPoly=
-OS_PaintPoly_0=cast=(PolyHandle)
-
-OS_PaintRect=
-OS_PaintRect_0=cast=(const Rect *)
-
-OS_PaintRoundRect=
-OS_PaintRoundRect_0=cast=(const Rect *)
-OS_PaintRoundRect_1=cast=(short)
-OS_PaintRoundRect_2=cast=(short)
-
-OS_PenSize=
-OS_PenSize_0=cast=(short)
-OS_PenSize_1=cast=(short)
-
-OS_PickColor=
-OS_PickColor_0=cast=(ColorPickerInfo *)
-
-OS_PopUpMenuSelect=
-OS_PopUpMenuSelect_0=cast=(MenuRef)
-OS_PopUpMenuSelect_1=cast=(short)
-OS_PopUpMenuSelect_2=cast=(short)
-OS_PopUpMenuSelect_3=cast=(short)
-
-OS_PostEvent=
-OS_PostEvent_0=cast=(EventKind)
-OS_PostEvent_1=cast=(UInt32)
-
-OS_PostEventToQueue=
-OS_PostEventToQueue_0=cast=(EventQueueRef)
-OS_PostEventToQueue_1=cast=(EventRef)
-OS_PostEventToQueue_2=cast=(EventPriority)
-
-OS_PtInRect=
-OS_PtInRect_0=cast=(Point *),flags=struct
-OS_PtInRect_1=cast=(const Rect *)
-
-OS_PtInRgn=
-OS_PtInRgn_0=cast=(Point *),flags=struct
-OS_PtInRgn_1=cast=(RgnHandle)
-
-OS_PutScrapFlavor=
-OS_PutScrapFlavor_0=cast=(ScrapRef)
-OS_PutScrapFlavor_1=cast=(ScrapFlavorType)
-OS_PutScrapFlavor_2=cast=(ScrapFlavorFlags)
-OS_PutScrapFlavor_3=cast=(Size)
-OS_PutScrapFlavor_4=cast=(const void *)
-
-OS_QDBeginCGContext=
-OS_QDBeginCGContext_0=cast=(CGrafPtr)
-OS_QDBeginCGContext_1=cast=(CGContextRef *)
-
-OS_QDEndCGContext=
-OS_QDEndCGContext_0=cast=(CGrafPtr)
-OS_QDEndCGContext_1=cast=(CGContextRef *)
-
-OS_QDFlushPortBuffer=
-OS_QDFlushPortBuffer_0=cast=(CGrafPtr)
-OS_QDFlushPortBuffer_1=cast=(RgnHandle)
-
-OS_QDGlobalToLocalPoint=
-OS_QDGlobalToLocalPoint_0=cast=(CGrafPtr)
-OS_QDGlobalToLocalPoint_1=cast=(Point *)
-
-OS_QDLocalToGlobalPoint=
-OS_QDLocalToGlobalPoint_0=cast=(CGrafPtr)
-OS_QDLocalToGlobalPoint_1=cast=(Point *)
-
-OS_QDSetDirtyRegion=
-OS_QDSetDirtyRegion_0=cast=(CGrafPtr)
-OS_QDSetDirtyRegion_1=cast=(RgnHandle)
-
-OS_QDSetPatternOrigin=
-OS_QDSetPatternOrigin_0=cast=(Point *),flags=struct
-
-OS_QDSwapTextFlags=
-OS_QDSwapTextFlags_0=cast=(UInt32)
-
-OS_RGBBackColor=
-OS_RGBBackColor_0=cast=(const RGBColor *)
-
-OS_RGBForeColor=
-OS_RGBForeColor_0=cast=(const RGBColor *)
-
-OS_ReceiveNextEvent=
-OS_ReceiveNextEvent_0=cast=(UInt32)
-OS_ReceiveNextEvent_1=cast=(const EventTypeSpec *)
-OS_ReceiveNextEvent_2=cast=(EventTimeout)
-OS_ReceiveNextEvent_3=cast=(Boolean)
-OS_ReceiveNextEvent_4=cast=(EventRef *)
-
-OS_RectInRgn=
-OS_RectInRgn_0=cast=(const Rect *)
-OS_RectInRgn_1=cast=(RgnHandle)
-
-OS_RectRgn=
-OS_RectRgn_0=cast=(RgnHandle)
-OS_RectRgn_1=cast=(const Rect *)
-
-OS_RegisterAppearanceClient=
-
-OS_ReleaseEvent=
-OS_ReleaseEvent_0=cast=(EventRef)
-
-OS_ReleaseMenu=
-OS_ReleaseMenu_0=cast=(MenuRef)
-
-OS_ReleaseWindow=
-OS_ReleaseWindow_0=cast=WindowRef
-
-OS_ReleaseWindowGroup=
-OS_ReleaseWindowGroup_0=cast=(WindowGroupRef)
-
-OS_RemoveControlProperty=
-OS_RemoveControlProperty_0=cast=(ControlRef)
-OS_RemoveControlProperty_1=
-OS_RemoveControlProperty_2=
-
-OS_RemoveDataBrowserItems=
-OS_RemoveDataBrowserItems_0=cast=(ControlRef)
-OS_RemoveDataBrowserItems_1=cast=(DataBrowserItemID)
-OS_RemoveDataBrowserItems_2=cast=(UInt32)
-OS_RemoveDataBrowserItems_3=cast=(const DataBrowserItemID *)
-OS_RemoveDataBrowserItems_4=cast=(DataBrowserPropertyID)
-
-OS_RemoveDataBrowserTableViewColumn=
-OS_RemoveDataBrowserTableViewColumn_0=cast=(ControlRef)
-OS_RemoveDataBrowserTableViewColumn_1=cast=(DataBrowserTableViewColumnID)
-
-OS_RemoveEventHandler=
-OS_RemoveEventHandler_0=cast=(EventHandlerRef)
-
-OS_RemoveEventLoopTimer=
-OS_RemoveEventLoopTimer_0=cast=(EventLoopTimerRef)
-
-OS_RemoveReceiveHandler=
-OS_RemoveReceiveHandler_0=cast=(DragReceiveHandlerUPP)
-OS_RemoveReceiveHandler_1=cast=(WindowRef)
-
-OS_RemoveTrackingHandler=
-OS_RemoveTrackingHandler_0=cast=(DragTrackingHandlerUPP)
-OS_RemoveTrackingHandler_1=cast=(WindowRef)
-
-OS_RepositionWindow=
-OS_RepositionWindow_0=cast=(WindowRef)
-OS_RepositionWindow_1=cast=(WindowRef)
-OS_RepositionWindow_2=
-
-OS_ReshapeCustomWindow=
-OS_ReshapeCustomWindow_0=cast=WindowRef
-
-OS_RetainEvent=
-OS_RetainEvent_0=cast=(EventRef)
-
-OS_RetainMenu=
-OS_RetainMenu_0=cast=(MenuRef)
-
-OS_RetainWindow=
-OS_RetainWindow_0=cast=(WindowRef)
-
-OS_RevealDataBrowserItem=
-OS_RevealDataBrowserItem_0=cast=(ControlRef)
-OS_RevealDataBrowserItem_1=cast=(DataBrowserItemID)
-OS_RevealDataBrowserItem_2=cast=(DataBrowserPropertyID)
-OS_RevealDataBrowserItem_3=cast=(DataBrowserRevealOptions)
-
-OS_RunStandardAlert=
-OS_RunStandardAlert_0=cast=(DialogRef)
-OS_RunStandardAlert_1=cast=(ModalFilterUPP)
-OS_RunStandardAlert_2=cast=(DialogItemIndex *)
-
-OS_ScrollRect=
-OS_ScrollRect_0=cast=(const Rect *)
-OS_ScrollRect_1=cast=(short)
-OS_ScrollRect_2=cast=(short)
-OS_ScrollRect_3=cast=(RgnHandle)
-
-OS_SectRect=
-OS_SectRect_0=flags=no_out
-OS_SectRect_1=flags=no_out
-OS_SectRect_2=flags=no_in
-
-OS_SectRgn=
-OS_SectRgn_0=cast=(RgnHandle)
-OS_SectRgn_1=cast=(RgnHandle)
-OS_SectRgn_2=cast=(RgnHandle)
-
-OS_SelectWindow=
-OS_SelectWindow_0=cast=(WindowRef)
-
-OS_SendBehind=
-OS_SendBehind_0=cast=(WindowRef)
-OS_SendBehind_1=cast=(WindowRef)
-
-OS_SendEventToEventTarget=
-OS_SendEventToEventTarget_0=cast=(EventRef)
-OS_SendEventToEventTarget_1=cast=(EventTargetRef)
-
-OS_SetBevelButtonContentInfo=
-OS_SetBevelButtonContentInfo_0=cast=(ControlRef)
-OS_SetBevelButtonContentInfo_1=cast=(ControlButtonContentInfoPtr)
-
-OS_SetClip=
-OS_SetClip_0=cast=(RgnHandle)
-
-OS_SetControl32BitMaximum=
-OS_SetControl32BitMaximum_0=cast=(ControlRef)
-OS_SetControl32BitMaximum_1=cast=(SInt32)
-
-OS_SetControl32BitMinimum=
-OS_SetControl32BitMinimum_0=cast=(ControlRef)
-OS_SetControl32BitMinimum_1=cast=(SInt32)
-
-OS_SetControl32BitValue=
-OS_SetControl32BitValue_0=cast=(ControlRef)
-OS_SetControl32BitValue_1=cast=(SInt32)
-
-OS_SetControlAction=
-OS_SetControlAction_0=cast=(ControlRef)
-OS_SetControlAction_1=cast=(ControlActionUPP)
-
-OS_SetControlBounds=
-OS_SetControlBounds_0=cast=(ControlRef)
-OS_SetControlBounds_1=cast=(const Rect *)
-
-OS_SetControlColorProc=
-OS_SetControlColorProc_0=cast=(ControlRef)
-OS_SetControlColorProc_1=cast=(ControlColorUPP)
-
-OS_SetControlData__IIIII=
-OS_SetControlData__IIIII_0=cast=(ControlRef)
-OS_SetControlData__IIIII_1=cast=(ControlPartCode)
-OS_SetControlData__IIIII_2=cast=(ResType)
-OS_SetControlData__IIIII_3=cast=(Size)
-OS_SetControlData__IIIII_4=cast=(const void *)
-
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2=
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2_0=cast=(ControlRef)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2_1=cast=(ControlPartCode)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2_2=cast=(ResType)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2_3=cast=(Size)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlButtonContentInfo_2_4=cast=(const void *)
-
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2=
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2_0=cast=(ControlRef)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2_1=cast=(ControlPartCode)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2_2=cast=(ResType)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2_3=cast=(Size)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_ControlTabInfoRecV1_2_4=cast=(const void *)
-
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2=
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2_0=cast=(ControlRef)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2_1=cast=(ControlPartCode)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2_2=cast=(ResType)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2_3=cast=(Size)
-OS_SetControlData__IIIILorg_eclipse_swt_internal_carbon_Rect_2_4=cast=(const void *)
-
-OS_SetControlData__IIII_3B=
-OS_SetControlData__IIII_3B_0=cast=(ControlRef)
-OS_SetControlData__IIII_3B_1=cast=(ControlPartCode)
-OS_SetControlData__IIII_3B_2=cast=(ResType)
-OS_SetControlData__IIII_3B_3=cast=(Size)
-OS_SetControlData__IIII_3B_4=cast=(const void *)
-
-OS_SetControlData__IIII_3I=
-OS_SetControlData__IIII_3I_0=cast=(ControlRef)
-OS_SetControlData__IIII_3I_1=cast=(ControlPartCode)
-OS_SetControlData__IIII_3I_2=cast=(ResType)
-OS_SetControlData__IIII_3I_3=cast=(Size)
-OS_SetControlData__IIII_3I_4=cast=(const void *)
-
-OS_SetControlData__IIII_3S=
-OS_SetControlData__IIII_3S_0=cast=(ControlRef)
-OS_SetControlData__IIII_3S_1=cast=(ControlPartCode)
-OS_SetControlData__IIII_3S_2=cast=(ResType)
-OS_SetControlData__IIII_3S_3=cast=(Size)
-OS_SetControlData__IIII_3S_4=cast=(const void *)
-
-OS_SetControlFontStyle=
-OS_SetControlFontStyle_0=cast=(ControlRef)
-OS_SetControlFontStyle_1=cast=(const ControlFontStyleRec *)
-
-OS_SetControlPopupMenuHandle=
-OS_SetControlPopupMenuHandle_0=cast=(ControlRef)
-OS_SetControlPopupMenuHandle_1=cast=(MenuRef)
-
-OS_SetControlProperty=
-OS_SetControlProperty_0=cast=(ControlRef)
-OS_SetControlProperty_1=
-OS_SetControlProperty_2=
-OS_SetControlProperty_3=
-OS_SetControlProperty_4=cast=(const void *)
-
-OS_SetControlReference=
-OS_SetControlReference_0=cast=(ControlRef)
-OS_SetControlReference_1=cast=(SInt32)
-
-OS_SetControlTitleWithCFString=
-OS_SetControlTitleWithCFString_0=cast=(ControlRef)
-OS_SetControlTitleWithCFString_1=cast=(CFStringRef)
-
-OS_SetControlViewSize=
-OS_SetControlViewSize_0=cast=(ControlRef)
-OS_SetControlViewSize_1=cast=(SInt32)
-
-OS_SetControlVisibility=
-OS_SetControlVisibility_0=cast=(ControlRef)
-OS_SetControlVisibility_1=
-OS_SetControlVisibility_2=
-
-OS_SetCursor=
-OS_SetCursor_0=cast=(const Cursor *)
-
-OS_SetDataBrowserCallbacks=
-OS_SetDataBrowserCallbacks_0=cast=(ControlRef)
-OS_SetDataBrowserCallbacks_1=cast=(const DataBrowserCallbacks *),flags=init
-
-OS_SetDataBrowserCustomCallbacks=
-OS_SetDataBrowserCustomCallbacks_0=cast=(ControlRef)
-OS_SetDataBrowserCustomCallbacks_1=
-
-OS_SetDataBrowserHasScrollBars=
-OS_SetDataBrowserHasScrollBars_0=cast=(ControlRef)
-OS_SetDataBrowserHasScrollBars_1=cast=(Boolean)
-OS_SetDataBrowserHasScrollBars_2=cast=(Boolean)
-
-OS_SetDataBrowserItemDataBooleanValue=
-OS_SetDataBrowserItemDataBooleanValue_0=cast=(DataBrowserItemDataRef)
-OS_SetDataBrowserItemDataBooleanValue_1=cast=(Boolean)
-
-OS_SetDataBrowserItemDataButtonValue=
-OS_SetDataBrowserItemDataButtonValue_0=cast=(DataBrowserItemDataRef)
-OS_SetDataBrowserItemDataButtonValue_1=cast=(ThemeButtonValue)
-
-OS_SetDataBrowserItemDataIcon=
-OS_SetDataBrowserItemDataIcon_0=cast=(DataBrowserItemDataRef)
-OS_SetDataBrowserItemDataIcon_1=cast=(IconRef)
-
-OS_SetDataBrowserItemDataItemID=
-OS_SetDataBrowserItemDataItemID_0=cast=(DataBrowserItemDataRef)
-OS_SetDataBrowserItemDataItemID_1=cast=(DataBrowserItemID)
-
-OS_SetDataBrowserItemDataText=
-OS_SetDataBrowserItemDataText_0=cast=(DataBrowserItemDataRef)
-OS_SetDataBrowserItemDataText_1=cast=(CFStringRef)
-
-OS_SetDataBrowserListViewDisclosureColumn=
-OS_SetDataBrowserListViewDisclosureColumn_0=cast=(ControlRef)
-OS_SetDataBrowserListViewDisclosureColumn_1=cast=(DataBrowserTableViewColumnID)
-OS_SetDataBrowserListViewDisclosureColumn_2=cast=(Boolean)
-
-OS_SetDataBrowserListViewHeaderBtnHeight=
-OS_SetDataBrowserListViewHeaderBtnHeight_0=cast=(ControlRef)
-OS_SetDataBrowserListViewHeaderBtnHeight_1=cast=(UInt16)
-
-OS_SetDataBrowserListViewHeaderDesc=
-OS_SetDataBrowserListViewHeaderDesc_0=cast=(ControlRef)
-OS_SetDataBrowserListViewHeaderDesc_1=
-OS_SetDataBrowserListViewHeaderDesc_2=
-
-OS_SetDataBrowserScrollPosition=
-OS_SetDataBrowserScrollPosition_0=cast=(ControlRef)
-OS_SetDataBrowserScrollPosition_1=cast=(UInt32)
-OS_SetDataBrowserScrollPosition_2=cast=(UInt32)
-
-OS_SetDataBrowserSelectedItems=
-OS_SetDataBrowserSelectedItems_0=cast=(ControlRef)
-OS_SetDataBrowserSelectedItems_1=cast=(UInt32)
-OS_SetDataBrowserSelectedItems_2=cast=(const DataBrowserItemID *)
-OS_SetDataBrowserSelectedItems_3=cast=(DataBrowserSetOption)
-
-OS_SetDataBrowserSelectionFlags=
-OS_SetDataBrowserSelectionFlags_0=cast=(ControlRef)
-OS_SetDataBrowserSelectionFlags_1=cast=(DataBrowserSelectionFlags)
-
-OS_SetDataBrowserTableViewColumnPosition=
-OS_SetDataBrowserTableViewColumnPosition_0=cast=(ControlRef)
-OS_SetDataBrowserTableViewColumnPosition_1=
-OS_SetDataBrowserTableViewColumnPosition_2=
-
-OS_SetDataBrowserTableViewHiliteStyle=
-OS_SetDataBrowserTableViewHiliteStyle_0=cast=(ControlRef)
-OS_SetDataBrowserTableViewHiliteStyle_1=
-
-OS_SetDataBrowserTableViewItemRow=
-OS_SetDataBrowserTableViewItemRow_0=cast=(ControlRef)
-OS_SetDataBrowserTableViewItemRow_1=
-OS_SetDataBrowserTableViewItemRow_2=
-
-OS_SetDataBrowserTableViewNamedColumnWidth=
-OS_SetDataBrowserTableViewNamedColumnWidth_0=cast=(ControlRef)
-OS_SetDataBrowserTableViewNamedColumnWidth_1=cast=(DataBrowserTableViewColumnID)
-OS_SetDataBrowserTableViewNamedColumnWidth_2=cast=(UInt16)
-
-OS_SetDataBrowserTarget=
-OS_SetDataBrowserTarget_0=cast=(ControlRef)
-OS_SetDataBrowserTarget_1=cast=(DataBrowserItemID)
-
-OS_SetDragAllowableActions=
-OS_SetDragAllowableActions_0=cast=(DragRef)
-OS_SetDragAllowableActions_1=cast=(DragActions)
-OS_SetDragAllowableActions_2=cast=(Boolean)
-
-OS_SetDragDropAction=
-OS_SetDragDropAction_0=cast=(DragRef)
-OS_SetDragDropAction_1=cast=(DragActions)
-
-OS_SetDragInputProc=
-OS_SetDragInputProc_0=cast=(DragRef)
-OS_SetDragInputProc_1=cast=(DragInputUPP)
-OS_SetDragInputProc_2=cast=(void *)
-
-OS_SetEventLoopTimerNextFireTime=
-OS_SetEventLoopTimerNextFireTime_0=cast=(EventLoopTimerRef)
-OS_SetEventLoopTimerNextFireTime_1=cast=(EventTimerInterval)
-
-OS_SetEventParameter__IIII_3C=
-OS_SetEventParameter__IIII_3C_0=cast=(EventRef)
-OS_SetEventParameter__IIII_3C_1=cast=(EventParamName)
-OS_SetEventParameter__IIII_3C_2=cast=(EventParamType)
-OS_SetEventParameter__IIII_3C_3=cast=(UInt32)
-OS_SetEventParameter__IIII_3C_4=cast=(const void *)
-
-OS_SetEventParameter__IIII_3S=
-OS_SetEventParameter__IIII_3S_0=cast=(EventRef)
-OS_SetEventParameter__IIII_3S_1=cast=(EventParamName)
-OS_SetEventParameter__IIII_3S_2=cast=(EventParamType)
-OS_SetEventParameter__IIII_3S_3=cast=(UInt32)
-OS_SetEventParameter__IIII_3S_4=cast=(const void *)
-
-OS_SetFontInfoForSelection=
-OS_SetFontInfoForSelection_0=cast=(OSType)
-OS_SetFontInfoForSelection_1=cast=(UInt32)
-OS_SetFontInfoForSelection_2=cast=(void *)
-OS_SetFontInfoForSelection_3=cast=(HIObjectRef)
-
-OS_SetFrontProcess=
-OS_SetFrontProcess_0=cast=(const ProcessSerialNumber *)
-
-OS_SetFrontProcessWithOptions=
-OS_SetFrontProcessWithOptions_0=cast=(const ProcessSerialNumber *)
-OS_SetFrontProcessWithOptions_1=
-
-OS_SetGWorld=
-OS_SetGWorld_0=cast=(CGrafPtr)
-OS_SetGWorld_1=cast=(GDHandle)
-
-OS_SetItemMark=
-OS_SetItemMark_0=cast=(MenuRef)
-OS_SetItemMark_1=
-OS_SetItemMark_2=
-
-OS_SetKeyboardFocus=
-OS_SetKeyboardFocus_0=cast=(WindowRef)
-OS_SetKeyboardFocus_1=cast=(ControlRef)
-OS_SetKeyboardFocus_2=cast=(ControlFocusPart)
-
-OS_SetMenuCommandMark=
-OS_SetMenuCommandMark_0=cast=(MenuRef)
-OS_SetMenuCommandMark_1=cast=(MenuCommand)
-OS_SetMenuCommandMark_2=cast=(UniChar)
-
-OS_SetMenuFont=
-OS_SetMenuFont_0=cast=(MenuRef)
-OS_SetMenuFont_1=cast=(SInt16)
-OS_SetMenuFont_2=cast=(UInt16)
-
-OS_SetMenuItemCommandKey=
-OS_SetMenuItemCommandKey_0=cast=(MenuRef)
-OS_SetMenuItemCommandKey_1=cast=(MenuItemIndex)
-OS_SetMenuItemCommandKey_2=cast=(Boolean)
-OS_SetMenuItemCommandKey_3=cast=(UInt16)
-
-OS_SetMenuItemHierarchicalMenu=
-OS_SetMenuItemHierarchicalMenu_0=cast=(MenuRef)
-OS_SetMenuItemHierarchicalMenu_1=cast=(MenuItemIndex)
-OS_SetMenuItemHierarchicalMenu_2=cast=(MenuRef)
-
-OS_SetMenuItemIconHandle=
-OS_SetMenuItemIconHandle_0=cast=(MenuRef)
-OS_SetMenuItemIconHandle_1=cast=(SInt16)
-OS_SetMenuItemIconHandle_2=cast=(UInt8)
-OS_SetMenuItemIconHandle_3=cast=(Handle)
-
-OS_SetMenuItemKeyGlyph=
-OS_SetMenuItemKeyGlyph_0=cast=(MenuRef)
-OS_SetMenuItemKeyGlyph_1=cast=(SInt16)
-OS_SetMenuItemKeyGlyph_2=cast=(SInt16)
-
-OS_SetMenuItemModifiers=
-OS_SetMenuItemModifiers_0=cast=(MenuRef)
-OS_SetMenuItemModifiers_1=cast=(SInt16)
-OS_SetMenuItemModifiers_2=cast=(UInt8)
-
-OS_SetMenuItemRefCon=
-OS_SetMenuItemRefCon_0=cast=(MenuRef)
-OS_SetMenuItemRefCon_1=cast=(SInt16)
-OS_SetMenuItemRefCon_2=cast=(UInt32)
-
-OS_SetMenuItemTextWithCFString=
-OS_SetMenuItemTextWithCFString_0=cast=(MenuRef)
-OS_SetMenuItemTextWithCFString_1=cast=(MenuItemIndex)
-OS_SetMenuItemTextWithCFString_2=cast=(CFStringRef)
-
-OS_SetMenuTitleWithCFString=
-OS_SetMenuTitleWithCFString_0=cast=(MenuRef)
-OS_SetMenuTitleWithCFString_1=cast=(CFStringRef)
-
-OS_SetOrigin=
-OS_SetOrigin_0=cast=(short)
-OS_SetOrigin_1=cast=(short)
-
-OS_SetPort=
-OS_SetPort_0=cast=(GrafPtr)
-
-OS_SetPortBounds=
-OS_SetPortBounds_0=cast=(CGrafPtr)
-OS_SetPortBounds_1=cast=(const Rect *)
-
-OS_SetPortWindowPort=
-OS_SetPortWindowPort_0=cast=(WindowRef)
-
-OS_SetPt=
-OS_SetPt_0=cast=(Point *)
-OS_SetPt_1=cast=(short)
-OS_SetPt_2=cast=(short)
-
-OS_SetRect=
-OS_SetRect_0=cast=(Rect *)
-OS_SetRect_1=cast=(short)
-OS_SetRect_2=cast=(short)
-OS_SetRect_3=cast=(short)
-OS_SetRect_4=cast=(short)
-
-OS_SetRectRgn=
-OS_SetRectRgn_0=cast=(RgnHandle)
-OS_SetRectRgn_1=cast=(short)
-OS_SetRectRgn_2=cast=(short)
-OS_SetRectRgn_3=cast=(short)
-OS_SetRectRgn_4=cast=(short)
-
-OS_SetRootMenu=
-OS_SetRootMenu_0=cast=(MenuRef)
-
-OS_SetThemeBackground=
-OS_SetThemeBackground_0=cast=(ThemeBrush)
-OS_SetThemeBackground_1=cast=(SInt16)
-OS_SetThemeBackground_2=cast=(Boolean)
-
-OS_SetThemeCursor=
-OS_SetThemeCursor_0=cast=(ThemeCursor)
-
-OS_SetThemeDrawingState=
-OS_SetThemeDrawingState_0=cast=(ThemeDrawingState)
-OS_SetThemeDrawingState_1=cast=(Boolean)
-
-OS_SetThemeTextColor=
-OS_SetThemeTextColor_0=
-OS_SetThemeTextColor_1=
-OS_SetThemeTextColor_2=
-
-OS_SetThemeWindowBackground=
-OS_SetThemeWindowBackground_0=cast=(WindowRef)
-OS_SetThemeWindowBackground_1=cast=(ThemeBrush)
-OS_SetThemeWindowBackground_2=cast=(Boolean)
-
-OS_SetUpControlBackground=
-OS_SetUpControlBackground_0=cast=(ControlRef)
-OS_SetUpControlBackground_1=cast=(SInt16)
-OS_SetUpControlBackground_2=cast=(Boolean)
-
-OS_SetWRefCon=
-OS_SetWRefCon_0=cast=(WindowRef)
-OS_SetWRefCon_1=cast=(long)
-
-OS_SetWindowActivationScope=
-OS_SetWindowActivationScope_0=cast=(WindowRef)
-OS_SetWindowActivationScope_1=cast=(WindowActivationScope)
-
-OS_SetWindowBounds=
-OS_SetWindowBounds_0=cast=(WindowRef)
-OS_SetWindowBounds_1=cast=(WindowRegionCode)
-OS_SetWindowBounds_2=cast=(Rect *)
-
-OS_SetWindowDefaultButton=
-OS_SetWindowDefaultButton_0=cast=(WindowRef)
-OS_SetWindowDefaultButton_1=cast=(ControlRef)
-
-OS_SetWindowGroup=
-OS_SetWindowGroup_0=cast=(WindowRef)
-OS_SetWindowGroup_1=cast=(WindowGroupRef)
-
-OS_SetWindowGroupOwner=
-OS_SetWindowGroupOwner_0=cast=(WindowGroupRef)
-OS_SetWindowGroupOwner_1=cast=(WindowRef)
-
-OS_SetWindowGroupParent=
-OS_SetWindowGroupParent_0=cast=(WindowGroupRef)
-OS_SetWindowGroupParent_1=cast=(WindowGroupRef)
-
-OS_SetWindowModality=
-OS_SetWindowModality_0=cast=(WindowRef)
-OS_SetWindowModality_1=cast=(WindowModality)
-OS_SetWindowModality_2=cast=(WindowRef)
-
-OS_SetWindowTitleWithCFString=
-OS_SetWindowTitleWithCFString_0=cast=(WindowRef)
-OS_SetWindowTitleWithCFString_1=cast=(CFStringRef)
-
-OS_ShowWindow=
-OS_ShowWindow_0=cast=(WindowRef)
-
-OS_SizeControl=
-OS_SizeControl_0=cast=(ControlRef)
-OS_SizeControl_1=cast=(SInt16)
-OS_SizeControl_2=cast=(SInt16)
-
-OS_SizeWindow=
-OS_SizeWindow_0=cast=(WindowRef)
-OS_SizeWindow_1=cast=(short)
-OS_SizeWindow_2=cast=(short)
-OS_SizeWindow_3=cast=(Boolean)
-
-OS_StillDown=
-
-OS_SyncCGContextOriginWithPort=
-OS_SyncCGContextOriginWithPort_0=cast=(CGContextRef)
-OS_SyncCGContextOriginWithPort_1=cast=(CGrafPtr)
-
-OS_SysBeep=
-OS_SysBeep_0=cast=(short)
-
-OS_TXNActivate=
-OS_TXNActivate_0=cast=(TXNObject)
-OS_TXNActivate_1=cast=(TXNFrameID)
-OS_TXNActivate_2=cast=(TXNScrollBarState)
-
-OS_TXNAdjustCursor=
-OS_TXNAdjustCursor_0=cast=(TXNObject)
-OS_TXNAdjustCursor_1=cast=(RgnHandle)
-
-OS_TXNClick=
-OS_TXNClick_0=cast=(TXNObject)
-OS_TXNClick_1=cast=(const EventRecord *)
-
-OS_TXNCopy=
-OS_TXNCopy_0=cast=(TXNObject)
-
-OS_TXNCut=
-OS_TXNCut_0=cast=(TXNObject)
-
-OS_TXNDataSize=
-OS_TXNDataSize_0=cast=(TXNObject)
-
-OS_TXNDeleteObject=
-OS_TXNDeleteObject_0=cast=(TXNObject)
-
-OS_TXNDraw=
-OS_TXNDraw_0=cast=(TXNObject)
-OS_TXNDraw_1=cast=(GWorldPtr)
-
-OS_TXNEchoMode=
-OS_TXNEchoMode_0=cast=(TXNObject)
-OS_TXNEchoMode_1=cast=(UniChar)
-OS_TXNEchoMode_2=cast=(TextEncoding)
-OS_TXNEchoMode_3=cast=(Boolean)
-
-OS_TXNFocus=
-OS_TXNFocus_0=cast=(TXNObject)
-OS_TXNFocus_1=cast=(Boolean)
-
-OS_TXNGetData=
-OS_TXNGetData_0=cast=(TXNObject)
-OS_TXNGetData_1=cast=(TXNOffset)
-OS_TXNGetData_2=cast=(TXNOffset)
-OS_TXNGetData_3=cast=(Handle *)
-
-OS_TXNGetLineCount=
-OS_TXNGetLineCount_0=cast=(TXNObject)
-OS_TXNGetLineCount_1=cast=(ItemCount *)
-
-OS_TXNGetLineMetrics=
-OS_TXNGetLineMetrics_0=cast=(TXNObject)
-OS_TXNGetLineMetrics_1=cast=(UInt32)
-OS_TXNGetLineMetrics_2=cast=(Fixed *)
-OS_TXNGetLineMetrics_3=cast=(Fixed *)
-
-OS_TXNGetRectBounds=
-OS_TXNGetRectBounds_0=cast=(TXNObject)
-OS_TXNGetRectBounds_1=cast=(Rect *)
-OS_TXNGetRectBounds_2=cast=(TXNLongRect *)
-OS_TXNGetRectBounds_3=cast=(TXNLongRect *)
-
-OS_TXNGetSelection=
-OS_TXNGetSelection_0=cast=(TXNObject)
-OS_TXNGetSelection_1=cast=(TXNOffset *)
-OS_TXNGetSelection_2=cast=(TXNOffset *)
-
-OS_TXNGetTXNObjectControls=
-OS_TXNGetTXNObjectControls_0=cast=(TXNObject)
-OS_TXNGetTXNObjectControls_1=cast=(ItemCount)
-OS_TXNGetTXNObjectControls_2=cast=(const TXNControlTag *)
-OS_TXNGetTXNObjectControls_3=cast=(TXNControlData *)
-
-OS_TXNGetViewRect=
-OS_TXNGetViewRect_0=cast=(TXNObject)
-OS_TXNGetViewRect_1=
-
-OS_TXNInitTextension=
-OS_TXNInitTextension_0=cast=(const TXNMacOSPreferredFontDescription *)
-OS_TXNInitTextension_1=cast=(ItemCount)
-OS_TXNInitTextension_2=cast=(TXNInitOptions)
-
-OS_TXNNewObject=
-OS_TXNNewObject_0=cast=(const FSSpec *)
-OS_TXNNewObject_1=cast=(WindowRef)
-OS_TXNNewObject_2=cast=(const Rect *)
-OS_TXNNewObject_3=cast=(TXNFrameOptions)
-OS_TXNNewObject_4=cast=(TXNFrameType)
-OS_TXNNewObject_5=cast=(TXNFileType)
-OS_TXNNewObject_6=cast=(TXNPermanentTextEncodingType)
-OS_TXNNewObject_7=cast=(TXNObject *)
-OS_TXNNewObject_8=cast=(TXNFrameID *)
-OS_TXNNewObject_9=cast=(TXNObjectRefcon)
-
-OS_TXNOffsetToPoint=
-OS_TXNOffsetToPoint_0=cast=(TXNObject)
-OS_TXNOffsetToPoint_1=cast=(TXNOffset)
-OS_TXNOffsetToPoint_2=cast=(Point *)
-
-OS_TXNPaste=
-OS_TXNPaste_0=cast=(TXNObject)
-
-OS_TXNPointToOffset=
-OS_TXNPointToOffset_0=cast=(TXNObject)
-OS_TXNPointToOffset_1=flags=struct
-OS_TXNPointToOffset_2=cast=(TXNOffset *)
-
-OS_TXNSelectAll=
-OS_TXNSelectAll_0=cast=(TXNObject)
-
-OS_TXNSetBackground=
-OS_TXNSetBackground_0=cast=(TXNObject)
-OS_TXNSetBackground_1=cast=(const TXNBackground *)
-
-OS_TXNSetData=
-OS_TXNSetData_0=cast=(TXNObject)
-OS_TXNSetData_1=cast=(TXNDataType)
-OS_TXNSetData_2=cast=(const void *)
-OS_TXNSetData_3=cast=(ByteCount)
-OS_TXNSetData_4=cast=(TXNOffset)
-OS_TXNSetData_5=cast=(TXNOffset)
-
-OS_TXNSetFrameBounds=
-OS_TXNSetFrameBounds_0=cast=(TXNObject)
-OS_TXNSetFrameBounds_1=cast=(SInt32)
-OS_TXNSetFrameBounds_2=cast=(SInt32)
-OS_TXNSetFrameBounds_3=cast=(SInt32)
-OS_TXNSetFrameBounds_4=cast=(SInt32)
-OS_TXNSetFrameBounds_5=cast=(TXNFrameID)
-
-OS_TXNSetRectBounds=
-OS_TXNSetRectBounds_0=cast=(TXNObject)
-OS_TXNSetRectBounds_1=cast=(Rect *)
-OS_TXNSetRectBounds_2=cast=(TXNLongRect *)
-OS_TXNSetRectBounds_3=cast=(Boolean)
-
-OS_TXNSetSelection=
-OS_TXNSetSelection_0=cast=(TXNObject)
-OS_TXNSetSelection_1=cast=(TXNOffset)
-OS_TXNSetSelection_2=cast=(TXNOffset)
-
-OS_TXNSetTXNObjectControls=
-OS_TXNSetTXNObjectControls_0=cast=(TXNObject)
-OS_TXNSetTXNObjectControls_1=cast=(Boolean)
-OS_TXNSetTXNObjectControls_2=cast=(ItemCount)
-OS_TXNSetTXNObjectControls_3=cast=(const TXNControlTag *)
-OS_TXNSetTXNObjectControls_4=cast=(const TXNControlData *)
-
-OS_TXNSetTypeAttributes=
-OS_TXNSetTypeAttributes_0=cast=(TXNObject)
-OS_TXNSetTypeAttributes_1=cast=(ItemCount)
-OS_TXNSetTypeAttributes_2=cast=(const TXNTypeAttributes *)
-OS_TXNSetTypeAttributes_3=cast=(TXNOffset)
-OS_TXNSetTypeAttributes_4=cast=(TXNOffset)
-
-OS_TXNShowSelection=
-OS_TXNShowSelection_0=cast=(TXNObject)
-OS_TXNShowSelection_1=cast=(Boolean)
-
-OS_TestControl=
-OS_TestControl_0=cast=(ControlRef)
-OS_TestControl_1=cast=(Point *),flags=struct
-
-OS_TextFace=
-OS_TextFace_0=cast=(StyleParameter)
-
-OS_TextFont=
-OS_TextFont_0=cast=(short)
-
-OS_TextMode=
-OS_TextMode_0=cast=(short)
-
-OS_TextSize=
-OS_TextSize_0=cast=(short)
-
-OS_TextWidth=
-OS_TextWidth_0=cast=(const void *)
-OS_TextWidth_1=cast=(short)
-OS_TextWidth_2=cast=(short)
-
-OS_TrackDrag=
-OS_TrackDrag_0=cast=(DragRef)
-OS_TrackDrag_1=cast=(const EventRecord *)
-OS_TrackDrag_2=cast=(RgnHandle)
-
-OS_TrackMouseLocationWithOptions=
-OS_TrackMouseLocationWithOptions_0=cast=(GrafPtr)
-OS_TrackMouseLocationWithOptions_1=cast=(OptionBits)
-OS_TrackMouseLocationWithOptions_2=cast=(EventTimeout)
-OS_TrackMouseLocationWithOptions_3=cast=(Point *)
-OS_TrackMouseLocationWithOptions_4=cast=(UInt32 *)
-OS_TrackMouseLocationWithOptions_5=cast=(MouseTrackingResult *)
-
-OS_UnionRect=
-OS_UnionRect_0=flags=no_out
-OS_UnionRect_1=flags=no_out
-OS_UnionRect_2=flags=no_in
-
-OS_UnionRgn=
-OS_UnionRgn_0=cast=(RgnHandle)
-OS_UnionRgn_1=cast=(RgnHandle)
-OS_UnionRgn_2=cast=(RgnHandle)
-
-OS_UnlockPortBits=
-OS_UnlockPortBits_0=cast=(GrafPtr)
-
-OS_UpdateControls=
-OS_UpdateControls_0=cast=(WindowRef)
-OS_UpdateControls_1=cast=(RgnHandle)
-
-OS_UpdateDataBrowserItems=
-OS_UpdateDataBrowserItems_0=cast=(ControlRef)
-OS_UpdateDataBrowserItems_1=cast=(DataBrowserItemID)
-OS_UpdateDataBrowserItems_2=cast=(UInt32)
-OS_UpdateDataBrowserItems_3=cast=(const DataBrowserItemID *)
-OS_UpdateDataBrowserItems_4=cast=(DataBrowserPropertyID)
-OS_UpdateDataBrowserItems_5=cast=(DataBrowserPropertyID)
-
-OS_UpgradeScriptInfoToTextEncoding=
-OS_UpgradeScriptInfoToTextEncoding_0=
-OS_UpgradeScriptInfoToTextEncoding_1=
-OS_UpgradeScriptInfoToTextEncoding_2=
-OS_UpgradeScriptInfoToTextEncoding_3=
-OS_UpgradeScriptInfoToTextEncoding_4=
-
-OS_WaitMouseMoved=
-OS_WaitMouseMoved_0=flags=struct
-
-OS_X2Fix=
-OS_X2Fix_0=
-
-OS_ZoomWindowIdeal=
-OS_ZoomWindowIdeal_0=cast=(WindowRef)
-OS_ZoomWindowIdeal_1=cast=(WindowPartCode)
-OS_ZoomWindowIdeal_2=cast=(Point *)
-
-OS_kHIViewWindowContentID=flags=const address
-
-OS_kPMDocumentFormatPDF=flags=const
-
-OS_kPMGraphicsContextCoreGraphics=flags=const
-
-OS_memcpy__III=
-OS_memcpy__III_0=cast=(void *)
-OS_memcpy__III_1=cast=(const void *)
-OS_memcpy__III_2=cast=(size_t)
-
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I=
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I_0=cast=(void *)
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I_1=cast=(const void *),flags=no_out
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_ATSUTab_2I_2=cast=(size_t)
-
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_BitMap_2I=
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_BitMap_2I_0=cast=(void *)
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_BitMap_2I_1=cast=(const void *),flags=no_out
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_BitMap_2I_2=cast=(size_t)
-
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_Cursor_2I=
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_Cursor_2I_0=cast=(void *)
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_Cursor_2I_1=cast=(const void *),flags=no_out
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_Cursor_2I_2=cast=(size_t)
-
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_EventRecord_2I=
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_EventRecord_2I_0=cast=(void *)
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_EventRecord_2I_1=cast=(const void *),flags=no_out
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_EventRecord_2I_2=cast=(size_t)
-
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2I=
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2I_0=cast=(void *)
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2I_1=cast=(const void *),flags=no_out
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2I_2=cast=(size_t)
-
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I=
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I_0=cast=(void *)
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I_1=cast=(const void *),flags=no_out
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_HMHelpContentRec_2I_2=cast=(size_t)
-
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_PixMap_2I=
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_PixMap_2I_0=cast=(void *)
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_PixMap_2I_1=cast=(const void *),flags=no_out
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_PixMap_2I_2=cast=(size_t)
-
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_RGBColor_2I=
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_RGBColor_2I_0=cast=(void *)
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_RGBColor_2I_1=cast=(const void *),flags=no_out
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_RGBColor_2I_2=cast=(size_t)
-
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_Rect_2I=
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_Rect_2I_0=cast=(void *)
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_Rect_2I_1=cast=(const void *),flags=no_out
-OS_memcpy__ILorg_eclipse_swt_internal_carbon_Rect_2I_2=cast=(size_t)
-
-OS_memcpy__I_3BI=
-OS_memcpy__I_3BI_0=cast=(void *)
-OS_memcpy__I_3BI_1=cast=(const void *),flags=critical no_out
-OS_memcpy__I_3BI_2=cast=(size_t)
-
-OS_memcpy__I_3CI=
-OS_memcpy__I_3CI_0=cast=(void *)
-OS_memcpy__I_3CI_1=cast=(const void *),flags=critical no_out
-OS_memcpy__I_3CI_2=cast=(size_t)
-
-OS_memcpy__I_3II=
-OS_memcpy__I_3II_0=cast=(void *)
-OS_memcpy__I_3II_1=cast=(const void *),flags=critical no_out
-OS_memcpy__I_3II_2=cast=(size_t)
-
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II=
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II_0=cast=(void *),flags=no_in
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II_1=cast=(const void *)
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_ATSTrapezoid_2II_2=cast=(size_t)
-
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2II=
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2II_0=cast=(void *),flags=no_in
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2II_1=cast=(const void *)
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_FontSelectionQDStyle_2II_2=cast=(size_t)
-
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_GDevice_2II=
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_GDevice_2II_0=cast=(void *),flags=no_in
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_GDevice_2II_1=cast=(const void *)
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_GDevice_2II_2=cast=(size_t)
-
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II=
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II_0=cast=(void *),flags=no_in
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II_1=cast=(const void *)
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_HMHelpContentRec_2II_2=cast=(size_t)
-
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_PixMap_2II=
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_PixMap_2II_0=cast=(void *),flags=no_in
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_PixMap_2II_1=cast=(const void *)
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_PixMap_2II_2=cast=(size_t)
-
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_Rect_2II=
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_Rect_2II_0=cast=(void *),flags=no_in
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_Rect_2II_1=cast=(const void *)
-OS_memcpy__Lorg_eclipse_swt_internal_carbon_Rect_2II_2=cast=(size_t)
-
-OS_memcpy___3BII=
-OS_memcpy___3BII_0=cast=(void *),flags=critical no_in
-OS_memcpy___3BII_1=cast=(const void *)
-OS_memcpy___3BII_2=cast=(size_t)
-
-OS_memcpy___3B_3CI=
-OS_memcpy___3B_3CI_0=cast=(void *),flags=critical no_in
-OS_memcpy___3B_3CI_1=cast=(const void *),flags=critical no_out
-OS_memcpy___3B_3CI_2=cast=(size_t)
-
-OS_memcpy___3CII=
-OS_memcpy___3CII_0=cast=(void *),flags=critical no_in
-OS_memcpy___3CII_1=cast=(const void *)
-OS_memcpy___3CII_2=cast=(size_t)
-
-OS_memcpy___3C_3BI=
-OS_memcpy___3C_3BI_0=cast=(void *),flags=critical no_in
-OS_memcpy___3C_3BI_1=cast=(const void *),flags=critical no_out
-OS_memcpy___3C_3BI_2=cast=(size_t)
-
-OS_memcpy___3FII=
-OS_memcpy___3FII_0=cast=(void *),flags=critical no_in
-OS_memcpy___3FII_1=cast=(const void *)
-OS_memcpy___3FII_2=cast=(size_t)
-
-OS_memcpy___3III=
-OS_memcpy___3III_0=cast=(void *),flags=critical no_in
-OS_memcpy___3III_1=cast=(const void *)
-OS_memcpy___3III_2=cast=(size_t)
-
-OS_memset=
-OS_memset_0=cast=(void *)
-OS_memset_1=
-OS_memset_2=
-
-
-org_eclipse_swt_internal_carbon_PMRect=
-PMRect_top=cast=(double)
-PMRect_left=cast=(double)
-PMRect_bottom=cast=(double)
-PMRect_right=cast=(double)
-
-org_eclipse_swt_internal_carbon_PMResolution=
-PMResolution_hRes=
-PMResolution_vRes=
-
-org_eclipse_swt_internal_carbon_PixMap=
-PixMap_pmVersion=
-PixMap_packType=
-PixMap_packSize=
-PixMap_hRes=
-PixMap_vRes=
-PixMap_pixelType=
-PixMap_pixelSize=
-PixMap_cmpCount=
-PixMap_cmpSize=
-PixMap_pixelFormat=
-PixMap_pmTable=cast=(CTabHandle)
-PixMap_pmExt=cast=(void *)
-
-org_eclipse_swt_internal_carbon_Point=
-Point_v=
-Point_h=
-
-org_eclipse_swt_internal_carbon_RGBColor=
-RGBColor_red=
-RGBColor_green=
-RGBColor_blue=
-
-org_eclipse_swt_internal_carbon_Rect=
-Rect_top=
-Rect_left=
-Rect_bottom=
-Rect_right=
-
-org_eclipse_swt_internal_carbon_TXNBackground=
-TXNBackground_bgType=
-TXNBackground_bg_red=accessor=bg.color.red
-TXNBackground_bg_green=accessor=bg.color.green
-TXNBackground_bg_blue=accessor=bg.color.blue
-
-org_eclipse_swt_internal_carbon_TXNLongRect=
-TXNLongRect_top=
-TXNLongRect_left=
-TXNLongRect_bottom=
-TXNLongRect_right=
-
-org_eclipse_swt_internal_carbon_ThemeButtonDrawInfo=
-ThemeButtonDrawInfo_state=cast=(ThemeDrawState)
-ThemeButtonDrawInfo_value=cast=(ThemeButtonValue)
-ThemeButtonDrawInfo_adornment=cast=(ThemeButtonAdornment)
-
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gnome.GNOME.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gnome.GNOME.properties
deleted file mode 100644
index e0b7109145..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gnome.GNOME.properties
+++ /dev/null
@@ -1,83 +0,0 @@
-org_eclipse_swt_internal_gnome_GNOME=
-GNOME_GnomeVFSMimeApplication_sizeof=
-
-GNOME_g_free=
-GNOME_g_free_0=cast=gpointer
-
-GNOME_g_list_next=
-GNOME_g_list_next_0=
-
-GNOME_g_object_unref=
-GNOME_g_object_unref_0=cast=gpointer
-
-GNOME_gnome_icon_lookup=
-GNOME_gnome_icon_lookup_0=cast=(GnomeIconTheme *)
-GNOME_gnome_icon_lookup_1=cast=GnomeThumbnailFactory *
-GNOME_gnome_icon_lookup_2=cast=const char *
-GNOME_gnome_icon_lookup_3=cast=const char *
-GNOME_gnome_icon_lookup_4=cast=GnomeVFSFileInfo *
-GNOME_gnome_icon_lookup_5=cast=const char *
-GNOME_gnome_icon_lookup_6=cast=GnomeIconLookupFlags
-GNOME_gnome_icon_lookup_7=cast=GnomeIconLookupResultFlags *
-
-GNOME_gnome_icon_theme_lookup_icon=
-GNOME_gnome_icon_theme_lookup_icon_0=cast=GnomeIconTheme *
-GNOME_gnome_icon_theme_lookup_icon_1=cast=const char *
-GNOME_gnome_icon_theme_lookup_icon_2=
-GNOME_gnome_icon_theme_lookup_icon_3=cast=(const GnomeIconData **)
-GNOME_gnome_icon_theme_lookup_icon_4=
-
-GNOME_gnome_icon_theme_new=
-
-GNOME_gnome_program_init=
-GNOME_gnome_program_init_0=cast=const char *
-GNOME_gnome_program_init_1=cast=const char *
-GNOME_gnome_program_init_2=cast=const GnomeModuleInfo *
-GNOME_gnome_program_init_3=
-GNOME_gnome_program_init_4=cast=(char **)
-GNOME_gnome_program_init_5=cast=void *
-
-GNOME_gnome_program_locate_file=
-GNOME_gnome_program_locate_file_0=cast=GnomeProgram *
-GNOME_gnome_program_locate_file_1=
-GNOME_gnome_program_locate_file_2=cast=const gchar *
-GNOME_gnome_program_locate_file_3=cast=gboolean
-GNOME_gnome_program_locate_file_4=cast=GSList **
-
-GNOME_gnome_vfs_get_registered_mime_types=
-
-GNOME_gnome_vfs_init=
-
-GNOME_gnome_vfs_mime_application_free=
-GNOME_gnome_vfs_mime_application_free_0=cast=GnomeVFSMimeApplication *
-
-GNOME_gnome_vfs_mime_extensions_list_free=
-GNOME_gnome_vfs_mime_extensions_list_free_0=cast=GList *
-
-GNOME_gnome_vfs_mime_get_default_application=
-GNOME_gnome_vfs_mime_get_default_application_0=
-
-GNOME_gnome_vfs_mime_get_extensions_list=
-GNOME_gnome_vfs_mime_get_extensions_list_0=cast=const char *
-
-GNOME_gnome_vfs_mime_get_icon=
-GNOME_gnome_vfs_mime_get_icon_0=
-
-GNOME_gnome_vfs_mime_registered_mime_type_list_free=
-GNOME_gnome_vfs_mime_registered_mime_type_list_free_0=cast=GList *
-
-GNOME_memmove=
-GNOME_memmove_0=cast=void *,flags=no_in
-GNOME_memmove_1=cast=const void *
-GNOME_memmove_2=cast=size_t
-
-
-org_eclipse_swt_internal_gnome_GnomeVFSMimeApplication=
-GnomeVFSMimeApplication_id=cast=char *
-GnomeVFSMimeApplication_name=cast=char *
-GnomeVFSMimeApplication_command=cast=char *
-GnomeVFSMimeApplication_can_open_multiple_files=cast=gboolean
-GnomeVFSMimeApplication_expects_uris=cast=GnomeVFSMimeApplicationArgumentType
-GnomeVFSMimeApplication_supported_uri_schemes=cast=(GList *)
-GnomeVFSMimeApplication_requires_terminal=cast=gboolean
-
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.GTK.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.GTK.properties
deleted file mode 100644
index 1a2888323f..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.GTK.properties
+++ /dev/null
@@ -1,39 +0,0 @@
-org_eclipse_swt_internal_gtk_GTK=
-GTK_GTK_WIDGET_HEIGHT=flags=no_gen
-GTK_GTK_WIDGET_HEIGHT_0=
-
-GTK_GTK_WIDGET_WIDTH=flags=no_gen
-GTK_GTK_WIDGET_WIDTH_0=
-
-GTK_g_signal_connect=
-GTK_g_signal_connect_0=cast=(gpointer)
-GTK_g_signal_connect_1=cast=(const gchar *),flags=no_out
-GTK_g_signal_connect_2=cast=(GCallback)
-GTK_g_signal_connect_3=cast=gpointer
-
-GTK_gtk_events_pending=
-
-GTK_gtk_init_check=
-GTK_gtk_init_check_0=cast=int *
-GTK_gtk_init_check_1=cast=char ***
-
-GTK_gtk_main=
-
-GTK_gtk_main_iteration=
-
-GTK_gtk_plug_new=
-GTK_gtk_plug_new_0=
-
-GTK_gtk_widget_destroy=
-GTK_gtk_widget_destroy_0=cast=GtkWidget *
-
-GTK_gtk_widget_show=
-GTK_gtk_widget_show_0=cast=GtkWidget *
-
-GTK_gtk_widget_show_now=
-GTK_gtk_widget_show_now_0=cast=GtkWidget *
-
-GTK_gtk_window_new=
-GTK_gtk_window_new_0=cast=GtkWindowType
-
-
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties
deleted file mode 100644
index b11b781e7d..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.OS.properties
+++ /dev/null
@@ -1,3496 +0,0 @@
-org_eclipse_swt_internal_gtk_GdkColor=
-GdkColor_pixel=cast=(guint32)
-GdkColor_red=cast=(guint16)
-GdkColor_green=cast=(guint16)
-GdkColor_blue=cast=(guint16)
-
-org_eclipse_swt_internal_gtk_GdkDragContext=
-GdkDragContext_protocol=cast=(GdkDragProtocol)
-GdkDragContext_is_source=cast=(gboolean)
-GdkDragContext_source_window=cast=(GdkWindow *)
-GdkDragContext_dest_window=cast=(GdkWindow *)
-GdkDragContext_targets=cast=(GList *)
-GdkDragContext_actions=cast=(GdkDragAction)
-GdkDragContext_suggested_action=cast=(GdkDragAction)
-GdkDragContext_action=cast=(GdkDragAction)
-GdkDragContext_start_time=cast=(guint32)
-
-org_eclipse_swt_internal_gtk_GdkEvent=
-GdkEvent_type=cast=(GdkEventType)
-
-org_eclipse_swt_internal_gtk_GdkEventButton=
-GdkEventButton_window=cast=(GdkWindow *)
-GdkEventButton_send_event=cast=(gint8)
-GdkEventButton_time=cast=(guint32)
-GdkEventButton_x=cast=(gdouble)
-GdkEventButton_y=cast=(gdouble)
-GdkEventButton_axes=cast=(gdouble *)
-GdkEventButton_state=cast=(guint)
-GdkEventButton_button=cast=(guint)
-GdkEventButton_device=cast=(GdkDevice *)
-GdkEventButton_x_root=cast=(gdouble)
-GdkEventButton_y_root=cast=(gdouble)
-
-org_eclipse_swt_internal_gtk_GdkEventCrossing=
-GdkEventCrossing_window=cast=(GdkWindow *)
-GdkEventCrossing_send_event=cast=(gint8)
-GdkEventCrossing_subwindow=cast=(GdkWindow *)
-GdkEventCrossing_time=
-GdkEventCrossing_x=
-GdkEventCrossing_y=
-GdkEventCrossing_x_root=
-GdkEventCrossing_y_root=
-GdkEventCrossing_mode=cast=(GdkCrossingMode)
-GdkEventCrossing_detail=cast=(GdkNotifyType)
-GdkEventCrossing_focus=cast=(gboolean)
-GdkEventCrossing_state=
-
-org_eclipse_swt_internal_gtk_GdkEventExpose=
-GdkEventExpose_window=cast=(GdkWindow *)
-GdkEventExpose_send_event=cast=(gint8)
-GdkEventExpose_area_x=accessor=area.x
-GdkEventExpose_area_y=accessor=area.y
-GdkEventExpose_area_width=accessor=area.width
-GdkEventExpose_area_height=accessor=area.height
-GdkEventExpose_region=cast=(GdkRegion *)
-GdkEventExpose_count=cast=(gint)
-
-org_eclipse_swt_internal_gtk_GdkEventFocus=
-GdkEventFocus_window=cast=(GdkWindow *)
-GdkEventFocus_send_event=cast=(gint8)
-GdkEventFocus_in=cast=(gint16)
-
-org_eclipse_swt_internal_gtk_GdkEventKey=
-GdkEventKey_window=cast=(GdkWindow *)
-GdkEventKey_send_event=cast=(gint8)
-GdkEventKey_time=cast=(guint32)
-GdkEventKey_state=cast=(guint)
-GdkEventKey_keyval=cast=(guint)
-GdkEventKey_length=cast=(gint)
-GdkEventKey_string=cast=(gchar *)
-GdkEventKey_hardware_keycode=cast=(guint16)
-GdkEventKey_group=cast=(guint8)
-
-org_eclipse_swt_internal_gtk_GdkEventWindowState=
-GdkEventWindowState_window=cast=(GdkWindow *)
-GdkEventWindowState_send_event=
-GdkEventWindowState_changed_mask=
-GdkEventWindowState_new_window_state=
-
-org_eclipse_swt_internal_gtk_GdkGCValues=
-GdkGCValues_foreground_pixel=accessor=foreground.pixel,cast=(guint32)
-GdkGCValues_foreground_red=accessor=foreground.red,cast=(guint16)
-GdkGCValues_foreground_green=accessor=foreground.green,cast=(guint16)
-GdkGCValues_foreground_blue=accessor=foreground.blue,cast=(guint16)
-GdkGCValues_background_pixel=accessor=background.pixel,cast=(guint32)
-GdkGCValues_background_red=accessor=background.red,cast=(guint16)
-GdkGCValues_background_green=accessor=background.green,cast=(guint16)
-GdkGCValues_background_blue=accessor=background.blue,cast=(guint16)
-GdkGCValues_font=cast=(GdkFont *)
-GdkGCValues_function=cast=(GdkFunction)
-GdkGCValues_fill=cast=(GdkFill)
-GdkGCValues_tile=cast=(GdkPixmap *)
-GdkGCValues_stipple=cast=(GdkPixmap *)
-GdkGCValues_clip_mask=cast=(GdkPixmap *)
-GdkGCValues_subwindow_mode=cast=(GdkSubwindowMode)
-GdkGCValues_ts_x_origin=cast=(gint)
-GdkGCValues_ts_y_origin=cast=(gint)
-GdkGCValues_clip_x_origin=cast=(gint)
-GdkGCValues_clip_y_origin=cast=(gint)
-GdkGCValues_graphics_exposures=cast=(gint)
-GdkGCValues_line_width=cast=(gint)
-GdkGCValues_line_style=cast=(GdkLineStyle)
-GdkGCValues_cap_style=cast=(GdkCapStyle)
-GdkGCValues_join_style=cast=(GdkJoinStyle)
-
-org_eclipse_swt_internal_gtk_GdkImage=
-GdkImage_type=cast=(GdkImageType)
-GdkImage_visual=cast=(GdkVisual *)
-GdkImage_byte_order=cast=(GdkByteOrder)
-GdkImage_width=cast=(gint)
-GdkImage_height=cast=(gint)
-GdkImage_depth=cast=(guint16)
-GdkImage_bpp=cast=(guint16)
-GdkImage_bpl=cast=(guint16)
-GdkImage_bits_per_pixel=cast=(guint16)
-GdkImage_mem=cast=(gpointer)
-GdkImage_colormap=cast=(GdkColormap *)
-GdkImage_windowing_data=cast=(gpointer)
-
-org_eclipse_swt_internal_gtk_GdkRectangle=
-GdkRectangle_x=cast=(gint)
-GdkRectangle_y=cast=(gint)
-GdkRectangle_width=cast=(gint)
-GdkRectangle_height=cast=(gint)
-
-org_eclipse_swt_internal_gtk_GdkVisual=
-GdkVisual_type=cast=(GdkVisualType)
-GdkVisual_depth=cast=(gint)
-GdkVisual_byte_order=cast=(GdkByteOrder)
-GdkVisual_colormap_size=cast=(gint)
-GdkVisual_bits_per_rgb=cast=(gint)
-GdkVisual_red_mask=cast=(guint32)
-GdkVisual_red_shift=cast=(gint)
-GdkVisual_red_prec=cast=(gint)
-GdkVisual_green_mask=cast=(guint32)
-GdkVisual_green_shift=cast=(gint)
-GdkVisual_green_prec=cast=(gint)
-GdkVisual_blue_mask=cast=(guint32)
-GdkVisual_blue_shift=cast=(gint)
-GdkVisual_blue_prec=cast=(gint)
-
-org_eclipse_swt_internal_gtk_GtkAdjustment=
-GtkAdjustment_lower=cast=(gdouble)
-GtkAdjustment_upper=cast=(gdouble)
-GtkAdjustment_value=cast=(gdouble)
-GtkAdjustment_step_increment=cast=(gdouble)
-GtkAdjustment_page_increment=cast=(gdouble)
-GtkAdjustment_page_size=cast=(gdouble)
-
-org_eclipse_swt_internal_gtk_GtkAllocation=
-GtkAllocation_x=
-GtkAllocation_y=
-GtkAllocation_width=
-GtkAllocation_height=
-
-org_eclipse_swt_internal_gtk_GtkColorSelectionDialog=
-GtkColorSelectionDialog_colorsel=cast=(GtkWidget *)
-GtkColorSelectionDialog_ok_button=cast=(GtkWidget *)
-GtkColorSelectionDialog_cancel_button=cast=(GtkWidget *)
-GtkColorSelectionDialog_help_button=cast=(GtkWidget *)
-
-org_eclipse_swt_internal_gtk_GtkCombo=
-GtkCombo_entry=cast=(GtkWidget *)
-GtkCombo_list=cast=(GtkWidget *)
-
-org_eclipse_swt_internal_gtk_GtkFileSelection=
-GtkFileSelection_dir_list=cast=(GtkWidget *)
-GtkFileSelection_file_list=cast=(GtkWidget *)
-GtkFileSelection_selection_entry=cast=(GtkWidget *)
-GtkFileSelection_selection_text=cast=(GtkWidget *)
-GtkFileSelection_main_vbox=cast=(GtkWidget *)
-GtkFileSelection_ok_button=cast=(GtkWidget *)
-GtkFileSelection_cancel_button=cast=(GtkWidget *)
-GtkFileSelection_help_button=cast=(GtkWidget *)
-GtkFileSelection_history_pulldown=cast=(GtkWidget *)
-GtkFileSelection_history_menu=cast=(GtkWidget *)
-GtkFileSelection_history_list=cast=(GList *)
-GtkFileSelection_fileop_dialog=cast=(GtkWidget *)
-GtkFileSelection_fileop_entry=cast=(GtkWidget *)
-GtkFileSelection_fileop_file=cast=(gchar *)
-GtkFileSelection_cmpl_state=cast=(gpointer)
-GtkFileSelection_fileop_c_dir=cast=(GtkWidget *)
-GtkFileSelection_fileop_del_file=cast=(GtkWidget *)
-GtkFileSelection_fileop_ren_file=cast=(GtkWidget *)
-GtkFileSelection_button_area=cast=(GtkWidget *)
-GtkFileSelection_action_area=cast=(GtkWidget *)
-
-org_eclipse_swt_internal_gtk_GtkFixed=
-GtkFixed_children=cast=(GList *)
-
-org_eclipse_swt_internal_gtk_GtkRequisition=
-GtkRequisition_width=
-GtkRequisition_height=
-
-org_eclipse_swt_internal_gtk_GtkSelectionData=
-GtkSelectionData_selection=cast=(GdkAtom)
-GtkSelectionData_target=cast=(GdkAtom)
-GtkSelectionData_type=cast=(GdkAtom)
-GtkSelectionData_format=cast=(gint)
-GtkSelectionData_data=cast=(guchar *)
-GtkSelectionData_length=cast=(gint)
-
-org_eclipse_swt_internal_gtk_GtkTargetEntry=
-GtkTargetEntry_target=cast=(gchar *)
-GtkTargetEntry_flags=cast=(guint)
-GtkTargetEntry_info=cast=(guint)
-
-org_eclipse_swt_internal_gtk_GtkTargetPair=
-GtkTargetPair_target=cast=(GdkAtom)
-GtkTargetPair_flags=cast=(guint)
-GtkTargetPair_info=cast=(guint)
-
-org_eclipse_swt_internal_gtk_LONG=flags=no_gen
-LONG_value=
-
-org_eclipse_swt_internal_gtk_OS=
-OS_GDK_DISPLAY=
-
-OS_GDK_ROOT_PARENT=
-
-OS_GDK_TYPE_COLOR=flags=const
-
-OS_GDK_TYPE_PIXBUF=flags=const
-
-OS_GDK_WINDOWING_X11=flags=no_gen
-
-OS_GTK_ACCEL_LABEL_GET_ACCEL_STRING=
-OS_GTK_ACCEL_LABEL_GET_ACCEL_STRING_0=cast=(GtkAccelLabel *)
-
-OS_GTK_ACCEL_LABEL_SET_ACCEL_STRING=
-OS_GTK_ACCEL_LABEL_SET_ACCEL_STRING_0=cast=(GtkAccelLabel *)
-OS_GTK_ACCEL_LABEL_SET_ACCEL_STRING_1=cast=(gchar *)
-
-OS_GTK_ENTRY_IM_CONTEXT=
-OS_GTK_ENTRY_IM_CONTEXT_0=cast=(GtkEntry *)
-
-OS_GTK_IS_BUTTON=
-OS_GTK_IS_BUTTON_0=
-
-OS_GTK_IS_CELL_RENDERER_PIXBUF=
-OS_GTK_IS_CELL_RENDERER_PIXBUF_0=
-
-OS_GTK_IS_IMAGE_MENU_ITEM=
-OS_GTK_IS_IMAGE_MENU_ITEM_0=
-
-OS_GTK_SCROLLED_WINDOW_HSCROLLBAR=
-OS_GTK_SCROLLED_WINDOW_HSCROLLBAR_0=cast=(GtkScrolledWindow *)
-
-OS_GTK_SCROLLED_WINDOW_SCROLLBAR_SPACING=
-OS_GTK_SCROLLED_WINDOW_SCROLLBAR_SPACING_0=cast=(GtkScrolledWindow *)
-
-OS_GTK_SCROLLED_WINDOW_VSCROLLBAR=
-OS_GTK_SCROLLED_WINDOW_VSCROLLBAR_0=cast=(GtkScrolledWindow *)
-
-OS_GTK_TEXTVIEW_IM_CONTEXT=
-OS_GTK_TEXTVIEW_IM_CONTEXT_0=cast=(GtkTextView *)
-
-OS_GTK_WIDGET_FLAGS=
-OS_GTK_WIDGET_FLAGS_0=
-
-OS_GTK_WIDGET_HAS_DEFAULT=
-OS_GTK_WIDGET_HAS_DEFAULT_0=
-
-OS_GTK_WIDGET_HAS_FOCUS=
-OS_GTK_WIDGET_HAS_FOCUS_0=
-
-OS_GTK_WIDGET_HEIGHT=
-OS_GTK_WIDGET_HEIGHT_0=cast=(GtkWidget *)
-
-OS_GTK_WIDGET_IS_SENSITIVE=
-OS_GTK_WIDGET_IS_SENSITIVE_0=
-
-OS_GTK_WIDGET_MAPPED=
-OS_GTK_WIDGET_MAPPED_0=
-
-OS_GTK_WIDGET_SENSITIVE=
-OS_GTK_WIDGET_SENSITIVE_0=
-
-OS_GTK_WIDGET_SET_FLAGS=
-OS_GTK_WIDGET_SET_FLAGS_0=
-OS_GTK_WIDGET_SET_FLAGS_1=
-
-OS_GTK_WIDGET_UNSET_FLAGS=
-OS_GTK_WIDGET_UNSET_FLAGS_0=
-OS_GTK_WIDGET_UNSET_FLAGS_1=
-
-OS_GTK_WIDGET_VISIBLE=
-OS_GTK_WIDGET_VISIBLE_0=
-
-OS_GTK_WIDGET_WIDTH=
-OS_GTK_WIDGET_WIDTH_0=cast=(GtkWidget *)
-
-OS_GTK_WIDGET_WINDOW=
-OS_GTK_WIDGET_WINDOW_0=cast=(GtkWidget *)
-
-OS_GTK_WIDGET_X=
-OS_GTK_WIDGET_X_0=cast=(GtkWidget *)
-
-OS_GTK_WIDGET_Y=
-OS_GTK_WIDGET_Y_0=cast=(GtkWidget *)
-
-OS_G_TYPE_BOOLEAN=flags=const
-
-OS_G_TYPE_INT=flags=const
-
-OS_G_TYPE_STRING=flags=const
-
-OS_GdkColor_sizeof=
-
-OS_GdkDragContext_sizeof=
-
-OS_GdkEventButton_sizeof=
-
-OS_GdkEventCrossing_sizeof=
-
-OS_GdkEventExpose_sizeof=
-
-OS_GdkEventFocus_sizeof=
-
-OS_GdkEventKey_sizeof=
-
-OS_GdkEventWindowState_sizeof=
-
-OS_GdkEvent_sizeof=
-
-OS_GdkGCValues_sizeof=
-
-OS_GdkImage_sizeof=
-
-OS_GdkRectangle_sizeof=
-
-OS_GdkVisual_sizeof=
-
-OS_GtkAdjustment_sizeof=
-
-OS_GtkAllocation_sizeof=
-
-OS_GtkColorSelectionDialog_sizeof=
-
-OS_GtkCombo_sizeof=
-
-OS_GtkFileSelection_sizeof=
-
-OS_GtkFixed_sizeof=
-
-OS_GtkRequisition_sizeof=
-
-OS_GtkSelectionData_sizeof=
-
-OS_GtkTargetEntry_sizeof=
-
-OS_GtkTargetPair_sizeof=
-
-OS_GtkTextIter_sizeof=
-
-OS_GtkTreeIter_sizeof=
-
-OS_PANGO_PIXELS=
-OS_PANGO_PIXELS_0=
-
-OS_PANGO_TYPE_FONT_DESCRIPTION=flags=const
-
-OS_PTR_sizeof=
-
-OS_PangoAttribute_sizeof=
-
-OS_PangoItem_sizeof=
-
-OS_PangoLayoutLine_sizeof=
-
-OS_PangoLayoutRun_sizeof=
-
-OS_PangoLogAttr_sizeof=
-
-OS_PangoRectangle_sizeof=
-
-OS_XClientMessageEvent_sizeof=
-
-OS_XDefaultScreen=
-OS_XDefaultScreen_0=cast=Display *
-
-OS_XGetSelectionOwner=
-OS_XGetSelectionOwner_0=cast=(Display *)
-OS_XGetSelectionOwner_1=cast=(Atom)
-
-OS_XKeysymToKeycode=
-OS_XKeysymToKeycode_0=cast=Display *
-OS_XKeysymToKeycode_1=cast=KeySym
-
-OS_XReconfigureWMWindow=
-OS_XReconfigureWMWindow_0=cast=Display *
-OS_XReconfigureWMWindow_1=cast=(Window)
-OS_XReconfigureWMWindow_2=
-OS_XReconfigureWMWindow_3=
-OS_XReconfigureWMWindow_4=
-
-OS_XSendEvent=
-OS_XSendEvent_0=cast=(Display *)
-OS_XSendEvent_1=cast=(Window)
-OS_XSendEvent_2=
-OS_XSendEvent_3=
-OS_XSendEvent_4=cast=(XEvent *)
-
-OS_XSetInputFocus=
-OS_XSetInputFocus_0=cast=Display *
-OS_XSetInputFocus_1=cast=Window
-OS_XSetInputFocus_2=
-OS_XSetInputFocus_3=
-
-OS_XTestFakeButtonEvent=
-OS_XTestFakeButtonEvent_0=cast=Display *
-OS_XTestFakeButtonEvent_1=
-OS_XTestFakeButtonEvent_2=cast=Bool
-OS_XTestFakeButtonEvent_3=cast=(unsigned long)
-
-OS_XTestFakeKeyEvent=
-OS_XTestFakeKeyEvent_0=cast=Display *
-OS_XTestFakeKeyEvent_1=
-OS_XTestFakeKeyEvent_2=cast=Bool
-OS_XTestFakeKeyEvent_3=cast=unsigned long
-
-OS_XTestFakeMotionEvent=
-OS_XTestFakeMotionEvent_0=cast=Display *
-OS_XTestFakeMotionEvent_1=
-OS_XTestFakeMotionEvent_2=
-OS_XTestFakeMotionEvent_3=
-OS_XTestFakeMotionEvent_4=cast=unsigned long
-
-OS_XWindowChanges_sizeof=
-
-OS_g_filename_from_uri=
-OS_g_filename_from_uri_0=cast=(const char *)
-OS_g_filename_from_uri_1=cast=(char **)
-OS_g_filename_from_uri_2=cast=(GError **)
-
-OS_g_filename_from_utf8=
-OS_g_filename_from_utf8_0=cast=(const gchar *)
-OS_g_filename_from_utf8_1=cast=(gssize)
-OS_g_filename_from_utf8_2=cast=(gsize *)
-OS_g_filename_from_utf8_3=cast=(gsize *)
-OS_g_filename_from_utf8_4=cast=(GError **)
-
-OS_g_filename_to_uri=
-OS_g_filename_to_uri_0=cast=(const char *)
-OS_g_filename_to_uri_1=cast=(const char *)
-OS_g_filename_to_uri_2=cast=(GError **)
-
-OS_g_filename_to_utf8=
-OS_g_filename_to_utf8_0=cast=(const gchar *)
-OS_g_filename_to_utf8_1=cast=(gssize)
-OS_g_filename_to_utf8_2=cast=(gsize *)
-OS_g_filename_to_utf8_3=cast=(gsize *)
-OS_g_filename_to_utf8_4=cast=(GError **)
-
-OS_g_free=
-OS_g_free_0=cast=(gpointer)
-
-OS_g_list_append=
-OS_g_list_append_0=cast=(GList *)
-OS_g_list_append_1=cast=(gpointer)
-
-OS_g_list_data=
-OS_g_list_data_0=cast=(GList *)
-
-OS_g_list_free=
-OS_g_list_free_0=cast=(GList *)
-
-OS_g_list_free_1=
-OS_g_list_free_1_0=cast=(GList *)
-
-OS_g_list_length=
-OS_g_list_length_0=cast=(GList *)
-
-OS_g_list_next=
-OS_g_list_next_0=
-
-OS_g_list_nth=
-OS_g_list_nth_0=cast=(GList *)
-OS_g_list_nth_1=cast=(guint)
-
-OS_g_list_nth_data=
-OS_g_list_nth_data_0=cast=(GList *)
-OS_g_list_nth_data_1=cast=(guint)
-
-OS_g_list_prepend=
-OS_g_list_prepend_0=cast=(GList *)
-OS_g_list_prepend_1=cast=(gpointer)
-
-OS_g_list_previous=
-OS_g_list_previous_0=
-
-OS_g_list_remove_link=
-OS_g_list_remove_link_0=cast=(GList *)
-OS_g_list_remove_link_1=cast=(GList *)
-
-OS_g_list_reverse=
-OS_g_list_reverse_0=cast=(GList *)
-
-OS_g_list_set_next=
-OS_g_list_set_next_0=cast=(GList *)
-OS_g_list_set_next_1=cast=(GList *)
-
-OS_g_list_set_previous=
-OS_g_list_set_previous_0=cast=(GList *)
-OS_g_list_set_previous_1=cast=(GList *)
-
-OS_g_locale_from_utf8=
-OS_g_locale_from_utf8_0=cast=(const gchar *)
-OS_g_locale_from_utf8_1=cast=(gssize)
-OS_g_locale_from_utf8_2=cast=(gsize *)
-OS_g_locale_from_utf8_3=cast=(gsize *)
-OS_g_locale_from_utf8_4=cast=(GError **)
-
-OS_g_locale_to_utf8=
-OS_g_locale_to_utf8_0=cast=(const gchar *)
-OS_g_locale_to_utf8_1=cast=(gssize)
-OS_g_locale_to_utf8_2=cast=(gsize *)
-OS_g_locale_to_utf8_3=cast=(gsize *)
-OS_g_locale_to_utf8_4=cast=(GError **)
-
-OS_g_log_default_handler=
-OS_g_log_default_handler_0=cast=(gchar *)
-OS_g_log_default_handler_1=cast=(GLogLevelFlags)
-OS_g_log_default_handler_2=cast=(gchar *)
-OS_g_log_default_handler_3=cast=(gpointer)
-
-OS_g_log_remove_handler=
-OS_g_log_remove_handler_0=cast=(gchar *),flags=no_out
-OS_g_log_remove_handler_1=cast=(gint)
-
-OS_g_log_set_handler=
-OS_g_log_set_handler_0=cast=(gchar *),flags=no_out
-OS_g_log_set_handler_1=cast=(GLogLevelFlags)
-OS_g_log_set_handler_2=cast=(GLogFunc)
-OS_g_log_set_handler_3=cast=(gpointer)
-
-OS_g_malloc=
-OS_g_malloc_0=cast=(gulong)
-
-OS_g_object_get_qdata=
-OS_g_object_get_qdata_0=cast=(GObject *)
-OS_g_object_get_qdata_1=cast=(GQuark)
-
-OS_g_object_ref=
-OS_g_object_ref_0=cast=(gpointer)
-
-OS_g_1object_1set__I_3BFI=
-OS_g_1object_1set__I_3BFI_0=cast=(gpointer)
-OS_g_1object_1set__I_3BFI_1=cast=(const gchar *),flags=no_out
-OS_g_1object_1set__I_3BFI_2=
-OS_g_1object_1set__I_3BFI_3=
-
-OS_g_1object_1set__I_3BII=
-OS_g_1object_1set__I_3BII_0=cast=(gpointer)
-OS_g_1object_1set__I_3BII_1=cast=(const gchar *),flags=no_out
-OS_g_1object_1set__I_3BII_2=
-OS_g_1object_1set__I_3BII_3=
-
-OS_g_1object_1set__I_3BZI=
-OS_g_1object_1set__I_3BZI_0=cast=(gpointer)
-OS_g_1object_1set__I_3BZI_1=cast=(const gchar *),flags=no_out
-OS_g_1object_1set__I_3BZI_2=
-OS_g_1object_1set__I_3BZI_3=
-
-OS_g_object_set_qdata=
-OS_g_object_set_qdata_0=cast=(GObject *)
-OS_g_object_set_qdata_1=cast=(GQuark)
-OS_g_object_set_qdata_2=cast=(gpointer)
-
-OS_g_object_unref=
-OS_g_object_unref_0=cast=(gpointer)
-
-OS_g_quark_from_string=
-OS_g_quark_from_string_0=cast=const gchar *,flags=no_out
-
-OS_g_signal_connect=
-OS_g_signal_connect_0=cast=(gpointer)
-OS_g_signal_connect_1=cast=(const gchar *),flags=no_out
-OS_g_signal_connect_2=cast=(GCallback)
-OS_g_signal_connect_3=cast=(gpointer)
-
-OS_g_signal_connect_after=
-OS_g_signal_connect_after_0=cast=(gpointer)
-OS_g_signal_connect_after_1=cast=(const gchar *),flags=no_out
-OS_g_signal_connect_after_2=cast=(GCallback)
-OS_g_signal_connect_after_3=cast=(gpointer)
-
-OS_g_1signal_1emit_1by_1name__I_3B=
-OS_g_1signal_1emit_1by_1name__I_3B_0=cast=(gpointer)
-OS_g_1signal_1emit_1by_1name__I_3B_1=cast=(const gchar *),flags=no_out
-
-OS_g_1signal_1emit_1by_1name__I_3BI=
-OS_g_1signal_1emit_1by_1name__I_3BI_0=cast=(gpointer)
-OS_g_1signal_1emit_1by_1name__I_3BI_1=cast=(const gchar *),flags=no_out
-OS_g_1signal_1emit_1by_1name__I_3BI_2=
-
-OS_g_1signal_1emit_1by_1name__I_3BII=
-OS_g_1signal_1emit_1by_1name__I_3BII_0=cast=(gpointer)
-OS_g_1signal_1emit_1by_1name__I_3BII_1=cast=(const gchar *),flags=no_out
-OS_g_1signal_1emit_1by_1name__I_3BII_2=
-OS_g_1signal_1emit_1by_1name__I_3BII_3=
-
-OS_g_1signal_1emit_1by_1name__I_3B_3B=
-OS_g_1signal_1emit_1by_1name__I_3B_3B_0=cast=(gpointer)
-OS_g_1signal_1emit_1by_1name__I_3B_3B_1=cast=(const gchar *),flags=no_out
-OS_g_1signal_1emit_1by_1name__I_3B_3B_2=
-
-OS_g_signal_handler_disconnect=
-OS_g_signal_handler_disconnect_0=cast=(gpointer)
-OS_g_signal_handler_disconnect_1=cast=(gulong)
-
-OS_g_signal_handlers_block_matched=
-OS_g_signal_handlers_block_matched_0=cast=(gpointer)
-OS_g_signal_handlers_block_matched_1=cast=(GSignalMatchType)
-OS_g_signal_handlers_block_matched_2=cast=(guint)
-OS_g_signal_handlers_block_matched_3=cast=(GQuark)
-OS_g_signal_handlers_block_matched_4=cast=(GClosure *)
-OS_g_signal_handlers_block_matched_5=cast=(gpointer)
-OS_g_signal_handlers_block_matched_6=cast=(gpointer)
-
-OS_g_signal_handlers_disconnect_matched=
-OS_g_signal_handlers_disconnect_matched_0=cast=(gpointer)
-OS_g_signal_handlers_disconnect_matched_1=cast=(GSignalMatchType)
-OS_g_signal_handlers_disconnect_matched_2=cast=(guint)
-OS_g_signal_handlers_disconnect_matched_3=cast=(GQuark)
-OS_g_signal_handlers_disconnect_matched_4=cast=(GClosure *)
-OS_g_signal_handlers_disconnect_matched_5=cast=(gpointer)
-OS_g_signal_handlers_disconnect_matched_6=cast=(gpointer)
-
-OS_g_signal_handlers_unblock_matched=
-OS_g_signal_handlers_unblock_matched_0=cast=(gpointer)
-OS_g_signal_handlers_unblock_matched_1=cast=(GSignalMatchType)
-OS_g_signal_handlers_unblock_matched_2=cast=(guint)
-OS_g_signal_handlers_unblock_matched_3=cast=(GQuark)
-OS_g_signal_handlers_unblock_matched_4=cast=(GClosure *)
-OS_g_signal_handlers_unblock_matched_5=cast=(gpointer)
-OS_g_signal_handlers_unblock_matched_6=cast=(gpointer)
-
-OS_g_signal_lookup=
-OS_g_signal_lookup_0=cast=const gchar *,flags=no_out
-OS_g_signal_lookup_1=
-
-OS_g_signal_stop_emission_by_name=
-OS_g_signal_stop_emission_by_name_0=cast=(gpointer)
-OS_g_signal_stop_emission_by_name_1=cast=(const gchar *),flags=no_out
-
-OS_g_slist_data=
-OS_g_slist_data_0=cast=GSList *
-
-OS_g_slist_next=
-OS_g_slist_next_0=cast=GSList *
-
-OS_g_strfreev=
-OS_g_strfreev_0=cast=(gchar **)
-
-OS_g_thread_init=
-OS_g_thread_init_0=cast=(GThreadFunctions *)
-
-OS_g_thread_supported=
-
-OS_g_utf16_to_utf8=
-OS_g_utf16_to_utf8_0=cast=(const gunichar2 *),flags=no_out critical
-OS_g_utf16_to_utf8_1=cast=(glong)
-OS_g_utf16_to_utf8_2=cast=(glong *),flags=critical
-OS_g_utf16_to_utf8_3=cast=(glong *),flags=critical
-OS_g_utf16_to_utf8_4=cast=(GError **),flags=critical
-
-OS_g_utf8_offset_to_pointer=
-OS_g_utf8_offset_to_pointer_0=cast=const gchar *
-OS_g_utf8_offset_to_pointer_1=
-
-OS_g_utf8_pointer_to_offset=
-OS_g_utf8_pointer_to_offset_0=cast=const gchar *
-OS_g_utf8_pointer_to_offset_1=cast=const gchar *
-
-OS_g_utf8_strlen=
-OS_g_utf8_strlen_0=cast=const gchar *
-OS_g_utf8_strlen_1=
-
-OS_g_1utf8_1to_1utf16__II_3I_3I_3I=
-OS_g_1utf8_1to_1utf16__II_3I_3I_3I_0=cast=(const gchar *)
-OS_g_1utf8_1to_1utf16__II_3I_3I_3I_1=cast=(glong)
-OS_g_1utf8_1to_1utf16__II_3I_3I_3I_2=cast=(glong *),flags=critical
-OS_g_1utf8_1to_1utf16__II_3I_3I_3I_3=cast=(glong *),flags=critical
-OS_g_1utf8_1to_1utf16__II_3I_3I_3I_4=cast=(GError **),flags=critical
-
-OS_g_1utf8_1to_1utf16___3BI_3I_3I_3I=
-OS_g_1utf8_1to_1utf16___3BI_3I_3I_3I_0=cast=(const gchar *),flags=no_out critical
-OS_g_1utf8_1to_1utf16___3BI_3I_3I_3I_1=cast=(glong)
-OS_g_1utf8_1to_1utf16___3BI_3I_3I_3I_2=cast=(glong *),flags=critical
-OS_g_1utf8_1to_1utf16___3BI_3I_3I_3I_3=cast=(glong *),flags=critical
-OS_g_1utf8_1to_1utf16___3BI_3I_3I_3I_4=cast=(GError **),flags=critical
-
-OS_gdk_atom_intern=
-OS_gdk_atom_intern_0=cast=(const gchar *),flags=no_out critical
-OS_gdk_atom_intern_1=
-
-OS_gdk_atom_name=
-OS_gdk_atom_name_0=cast=(GdkAtom)
-
-OS_gdk_beep=
-
-OS_gdk_bitmap_create_from_data=
-OS_gdk_bitmap_create_from_data_0=cast=(GdkWindow *)
-OS_gdk_bitmap_create_from_data_1=cast=(const gchar *),flags=no_out critical
-OS_gdk_bitmap_create_from_data_2=cast=(gint)
-OS_gdk_bitmap_create_from_data_3=cast=(gint)
-
-OS_gdk_color_white=
-OS_gdk_color_white_0=cast=(GdkColormap *)
-OS_gdk_color_white_1=cast=(GdkColor *),flags=no_in
-
-OS_gdk_colormap_alloc_color=
-OS_gdk_colormap_alloc_color_0=cast=(GdkColormap *)
-OS_gdk_colormap_alloc_color_1=cast=(GdkColor *)
-OS_gdk_colormap_alloc_color_2=cast=(gboolean)
-OS_gdk_colormap_alloc_color_3=cast=(gboolean)
-
-OS_gdk_colormap_free_colors=
-OS_gdk_colormap_free_colors_0=cast=(GdkColormap *)
-OS_gdk_colormap_free_colors_1=cast=(GdkColor *)
-OS_gdk_colormap_free_colors_2=cast=(gint)
-
-OS_gdk_colormap_get_system=
-
-OS_gdk_colormap_query_color=
-OS_gdk_colormap_query_color_0=cast=(GdkColormap *)
-OS_gdk_colormap_query_color_1=cast=(gulong)
-OS_gdk_colormap_query_color_2=cast=(GdkColor *)
-
-OS_gdk_cursor_destroy=
-OS_gdk_cursor_destroy_0=cast=(GdkCursor *)
-
-OS_gdk_cursor_new=
-OS_gdk_cursor_new_0=cast=(GdkCursorType)
-
-OS_gdk_cursor_new_from_pixmap=
-OS_gdk_cursor_new_from_pixmap_0=cast=(GdkPixmap *)
-OS_gdk_cursor_new_from_pixmap_1=cast=(GdkPixmap *)
-OS_gdk_cursor_new_from_pixmap_2=cast=(GdkColor *)
-OS_gdk_cursor_new_from_pixmap_3=cast=(GdkColor *)
-OS_gdk_cursor_new_from_pixmap_4=cast=(gint)
-OS_gdk_cursor_new_from_pixmap_5=cast=(gint)
-
-OS_gdk_drag_status=
-OS_gdk_drag_status_0=cast=(GdkDragContext *)
-OS_gdk_drag_status_1=cast=(GdkDragAction)
-OS_gdk_drag_status_2=cast=(guint32)
-
-OS_gdk_draw_arc=
-OS_gdk_draw_arc_0=cast=(GdkDrawable *)
-OS_gdk_draw_arc_1=cast=(GdkGC *)
-OS_gdk_draw_arc_2=cast=(gint)
-OS_gdk_draw_arc_3=cast=(gint)
-OS_gdk_draw_arc_4=cast=(gint)
-OS_gdk_draw_arc_5=cast=(gint)
-OS_gdk_draw_arc_6=cast=(gint)
-OS_gdk_draw_arc_7=cast=(gint)
-OS_gdk_draw_arc_8=cast=(gint)
-
-OS_gdk_draw_drawable=
-OS_gdk_draw_drawable_0=cast=(GdkDrawable *)
-OS_gdk_draw_drawable_1=cast=(GdkGC *)
-OS_gdk_draw_drawable_2=cast=(GdkDrawable *)
-OS_gdk_draw_drawable_3=cast=(gint)
-OS_gdk_draw_drawable_4=cast=(gint)
-OS_gdk_draw_drawable_5=cast=(gint)
-OS_gdk_draw_drawable_6=cast=(gint)
-OS_gdk_draw_drawable_7=cast=(gint)
-OS_gdk_draw_drawable_8=cast=(gint)
-
-OS_gdk_draw_layout=
-OS_gdk_draw_layout_0=cast=(GdkDrawable *)
-OS_gdk_draw_layout_1=cast=(GdkGC *)
-OS_gdk_draw_layout_2=cast=(gint)
-OS_gdk_draw_layout_3=cast=(gint)
-OS_gdk_draw_layout_4=cast=(PangoLayout *)
-
-OS_gdk_draw_layout_with_colors=
-OS_gdk_draw_layout_with_colors_0=cast=GdkDrawable *
-OS_gdk_draw_layout_with_colors_1=cast=(GdkGC *)
-OS_gdk_draw_layout_with_colors_2=cast=(gint)
-OS_gdk_draw_layout_with_colors_3=cast=(gint)
-OS_gdk_draw_layout_with_colors_4=cast=(PangoLayout *)
-OS_gdk_draw_layout_with_colors_5=
-OS_gdk_draw_layout_with_colors_6=
-
-OS_gdk_draw_line=
-OS_gdk_draw_line_0=cast=(GdkDrawable *)
-OS_gdk_draw_line_1=cast=(GdkGC *)
-OS_gdk_draw_line_2=cast=(gint)
-OS_gdk_draw_line_3=cast=(gint)
-OS_gdk_draw_line_4=cast=(gint)
-OS_gdk_draw_line_5=cast=(gint)
-
-OS_gdk_draw_lines=
-OS_gdk_draw_lines_0=cast=(GdkDrawable *)
-OS_gdk_draw_lines_1=cast=(GdkGC *)
-OS_gdk_draw_lines_2=cast=(GdkPoint *),flags=no_out critical
-OS_gdk_draw_lines_3=cast=(gint)
-
-OS_gdk_draw_point=
-OS_gdk_draw_point_0=cast=(GdkDrawable *)
-OS_gdk_draw_point_1=cast=GdkGC *
-OS_gdk_draw_point_2=
-OS_gdk_draw_point_3=
-
-OS_gdk_draw_polygon=
-OS_gdk_draw_polygon_0=cast=(GdkDrawable *)
-OS_gdk_draw_polygon_1=cast=(GdkGC *)
-OS_gdk_draw_polygon_2=cast=(gint)
-OS_gdk_draw_polygon_3=cast=(GdkPoint *),flags=no_out critical
-OS_gdk_draw_polygon_4=cast=(gint)
-
-OS_gdk_draw_rectangle=
-OS_gdk_draw_rectangle_0=cast=(GdkDrawable *)
-OS_gdk_draw_rectangle_1=cast=(GdkGC *)
-OS_gdk_draw_rectangle_2=cast=(gint)
-OS_gdk_draw_rectangle_3=cast=(gint)
-OS_gdk_draw_rectangle_4=cast=(gint)
-OS_gdk_draw_rectangle_5=cast=(gint)
-OS_gdk_draw_rectangle_6=cast=(gint)
-
-OS_gdk_drawable_get_image=
-OS_gdk_drawable_get_image_0=cast=(GdkDrawable *)
-OS_gdk_drawable_get_image_1=cast=(gint)
-OS_gdk_drawable_get_image_2=cast=(gint)
-OS_gdk_drawable_get_image_3=cast=(gint)
-OS_gdk_drawable_get_image_4=cast=(gint)
-
-OS_gdk_drawable_get_size=
-OS_gdk_drawable_get_size_0=cast=(GdkDrawable *)
-OS_gdk_drawable_get_size_1=cast=(gint *),flags=no_in critical
-OS_gdk_drawable_get_size_2=cast=(gint *),flags=no_in critical
-
-OS_gdk_drawable_get_visible_region=
-OS_gdk_drawable_get_visible_region_0=cast=(GdkDrawable *)
-
-OS_gdk_error_trap_pop=
-
-OS_gdk_error_trap_push=
-
-OS_gdk_event_copy=
-OS_gdk_event_copy_0=cast=(GdkEvent *)
-
-OS_gdk_event_free=
-OS_gdk_event_free_0=cast=(GdkEvent *)
-
-OS_gdk_event_get=
-
-OS_gdk_event_get_coords=
-OS_gdk_event_get_coords_0=cast=(GdkEvent *)
-OS_gdk_event_get_coords_1=cast=(gdouble *)
-OS_gdk_event_get_coords_2=cast=(gdouble *)
-
-OS_gdk_event_get_graphics_expose=
-OS_gdk_event_get_graphics_expose_0=cast=(GdkWindow *)
-
-OS_gdk_event_get_root_coords=
-OS_gdk_event_get_root_coords_0=cast=(GdkEvent *)
-OS_gdk_event_get_root_coords_1=cast=(gdouble *)
-OS_gdk_event_get_root_coords_2=cast=(gdouble *)
-
-OS_gdk_event_get_state=
-OS_gdk_event_get_state_0=cast=(GdkEvent *)
-OS_gdk_event_get_state_1=cast=(GdkModifierType *)
-
-OS_gdk_event_get_time=
-OS_gdk_event_get_time_0=cast=(GdkEvent *)
-
-OS_gdk_event_handler_set=
-OS_gdk_event_handler_set_0=cast=(GdkEventFunc)
-OS_gdk_event_handler_set_1=cast=(gpointer)
-OS_gdk_event_handler_set_2=cast=(GDestroyNotify)
-
-OS_gdk_flush=
-
-OS_gdk_free_text_list=
-OS_gdk_free_text_list_0=cast=(gchar **)
-
-OS_gdk_gc_get_values=
-OS_gdk_gc_get_values_0=cast=(GdkGC *)
-OS_gdk_gc_get_values_1=cast=(GdkGCValues *),flags=no_in
-
-OS_gdk_gc_new=
-OS_gdk_gc_new_0=cast=(GdkDrawable *)
-
-OS_gdk_gc_set_background=
-OS_gdk_gc_set_background_0=cast=(GdkGC *)
-OS_gdk_gc_set_background_1=cast=(GdkColor *),flags=no_out
-
-OS_gdk_gc_set_clip_mask=
-OS_gdk_gc_set_clip_mask_0=cast=(GdkGC *)
-OS_gdk_gc_set_clip_mask_1=cast=(GdkBitmap *)
-
-OS_gdk_gc_set_clip_origin=
-OS_gdk_gc_set_clip_origin_0=cast=(GdkGC *)
-OS_gdk_gc_set_clip_origin_1=cast=(gint)
-OS_gdk_gc_set_clip_origin_2=cast=(gint)
-
-OS_gdk_gc_set_clip_rectangle=
-OS_gdk_gc_set_clip_rectangle_0=cast=(GdkGC *)
-OS_gdk_gc_set_clip_rectangle_1=cast=(GdkRectangle *),flags=no_out
-
-OS_gdk_gc_set_clip_region=
-OS_gdk_gc_set_clip_region_0=cast=(GdkGC *)
-OS_gdk_gc_set_clip_region_1=cast=(GdkRegion *)
-
-OS_gdk_gc_set_dashes=
-OS_gdk_gc_set_dashes_0=cast=(GdkGC *)
-OS_gdk_gc_set_dashes_1=cast=(gint)
-OS_gdk_gc_set_dashes_2=cast=(gint8 *),flags=no_out critical
-OS_gdk_gc_set_dashes_3=cast=(gint)
-
-OS_gdk_gc_set_exposures=
-OS_gdk_gc_set_exposures_0=cast=(GdkGC *)
-OS_gdk_gc_set_exposures_1=cast=(gboolean)
-
-OS_gdk_gc_set_fill=
-OS_gdk_gc_set_fill_0=cast=(GdkGC *)
-OS_gdk_gc_set_fill_1=cast=(GdkFill)
-
-OS_gdk_gc_set_foreground=
-OS_gdk_gc_set_foreground_0=cast=(GdkGC *)
-OS_gdk_gc_set_foreground_1=cast=(GdkColor *),flags=no_out
-
-OS_gdk_gc_set_function=
-OS_gdk_gc_set_function_0=cast=(GdkGC *)
-OS_gdk_gc_set_function_1=cast=(GdkFunction)
-
-OS_gdk_gc_set_line_attributes=
-OS_gdk_gc_set_line_attributes_0=cast=(GdkGC *)
-OS_gdk_gc_set_line_attributes_1=cast=(gint)
-OS_gdk_gc_set_line_attributes_2=cast=(GdkLineStyle)
-OS_gdk_gc_set_line_attributes_3=cast=(GdkCapStyle)
-OS_gdk_gc_set_line_attributes_4=cast=(GdkJoinStyle)
-
-OS_gdk_gc_set_stipple=
-OS_gdk_gc_set_stipple_0=cast=(GdkGC *)
-OS_gdk_gc_set_stipple_1=cast=(GdkPixmap *)
-
-OS_gdk_gc_set_subwindow=
-OS_gdk_gc_set_subwindow_0=cast=(GdkGC *)
-OS_gdk_gc_set_subwindow_1=cast=(GdkSubwindowMode)
-
-OS_gdk_gc_set_values=
-OS_gdk_gc_set_values_0=cast=(GdkGC *)
-OS_gdk_gc_set_values_1=cast=(GdkGCValues *),flags=no_out
-OS_gdk_gc_set_values_2=cast=(GdkGCValuesMask)
-
-OS_gdk_image_get=
-OS_gdk_image_get_0=cast=(GdkDrawable *)
-OS_gdk_image_get_1=cast=(gint)
-OS_gdk_image_get_2=cast=(gint)
-OS_gdk_image_get_3=cast=(gint)
-OS_gdk_image_get_4=cast=(gint)
-
-OS_gdk_image_get_pixel=
-OS_gdk_image_get_pixel_0=cast=(GdkImage *)
-OS_gdk_image_get_pixel_1=cast=(gint)
-OS_gdk_image_get_pixel_2=cast=(gint)
-
-OS_gdk_keyboard_ungrab=
-OS_gdk_keyboard_ungrab_0=
-
-OS_gdk_keymap_get_default=
-
-OS_gdk_keymap_translate_keyboard_state=
-OS_gdk_keymap_translate_keyboard_state_0=cast=GdkKeymap*
-OS_gdk_keymap_translate_keyboard_state_1=
-OS_gdk_keymap_translate_keyboard_state_2=cast=GdkModifierType
-OS_gdk_keymap_translate_keyboard_state_3=
-OS_gdk_keymap_translate_keyboard_state_4=cast=guint*
-OS_gdk_keymap_translate_keyboard_state_5=cast=gint*
-OS_gdk_keymap_translate_keyboard_state_6=cast=gint*
-OS_gdk_keymap_translate_keyboard_state_7=cast=GdkModifierType *
-
-OS_gdk_keyval_to_lower=
-OS_gdk_keyval_to_lower_0=
-
-OS_gdk_keyval_to_unicode=
-OS_gdk_keyval_to_unicode_0=
-
-OS_gdk_pango_context_get=
-
-OS_gdk_pango_context_set_colormap=
-OS_gdk_pango_context_set_colormap_0=cast=PangoContext *
-OS_gdk_pango_context_set_colormap_1=cast=(GdkColormap *)
-
-OS_gdk_pango_layout_get_clip_region=
-OS_gdk_pango_layout_get_clip_region_0=cast=(PangoLayout *)
-OS_gdk_pango_layout_get_clip_region_1=
-OS_gdk_pango_layout_get_clip_region_2=
-OS_gdk_pango_layout_get_clip_region_3=
-OS_gdk_pango_layout_get_clip_region_4=
-
-OS_gdk_pixbuf_get_from_drawable=
-OS_gdk_pixbuf_get_from_drawable_0=cast=(GdkPixbuf *)
-OS_gdk_pixbuf_get_from_drawable_1=cast=(GdkDrawable *)
-OS_gdk_pixbuf_get_from_drawable_2=cast=(GdkColormap *)
-OS_gdk_pixbuf_get_from_drawable_3=
-OS_gdk_pixbuf_get_from_drawable_4=
-OS_gdk_pixbuf_get_from_drawable_5=
-OS_gdk_pixbuf_get_from_drawable_6=
-OS_gdk_pixbuf_get_from_drawable_7=
-OS_gdk_pixbuf_get_from_drawable_8=
-
-OS_gdk_pixbuf_get_pixels=
-OS_gdk_pixbuf_get_pixels_0=cast=(const GdkPixbuf *)
-
-OS_gdk_pixbuf_get_rowstride=
-OS_gdk_pixbuf_get_rowstride_0=cast=(const GdkPixbuf *)
-
-OS_gdk_pixbuf_new=
-OS_gdk_pixbuf_new_0=cast=(GdkColorspace)
-OS_gdk_pixbuf_new_1=cast=(gboolean)
-OS_gdk_pixbuf_new_2=
-OS_gdk_pixbuf_new_3=
-OS_gdk_pixbuf_new_4=
-
-OS_gdk_pixbuf_render_pixmap_and_mask=
-OS_gdk_pixbuf_render_pixmap_and_mask_0=cast=(GdkPixbuf *)
-OS_gdk_pixbuf_render_pixmap_and_mask_1=cast=(GdkDrawable **)
-OS_gdk_pixbuf_render_pixmap_and_mask_2=cast=(GdkBitmap **)
-OS_gdk_pixbuf_render_pixmap_and_mask_3=
-
-OS_gdk_pixbuf_render_to_drawable=
-OS_gdk_pixbuf_render_to_drawable_0=cast=(GdkPixbuf *)
-OS_gdk_pixbuf_render_to_drawable_1=cast=(GdkDrawable *)
-OS_gdk_pixbuf_render_to_drawable_2=cast=(GdkGC *)
-OS_gdk_pixbuf_render_to_drawable_3=
-OS_gdk_pixbuf_render_to_drawable_4=
-OS_gdk_pixbuf_render_to_drawable_5=
-OS_gdk_pixbuf_render_to_drawable_6=
-OS_gdk_pixbuf_render_to_drawable_7=
-OS_gdk_pixbuf_render_to_drawable_8=
-OS_gdk_pixbuf_render_to_drawable_9=cast=(GdkRgbDither)
-OS_gdk_pixbuf_render_to_drawable_10=
-OS_gdk_pixbuf_render_to_drawable_11=
-
-OS_gdk_pixbuf_render_to_drawable_alpha=
-OS_gdk_pixbuf_render_to_drawable_alpha_0=cast=(GdkPixbuf *)
-OS_gdk_pixbuf_render_to_drawable_alpha_1=cast=(GdkDrawable *)
-OS_gdk_pixbuf_render_to_drawable_alpha_2=
-OS_gdk_pixbuf_render_to_drawable_alpha_3=
-OS_gdk_pixbuf_render_to_drawable_alpha_4=
-OS_gdk_pixbuf_render_to_drawable_alpha_5=
-OS_gdk_pixbuf_render_to_drawable_alpha_6=
-OS_gdk_pixbuf_render_to_drawable_alpha_7=
-OS_gdk_pixbuf_render_to_drawable_alpha_8=cast=(GdkPixbufAlphaMode)
-OS_gdk_pixbuf_render_to_drawable_alpha_9=
-OS_gdk_pixbuf_render_to_drawable_alpha_10=cast=(GdkRgbDither)
-OS_gdk_pixbuf_render_to_drawable_alpha_11=
-OS_gdk_pixbuf_render_to_drawable_alpha_12=
-
-OS_gdk_pixbuf_scale=
-OS_gdk_pixbuf_scale_0=cast=(const GdkPixbuf *)
-OS_gdk_pixbuf_scale_1=cast=(GdkPixbuf *)
-OS_gdk_pixbuf_scale_2=
-OS_gdk_pixbuf_scale_3=
-OS_gdk_pixbuf_scale_4=
-OS_gdk_pixbuf_scale_5=
-OS_gdk_pixbuf_scale_6=cast=(double)
-OS_gdk_pixbuf_scale_7=cast=(double)
-OS_gdk_pixbuf_scale_8=cast=(double)
-OS_gdk_pixbuf_scale_9=cast=(double)
-OS_gdk_pixbuf_scale_10=
-
-OS_gdk_pixbuf_scale_simple=
-OS_gdk_pixbuf_scale_simple_0=cast=(const GdkPixbuf *)
-OS_gdk_pixbuf_scale_simple_1=
-OS_gdk_pixbuf_scale_simple_2=
-OS_gdk_pixbuf_scale_simple_3=cast=(GdkInterpType)
-
-OS_gdk_pixmap_new=
-OS_gdk_pixmap_new_0=cast=(GdkWindow *)
-OS_gdk_pixmap_new_1=cast=(gint)
-OS_gdk_pixmap_new_2=cast=(gint)
-OS_gdk_pixmap_new_3=cast=(gint)
-
-OS_gdk_pointer_grab=
-OS_gdk_pointer_grab_0=cast=(GdkWindow *)
-OS_gdk_pointer_grab_1=cast=(gboolean)
-OS_gdk_pointer_grab_2=cast=(GdkEventMask)
-OS_gdk_pointer_grab_3=cast=(GdkWindow *)
-OS_gdk_pointer_grab_4=cast=(GdkCursor *)
-OS_gdk_pointer_grab_5=cast=(guint32)
-
-OS_gdk_pointer_is_grabbed=
-
-OS_gdk_pointer_ungrab=
-OS_gdk_pointer_ungrab_0=cast=(guint32)
-
-OS_gdk_property_get=
-OS_gdk_property_get_0=cast=(GdkWindow *)
-OS_gdk_property_get_1=cast=(GdkAtom)
-OS_gdk_property_get_2=cast=(GdkAtom)
-OS_gdk_property_get_3=
-OS_gdk_property_get_4=
-OS_gdk_property_get_5=
-OS_gdk_property_get_6=cast=(GdkAtom *)
-OS_gdk_property_get_7=cast=(gint *)
-OS_gdk_property_get_8=cast=(gint *)
-OS_gdk_property_get_9=cast=(guchar **)
-
-OS_gdk_region_destroy=
-OS_gdk_region_destroy_0=cast=(GdkRegion *)
-
-OS_gdk_region_empty=
-OS_gdk_region_empty_0=cast=(GdkRegion *)
-
-OS_gdk_region_get_clipbox=
-OS_gdk_region_get_clipbox_0=cast=(GdkRegion *)
-OS_gdk_region_get_clipbox_1=cast=(GdkRectangle *),flags=no_in
-
-OS_gdk_region_get_rectangles=
-OS_gdk_region_get_rectangles_0=cast=(GdkRegion *)
-OS_gdk_region_get_rectangles_1=cast=(GdkRectangle **)
-OS_gdk_region_get_rectangles_2=cast=(gint *)
-
-OS_gdk_region_intersect=
-OS_gdk_region_intersect_0=cast=(GdkRegion *)
-OS_gdk_region_intersect_1=cast=(GdkRegion *)
-
-OS_gdk_region_new=
-
-OS_gdk_region_offset=
-OS_gdk_region_offset_0=cast=(GdkRegion *)
-OS_gdk_region_offset_1=cast=(gint)
-OS_gdk_region_offset_2=cast=(gint)
-
-OS_gdk_region_point_in=
-OS_gdk_region_point_in_0=cast=(GdkRegion *)
-OS_gdk_region_point_in_1=cast=(gint)
-OS_gdk_region_point_in_2=cast=(gint)
-
-OS_gdk_region_polygon=
-OS_gdk_region_polygon_0=cast=(GdkPoint *)
-OS_gdk_region_polygon_1=
-OS_gdk_region_polygon_2=cast=(GdkFillRule)
-
-OS_gdk_region_rect_in=
-OS_gdk_region_rect_in_0=cast=(GdkRegion *)
-OS_gdk_region_rect_in_1=cast=(GdkRectangle *),flags=no_out
-
-OS_gdk_region_rectangle=
-OS_gdk_region_rectangle_0=
-
-OS_gdk_region_subtract=
-OS_gdk_region_subtract_0=cast=(GdkRegion *)
-OS_gdk_region_subtract_1=cast=(GdkRegion *)
-
-OS_gdk_region_union=
-OS_gdk_region_union_0=cast=(GdkRegion *)
-OS_gdk_region_union_1=cast=(GdkRegion *)
-
-OS_gdk_region_union_with_rect=
-OS_gdk_region_union_with_rect_0=cast=(GdkRegion *)
-OS_gdk_region_union_with_rect_1=cast=(GdkRectangle *),flags=no_out
-
-OS_gdk_rgb_init=
-
-OS_gdk_screen_get_default=flags=dynamic
-
-OS_gdk_screen_get_monitor_at_window=flags=dynamic
-OS_gdk_screen_get_monitor_at_window_0=cast=(GdkScreen *)
-OS_gdk_screen_get_monitor_at_window_1=cast=(GdkWindow *)
-
-OS_gdk_screen_get_monitor_geometry=flags=dynamic
-OS_gdk_screen_get_monitor_geometry_0=cast=(GdkScreen *)
-OS_gdk_screen_get_monitor_geometry_1=
-OS_gdk_screen_get_monitor_geometry_2=
-
-OS_gdk_screen_get_n_monitors=flags=dynamic
-OS_gdk_screen_get_n_monitors_0=cast=(GdkScreen *)
-
-OS_gdk_screen_get_number=flags=dynamic
-OS_gdk_screen_get_number_0=cast=(GdkScreen *)
-
-OS_gdk_screen_height=
-
-OS_gdk_screen_width=
-
-OS_gdk_screen_width_mm=
-
-OS_gdk_set_program_class=
-OS_gdk_set_program_class_0=
-
-OS_gdk_text_property_to_utf8_list=
-OS_gdk_text_property_to_utf8_list_0=cast=(GdkAtom)
-OS_gdk_text_property_to_utf8_list_1=
-OS_gdk_text_property_to_utf8_list_2=cast=(guchar *)
-OS_gdk_text_property_to_utf8_list_3=
-OS_gdk_text_property_to_utf8_list_4=cast=(gchar ***)
-
-OS_gdk_threads_enter=
-
-OS_gdk_threads_init=
-
-OS_gdk_threads_leave=
-
-OS_gdk_unicode_to_keyval=
-OS_gdk_unicode_to_keyval_0=
-
-OS_gdk_utf8_to_compound_text=
-OS_gdk_utf8_to_compound_text_0=cast=(const gchar *)
-OS_gdk_utf8_to_compound_text_1=cast=(GdkAtom *)
-OS_gdk_utf8_to_compound_text_2=cast=(gint *)
-OS_gdk_utf8_to_compound_text_3=cast=(guchar **)
-OS_gdk_utf8_to_compound_text_4=cast=(gint *)
-
-OS_gdk_visual_get_system=
-
-OS_gdk_window_at_pointer=
-OS_gdk_window_at_pointer_0=cast=(gint *)
-OS_gdk_window_at_pointer_1=cast=(gint *)
-
-OS_gdk_window_begin_paint_rect=
-OS_gdk_window_begin_paint_rect_0=cast=GdkWindow *
-OS_gdk_window_begin_paint_rect_1=cast=GdkRectangle *
-
-OS_gdk_window_end_paint=
-OS_gdk_window_end_paint_0=cast=GdkWindow *
-
-OS_gdk_window_focus=
-OS_gdk_window_focus_0=cast=GdkWindow *
-OS_gdk_window_focus_1=
-
-OS_gdk_window_freeze_updates=
-OS_gdk_window_freeze_updates_0=cast=GdkWindow *
-
-OS_gdk_window_get_frame_extents=
-OS_gdk_window_get_frame_extents_0=cast=(GdkWindow *)
-OS_gdk_window_get_frame_extents_1=cast=(GdkRectangle *)
-
-OS_gdk_window_get_origin=
-OS_gdk_window_get_origin_0=cast=(GdkWindow *)
-OS_gdk_window_get_origin_1=cast=(gint *)
-OS_gdk_window_get_origin_2=cast=(gint *)
-
-OS_gdk_window_get_parent=
-OS_gdk_window_get_parent_0=cast=(GdkWindow *)
-
-OS_gdk_window_get_pointer=
-OS_gdk_window_get_pointer_0=cast=(GdkWindow *)
-OS_gdk_window_get_pointer_1=cast=(gint *)
-OS_gdk_window_get_pointer_2=cast=(gint *)
-OS_gdk_window_get_pointer_3=cast=(GdkModifierType *)
-
-OS_gdk_window_get_user_data=
-OS_gdk_window_get_user_data_0=cast=(GdkWindow *)
-OS_gdk_window_get_user_data_1=cast=(gpointer *)
-
-OS_gdk_window_invalidate_rect=
-OS_gdk_window_invalidate_rect_0=cast=(GdkWindow *)
-OS_gdk_window_invalidate_rect_1=cast=(GdkRectangle *)
-OS_gdk_window_invalidate_rect_2=cast=(gboolean)
-
-OS_gdk_window_invalidate_region=
-OS_gdk_window_invalidate_region_0=cast=(GdkWindow *)
-OS_gdk_window_invalidate_region_1=cast=(GdkRegion *)
-OS_gdk_window_invalidate_region_2=cast=(gboolean)
-
-OS_gdk_window_lower=
-OS_gdk_window_lower_0=cast=(GdkWindow *)
-
-OS_gdk_window_process_updates=
-OS_gdk_window_process_updates_0=cast=(GdkWindow *)
-OS_gdk_window_process_updates_1=cast=(gboolean)
-
-OS_gdk_window_raise=
-OS_gdk_window_raise_0=cast=(GdkWindow *)
-
-OS_gdk_window_set_accept_focus=flags=dynamic
-OS_gdk_window_set_accept_focus_0=cast=GdkWindow *
-OS_gdk_window_set_accept_focus_1=cast=gboolean
-
-OS_gdk_window_set_back_pixmap=
-OS_gdk_window_set_back_pixmap_0=cast=(GdkWindow *)
-OS_gdk_window_set_back_pixmap_1=cast=(GdkPixmap *)
-OS_gdk_window_set_back_pixmap_2=cast=gboolean
-
-OS_gdk_window_set_cursor=
-OS_gdk_window_set_cursor_0=cast=(GdkWindow *)
-OS_gdk_window_set_cursor_1=cast=(GdkCursor *)
-
-OS_gdk_window_set_decorations=
-OS_gdk_window_set_decorations_0=cast=(GdkWindow *)
-OS_gdk_window_set_decorations_1=cast=(GdkWMDecoration)
-
-OS_gdk_window_set_icon=
-OS_gdk_window_set_icon_0=cast=(GdkWindow *)
-OS_gdk_window_set_icon_1=cast=(GdkWindow *)
-OS_gdk_window_set_icon_2=cast=(GdkPixmap *)
-OS_gdk_window_set_icon_3=cast=(GdkBitmap *)
-
-OS_gdk_window_set_icon_list=
-OS_gdk_window_set_icon_list_0=cast=GdkWindow *
-OS_gdk_window_set_icon_list_1=cast=GList *
-
-OS_gdk_window_set_keep_above=flags=dynamic
-OS_gdk_window_set_keep_above_0=cast=(GdkWindow *)
-OS_gdk_window_set_keep_above_1=cast=gboolean
-
-OS_gdk_window_set_override_redirect=
-OS_gdk_window_set_override_redirect_0=cast=(GdkWindow *)
-OS_gdk_window_set_override_redirect_1=cast=(gboolean)
-
-OS_gdk_window_shape_combine_region=
-OS_gdk_window_shape_combine_region_0=cast=GdkWindow *
-OS_gdk_window_shape_combine_region_1=cast=(GdkRegion *)
-OS_gdk_window_shape_combine_region_2=
-OS_gdk_window_shape_combine_region_3=
-
-OS_gdk_window_show=
-OS_gdk_window_show_0=cast=(GdkWindow *)
-
-OS_gdk_window_thaw_updates=
-OS_gdk_window_thaw_updates_0=cast=GdkWindow *
-
-OS_gdk_x11_atom_to_xatom=
-OS_gdk_x11_atom_to_xatom_0=cast=(GdkAtom)
-
-OS_gdk_x11_drawable_get_xdisplay=
-OS_gdk_x11_drawable_get_xdisplay_0=cast=GdkDrawable *
-
-OS_gdk_x11_drawable_get_xid=
-OS_gdk_x11_drawable_get_xid_0=cast=GdkDrawable *
-
-OS_gtk_accel_group_new=
-
-OS_gtk_accel_groups_activate=
-OS_gtk_accel_groups_activate_0=cast=(GObject *)
-OS_gtk_accel_groups_activate_1=cast=(guint)
-OS_gtk_accel_groups_activate_2=cast=(GdkModifierType)
-
-OS_gtk_accel_label_set_accel_widget=
-OS_gtk_accel_label_set_accel_widget_0=cast=(GtkAccelLabel *)
-OS_gtk_accel_label_set_accel_widget_1=cast=(GtkWidget *)
-
-OS_gtk_adjustment_changed=
-OS_gtk_adjustment_changed_0=cast=(GtkAdjustment *)
-
-OS_gtk_adjustment_new=
-OS_gtk_adjustment_new_0=cast=(gdouble)
-OS_gtk_adjustment_new_1=cast=(gdouble)
-OS_gtk_adjustment_new_2=cast=(gdouble)
-OS_gtk_adjustment_new_3=cast=(gdouble)
-OS_gtk_adjustment_new_4=cast=(gdouble)
-OS_gtk_adjustment_new_5=
-
-OS_gtk_adjustment_set_value=
-OS_gtk_adjustment_set_value_0=cast=(GtkAdjustment *)
-OS_gtk_adjustment_set_value_1=cast=(gdouble)
-
-OS_gtk_adjustment_value_changed=
-OS_gtk_adjustment_value_changed_0=cast=(GtkAdjustment *)
-
-OS_gtk_arrow_new=
-OS_gtk_arrow_new_0=cast=(GtkArrowType)
-OS_gtk_arrow_new_1=cast=(GtkArrowType)
-
-OS_gtk_arrow_set=
-OS_gtk_arrow_set_0=cast=(GtkArrow *)
-OS_gtk_arrow_set_1=cast=(GtkArrowType)
-OS_gtk_arrow_set_2=cast=(GtkArrowType)
-
-OS_gtk_bin_get_child=
-OS_gtk_bin_get_child_0=cast=(GtkBin *)
-
-OS_gtk_button_new=
-
-OS_gtk_button_set_relief=
-OS_gtk_button_set_relief_0=cast=(GtkButton *)
-OS_gtk_button_set_relief_1=cast=(GtkReliefStyle)
-
-OS_gtk_cell_renderer_get_size=
-OS_gtk_cell_renderer_get_size_0=cast=(GtkCellRenderer *)
-OS_gtk_cell_renderer_get_size_1=cast=(GtkWidget *)
-OS_gtk_cell_renderer_get_size_2=cast=(GdkRectangle *)
-OS_gtk_cell_renderer_get_size_3=cast=(gint *)
-OS_gtk_cell_renderer_get_size_4=cast=(gint *)
-OS_gtk_cell_renderer_get_size_5=cast=(gint *)
-OS_gtk_cell_renderer_get_size_6=cast=(gint *)
-
-OS_gtk_cell_renderer_pixbuf_new=
-
-OS_gtk_cell_renderer_text_new=
-
-OS_gtk_cell_renderer_toggle_new=
-
-OS_gtk_check_button_new=
-
-OS_gtk_check_menu_item_get_active=
-OS_gtk_check_menu_item_get_active_0=cast=(GtkCheckMenuItem *)
-
-OS_gtk_check_menu_item_new_with_label=
-OS_gtk_check_menu_item_new_with_label_0=cast=(const gchar *)
-
-OS_gtk_check_menu_item_set_active=
-OS_gtk_check_menu_item_set_active_0=cast=(GtkCheckMenuItem *)
-OS_gtk_check_menu_item_set_active_1=cast=(gboolean)
-
-OS_gtk_check_version=
-OS_gtk_check_version_0=
-OS_gtk_check_version_1=
-OS_gtk_check_version_2=
-
-OS_gtk_clipboard_clear=
-OS_gtk_clipboard_clear_0=cast=(GtkClipboard *)
-
-OS_gtk_clipboard_get=
-OS_gtk_clipboard_get_0=cast=(GdkAtom)
-
-OS_gtk_clipboard_set_with_data=
-OS_gtk_clipboard_set_with_data_0=cast=(GtkClipboard *)
-OS_gtk_clipboard_set_with_data_1=cast=(const GtkTargetEntry *)
-OS_gtk_clipboard_set_with_data_2=cast=(guint)
-OS_gtk_clipboard_set_with_data_3=cast=(GtkClipboardGetFunc)
-OS_gtk_clipboard_set_with_data_4=cast=(GtkClipboardClearFunc)
-OS_gtk_clipboard_set_with_data_5=cast=(GObject *)
-
-OS_gtk_clipboard_wait_for_contents=
-OS_gtk_clipboard_wait_for_contents_0=cast=(GtkClipboard *)
-OS_gtk_clipboard_wait_for_contents_1=cast=(GdkAtom)
-
-OS_gtk_color_selection_dialog_new=
-OS_gtk_color_selection_dialog_new_0=cast=(const gchar *)
-
-OS_gtk_color_selection_get_current_color=
-OS_gtk_color_selection_get_current_color_0=cast=(GtkColorSelection *)
-OS_gtk_color_selection_get_current_color_1=cast=(GdkColor *)
-
-OS_gtk_color_selection_set_current_color=
-OS_gtk_color_selection_set_current_color_0=cast=(GtkColorSelection *)
-OS_gtk_color_selection_set_current_color_1=cast=(GdkColor *)
-
-OS_gtk_combo_disable_activate=
-OS_gtk_combo_disable_activate_0=cast=(GtkCombo *)
-
-OS_gtk_combo_new=
-
-OS_gtk_combo_set_case_sensitive=
-OS_gtk_combo_set_case_sensitive_0=cast=(GtkCombo *)
-OS_gtk_combo_set_case_sensitive_1=cast=(gboolean)
-
-OS_gtk_combo_set_popdown_strings=
-OS_gtk_combo_set_popdown_strings_0=cast=(GtkCombo *)
-OS_gtk_combo_set_popdown_strings_1=cast=(GList *)
-
-OS_gtk_container_add=
-OS_gtk_container_add_0=cast=(GtkContainer *)
-OS_gtk_container_add_1=cast=(GtkWidget *)
-
-OS_gtk_container_get_border_width=
-OS_gtk_container_get_border_width_0=cast=(GtkContainer *)
-
-OS_gtk_container_get_children=
-OS_gtk_container_get_children_0=cast=(GtkContainer *)
-
-OS_gtk_container_remove=
-OS_gtk_container_remove_0=cast=(GtkContainer *)
-OS_gtk_container_remove_1=cast=(GtkWidget *)
-
-OS_gtk_container_resize_children=
-OS_gtk_container_resize_children_0=cast=(GtkContainer *)
-
-OS_gtk_container_set_border_width=
-OS_gtk_container_set_border_width_0=cast=(GtkContainer *)
-OS_gtk_container_set_border_width_1=cast=(guint)
-
-OS_gtk_dialog_add_button=
-OS_gtk_dialog_add_button_0=cast=(GtkDialog *)
-OS_gtk_dialog_add_button_1=cast=(const gchar *)
-OS_gtk_dialog_add_button_2=cast=(gint)
-
-OS_gtk_dialog_run=
-OS_gtk_dialog_run_0=cast=(GtkDialog *)
-
-OS_gtk_drag_begin=
-OS_gtk_drag_begin_0=cast=(GtkWidget *)
-OS_gtk_drag_begin_1=cast=(GtkTargetList *)
-OS_gtk_drag_begin_2=cast=(GdkDragAction)
-OS_gtk_drag_begin_3=cast=(gint)
-OS_gtk_drag_begin_4=cast=(GdkEvent *)
-
-OS_gtk_drag_check_threshold=
-OS_gtk_drag_check_threshold_0=cast=(GtkWidget *)
-OS_gtk_drag_check_threshold_1=cast=(gint)
-OS_gtk_drag_check_threshold_2=cast=(gint)
-OS_gtk_drag_check_threshold_3=cast=(gint)
-OS_gtk_drag_check_threshold_4=cast=(gint)
-
-OS_gtk_drag_dest_find_target=
-OS_gtk_drag_dest_find_target_0=cast=(GtkWidget *)
-OS_gtk_drag_dest_find_target_1=cast=(GdkDragContext *)
-OS_gtk_drag_dest_find_target_2=cast=(GtkTargetList *)
-
-OS_gtk_drag_dest_set=
-OS_gtk_drag_dest_set_0=cast=(GtkWidget *)
-OS_gtk_drag_dest_set_1=cast=(GtkDestDefaults)
-OS_gtk_drag_dest_set_2=cast=(const GtkTargetEntry *)
-OS_gtk_drag_dest_set_3=cast=(gint)
-OS_gtk_drag_dest_set_4=cast=(GdkDragAction)
-
-OS_gtk_drag_dest_unset=
-OS_gtk_drag_dest_unset_0=cast=(GtkWidget *)
-
-OS_gtk_drag_finish=
-OS_gtk_drag_finish_0=cast=(GdkDragContext *)
-OS_gtk_drag_finish_1=cast=(gboolean)
-OS_gtk_drag_finish_2=cast=(gboolean)
-OS_gtk_drag_finish_3=cast=(guint32)
-
-OS_gtk_drag_get_data=
-OS_gtk_drag_get_data_0=cast=(GtkWidget *)
-OS_gtk_drag_get_data_1=cast=(GdkDragContext *)
-OS_gtk_drag_get_data_2=cast=(GdkAtom)
-OS_gtk_drag_get_data_3=cast=(guint32)
-
-OS_gtk_drawing_area_new=
-
-OS_gtk_editable_copy_clipboard=
-OS_gtk_editable_copy_clipboard_0=cast=(GtkEditable *)
-
-OS_gtk_editable_cut_clipboard=
-OS_gtk_editable_cut_clipboard_0=cast=(GtkEditable *)
-
-OS_gtk_editable_delete_selection=
-OS_gtk_editable_delete_selection_0=cast=(GtkEditable *)
-
-OS_gtk_editable_delete_text=
-OS_gtk_editable_delete_text_0=cast=(GtkEditable *)
-OS_gtk_editable_delete_text_1=cast=(gint)
-OS_gtk_editable_delete_text_2=cast=(gint)
-
-OS_gtk_editable_get_chars=
-OS_gtk_editable_get_chars_0=cast=(GtkEditable *)
-OS_gtk_editable_get_chars_1=cast=(gint)
-OS_gtk_editable_get_chars_2=cast=(gint)
-
-OS_gtk_editable_get_editable=
-OS_gtk_editable_get_editable_0=cast=(GtkEditable *)
-
-OS_gtk_editable_get_position=
-OS_gtk_editable_get_position_0=cast=(GtkEditable *)
-
-OS_gtk_editable_get_selection_bounds=
-OS_gtk_editable_get_selection_bounds_0=cast=(GtkEditable *)
-OS_gtk_editable_get_selection_bounds_1=cast=(gint *)
-OS_gtk_editable_get_selection_bounds_2=cast=(gint *)
-
-OS_gtk_editable_insert_text=
-OS_gtk_editable_insert_text_0=cast=(GtkEditable *)
-OS_gtk_editable_insert_text_1=cast=(gchar *)
-OS_gtk_editable_insert_text_2=cast=(gint)
-OS_gtk_editable_insert_text_3=cast=(gint *)
-
-OS_gtk_editable_paste_clipboard=
-OS_gtk_editable_paste_clipboard_0=cast=(GtkEditable *)
-
-OS_gtk_editable_select_region=
-OS_gtk_editable_select_region_0=cast=(GtkEditable *)
-OS_gtk_editable_select_region_1=cast=(gint)
-OS_gtk_editable_select_region_2=cast=(gint)
-
-OS_gtk_editable_set_editable=
-OS_gtk_editable_set_editable_0=cast=(GtkEditable *)
-OS_gtk_editable_set_editable_1=cast=(gboolean)
-
-OS_gtk_editable_set_position=
-OS_gtk_editable_set_position_0=cast=(GtkEditable *)
-OS_gtk_editable_set_position_1=cast=(gint)
-
-OS_gtk_entry_get_invisible_char=
-OS_gtk_entry_get_invisible_char_0=cast=(GtkEntry *)
-
-OS_gtk_entry_get_layout=
-OS_gtk_entry_get_layout_0=cast=(GtkEntry *)
-
-OS_gtk_entry_get_max_length=
-OS_gtk_entry_get_max_length_0=cast=(GtkEntry *)
-
-OS_gtk_entry_get_text=
-OS_gtk_entry_get_text_0=cast=(GtkEntry *)
-
-OS_gtk_entry_get_visibility=
-OS_gtk_entry_get_visibility_0=cast=(GtkEntry *)
-
-OS_gtk_entry_new=
-
-OS_gtk_entry_set_activates_default=
-OS_gtk_entry_set_activates_default_0=cast=(GtkEntry *)
-OS_gtk_entry_set_activates_default_1=cast=(gboolean)
-
-OS_gtk_entry_set_has_frame=
-OS_gtk_entry_set_has_frame_0=cast=(GtkEntry *)
-OS_gtk_entry_set_has_frame_1=cast=(gboolean)
-
-OS_gtk_entry_set_invisible_char=
-OS_gtk_entry_set_invisible_char_0=cast=(GtkEntry *)
-OS_gtk_entry_set_invisible_char_1=cast=(gint)
-
-OS_gtk_entry_set_max_length=
-OS_gtk_entry_set_max_length_0=cast=(GtkEntry *)
-OS_gtk_entry_set_max_length_1=cast=(gint)
-
-OS_gtk_entry_set_text=
-OS_gtk_entry_set_text_0=cast=(GtkEntry *)
-OS_gtk_entry_set_text_1=cast=(const gchar *)
-
-OS_gtk_entry_set_visibility=
-OS_gtk_entry_set_visibility_0=cast=(GtkEntry *)
-OS_gtk_entry_set_visibility_1=cast=(gboolean)
-
-OS_gtk_events_pending=
-
-OS_gtk_file_selection_complete=
-OS_gtk_file_selection_complete_0=cast=(GtkFileSelection *)
-OS_gtk_file_selection_complete_1=cast=(const gchar *)
-
-OS_gtk_file_selection_get_filename=
-OS_gtk_file_selection_get_filename_0=cast=(GtkFileSelection *)
-
-OS_gtk_file_selection_get_selections=
-OS_gtk_file_selection_get_selections_0=cast=(GtkFileSelection *)
-
-OS_gtk_file_selection_hide_fileop_buttons=
-OS_gtk_file_selection_hide_fileop_buttons_0=cast=(GtkFileSelection *)
-
-OS_gtk_file_selection_new=
-OS_gtk_file_selection_new_0=cast=(const gchar *)
-
-OS_gtk_file_selection_set_filename=
-OS_gtk_file_selection_set_filename_0=cast=(GtkFileSelection *)
-OS_gtk_file_selection_set_filename_1=cast=(const gchar *)
-
-OS_gtk_file_selection_set_select_multiple=
-OS_gtk_file_selection_set_select_multiple_0=cast=(GtkFileSelection *)
-OS_gtk_file_selection_set_select_multiple_1=cast=(gboolean)
-
-OS_gtk_fixed_move=
-OS_gtk_fixed_move_0=cast=(GtkFixed *)
-OS_gtk_fixed_move_1=cast=(GtkWidget *)
-OS_gtk_fixed_move_2=cast=(gint)
-OS_gtk_fixed_move_3=cast=(gint)
-
-OS_gtk_fixed_new=
-
-OS_gtk_fixed_set_has_window=
-OS_gtk_fixed_set_has_window_0=cast=(GtkFixed *)
-OS_gtk_fixed_set_has_window_1=cast=(gboolean)
-
-OS_gtk_font_selection_dialog_get_font_name=
-OS_gtk_font_selection_dialog_get_font_name_0=cast=(GtkFontSelectionDialog *)
-
-OS_gtk_font_selection_dialog_new=
-OS_gtk_font_selection_dialog_new_0=cast=(const gchar *)
-
-OS_gtk_font_selection_dialog_set_font_name=
-OS_gtk_font_selection_dialog_set_font_name_0=cast=(GtkFontSelectionDialog *)
-OS_gtk_font_selection_dialog_set_font_name_1=cast=(const gchar *)
-
-OS_gtk_frame_get_label_widget=
-OS_gtk_frame_get_label_widget_0=cast=(GtkFrame *)
-
-OS_gtk_frame_new=
-OS_gtk_frame_new_0=cast=(const gchar *)
-
-OS_gtk_frame_set_label=
-OS_gtk_frame_set_label_0=cast=(GtkFrame *)
-OS_gtk_frame_set_label_1=cast=(const gchar *)
-
-OS_gtk_frame_set_label_widget=
-OS_gtk_frame_set_label_widget_0=cast=(GtkFrame *)
-OS_gtk_frame_set_label_widget_1=cast=(GtkWidget *)
-
-OS_gtk_frame_set_shadow_type=
-OS_gtk_frame_set_shadow_type_0=cast=(GtkFrame *)
-OS_gtk_frame_set_shadow_type_1=cast=(GtkShadowType)
-
-OS_gtk_get_current_event=
-
-OS_gtk_get_current_event_state=
-OS_gtk_get_current_event_state_0=cast=GdkModifierType*
-
-OS_gtk_get_current_event_time=
-
-OS_gtk_get_default_language=
-
-OS_gtk_grab_get_current=
-
-OS_gtk_grab_remove=
-OS_gtk_grab_remove_0=cast=(GtkWidget *)
-
-OS_gtk_hbox_new=
-OS_gtk_hbox_new_0=cast=(gboolean)
-OS_gtk_hbox_new_1=cast=(gint)
-
-OS_gtk_hscale_new=
-OS_gtk_hscale_new_0=cast=(GtkAdjustment *)
-
-OS_gtk_hscrollbar_new=
-OS_gtk_hscrollbar_new_0=cast=(GtkAdjustment *)
-
-OS_gtk_hseparator_new=
-
-OS_gtk_im_context_filter_keypress=
-OS_gtk_im_context_filter_keypress_0=cast=(GtkIMContext *)
-OS_gtk_im_context_filter_keypress_1=cast=(GdkEventKey *)
-
-OS_gtk_im_context_focus_in=
-OS_gtk_im_context_focus_in_0=cast=(GtkIMContext *)
-
-OS_gtk_im_context_focus_out=
-OS_gtk_im_context_focus_out_0=cast=(GtkIMContext *)
-
-OS_gtk_im_context_get_preedit_string=
-OS_gtk_im_context_get_preedit_string_0=cast=(GtkIMContext *)
-OS_gtk_im_context_get_preedit_string_1=cast=(gchar **)
-OS_gtk_im_context_get_preedit_string_2=cast=(PangoAttrList **)
-OS_gtk_im_context_get_preedit_string_3=cast=(gint *)
-
-OS_gtk_im_context_get_type=
-
-OS_gtk_im_context_reset=
-OS_gtk_im_context_reset_0=cast=(GtkIMContext *)
-
-OS_gtk_im_context_set_client_window=
-OS_gtk_im_context_set_client_window_0=cast=(GtkIMContext *)
-OS_gtk_im_context_set_client_window_1=cast=(GdkWindow *)
-
-OS_gtk_im_context_set_cursor_location=
-OS_gtk_im_context_set_cursor_location_0=cast=(GtkIMContext *)
-OS_gtk_im_context_set_cursor_location_1=cast=(GdkRectangle *)
-
-OS_gtk_im_multicontext_append_menuitems=
-OS_gtk_im_multicontext_append_menuitems_0=cast=(GtkIMMulticontext *)
-OS_gtk_im_multicontext_append_menuitems_1=cast=(GtkMenuShell *)
-
-OS_gtk_im_multicontext_new=
-
-OS_gtk_image_menu_item_new_with_label=
-OS_gtk_image_menu_item_new_with_label_0=
-
-OS_gtk_image_menu_item_set_image=
-OS_gtk_image_menu_item_set_image_0=cast=(GtkImageMenuItem *)
-OS_gtk_image_menu_item_set_image_1=cast=(GtkWidget *)
-
-OS_gtk_image_new=
-
-OS_gtk_image_new_from_pixmap=
-OS_gtk_image_new_from_pixmap_0=cast=(GdkPixmap *)
-OS_gtk_image_new_from_pixmap_1=cast=(GdkBitmap *)
-
-OS_gtk_image_set_from_pixmap=
-OS_gtk_image_set_from_pixmap_0=cast=(GtkImage *)
-OS_gtk_image_set_from_pixmap_1=cast=(GdkBitmap *)
-OS_gtk_image_set_from_pixmap_2=cast=(GdkBitmap *)
-
-OS_gtk_init_check=
-OS_gtk_init_check_0=cast=(int *)
-OS_gtk_init_check_1=cast=(char ***)
-
-OS_gtk_label_get_mnemonic_keyval=
-OS_gtk_label_get_mnemonic_keyval_0=cast=GtkLabel *
-
-OS_gtk_label_new=
-OS_gtk_label_new_0=cast=(const gchar *)
-
-OS_gtk_label_new_with_mnemonic=
-OS_gtk_label_new_with_mnemonic_0=cast=(const gchar *)
-
-OS_gtk_label_set_attributes=
-OS_gtk_label_set_attributes_0=cast=(GtkLabel *)
-OS_gtk_label_set_attributes_1=cast=(PangoAttrList *)
-
-OS_gtk_label_set_justify=
-OS_gtk_label_set_justify_0=cast=(GtkLabel *)
-OS_gtk_label_set_justify_1=cast=(GtkJustification)
-
-OS_gtk_label_set_line_wrap=
-OS_gtk_label_set_line_wrap_0=cast=(GtkLabel *)
-OS_gtk_label_set_line_wrap_1=cast=(gboolean)
-
-OS_gtk_label_set_text=
-OS_gtk_label_set_text_0=cast=(GtkLabel *)
-OS_gtk_label_set_text_1=cast=(const gchar *)
-
-OS_gtk_label_set_text_with_mnemonic=
-OS_gtk_label_set_text_with_mnemonic_0=cast=(GtkLabel *)
-OS_gtk_label_set_text_with_mnemonic_1=cast=(const gchar *)
-
-OS_gtk_list_store_append=
-OS_gtk_list_store_append_0=cast=(GtkListStore *)
-OS_gtk_list_store_append_1=cast=(GtkTreeIter *)
-
-OS_gtk_list_store_clear=
-OS_gtk_list_store_clear_0=cast=(GtkListStore *)
-
-OS_gtk_list_store_insert=
-OS_gtk_list_store_insert_0=cast=(GtkListStore *)
-OS_gtk_list_store_insert_1=cast=(GtkTreeIter *)
-OS_gtk_list_store_insert_2=cast=(gint)
-
-OS_gtk_list_store_newv=
-OS_gtk_list_store_newv_0=cast=(gint)
-OS_gtk_list_store_newv_1=cast=(GType *)
-
-OS_gtk_list_store_remove=
-OS_gtk_list_store_remove_0=cast=(GtkListStore *)
-OS_gtk_list_store_remove_1=cast=(GtkTreeIter *)
-
-OS_gtk_1list_1store_1set__IIIII=
-OS_gtk_1list_1store_1set__IIIII_0=cast=(GtkListStore *)
-OS_gtk_1list_1store_1set__IIIII_1=cast=(GtkTreeIter *)
-OS_gtk_1list_1store_1set__IIIII_2=
-OS_gtk_1list_1store_1set__IIIII_3=
-OS_gtk_1list_1store_1set__IIIII_4=
-
-OS_gtk_1list_1store_1set__IIIJI=
-OS_gtk_1list_1store_1set__IIIJI_0=cast=(GtkListStore *)
-OS_gtk_1list_1store_1set__IIIJI_1=cast=(GtkTreeIter *)
-OS_gtk_1list_1store_1set__IIIJI_2=
-OS_gtk_1list_1store_1set__IIIJI_3=
-OS_gtk_1list_1store_1set__IIIJI_4=
-
-OS_gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I=
-OS_gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_0=cast=(GtkListStore *)
-OS_gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_1=cast=(GtkTreeIter *)
-OS_gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_2=
-OS_gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_3=
-OS_gtk_1list_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_4=
-
-OS_gtk_1list_1store_1set__IIIZI=
-OS_gtk_1list_1store_1set__IIIZI_0=cast=(GtkListStore *)
-OS_gtk_1list_1store_1set__IIIZI_1=cast=(GtkTreeIter *)
-OS_gtk_1list_1store_1set__IIIZI_2=
-OS_gtk_1list_1store_1set__IIIZI_3=
-OS_gtk_1list_1store_1set__IIIZI_4=
-
-OS_gtk_1list_1store_1set__III_3BI=
-OS_gtk_1list_1store_1set__III_3BI_0=cast=(GtkListStore *)
-OS_gtk_1list_1store_1set__III_3BI_1=cast=(GtkTreeIter *)
-OS_gtk_1list_1store_1set__III_3BI_2=
-OS_gtk_1list_1store_1set__III_3BI_3=
-OS_gtk_1list_1store_1set__III_3BI_4=
-
-OS_gtk_main=
-
-OS_gtk_main_do_event=
-OS_gtk_main_do_event_0=cast=(GdkEvent *)
-
-OS_gtk_main_iteration=
-
-OS_gtk_major_version=flags=const
-
-OS_gtk_menu_bar_new=
-
-OS_gtk_menu_item_remove_submenu=
-OS_gtk_menu_item_remove_submenu_0=cast=(GtkMenuItem *)
-
-OS_gtk_menu_item_set_submenu=
-OS_gtk_menu_item_set_submenu_0=cast=(GtkMenuItem *)
-OS_gtk_menu_item_set_submenu_1=cast=(GtkWidget *)
-
-OS_gtk_menu_new=
-
-OS_gtk_menu_popdown=
-OS_gtk_menu_popdown_0=cast=(GtkMenu *)
-
-OS_gtk_menu_popup=
-OS_gtk_menu_popup_0=cast=(GtkMenu *)
-OS_gtk_menu_popup_1=cast=(GtkWidget *)
-OS_gtk_menu_popup_2=cast=(GtkWidget *)
-OS_gtk_menu_popup_3=cast=(GtkMenuPositionFunc)
-OS_gtk_menu_popup_4=cast=(gpointer)
-OS_gtk_menu_popup_5=cast=(guint)
-OS_gtk_menu_popup_6=cast=(guint32)
-
-OS_gtk_menu_shell_deactivate=
-OS_gtk_menu_shell_deactivate_0=cast=(GtkMenuShell *)
-
-OS_gtk_menu_shell_insert=
-OS_gtk_menu_shell_insert_0=cast=(GtkMenuShell *)
-OS_gtk_menu_shell_insert_1=cast=(GtkWidget *)
-OS_gtk_menu_shell_insert_2=cast=(gint)
-
-OS_gtk_menu_shell_select_item=
-OS_gtk_menu_shell_select_item_0=cast=(GtkMenuShell *)
-OS_gtk_menu_shell_select_item_1=cast=(GtkWidget *)
-
-OS_gtk_message_dialog_new=
-OS_gtk_message_dialog_new_0=cast=(GtkWindow *)
-OS_gtk_message_dialog_new_1=cast=(GtkDialogFlags)
-OS_gtk_message_dialog_new_2=cast=(GtkMessageType)
-OS_gtk_message_dialog_new_3=cast=(GtkButtonsType)
-OS_gtk_message_dialog_new_4=cast=(const gchar *)
-
-OS_gtk_micro_version=flags=const
-
-OS_gtk_minor_version=flags=const
-
-OS_gtk_misc_set_alignment=
-OS_gtk_misc_set_alignment_0=cast=(GtkMisc *)
-OS_gtk_misc_set_alignment_1=cast=(gfloat)
-OS_gtk_misc_set_alignment_2=cast=(gfloat)
-
-OS_gtk_notebook_get_current_page=
-OS_gtk_notebook_get_current_page_0=cast=(GtkNotebook *)
-
-OS_gtk_notebook_get_scrollable=
-OS_gtk_notebook_get_scrollable_0=cast=(GtkNotebook *)
-
-OS_gtk_notebook_insert_page=
-OS_gtk_notebook_insert_page_0=cast=(GtkNotebook *)
-OS_gtk_notebook_insert_page_1=cast=(GtkWidget *)
-OS_gtk_notebook_insert_page_2=cast=(GtkWidget *)
-OS_gtk_notebook_insert_page_3=cast=(gint)
-
-OS_gtk_notebook_new=
-
-OS_gtk_notebook_remove_page=
-OS_gtk_notebook_remove_page_0=cast=(GtkNotebook *)
-OS_gtk_notebook_remove_page_1=cast=(gint)
-
-OS_gtk_notebook_set_current_page=
-OS_gtk_notebook_set_current_page_0=cast=(GtkNotebook *)
-OS_gtk_notebook_set_current_page_1=cast=(gint)
-
-OS_gtk_notebook_set_scrollable=
-OS_gtk_notebook_set_scrollable_0=cast=(GtkNotebook *)
-OS_gtk_notebook_set_scrollable_1=cast=(gboolean)
-
-OS_gtk_notebook_set_show_tabs=
-OS_gtk_notebook_set_show_tabs_0=cast=(GtkNotebook *)
-OS_gtk_notebook_set_show_tabs_1=cast=(gboolean)
-
-OS_gtk_notebook_set_tab_pos=
-OS_gtk_notebook_set_tab_pos_0=cast=(GtkNotebook *)
-OS_gtk_notebook_set_tab_pos_1=cast=(GtkPositionType)
-
-OS_gtk_object_sink=
-OS_gtk_object_sink_0=cast=(GtkObject *)
-
-OS_gtk_plug_get_id=
-OS_gtk_plug_get_id_0=cast=(GtkPlug *)
-
-OS_gtk_plug_new=
-OS_gtk_plug_new_0=
-
-OS_gtk_progress_bar_new=
-
-OS_gtk_progress_bar_pulse=
-OS_gtk_progress_bar_pulse_0=cast=(GtkProgressBar *)
-
-OS_gtk_progress_bar_set_bar_style=
-OS_gtk_progress_bar_set_bar_style_0=cast=(GtkProgressBar *)
-OS_gtk_progress_bar_set_bar_style_1=cast=(GtkProgressBarStyle)
-
-OS_gtk_progress_bar_set_fraction=
-OS_gtk_progress_bar_set_fraction_0=cast=(GtkProgressBar *)
-OS_gtk_progress_bar_set_fraction_1=cast=(gdouble)
-
-OS_gtk_progress_bar_set_orientation=
-OS_gtk_progress_bar_set_orientation_0=cast=(GtkProgressBar *)
-OS_gtk_progress_bar_set_orientation_1=cast=(GtkProgressBarOrientation)
-
-OS_gtk_radio_button_get_group=
-OS_gtk_radio_button_get_group_0=cast=(GtkRadioButton *)
-
-OS_gtk_radio_button_new=
-OS_gtk_radio_button_new_0=cast=(GSList *)
-
-OS_gtk_radio_menu_item_new_with_label=
-OS_gtk_radio_menu_item_new_with_label_0=cast=(GSList *)
-OS_gtk_radio_menu_item_new_with_label_1=cast=(const gchar *)
-
-OS_gtk_range_get_adjustment=
-OS_gtk_range_get_adjustment_0=cast=(GtkRange *)
-
-OS_gtk_range_set_increments=
-OS_gtk_range_set_increments_0=cast=(GtkRange *)
-OS_gtk_range_set_increments_1=
-OS_gtk_range_set_increments_2=
-
-OS_gtk_range_set_range=
-OS_gtk_range_set_range_0=cast=(GtkRange *)
-OS_gtk_range_set_range_1=
-OS_gtk_range_set_range_2=
-
-OS_gtk_range_set_value=
-OS_gtk_range_set_value_0=cast=(GtkRange *)
-OS_gtk_range_set_value_1=
-
-OS_gtk_rc_parse_string=
-OS_gtk_rc_parse_string_0=
-
-OS_gtk_rc_style_get_bg_pixmap_name=
-OS_gtk_rc_style_get_bg_pixmap_name_0=cast=(GtkRcStyle *)
-OS_gtk_rc_style_get_bg_pixmap_name_1=
-
-OS_gtk_rc_style_get_color_flags=
-OS_gtk_rc_style_get_color_flags_0=cast=(GtkRcStyle *)
-OS_gtk_rc_style_get_color_flags_1=
-
-OS_gtk_rc_style_set_bg=
-OS_gtk_rc_style_set_bg_0=cast=(GtkRcStyle *)
-OS_gtk_rc_style_set_bg_1=
-OS_gtk_rc_style_set_bg_2=flags=no_out
-
-OS_gtk_rc_style_set_bg_pixmap_name=
-OS_gtk_rc_style_set_bg_pixmap_name_0=cast=(GtkRcStyle *)
-OS_gtk_rc_style_set_bg_pixmap_name_1=
-OS_gtk_rc_style_set_bg_pixmap_name_2=cast=(char *)
-
-OS_gtk_rc_style_set_color_flags=
-OS_gtk_rc_style_set_color_flags_0=cast=(GtkRcStyle *)
-OS_gtk_rc_style_set_color_flags_1=
-OS_gtk_rc_style_set_color_flags_2=
-
-OS_gtk_scale_set_digits=
-OS_gtk_scale_set_digits_0=cast=(GtkScale *)
-OS_gtk_scale_set_digits_1=cast=(gint)
-
-OS_gtk_scale_set_draw_value=
-OS_gtk_scale_set_draw_value_0=cast=(GtkScale *)
-OS_gtk_scale_set_draw_value_1=cast=(gboolean)
-
-OS_gtk_scrolled_window_get_hadjustment=
-OS_gtk_scrolled_window_get_hadjustment_0=cast=(GtkScrolledWindow *)
-
-OS_gtk_scrolled_window_get_policy=
-OS_gtk_scrolled_window_get_policy_0=cast=(GtkScrolledWindow *)
-OS_gtk_scrolled_window_get_policy_1=cast=(GtkPolicyType *)
-OS_gtk_scrolled_window_get_policy_2=cast=(GtkPolicyType *)
-
-OS_gtk_scrolled_window_get_shadow_type=
-OS_gtk_scrolled_window_get_shadow_type_0=cast=(GtkScrolledWindow *)
-
-OS_gtk_scrolled_window_get_vadjustment=
-OS_gtk_scrolled_window_get_vadjustment_0=cast=(GtkScrolledWindow *)
-
-OS_gtk_scrolled_window_new=
-OS_gtk_scrolled_window_new_0=cast=(GtkAdjustment *)
-OS_gtk_scrolled_window_new_1=cast=(GtkAdjustment *)
-
-OS_gtk_scrolled_window_set_placement=
-OS_gtk_scrolled_window_set_placement_0=cast=(GtkScrolledWindow *)
-OS_gtk_scrolled_window_set_placement_1=cast=(GtkCornerType)
-
-OS_gtk_scrolled_window_set_policy=
-OS_gtk_scrolled_window_set_policy_0=cast=(GtkScrolledWindow *)
-OS_gtk_scrolled_window_set_policy_1=cast=(GtkPolicyType)
-OS_gtk_scrolled_window_set_policy_2=cast=(GtkPolicyType)
-
-OS_gtk_scrolled_window_set_shadow_type=
-OS_gtk_scrolled_window_set_shadow_type_0=cast=(GtkScrolledWindow *)
-OS_gtk_scrolled_window_set_shadow_type_1=cast=(GtkShadowType)
-
-OS_gtk_selection_data_free=
-OS_gtk_selection_data_free_0=cast=(GtkSelectionData *)
-
-OS_gtk_selection_data_set=
-OS_gtk_selection_data_set_0=cast=(GtkSelectionData *)
-OS_gtk_selection_data_set_1=cast=(GdkAtom)
-OS_gtk_selection_data_set_2=cast=(gint)
-OS_gtk_selection_data_set_3=cast=(const guchar *)
-OS_gtk_selection_data_set_4=cast=(gint)
-
-OS_gtk_separator_menu_item_new=
-
-OS_gtk_set_locale=
-
-OS_gtk_socket_get_id=
-OS_gtk_socket_get_id_0=cast=GtkSocket *
-
-OS_gtk_socket_new=
-
-OS_gtk_style_get_base=
-OS_gtk_style_get_base_0=cast=(GtkStyle *)
-OS_gtk_style_get_base_1=
-OS_gtk_style_get_base_2=flags=no_in
-
-OS_gtk_style_get_bg=
-OS_gtk_style_get_bg_0=cast=(GtkStyle *)
-OS_gtk_style_get_bg_1=
-OS_gtk_style_get_bg_2=flags=no_in
-
-OS_gtk_style_get_black=
-OS_gtk_style_get_black_0=cast=(GtkStyle *)
-OS_gtk_style_get_black_1=flags=no_in
-
-OS_gtk_style_get_dark=
-OS_gtk_style_get_dark_0=cast=(GtkStyle *)
-OS_gtk_style_get_dark_1=
-OS_gtk_style_get_dark_2=flags=no_in
-
-OS_gtk_style_get_fg=
-OS_gtk_style_get_fg_0=cast=(GtkStyle *)
-OS_gtk_style_get_fg_1=
-OS_gtk_style_get_fg_2=flags=no_in
-
-OS_gtk_style_get_font_desc=
-OS_gtk_style_get_font_desc_0=cast=(GtkStyle *)
-
-OS_gtk_style_get_light=
-OS_gtk_style_get_light_0=cast=(GtkStyle *)
-OS_gtk_style_get_light_1=
-OS_gtk_style_get_light_2=flags=no_in
-
-OS_gtk_style_get_text=
-OS_gtk_style_get_text_0=cast=(GtkStyle *)
-OS_gtk_style_get_text_1=
-OS_gtk_style_get_text_2=flags=no_in
-
-OS_gtk_style_get_xthickness=
-OS_gtk_style_get_xthickness_0=cast=(GtkStyle *)
-
-OS_gtk_style_get_ythickness=
-OS_gtk_style_get_ythickness_0=cast=(GtkStyle *)
-
-OS_gtk_target_list_new=
-OS_gtk_target_list_new_0=cast=(const GtkTargetEntry *)
-OS_gtk_target_list_new_1=cast=(guint)
-
-OS_gtk_target_list_unref=
-OS_gtk_target_list_unref_0=cast=(GtkTargetList *)
-
-OS_gtk_text_buffer_copy_clipboard=
-OS_gtk_text_buffer_copy_clipboard_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_copy_clipboard_1=cast=(GtkClipboard *)
-
-OS_gtk_text_buffer_cut_clipboard=
-OS_gtk_text_buffer_cut_clipboard_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_cut_clipboard_1=cast=(GtkClipboard *)
-OS_gtk_text_buffer_cut_clipboard_2=cast=(gboolean)
-
-OS_gtk_text_buffer_delete=
-OS_gtk_text_buffer_delete_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_delete_1=cast=(GtkTextIter *)
-OS_gtk_text_buffer_delete_2=cast=(GtkTextIter *)
-
-OS_gtk_text_buffer_get_bounds=
-OS_gtk_text_buffer_get_bounds_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_get_bounds_1=cast=(GtkTextIter *)
-OS_gtk_text_buffer_get_bounds_2=cast=(GtkTextIter *)
-
-OS_gtk_text_buffer_get_char_count=
-OS_gtk_text_buffer_get_char_count_0=cast=(GtkTextBuffer *)
-
-OS_gtk_text_buffer_get_end_iter=
-OS_gtk_text_buffer_get_end_iter_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_get_end_iter_1=cast=(GtkTextIter *)
-
-OS_gtk_text_buffer_get_insert=
-OS_gtk_text_buffer_get_insert_0=cast=(GtkTextBuffer *)
-
-OS_gtk_text_buffer_get_iter_at_line=
-OS_gtk_text_buffer_get_iter_at_line_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_get_iter_at_line_1=cast=(GtkTextIter *)
-OS_gtk_text_buffer_get_iter_at_line_2=cast=(gint)
-
-OS_gtk_text_buffer_get_iter_at_mark=
-OS_gtk_text_buffer_get_iter_at_mark_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_get_iter_at_mark_1=cast=(GtkTextIter *)
-OS_gtk_text_buffer_get_iter_at_mark_2=cast=(GtkTextMark *)
-
-OS_gtk_text_buffer_get_iter_at_offset=
-OS_gtk_text_buffer_get_iter_at_offset_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_get_iter_at_offset_1=cast=(GtkTextIter *)
-OS_gtk_text_buffer_get_iter_at_offset_2=cast=(gint)
-
-OS_gtk_text_buffer_get_line_count=
-OS_gtk_text_buffer_get_line_count_0=cast=(GtkTextBuffer *)
-
-OS_gtk_text_buffer_get_selection_bound=
-OS_gtk_text_buffer_get_selection_bound_0=cast=(GtkTextBuffer *)
-
-OS_gtk_text_buffer_get_selection_bounds=
-OS_gtk_text_buffer_get_selection_bounds_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_get_selection_bounds_1=cast=(GtkTextIter *)
-OS_gtk_text_buffer_get_selection_bounds_2=cast=(GtkTextIter *)
-
-OS_gtk_text_buffer_get_text=
-OS_gtk_text_buffer_get_text_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_get_text_1=cast=(GtkTextIter *)
-OS_gtk_text_buffer_get_text_2=cast=(GtkTextIter *)
-OS_gtk_text_buffer_get_text_3=cast=(gboolean)
-
-OS_gtk_1text_1buffer_1insert__II_3BI=
-OS_gtk_1text_1buffer_1insert__II_3BI_0=cast=(GtkTextBuffer *)
-OS_gtk_1text_1buffer_1insert__II_3BI_1=cast=(GtkTextIter *)
-OS_gtk_1text_1buffer_1insert__II_3BI_2=cast=(const gchar *)
-OS_gtk_1text_1buffer_1insert__II_3BI_3=cast=(gint)
-
-OS_gtk_1text_1buffer_1insert__I_3B_3BI=
-OS_gtk_1text_1buffer_1insert__I_3B_3BI_0=cast=(GtkTextBuffer *)
-OS_gtk_1text_1buffer_1insert__I_3B_3BI_1=cast=(GtkTextIter *)
-OS_gtk_1text_1buffer_1insert__I_3B_3BI_2=cast=(const gchar *)
-OS_gtk_1text_1buffer_1insert__I_3B_3BI_3=cast=(gint)
-
-OS_gtk_text_buffer_move_mark=
-OS_gtk_text_buffer_move_mark_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_move_mark_1=cast=(GtkTextMark *)
-OS_gtk_text_buffer_move_mark_2=cast=(const GtkTextIter *)
-
-OS_gtk_text_buffer_paste_clipboard=
-OS_gtk_text_buffer_paste_clipboard_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_paste_clipboard_1=cast=(GtkClipboard *)
-OS_gtk_text_buffer_paste_clipboard_2=cast=(GtkTextIter *)
-OS_gtk_text_buffer_paste_clipboard_3=cast=(gboolean)
-
-OS_gtk_text_buffer_place_cursor=
-OS_gtk_text_buffer_place_cursor_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_place_cursor_1=cast=(const GtkTextIter *)
-
-OS_gtk_text_buffer_set_text=
-OS_gtk_text_buffer_set_text_0=cast=(GtkTextBuffer *)
-OS_gtk_text_buffer_set_text_1=cast=(const gchar *)
-OS_gtk_text_buffer_set_text_2=cast=(gint)
-
-OS_gtk_text_iter_get_line=
-OS_gtk_text_iter_get_line_0=cast=(const GtkTextIter *)
-
-OS_gtk_text_iter_get_offset=
-OS_gtk_text_iter_get_offset_0=cast=(const GtkTextIter *)
-
-OS_gtk_text_view_buffer_to_window_coords=
-OS_gtk_text_view_buffer_to_window_coords_0=cast=(GtkTextView *)
-OS_gtk_text_view_buffer_to_window_coords_1=cast=(GtkTextWindowType)
-OS_gtk_text_view_buffer_to_window_coords_2=cast=(gint)
-OS_gtk_text_view_buffer_to_window_coords_3=cast=(gint)
-OS_gtk_text_view_buffer_to_window_coords_4=cast=(gint *)
-OS_gtk_text_view_buffer_to_window_coords_5=cast=(gint *)
-
-OS_gtk_text_view_get_buffer=
-OS_gtk_text_view_get_buffer_0=cast=(GtkTextView *)
-
-OS_gtk_text_view_get_editable=
-OS_gtk_text_view_get_editable_0=cast=(GtkTextView *)
-
-OS_gtk_text_view_get_iter_location=
-OS_gtk_text_view_get_iter_location_0=cast=(GtkTextView *)
-OS_gtk_text_view_get_iter_location_1=cast=(const GtkTextIter *)
-OS_gtk_text_view_get_iter_location_2=cast=(GdkRectangle *)
-
-OS_gtk_text_view_get_line_at_y=
-OS_gtk_text_view_get_line_at_y_0=cast=(GtkTextView *)
-OS_gtk_text_view_get_line_at_y_1=cast=(GtkTextIter *)
-OS_gtk_text_view_get_line_at_y_2=cast=(gint)
-OS_gtk_text_view_get_line_at_y_3=cast=(gint *)
-
-OS_gtk_text_view_get_visible_rect=
-OS_gtk_text_view_get_visible_rect_0=cast=(GtkTextView *)
-OS_gtk_text_view_get_visible_rect_1=cast=(GdkRectangle *)
-
-OS_gtk_text_view_get_window=
-OS_gtk_text_view_get_window_0=cast=(GtkTextView *)
-OS_gtk_text_view_get_window_1=cast=(GtkTextWindowType)
-
-OS_gtk_text_view_new=
-
-OS_gtk_text_view_scroll_mark_onscreen=
-OS_gtk_text_view_scroll_mark_onscreen_0=cast=(GtkTextView *)
-OS_gtk_text_view_scroll_mark_onscreen_1=cast=(GtkTextMark *)
-
-OS_gtk_text_view_scroll_to_iter=
-OS_gtk_text_view_scroll_to_iter_0=cast=(GtkTextView *)
-OS_gtk_text_view_scroll_to_iter_1=cast=(GtkTextIter *)
-OS_gtk_text_view_scroll_to_iter_2=cast=(gdouble)
-OS_gtk_text_view_scroll_to_iter_3=cast=(gboolean)
-OS_gtk_text_view_scroll_to_iter_4=cast=(gdouble)
-OS_gtk_text_view_scroll_to_iter_5=cast=(gdouble)
-
-OS_gtk_text_view_set_editable=
-OS_gtk_text_view_set_editable_0=cast=(GtkTextView *)
-OS_gtk_text_view_set_editable_1=cast=(gboolean)
-
-OS_gtk_text_view_set_justification=
-OS_gtk_text_view_set_justification_0=cast=(GtkTextView *)
-OS_gtk_text_view_set_justification_1=
-
-OS_gtk_text_view_set_tabs=
-OS_gtk_text_view_set_tabs_0=cast=(GtkTextView *)
-OS_gtk_text_view_set_tabs_1=cast=(PangoTabArray *)
-
-OS_gtk_text_view_set_wrap_mode=
-OS_gtk_text_view_set_wrap_mode_0=cast=(GtkTextView *)
-OS_gtk_text_view_set_wrap_mode_1=
-
-OS_gtk_timeout_add=
-OS_gtk_timeout_add_0=cast=(guint32)
-OS_gtk_timeout_add_1=cast=(GtkFunction)
-OS_gtk_timeout_add_2=cast=(gpointer)
-
-OS_gtk_timeout_remove=
-OS_gtk_timeout_remove_0=cast=(guint)
-
-OS_gtk_toggle_button_get_active=
-OS_gtk_toggle_button_get_active_0=cast=(GtkToggleButton *)
-
-OS_gtk_toggle_button_new=
-
-OS_gtk_toggle_button_set_active=
-OS_gtk_toggle_button_set_active_0=cast=(GtkToggleButton *)
-OS_gtk_toggle_button_set_active_1=cast=(gboolean)
-
-OS_gtk_toggle_button_set_mode=
-OS_gtk_toggle_button_set_mode_0=cast=(GtkToggleButton *)
-OS_gtk_toggle_button_set_mode_1=cast=(gboolean)
-
-OS_gtk_toolbar_insert_widget=
-OS_gtk_toolbar_insert_widget_0=cast=(GtkToolbar *)
-OS_gtk_toolbar_insert_widget_1=cast=(GtkWidget *)
-OS_gtk_toolbar_insert_widget_2=cast=(const char *)
-OS_gtk_toolbar_insert_widget_3=cast=(const char *)
-OS_gtk_toolbar_insert_widget_4=cast=(gint)
-
-OS_gtk_toolbar_new=
-
-OS_gtk_toolbar_set_orientation=
-OS_gtk_toolbar_set_orientation_0=cast=(GtkToolbar *)
-OS_gtk_toolbar_set_orientation_1=cast=(GtkOrientation)
-
-OS_gtk_tooltips_disable=
-OS_gtk_tooltips_disable_0=cast=(GtkTooltips *)
-
-OS_gtk_tooltips_enable=
-OS_gtk_tooltips_enable_0=cast=(GtkTooltips *)
-
-OS_gtk_tooltips_new=
-
-OS_gtk_tooltips_set_tip=
-OS_gtk_tooltips_set_tip_0=cast=(GtkTooltips *)
-OS_gtk_tooltips_set_tip_1=cast=(GtkWidget *)
-OS_gtk_tooltips_set_tip_2=cast=(const gchar *)
-OS_gtk_tooltips_set_tip_3=cast=(const gchar *)
-
-OS_gtk_1tree_1model_1get__III_3II=
-OS_gtk_1tree_1model_1get__III_3II_0=cast=(GtkTreeModel *)
-OS_gtk_1tree_1model_1get__III_3II_1=cast=(GtkTreeIter *)
-OS_gtk_1tree_1model_1get__III_3II_2=
-OS_gtk_1tree_1model_1get__III_3II_3=
-OS_gtk_1tree_1model_1get__III_3II_4=
-
-OS_gtk_1tree_1model_1get__III_3JI=
-OS_gtk_1tree_1model_1get__III_3JI_0=cast=(GtkTreeModel *)
-OS_gtk_1tree_1model_1get__III_3JI_1=cast=(GtkTreeIter *)
-OS_gtk_1tree_1model_1get__III_3JI_2=
-OS_gtk_1tree_1model_1get__III_3JI_3=
-OS_gtk_1tree_1model_1get__III_3JI_4=
-
-OS_gtk_tree_model_get_iter=
-OS_gtk_tree_model_get_iter_0=cast=(GtkTreeModel *)
-OS_gtk_tree_model_get_iter_1=cast=(GtkTreeIter *)
-OS_gtk_tree_model_get_iter_2=cast=(GtkTreePath *)
-
-OS_gtk_tree_model_get_iter_first=
-OS_gtk_tree_model_get_iter_first_0=cast=(GtkTreeModel *)
-OS_gtk_tree_model_get_iter_first_1=cast=(GtkTreeIter *)
-
-OS_gtk_tree_model_get_n_columns=
-OS_gtk_tree_model_get_n_columns_0=cast=(GtkTreeModel *)
-
-OS_gtk_tree_model_get_path=
-OS_gtk_tree_model_get_path_0=cast=(GtkTreeModel *)
-OS_gtk_tree_model_get_path_1=cast=(GtkTreeIter *)
-
-OS_gtk_tree_model_get_type=
-
-OS_gtk_tree_model_iter_children=
-OS_gtk_tree_model_iter_children_0=cast=(GtkTreeModel *)
-OS_gtk_tree_model_iter_children_1=cast=(GtkTreeIter *)
-OS_gtk_tree_model_iter_children_2=cast=(GtkTreeIter *)
-
-OS_gtk_tree_model_iter_n_children=
-OS_gtk_tree_model_iter_n_children_0=cast=(GtkTreeModel *)
-OS_gtk_tree_model_iter_n_children_1=cast=(GtkTreeIter *)
-
-OS_gtk_tree_model_iter_next=
-OS_gtk_tree_model_iter_next_0=cast=(GtkTreeModel *)
-OS_gtk_tree_model_iter_next_1=cast=(GtkTreeIter *)
-
-OS_gtk_tree_model_iter_nth_child=
-OS_gtk_tree_model_iter_nth_child_0=cast=(GtkTreeModel *)
-OS_gtk_tree_model_iter_nth_child_1=cast=(GtkTreeIter *)
-OS_gtk_tree_model_iter_nth_child_2=cast=(GtkTreeIter *)
-OS_gtk_tree_model_iter_nth_child_3=
-
-OS_gtk_tree_path_append_index=
-OS_gtk_tree_path_append_index_0=cast=(GtkTreePath *)
-OS_gtk_tree_path_append_index_1=
-
-OS_gtk_tree_path_free=
-OS_gtk_tree_path_free_0=cast=(GtkTreePath *)
-
-OS_gtk_tree_path_get_depth=
-OS_gtk_tree_path_get_depth_0=cast=(GtkTreePath *)
-
-OS_gtk_tree_path_get_indices=
-OS_gtk_tree_path_get_indices_0=cast=(GtkTreePath *)
-
-OS_gtk_tree_path_new=
-
-OS_gtk_tree_path_new_first=
-
-OS_gtk_1tree_1path_1new_1from_1string__I=
-OS_gtk_1tree_1path_1new_1from_1string__I_0=cast=(const gchar *)
-
-OS_gtk_1tree_1path_1new_1from_1string___3B=
-OS_gtk_1tree_1path_1new_1from_1string___3B_0=cast=(const gchar *)
-
-OS_gtk_tree_path_up=
-OS_gtk_tree_path_up_0=cast=(GtkTreePath *)
-
-OS_gtk_tree_selection_get_selected=
-OS_gtk_tree_selection_get_selected_0=cast=(GtkTreeSelection *)
-OS_gtk_tree_selection_get_selected_1=cast=(GtkTreeModel **)
-OS_gtk_tree_selection_get_selected_2=cast=(GtkTreeIter *)
-
-OS_gtk_tree_selection_path_is_selected=
-OS_gtk_tree_selection_path_is_selected_0=cast=(GtkTreeSelection *)
-OS_gtk_tree_selection_path_is_selected_1=cast=(GtkTreePath *)
-
-OS_gtk_tree_selection_select_all=
-OS_gtk_tree_selection_select_all_0=cast=(GtkTreeSelection *)
-
-OS_gtk_tree_selection_select_iter=
-OS_gtk_tree_selection_select_iter_0=cast=(GtkTreeSelection *)
-OS_gtk_tree_selection_select_iter_1=cast=(GtkTreeIter *)
-
-OS_gtk_tree_selection_selected_foreach=
-OS_gtk_tree_selection_selected_foreach_0=cast=(GtkTreeSelection *)
-OS_gtk_tree_selection_selected_foreach_1=cast=(GtkTreeSelectionForeachFunc)
-OS_gtk_tree_selection_selected_foreach_2=cast=(gpointer)
-
-OS_gtk_tree_selection_set_mode=
-OS_gtk_tree_selection_set_mode_0=cast=(GtkTreeSelection *)
-OS_gtk_tree_selection_set_mode_1=cast=(GtkSelectionMode)
-
-OS_gtk_tree_selection_unselect_all=
-OS_gtk_tree_selection_unselect_all_0=cast=(GtkTreeSelection *)
-
-OS_gtk_tree_selection_unselect_iter=
-OS_gtk_tree_selection_unselect_iter_0=cast=(GtkTreeSelection *)
-OS_gtk_tree_selection_unselect_iter_1=cast=(GtkTreeIter *)
-
-OS_gtk_tree_store_append=
-OS_gtk_tree_store_append_0=cast=(GtkTreeStore *)
-OS_gtk_tree_store_append_1=cast=(GtkTreeIter *)
-OS_gtk_tree_store_append_2=cast=(GtkTreeIter *)
-
-OS_gtk_tree_store_clear=
-OS_gtk_tree_store_clear_0=cast=(GtkTreeStore *)
-
-OS_gtk_tree_store_insert=
-OS_gtk_tree_store_insert_0=cast=(GtkTreeStore *)
-OS_gtk_tree_store_insert_1=cast=(GtkTreeIter *)
-OS_gtk_tree_store_insert_2=cast=(GtkTreeIter *)
-OS_gtk_tree_store_insert_3=cast=(gint)
-
-OS_gtk_tree_store_newv=
-OS_gtk_tree_store_newv_0=
-OS_gtk_tree_store_newv_1=cast=(GType *)
-
-OS_gtk_tree_store_remove=
-OS_gtk_tree_store_remove_0=cast=(GtkTreeStore *)
-OS_gtk_tree_store_remove_1=cast=(GtkTreeIter *)
-
-OS_gtk_1tree_1store_1set__IIIII=
-OS_gtk_1tree_1store_1set__IIIII_0=cast=(GtkTreeStore *)
-OS_gtk_1tree_1store_1set__IIIII_1=cast=(GtkTreeIter *)
-OS_gtk_1tree_1store_1set__IIIII_2=
-OS_gtk_1tree_1store_1set__IIIII_3=
-OS_gtk_1tree_1store_1set__IIIII_4=
-
-OS_gtk_1tree_1store_1set__IIIJI=
-OS_gtk_1tree_1store_1set__IIIJI_0=cast=(GtkTreeStore *)
-OS_gtk_1tree_1store_1set__IIIJI_1=cast=(GtkTreeIter *)
-OS_gtk_1tree_1store_1set__IIIJI_2=
-OS_gtk_1tree_1store_1set__IIIJI_3=
-OS_gtk_1tree_1store_1set__IIIJI_4=
-
-OS_gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I=
-OS_gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_0=cast=(GtkTreeStore *)
-OS_gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_1=cast=(GtkTreeIter *)
-OS_gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_2=
-OS_gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_3=
-OS_gtk_1tree_1store_1set__IIILorg_eclipse_swt_internal_gtk_GdkColor_2I_4=
-
-OS_gtk_1tree_1store_1set__IIIZI=
-OS_gtk_1tree_1store_1set__IIIZI_0=cast=(GtkTreeStore *)
-OS_gtk_1tree_1store_1set__IIIZI_1=cast=(GtkTreeIter *)
-OS_gtk_1tree_1store_1set__IIIZI_2=
-OS_gtk_1tree_1store_1set__IIIZI_3=
-OS_gtk_1tree_1store_1set__IIIZI_4=
-
-OS_gtk_1tree_1store_1set__III_3BI=
-OS_gtk_1tree_1store_1set__III_3BI_0=cast=(GtkTreeStore *)
-OS_gtk_1tree_1store_1set__III_3BI_1=cast=(GtkTreeIter *)
-OS_gtk_1tree_1store_1set__III_3BI_2=
-OS_gtk_1tree_1store_1set__III_3BI_3=
-OS_gtk_1tree_1store_1set__III_3BI_4=
-
-OS_gtk_tree_view_collapse_row=
-OS_gtk_tree_view_collapse_row_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_collapse_row_1=cast=(GtkTreePath *)
-
-OS_gtk_tree_view_column_add_attribute=
-OS_gtk_tree_view_column_add_attribute_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_add_attribute_1=cast=(GtkCellRenderer *)
-OS_gtk_tree_view_column_add_attribute_2=cast=(const gchar *)
-OS_gtk_tree_view_column_add_attribute_3=cast=(gint)
-
-OS_gtk_tree_view_column_cell_get_position=flags=dynamic
-OS_gtk_tree_view_column_cell_get_position_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_cell_get_position_1=cast=(GtkCellRenderer *)
-OS_gtk_tree_view_column_cell_get_position_2=cast=(gint *)
-OS_gtk_tree_view_column_cell_get_position_3=cast=(gint *)
-
-OS_gtk_tree_view_column_cell_get_size=
-OS_gtk_tree_view_column_cell_get_size_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_cell_get_size_1=cast=(GdkRectangle *)
-OS_gtk_tree_view_column_cell_get_size_2=cast=(gint *)
-OS_gtk_tree_view_column_cell_get_size_3=cast=(gint *)
-OS_gtk_tree_view_column_cell_get_size_4=cast=(gint *)
-OS_gtk_tree_view_column_cell_get_size_5=cast=(gint *)
-
-OS_gtk_tree_view_column_cell_set_cell_data=
-OS_gtk_tree_view_column_cell_set_cell_data_0=cast=GtkTreeViewColumn *
-OS_gtk_tree_view_column_cell_set_cell_data_1=cast=GtkTreeModel *
-OS_gtk_tree_view_column_cell_set_cell_data_2=cast=GtkTreeIter *
-OS_gtk_tree_view_column_cell_set_cell_data_3=
-OS_gtk_tree_view_column_cell_set_cell_data_4=
-
-OS_gtk_tree_view_column_clear=
-OS_gtk_tree_view_column_clear_0=cast=(GtkTreeViewColumn *)
-
-OS_gtk_tree_view_column_get_cell_renderers=
-OS_gtk_tree_view_column_get_cell_renderers_0=cast=(GtkTreeViewColumn *)
-
-OS_gtk_tree_view_column_get_resizable=
-OS_gtk_tree_view_column_get_resizable_0=cast=(GtkTreeViewColumn *)
-
-OS_gtk_tree_view_column_get_spacing=
-OS_gtk_tree_view_column_get_spacing_0=cast=(GtkTreeViewColumn *)
-
-OS_gtk_tree_view_column_get_visible=
-OS_gtk_tree_view_column_get_visible_0=cast=(GtkTreeViewColumn *)
-
-OS_gtk_tree_view_column_get_width=
-OS_gtk_tree_view_column_get_width_0=cast=(GtkTreeViewColumn *)
-
-OS_gtk_tree_view_column_new=
-
-OS_gtk_tree_view_column_pack_end=
-OS_gtk_tree_view_column_pack_end_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_pack_end_1=cast=(GtkCellRenderer *)
-OS_gtk_tree_view_column_pack_end_2=cast=(gboolean)
-
-OS_gtk_tree_view_column_pack_start=
-OS_gtk_tree_view_column_pack_start_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_pack_start_1=cast=(GtkCellRenderer *)
-OS_gtk_tree_view_column_pack_start_2=cast=(gboolean)
-
-OS_gtk_tree_view_column_set_alignment=
-OS_gtk_tree_view_column_set_alignment_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_set_alignment_1=
-
-OS_gtk_tree_view_column_set_cell_data_func=
-OS_gtk_tree_view_column_set_cell_data_func_0=cast=GtkTreeViewColumn *
-OS_gtk_tree_view_column_set_cell_data_func_1=cast=GtkCellRenderer *
-OS_gtk_tree_view_column_set_cell_data_func_2=cast=(GtkTreeCellDataFunc)
-OS_gtk_tree_view_column_set_cell_data_func_3=cast=(gpointer)
-OS_gtk_tree_view_column_set_cell_data_func_4=cast=GtkDestroyNotify
-
-OS_gtk_tree_view_column_set_clickable=
-OS_gtk_tree_view_column_set_clickable_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_set_clickable_1=cast=(gboolean)
-
-OS_gtk_tree_view_column_set_fixed_width=
-OS_gtk_tree_view_column_set_fixed_width_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_set_fixed_width_1=cast=(gint)
-
-OS_gtk_tree_view_column_set_resizable=
-OS_gtk_tree_view_column_set_resizable_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_set_resizable_1=cast=(gboolean)
-
-OS_gtk_tree_view_column_set_sizing=
-OS_gtk_tree_view_column_set_sizing_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_set_sizing_1=cast=(GtkTreeViewColumnSizing)
-
-OS_gtk_tree_view_column_set_title=
-OS_gtk_tree_view_column_set_title_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_set_title_1=cast=(const gchar *)
-
-OS_gtk_tree_view_column_set_visible=
-OS_gtk_tree_view_column_set_visible_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_set_visible_1=
-
-OS_gtk_tree_view_column_set_widget=
-OS_gtk_tree_view_column_set_widget_0=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_column_set_widget_1=cast=(GtkWidget *)
-
-OS_gtk_tree_view_expand_row=
-OS_gtk_tree_view_expand_row_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_expand_row_1=cast=(GtkTreePath *)
-OS_gtk_tree_view_expand_row_2=cast=(gboolean)
-
-OS_gtk_tree_view_get_bin_window=
-OS_gtk_tree_view_get_bin_window_0=cast=(GtkTreeView *)
-
-OS_gtk_tree_view_get_cell_area=
-OS_gtk_tree_view_get_cell_area_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_get_cell_area_1=cast=(GtkTreePath *)
-OS_gtk_tree_view_get_cell_area_2=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_get_cell_area_3=cast=(GdkRectangle *)
-
-OS_gtk_tree_view_get_column=
-OS_gtk_tree_view_get_column_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_get_column_1=cast=(gint)
-
-OS_gtk_tree_view_get_cursor=
-OS_gtk_tree_view_get_cursor_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_get_cursor_1=cast=(GtkTreePath **)
-OS_gtk_tree_view_get_cursor_2=cast=(GtkTreeViewColumn **)
-
-OS_gtk_tree_view_get_headers_visible=
-OS_gtk_tree_view_get_headers_visible_0=cast=(GtkTreeView *)
-
-OS_gtk_tree_view_get_path_at_pos=
-OS_gtk_tree_view_get_path_at_pos_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_get_path_at_pos_1=cast=(gint)
-OS_gtk_tree_view_get_path_at_pos_2=cast=(gint)
-OS_gtk_tree_view_get_path_at_pos_3=cast=(GtkTreePath **)
-OS_gtk_tree_view_get_path_at_pos_4=cast=(GtkTreeViewColumn **)
-OS_gtk_tree_view_get_path_at_pos_5=cast=(gint *)
-OS_gtk_tree_view_get_path_at_pos_6=cast=(gint *)
-
-OS_gtk_tree_view_get_rules_hint=
-OS_gtk_tree_view_get_rules_hint_0=cast=(GtkTreeView *)
-
-OS_gtk_tree_view_get_selection=
-OS_gtk_tree_view_get_selection_0=cast=(GtkTreeView *)
-
-OS_gtk_tree_view_get_visible_rect=
-OS_gtk_tree_view_get_visible_rect_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_get_visible_rect_1=
-
-OS_gtk_tree_view_insert_column=
-OS_gtk_tree_view_insert_column_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_insert_column_1=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_insert_column_2=cast=(gint)
-
-OS_gtk_tree_view_new_with_model=
-OS_gtk_tree_view_new_with_model_0=cast=(GtkTreeModel *)
-
-OS_gtk_tree_view_remove_column=
-OS_gtk_tree_view_remove_column_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_remove_column_1=cast=(GtkTreeViewColumn *)
-
-OS_gtk_tree_view_row_expanded=
-OS_gtk_tree_view_row_expanded_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_row_expanded_1=cast=(GtkTreePath *)
-
-OS_gtk_tree_view_scroll_to_cell=
-OS_gtk_tree_view_scroll_to_cell_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_scroll_to_cell_1=cast=(GtkTreePath *)
-OS_gtk_tree_view_scroll_to_cell_2=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_scroll_to_cell_3=cast=(gboolean)
-OS_gtk_tree_view_scroll_to_cell_4=cast=(gfloat)
-OS_gtk_tree_view_scroll_to_cell_5=cast=(gfloat)
-
-OS_gtk_tree_view_scroll_to_point=
-OS_gtk_tree_view_scroll_to_point_0=cast=GtkTreeView *
-OS_gtk_tree_view_scroll_to_point_1=cast=(gint)
-OS_gtk_tree_view_scroll_to_point_2=cast=(gint)
-
-OS_gtk_tree_view_set_cursor=
-OS_gtk_tree_view_set_cursor_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_set_cursor_1=cast=(GtkTreePath *)
-OS_gtk_tree_view_set_cursor_2=cast=(GtkTreeViewColumn *)
-OS_gtk_tree_view_set_cursor_3=
-
-OS_gtk_tree_view_set_drag_dest_row=
-OS_gtk_tree_view_set_drag_dest_row_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_set_drag_dest_row_1=cast=(GtkTreePath *)
-OS_gtk_tree_view_set_drag_dest_row_2=
-
-OS_gtk_tree_view_set_headers_visible=
-OS_gtk_tree_view_set_headers_visible_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_set_headers_visible_1=cast=(gboolean)
-
-OS_gtk_tree_view_set_model=
-OS_gtk_tree_view_set_model_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_set_model_1=cast=(GtkTreeModel *)
-
-OS_gtk_tree_view_set_rules_hint=
-OS_gtk_tree_view_set_rules_hint_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_set_rules_hint_1=
-
-OS_gtk_tree_view_tree_to_widget_coords=
-OS_gtk_tree_view_tree_to_widget_coords_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_tree_to_widget_coords_1=cast=(gint)
-OS_gtk_tree_view_tree_to_widget_coords_2=cast=gint
-OS_gtk_tree_view_tree_to_widget_coords_3=cast=gint *
-OS_gtk_tree_view_tree_to_widget_coords_4=cast=gint *
-
-OS_gtk_tree_view_unset_rows_drag_dest=
-OS_gtk_tree_view_unset_rows_drag_dest_0=cast=(GtkTreeView *)
-
-OS_gtk_tree_view_widget_to_tree_coords=
-OS_gtk_tree_view_widget_to_tree_coords_0=cast=(GtkTreeView *)
-OS_gtk_tree_view_widget_to_tree_coords_1=
-OS_gtk_tree_view_widget_to_tree_coords_2=
-OS_gtk_tree_view_widget_to_tree_coords_3=
-OS_gtk_tree_view_widget_to_tree_coords_4=
-
-OS_gtk_vbox_new=
-OS_gtk_vbox_new_0=cast=(gboolean)
-OS_gtk_vbox_new_1=cast=(gint)
-
-OS_gtk_vscale_new=
-OS_gtk_vscale_new_0=cast=(GtkAdjustment *)
-
-OS_gtk_vscrollbar_new=
-OS_gtk_vscrollbar_new_0=cast=(GtkAdjustment *)
-
-OS_gtk_vseparator_new=
-
-OS_gtk_widget_add_accelerator=
-OS_gtk_widget_add_accelerator_0=cast=(GtkWidget *)
-OS_gtk_widget_add_accelerator_1=cast=(const gchar *)
-OS_gtk_widget_add_accelerator_2=cast=(GtkAccelGroup *)
-OS_gtk_widget_add_accelerator_3=cast=(guint)
-OS_gtk_widget_add_accelerator_4=cast=(GdkModifierType)
-OS_gtk_widget_add_accelerator_5=
-
-OS_gtk_widget_add_events=
-OS_gtk_widget_add_events_0=cast=(GtkWidget *)
-OS_gtk_widget_add_events_1=cast=(gint)
-
-OS_gtk_1widget_1create_1pango_1layout__II=
-OS_gtk_1widget_1create_1pango_1layout__II_0=cast=(GtkWidget *)
-OS_gtk_1widget_1create_1pango_1layout__II_1=cast=(const gchar *)
-
-OS_gtk_1widget_1create_1pango_1layout__I_3B=
-OS_gtk_1widget_1create_1pango_1layout__I_3B_0=cast=(GtkWidget *)
-OS_gtk_1widget_1create_1pango_1layout__I_3B_1=cast=(const gchar *)
-
-OS_gtk_widget_destroy=
-OS_gtk_widget_destroy_0=cast=(GtkWidget *)
-
-OS_gtk_widget_event=
-OS_gtk_widget_event_0=cast=GtkWidget *
-OS_gtk_widget_event_1=cast=GdkEvent *
-
-OS_gtk_widget_get_default_direction=
-
-OS_gtk_widget_get_default_style=
-
-OS_gtk_widget_get_direction=
-OS_gtk_widget_get_direction_0=cast=(GtkWidget *)
-
-OS_gtk_widget_get_modifier_style=
-OS_gtk_widget_get_modifier_style_0=cast=(GtkWidget *)
-
-OS_gtk_widget_get_pango_context=
-OS_gtk_widget_get_pango_context_0=cast=(GtkWidget *)
-
-OS_gtk_widget_get_parent=
-OS_gtk_widget_get_parent_0=cast=(GtkWidget *)
-
-OS_gtk_widget_get_style=
-OS_gtk_widget_get_style_0=cast=(GtkWidget *)
-
-OS_gtk_widget_grab_focus=
-OS_gtk_widget_grab_focus_0=cast=(GtkWidget *)
-
-OS_gtk_widget_hide=
-OS_gtk_widget_hide_0=cast=(GtkWidget *)
-
-OS_gtk_widget_is_focus=
-OS_gtk_widget_is_focus_0=cast=(GtkWidget *)
-
-OS_gtk_widget_mnemonic_activate=
-OS_gtk_widget_mnemonic_activate_0=cast=GtkWidget *
-OS_gtk_widget_mnemonic_activate_1=cast=gboolean
-
-OS_gtk_widget_modify_base=
-OS_gtk_widget_modify_base_0=cast=(GtkWidget *)
-OS_gtk_widget_modify_base_1=cast=(GtkStateType)
-OS_gtk_widget_modify_base_2=cast=(GdkColor *)
-
-OS_gtk_widget_modify_bg=
-OS_gtk_widget_modify_bg_0=cast=(GtkWidget *)
-OS_gtk_widget_modify_bg_1=cast=(GtkStateType)
-OS_gtk_widget_modify_bg_2=cast=(GdkColor *)
-
-OS_gtk_widget_modify_fg=
-OS_gtk_widget_modify_fg_0=cast=(GtkWidget *)
-OS_gtk_widget_modify_fg_1=cast=(GtkStateType)
-OS_gtk_widget_modify_fg_2=cast=(GdkColor *)
-
-OS_gtk_widget_modify_font=
-OS_gtk_widget_modify_font_0=cast=(GtkWidget *)
-OS_gtk_widget_modify_font_1=cast=(PangoFontDescription *)
-
-OS_gtk_widget_modify_style=
-OS_gtk_widget_modify_style_0=cast=(GtkWidget *)
-OS_gtk_widget_modify_style_1=cast=(GtkRcStyle *)
-
-OS_gtk_widget_modify_text=
-OS_gtk_widget_modify_text_0=cast=(GtkWidget *)
-OS_gtk_widget_modify_text_1=cast=(GtkStateType)
-OS_gtk_widget_modify_text_2=cast=(GdkColor *)
-
-OS_gtk_widget_realize=
-OS_gtk_widget_realize_0=cast=(GtkWidget *)
-
-OS_gtk_widget_remove_accelerator=
-OS_gtk_widget_remove_accelerator_0=cast=(GtkWidget *)
-OS_gtk_widget_remove_accelerator_1=cast=(GtkAccelGroup *)
-OS_gtk_widget_remove_accelerator_2=cast=(guint)
-OS_gtk_widget_remove_accelerator_3=cast=(GdkModifierType)
-
-OS_gtk_widget_reparent=
-OS_gtk_widget_reparent_0=cast=(GtkWidget *)
-OS_gtk_widget_reparent_1=cast=(GtkWidget *)
-
-OS_gtk_widget_set_default_direction=
-OS_gtk_widget_set_default_direction_0=cast=(GtkTextDirection)
-
-OS_gtk_widget_set_direction=
-OS_gtk_widget_set_direction_0=cast=(GtkWidget *)
-OS_gtk_widget_set_direction_1=cast=(GtkTextDirection)
-
-OS_gtk_widget_set_double_buffered=
-OS_gtk_widget_set_double_buffered_0=cast=(GtkWidget *)
-OS_gtk_widget_set_double_buffered_1=cast=(gboolean)
-
-OS_gtk_widget_set_name=
-OS_gtk_widget_set_name_0=cast=(GtkWidget *)
-OS_gtk_widget_set_name_1=cast=(const char *)
-
-OS_gtk_widget_set_redraw_on_allocate=
-OS_gtk_widget_set_redraw_on_allocate_0=cast=(GtkWidget *)
-OS_gtk_widget_set_redraw_on_allocate_1=cast=(gboolean)
-
-OS_gtk_widget_set_sensitive=
-OS_gtk_widget_set_sensitive_0=cast=(GtkWidget *)
-OS_gtk_widget_set_sensitive_1=cast=(gboolean)
-
-OS_gtk_widget_set_size_request=
-OS_gtk_widget_set_size_request_0=cast=(GtkWidget *)
-OS_gtk_widget_set_size_request_1=cast=(gint)
-OS_gtk_widget_set_size_request_2=cast=(gint)
-
-OS_gtk_widget_set_state=
-OS_gtk_widget_set_state_0=cast=(GtkWidget *)
-OS_gtk_widget_set_state_1=cast=(GtkStateType)
-
-OS_gtk_widget_shape_combine_mask=
-OS_gtk_widget_shape_combine_mask_0=cast=(GtkWidget *)
-OS_gtk_widget_shape_combine_mask_1=cast=(GdkBitmap *)
-OS_gtk_widget_shape_combine_mask_2=cast=gint
-OS_gtk_widget_shape_combine_mask_3=cast=gint
-
-OS_gtk_widget_show=
-OS_gtk_widget_show_0=cast=(GtkWidget *)
-
-OS_gtk_widget_show_now=
-OS_gtk_widget_show_now_0=cast=(GtkWidget *)
-
-OS_gtk_widget_size_allocate=
-OS_gtk_widget_size_allocate_0=cast=(GtkWidget *)
-OS_gtk_widget_size_allocate_1=cast=(GtkAllocation *)
-
-OS_gtk_widget_size_request=
-OS_gtk_widget_size_request_0=cast=(GtkWidget *)
-OS_gtk_widget_size_request_1=cast=(GtkRequisition *)
-
-OS_gtk_widget_style_get=
-OS_gtk_widget_style_get_0=cast=(GtkWidget *)
-OS_gtk_widget_style_get_1=cast=(const gchar *)
-OS_gtk_widget_style_get_2=
-OS_gtk_widget_style_get_3=
-
-OS_gtk_widget_unrealize=
-OS_gtk_widget_unrealize_0=cast=(GtkWidget *)
-
-OS_gtk_window_activate_default=
-OS_gtk_window_activate_default_0=cast=(GtkWindow *)
-
-OS_gtk_window_add_accel_group=
-OS_gtk_window_add_accel_group_0=cast=(GtkWindow *)
-OS_gtk_window_add_accel_group_1=cast=(GtkAccelGroup *)
-
-OS_gtk_window_deiconify=
-OS_gtk_window_deiconify_0=cast=(GtkWindow *)
-
-OS_gtk_window_get_focus=
-OS_gtk_window_get_focus_0=cast=(GtkWindow *)
-
-OS_gtk_window_get_mnemonic_modifier=
-OS_gtk_window_get_mnemonic_modifier_0=cast=(GtkWindow *)
-
-OS_gtk_window_get_position=
-OS_gtk_window_get_position_0=cast=(GtkWindow *)
-OS_gtk_window_get_position_1=cast=(gint *)
-OS_gtk_window_get_position_2=cast=(gint *)
-
-OS_gtk_window_get_size=
-OS_gtk_window_get_size_0=cast=(GtkWindow *)
-OS_gtk_window_get_size_1=cast=(gint *)
-OS_gtk_window_get_size_2=cast=(gint *)
-
-OS_gtk_window_iconify=
-OS_gtk_window_iconify_0=cast=(GtkWindow *)
-
-OS_gtk_window_maximize=
-OS_gtk_window_maximize_0=cast=(GtkWindow *)
-
-OS_gtk_window_move=
-OS_gtk_window_move_0=cast=(GtkWindow *)
-OS_gtk_window_move_1=cast=(gint)
-OS_gtk_window_move_2=cast=(gint)
-
-OS_gtk_window_new=
-OS_gtk_window_new_0=cast=(GtkWindowType)
-
-OS_gtk_window_present=
-OS_gtk_window_present_0=cast=(GtkWindow *)
-
-OS_gtk_window_remove_accel_group=
-OS_gtk_window_remove_accel_group_0=cast=(GtkWindow *)
-OS_gtk_window_remove_accel_group_1=cast=(GtkAccelGroup *)
-
-OS_gtk_window_resize=
-OS_gtk_window_resize_0=cast=(GtkWindow *)
-OS_gtk_window_resize_1=cast=(gint)
-OS_gtk_window_resize_2=cast=(gint)
-
-OS_gtk_window_set_default=
-OS_gtk_window_set_default_0=cast=(GtkWindow *)
-OS_gtk_window_set_default_1=cast=(GtkWidget *)
-
-OS_gtk_window_set_destroy_with_parent=
-OS_gtk_window_set_destroy_with_parent_0=cast=(GtkWindow *)
-OS_gtk_window_set_destroy_with_parent_1=cast=(gboolean)
-
-OS_gtk_window_set_modal=
-OS_gtk_window_set_modal_0=cast=(GtkWindow *)
-OS_gtk_window_set_modal_1=cast=(gboolean)
-
-OS_gtk_window_set_resizable=
-OS_gtk_window_set_resizable_0=cast=(GtkWindow *)
-OS_gtk_window_set_resizable_1=cast=(gboolean)
-
-OS_gtk_window_set_title=
-OS_gtk_window_set_title_0=cast=(GtkWindow *)
-OS_gtk_window_set_title_1=cast=(const gchar *)
-
-OS_gtk_window_set_transient_for=
-OS_gtk_window_set_transient_for_0=cast=(GtkWindow *)
-OS_gtk_window_set_transient_for_1=cast=(GtkWindow *)
-
-OS_gtk_window_unmaximize=
-OS_gtk_window_unmaximize_0=cast=(GtkWindow *)
-
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkEventButton_2I=
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkEventButton_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkEventButton_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkEventButton_2I_2=cast=(size_t)
-
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkAdjustment_2=
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkAdjustment_2_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkAdjustment_2_1=cast=(const void *),flags=no_out
-
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkFixed_2=
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkFixed_2_0=cast=(void *),flags=no_in
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkFixed_2_1=cast=(const void *),flags=no_out
-
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkTargetEntry_2I=
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkTargetEntry_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkTargetEntry_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkTargetEntry_2I_2=cast=(size_t)
-
-OS_memmove__ILorg_eclipse_swt_internal_gtk_PangoAttribute_2I=
-OS_memmove__ILorg_eclipse_swt_internal_gtk_PangoAttribute_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_gtk_PangoAttribute_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_gtk_PangoAttribute_2I_2=cast=(size_t)
-
-OS_memmove__ILorg_eclipse_swt_internal_gtk_XClientMessageEvent_2I=
-OS_memmove__ILorg_eclipse_swt_internal_gtk_XClientMessageEvent_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_gtk_XClientMessageEvent_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_gtk_XClientMessageEvent_2I_2=cast=(size_t)
-
-OS_memmove__I_3BI=
-OS_memmove__I_3BI_0=cast=(void *)
-OS_memmove__I_3BI_1=cast=(const void *),flags=no_out critical
-OS_memmove__I_3BI_2=cast=(size_t)
-
-OS_memmove__I_3II=
-OS_memmove__I_3II_0=cast=(void *)
-OS_memmove__I_3II_1=cast=(const void *),flags=no_out critical
-OS_memmove__I_3II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkColor_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkColor_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkColor_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkColor_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkDragContext_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkDragContext_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkDragContext_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkDragContext_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventButton_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventButton_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventButton_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventButton_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventCrossing_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventCrossing_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventCrossing_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventCrossing_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventExpose_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventExpose_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventExpose_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventExpose_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventFocus_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventFocus_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventFocus_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventFocus_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventKey_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventKey_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventKey_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventKey_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventWindowState_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventWindowState_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventWindowState_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventWindowState_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEvent_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEvent_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEvent_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkImage_2I=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkImage_2I_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkImage_2I_1=cast=(const void *)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkRectangle_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkRectangle_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkRectangle_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkRectangle_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkVisual_2I=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkVisual_2I_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkVisual_2I_1=cast=(const void *)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkAdjustment_2I=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkAdjustment_2I_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkAdjustment_2I_1=cast=(const void *)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkColorSelectionDialog_2I=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkColorSelectionDialog_2I_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkColorSelectionDialog_2I_1=cast=(const void *)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkCombo_2I=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkCombo_2I_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkCombo_2I_1=cast=(const void *)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkFileSelection_2I=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkFileSelection_2I_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkFileSelection_2I_1=cast=(const void *)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkFixed_2I=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkFixed_2I_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkFixed_2I_1=cast=(const void *)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkSelectionData_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkSelectionData_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkSelectionData_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkSelectionData_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkTargetPair_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkTargetPair_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkTargetPair_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkTargetPair_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoAttribute_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoAttribute_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoAttribute_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoAttribute_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoItem_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoItem_2II_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoItem_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoItem_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLayoutLine_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLayoutLine_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLayoutLine_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLayoutLine_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLayoutRun_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLayoutRun_2II_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLayoutRun_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLayoutRun_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLogAttr_2II=
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLogAttr_2II_0=cast=(void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLogAttr_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_gtk_PangoLogAttr_2II_2=cast=(size_t)
-
-OS_memmove___3BII=
-OS_memmove___3BII_0=cast=(void *),flags=no_in critical
-OS_memmove___3BII_1=cast=(const void *)
-OS_memmove___3BII_2=cast=(size_t)
-
-OS_memmove___3CII=
-OS_memmove___3CII_0=cast=(void *),flags=no_in critical
-OS_memmove___3CII_1=cast=(const void *)
-OS_memmove___3CII_2=cast=(size_t)
-
-OS_memmove___3III=
-OS_memmove___3III_0=cast=(void *),flags=no_in critical
-OS_memmove___3III_1=cast=(const void *)
-OS_memmove___3III_2=cast=(size_t)
-
-OS_memmove___3I_3BI=
-OS_memmove___3I_3BI_0=cast=(void *),flags=no_in critical
-OS_memmove___3I_3BI_1=cast=(const void *)
-OS_memmove___3I_3BI_2=cast=(size_t)
-
-OS_memmove___3JII=
-OS_memmove___3JII_0=cast=(void *),flags=no_in critical
-OS_memmove___3JII_1=cast=const void *,flags=no_out critical
-OS_memmove___3JII_2=cast=(size_t)
-
-OS_memset=
-OS_memset_0=cast=(void *)
-OS_memset_1=cast=(char)
-OS_memset_2=cast=(size_t)
-
-OS_pango_attr_background_new=
-OS_pango_attr_background_new_0=
-OS_pango_attr_background_new_1=
-OS_pango_attr_background_new_2=
-
-OS_pango_attr_font_desc_new=
-OS_pango_attr_font_desc_new_0=cast=const PangoFontDescription *
-
-OS_pango_attr_foreground_new=
-OS_pango_attr_foreground_new_0=
-OS_pango_attr_foreground_new_1=
-OS_pango_attr_foreground_new_2=
-
-OS_pango_attr_list_change=
-OS_pango_attr_list_change_0=cast=PangoAttrList *
-OS_pango_attr_list_change_1=cast=PangoAttribute *
-
-OS_pango_attr_list_insert=
-OS_pango_attr_list_insert_0=cast=PangoAttrList *
-OS_pango_attr_list_insert_1=cast=PangoAttribute *
-
-OS_pango_attr_list_new=
-
-OS_pango_attr_list_unref=
-OS_pango_attr_list_unref_0=cast=(PangoAttrList *)
-
-OS_pango_attr_strikethrough_new=
-OS_pango_attr_strikethrough_new_0=
-
-OS_pango_attr_underline_new=
-OS_pango_attr_underline_new_0=
-
-OS_pango_attr_weight_new=
-OS_pango_attr_weight_new_0=
-
-OS_pango_context_get_base_dir=
-OS_pango_context_get_base_dir_0=cast=(PangoContext *)
-
-OS_pango_context_get_language=
-OS_pango_context_get_language_0=cast=(PangoContext *)
-
-OS_pango_context_get_metrics=
-OS_pango_context_get_metrics_0=cast=(PangoContext *)
-OS_pango_context_get_metrics_1=cast=(const PangoFontDescription *)
-OS_pango_context_get_metrics_2=cast=(PangoLanguage *)
-
-OS_pango_context_list_families=
-OS_pango_context_list_families_0=cast=(PangoContext *)
-OS_pango_context_list_families_1=cast=(PangoFontFamily ***)
-OS_pango_context_list_families_2=cast=(int *)
-
-OS_pango_context_set_base_dir=
-OS_pango_context_set_base_dir_0=cast=(PangoContext *)
-OS_pango_context_set_base_dir_1=
-
-OS_pango_context_set_language=
-OS_pango_context_set_language_0=cast=(PangoContext *)
-OS_pango_context_set_language_1=cast=(PangoLanguage *)
-
-OS_pango_font_description_copy=
-OS_pango_font_description_copy_0=cast=(PangoFontDescription *)
-
-OS_pango_font_description_free=
-OS_pango_font_description_free_0=cast=(PangoFontDescription *)
-
-OS_pango_font_description_from_string=
-OS_pango_font_description_from_string_0=cast=(const char *),flags=no_out critical
-
-OS_pango_font_description_get_family=
-OS_pango_font_description_get_family_0=cast=(PangoFontDescription *)
-
-OS_pango_font_description_get_size=
-OS_pango_font_description_get_size_0=cast=(PangoFontDescription *)
-
-OS_pango_font_description_get_style=
-OS_pango_font_description_get_style_0=cast=(PangoFontDescription *)
-
-OS_pango_font_description_get_weight=
-OS_pango_font_description_get_weight_0=cast=(PangoFontDescription *)
-
-OS_pango_font_description_new=
-
-OS_pango_font_description_set_family=
-OS_pango_font_description_set_family_0=cast=(PangoFontDescription *)
-OS_pango_font_description_set_family_1=cast=(const char *),flags=no_out critical
-
-OS_pango_font_description_set_size=
-OS_pango_font_description_set_size_0=cast=(PangoFontDescription *)
-OS_pango_font_description_set_size_1=cast=(gint)
-
-OS_pango_font_description_set_stretch=
-OS_pango_font_description_set_stretch_0=cast=(PangoFontDescription *)
-OS_pango_font_description_set_stretch_1=cast=(PangoStretch)
-
-OS_pango_font_description_set_style=
-OS_pango_font_description_set_style_0=cast=(PangoFontDescription *)
-OS_pango_font_description_set_style_1=cast=(PangoStyle)
-
-OS_pango_font_description_set_weight=
-OS_pango_font_description_set_weight_0=cast=(PangoFontDescription *)
-OS_pango_font_description_set_weight_1=cast=(PangoWeight)
-
-OS_pango_font_description_to_string=
-OS_pango_font_description_to_string_0=cast=(PangoFontDescription *)
-
-OS_pango_font_face_describe=
-OS_pango_font_face_describe_0=cast=(PangoFontFace *)
-
-OS_pango_font_family_list_faces=
-OS_pango_font_family_list_faces_0=cast=(PangoFontFamily *)
-OS_pango_font_family_list_faces_1=cast=(PangoFontFace ***)
-OS_pango_font_family_list_faces_2=cast=(int *)
-
-OS_pango_font_get_metrics=
-OS_pango_font_get_metrics_0=cast=PangoFont *
-OS_pango_font_get_metrics_1=cast=PangoLanguage *
-
-OS_pango_font_metrics_get_approximate_char_width=
-OS_pango_font_metrics_get_approximate_char_width_0=cast=(PangoFontMetrics *)
-
-OS_pango_font_metrics_get_ascent=
-OS_pango_font_metrics_get_ascent_0=cast=(PangoFontMetrics *)
-
-OS_pango_font_metrics_get_descent=
-OS_pango_font_metrics_get_descent_0=cast=(PangoFontMetrics *)
-
-OS_pango_font_metrics_unref=
-OS_pango_font_metrics_unref_0=cast=(PangoFontMetrics *)
-
-OS_pango_language_from_string=
-OS_pango_language_from_string_0=cast=(const char *),flags=no_out
-
-OS_pango_layout_context_changed=
-OS_pango_layout_context_changed_0=cast=PangoLayout *
-
-OS_pango_layout_get_alignment=
-OS_pango_layout_get_alignment_0=cast=PangoLayout*
-
-OS_pango_layout_get_attributes=
-OS_pango_layout_get_attributes_0=cast=PangoLayout *
-
-OS_pango_layout_get_iter=
-OS_pango_layout_get_iter_0=cast=PangoLayout*
-
-OS_pango_layout_get_line=
-OS_pango_layout_get_line_0=cast=PangoLayout *
-OS_pango_layout_get_line_1=
-
-OS_pango_layout_get_line_count=
-OS_pango_layout_get_line_count_0=cast=PangoLayout*
-
-OS_pango_layout_get_log_attrs=
-OS_pango_layout_get_log_attrs_0=cast=PangoLayout*
-OS_pango_layout_get_log_attrs_1=cast=PangoLogAttr **
-OS_pango_layout_get_log_attrs_2=cast=(int *)
-
-OS_pango_layout_get_size=
-OS_pango_layout_get_size_0=cast=(PangoLayout *)
-OS_pango_layout_get_size_1=cast=(int *)
-OS_pango_layout_get_size_2=cast=(int *)
-
-OS_pango_layout_get_spacing=
-OS_pango_layout_get_spacing_0=cast=PangoLayout*
-
-OS_pango_layout_get_tabs=
-OS_pango_layout_get_tabs_0=cast=PangoLayout*
-
-OS_pango_layout_get_text=
-OS_pango_layout_get_text_0=cast=PangoLayout *
-
-OS_pango_layout_get_width=
-OS_pango_layout_get_width_0=cast=PangoLayout *
-
-OS_pango_layout_index_to_pos=
-OS_pango_layout_index_to_pos_0=cast=(PangoLayout*)
-OS_pango_layout_index_to_pos_1=
-OS_pango_layout_index_to_pos_2=
-
-OS_pango_layout_iter_free=
-OS_pango_layout_iter_free_0=cast=PangoLayoutIter*
-
-OS_pango_layout_iter_get_index=
-OS_pango_layout_iter_get_index_0=cast=(PangoLayoutIter*)
-
-OS_pango_layout_iter_get_line_extents=
-OS_pango_layout_iter_get_line_extents_0=cast=(PangoLayoutIter*)
-OS_pango_layout_iter_get_line_extents_1=
-OS_pango_layout_iter_get_line_extents_2=
-
-OS_pango_layout_iter_get_run=
-OS_pango_layout_iter_get_run_0=cast=PangoLayoutIter*
-
-OS_pango_layout_iter_next_line=
-OS_pango_layout_iter_next_line_0=cast=PangoLayoutIter*
-
-OS_pango_layout_iter_next_run=
-OS_pango_layout_iter_next_run_0=cast=PangoLayoutIter*
-
-OS_pango_layout_line_get_extents=
-OS_pango_layout_line_get_extents_0=cast=PangoLayoutLine*
-OS_pango_layout_line_get_extents_1=cast=PangoRectangle *
-OS_pango_layout_line_get_extents_2=cast=PangoRectangle *
-
-OS_pango_layout_line_x_to_index=
-OS_pango_layout_line_x_to_index_0=cast=PangoLayoutLine*
-OS_pango_layout_line_x_to_index_1=
-OS_pango_layout_line_x_to_index_2=cast=int *
-OS_pango_layout_line_x_to_index_3=cast=int *
-
-OS_pango_layout_new=
-OS_pango_layout_new_0=cast=(PangoContext *)
-
-OS_pango_layout_set_alignment=
-OS_pango_layout_set_alignment_0=cast=(PangoLayout *)
-OS_pango_layout_set_alignment_1=
-
-OS_pango_layout_set_attributes=
-OS_pango_layout_set_attributes_0=cast=(PangoLayout *)
-OS_pango_layout_set_attributes_1=cast=PangoAttrList *
-
-OS_pango_layout_set_font_description=
-OS_pango_layout_set_font_description_0=cast=(PangoLayout *)
-OS_pango_layout_set_font_description_1=cast=(PangoFontDescription *)
-
-OS_pango_layout_set_single_paragraph_mode=
-OS_pango_layout_set_single_paragraph_mode_0=cast=PangoLayout *
-OS_pango_layout_set_single_paragraph_mode_1=cast=gboolean
-
-OS_pango_layout_set_spacing=
-OS_pango_layout_set_spacing_0=cast=(PangoLayout *)
-OS_pango_layout_set_spacing_1=
-
-OS_pango_layout_set_tabs=
-OS_pango_layout_set_tabs_0=cast=PangoLayout *
-OS_pango_layout_set_tabs_1=cast=(PangoTabArray *)
-
-OS_pango_layout_set_text=
-OS_pango_layout_set_text_0=cast=(PangoLayout *)
-OS_pango_layout_set_text_1=cast=(const char *),flags=no_out critical
-OS_pango_layout_set_text_2=cast=(int)
-
-OS_pango_layout_set_width=
-OS_pango_layout_set_width_0=cast=(PangoLayout *)
-OS_pango_layout_set_width_1=
-
-OS_pango_layout_set_wrap=
-OS_pango_layout_set_wrap_0=cast=PangoLayout *
-OS_pango_layout_set_wrap_1=
-
-OS_pango_layout_xy_to_index=
-OS_pango_layout_xy_to_index_0=cast=PangoLayout *
-OS_pango_layout_xy_to_index_1=
-OS_pango_layout_xy_to_index_2=
-OS_pango_layout_xy_to_index_3=cast=int *
-OS_pango_layout_xy_to_index_4=cast=int *
-
-OS_pango_tab_array_free=
-OS_pango_tab_array_free_0=cast=(PangoTabArray *)
-
-OS_pango_tab_array_get_size=
-OS_pango_tab_array_get_size_0=cast=(PangoTabArray *)
-
-OS_pango_tab_array_get_tabs=
-OS_pango_tab_array_get_tabs_0=cast=(PangoTabArray *)
-OS_pango_tab_array_get_tabs_1=cast=(PangoTabAlign **)
-OS_pango_tab_array_get_tabs_2=cast=(int **)
-
-OS_pango_tab_array_new=
-OS_pango_tab_array_new_0=cast=(gint)
-OS_pango_tab_array_new_1=cast=(gboolean)
-
-OS_pango_tab_array_set_tab=
-OS_pango_tab_array_set_tab_0=cast=(PangoTabArray *)
-OS_pango_tab_array_set_tab_1=cast=(gint)
-OS_pango_tab_array_set_tab_2=cast=(PangoTabAlign)
-OS_pango_tab_array_set_tab_3=cast=(gint)
-
-OS_strlen=
-OS_strlen_0=cast=(const char *)
-
-
-org_eclipse_swt_internal_gtk_PangoAttribute=
-PangoAttribute_klass=cast=const PangoAttrClass *
-PangoAttribute_start_index=
-PangoAttribute_end_index=
-
-org_eclipse_swt_internal_gtk_PangoItem=
-PangoItem_offset=
-PangoItem_length=
-PangoItem_num_chars=
-PangoItem_analysis_shape_engine=accessor=analysis.shape_engine,cast=(PangoEngineShape *)
-PangoItem_analysis_lang_engine=accessor=analysis.lang_engine,cast=PangoEngineLang *
-PangoItem_analysis_font=accessor=analysis.font,cast=PangoFont *
-PangoItem_analysis_level=accessor=analysis.level
-PangoItem_analysis_language=accessor=analysis.language,cast=(PangoLanguage *)
-PangoItem_analysis_extra_attrs=accessor=analysis.extra_attrs,cast=GSList *
-
-org_eclipse_swt_internal_gtk_PangoLayoutLine=
-PangoLayoutLine_layout=cast=PangoLayout *
-PangoLayoutLine_start_index=
-PangoLayoutLine_length=
-PangoLayoutLine_runs=cast=GSList *
-
-org_eclipse_swt_internal_gtk_PangoLayoutRun=
-PangoLayoutRun_item=cast=PangoItem *
-PangoLayoutRun_glyphs=cast=PangoGlyphString *
-
-org_eclipse_swt_internal_gtk_PangoLogAttr=
-PangoLogAttr_is_line_break=
-PangoLogAttr_is_mandatory_break=
-PangoLogAttr_is_char_break=
-PangoLogAttr_is_white=
-PangoLogAttr_is_cursor_position=
-PangoLogAttr_is_word_start=
-PangoLogAttr_is_word_end=
-PangoLogAttr_is_sentence_boundary=
-PangoLogAttr_is_sentence_start=
-PangoLogAttr_is_sentence_end=
-
-org_eclipse_swt_internal_gtk_PangoRectangle=
-PangoRectangle_x=
-PangoRectangle_y=
-PangoRectangle_width=
-PangoRectangle_height=
-
-org_eclipse_swt_internal_gtk_XClientMessageEvent=
-XClientMessageEvent_type=
-XClientMessageEvent_serial=
-XClientMessageEvent_send_event=
-XClientMessageEvent_display=cast=(Display *)
-XClientMessageEvent_window=cast=(Window)
-XClientMessageEvent_message_type=cast=(Atom)
-XClientMessageEvent_format=
-XClientMessageEvent_data=accessor=data.l,cast=(long *)
-
-org_eclipse_swt_internal_gtk_XWindowChanges=
-XWindowChanges_x=
-XWindowChanges_y=
-XWindowChanges_width=
-XWindowChanges_height=
-XWindowChanges_border_width=
-XWindowChanges_sibling=
-XWindowChanges_stack_mode=
-
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.properties
deleted file mode 100644
index 21db003f34..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.gtk.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-swt_copyright=/*******************************************************************************\n\
- * Copyright (c) 2000, 2003 IBM Corporation and others. All rights reserved.\n\
- * The contents of this file are made available under the terms\n\
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that\n\
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also\n\
- * available at http://www.gnu.org/licenses/lgpl.html. If the version\n\
- * of the LGPL at http://www.gnu.org is different to the version of\n\
- * the LGPL accompanying this distribution and there is any conflict\n\
- * between the two license versions, the terms of the LGPL accompanying\n\
- * this distribution shall govern.\n\
- * \n\
- * Contributors:\n\
- * IBM Corporation - initial API and implementation\n\
- *******************************************************************************/\n
- \ No newline at end of file
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.motif.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.motif.OS.properties
deleted file mode 100644
index 6b122e0a41..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.motif.OS.properties
+++ /dev/null
@@ -1,2690 +0,0 @@
-org_eclipse_swt_internal_motif_CDE=flags=no_gen
-CDE_DtActionInvoke=
-CDE_DtActionInvoke_0=
-CDE_DtActionInvoke_1=
-CDE_DtActionInvoke_2=
-CDE_DtActionInvoke_3=
-CDE_DtActionInvoke_4=
-CDE_DtActionInvoke_5=
-CDE_DtActionInvoke_6=
-CDE_DtActionInvoke_7=
-CDE_DtActionInvoke_8=
-CDE_DtActionInvoke_9=
-
-CDE_DtAppInitialize=
-CDE_DtAppInitialize_0=
-CDE_DtAppInitialize_1=
-CDE_DtAppInitialize_2=
-CDE_DtAppInitialize_3=
-CDE_DtAppInitialize_4=
-
-CDE_DtDbLoad=
-
-CDE_DtDtsDataTypeIsAction=
-CDE_DtDtsDataTypeIsAction_0=
-
-CDE_DtDtsDataTypeNames=
-
-CDE_DtDtsDataTypeToAttributeValue=
-CDE_DtDtsDataTypeToAttributeValue_0=
-CDE_DtDtsDataTypeToAttributeValue_1=
-CDE_DtDtsDataTypeToAttributeValue_2=
-
-CDE_DtDtsFileToDataType=
-CDE_DtDtsFileToDataType_0=
-
-CDE_DtDtsFreeAttributeValue=
-CDE_DtDtsFreeAttributeValue_0=
-
-CDE_DtDtsFreeDataType=
-CDE_DtDtsFreeDataType_0=
-
-CDE_DtDtsFreeDataTypeNames=
-CDE_DtDtsFreeDataTypeNames_0=
-
-CDE_listElementAt=
-CDE_listElementAt_0=
-CDE_listElementAt_1=
-
-
-org_eclipse_swt_internal_motif_KDE=flags=no_gen
-KDE_KApplication_new=
-KDE_KApplication_new_0=
-
-KDE_KGlobal_iconLoader=
-
-KDE_KIconLoader_iconPath=
-KDE_KIconLoader_iconPath_0=
-KDE_KIconLoader_iconPath_1=
-KDE_KIconLoader_iconPath_2=
-KDE_KIconLoader_iconPath_3=
-
-KDE_KMimeTypeListIterator_delete=
-KDE_KMimeTypeListIterator_delete_0=
-
-KDE_KMimeTypeListIterator_dereference=
-KDE_KMimeTypeListIterator_dereference_0=
-
-KDE_KMimeTypeListIterator_equals=
-KDE_KMimeTypeListIterator_equals_0=
-KDE_KMimeTypeListIterator_equals_1=
-
-KDE_KMimeTypeListIterator_increment=
-KDE_KMimeTypeListIterator_increment_0=
-
-KDE_KMimeTypeList_begin=
-KDE_KMimeTypeList_begin_0=
-
-KDE_KMimeTypeList_delete=
-KDE_KMimeTypeList_delete_0=
-
-KDE_KMimeTypeList_end=
-KDE_KMimeTypeList_end_0=
-
-KDE_KMimeType_allMimeTypes=
-
-KDE_KMimeType_icon=
-KDE_KMimeType_icon_0=
-KDE_KMimeType_icon_1=
-KDE_KMimeType_icon_2=
-
-KDE_KMimeType_mimeType=
-KDE_KMimeType_mimeType_0=
-
-KDE_KMimeType_name=
-KDE_KMimeType_name_0=
-
-KDE_KMimeType_offers=
-KDE_KMimeType_offers_0=
-
-KDE_KMimeType_patterns=
-KDE_KMimeType_patterns_0=
-
-KDE_KRun_runURL=
-KDE_KRun_runURL_0=
-KDE_KRun_runURL_1=
-
-KDE_KServiceList_delete=
-KDE_KServiceList_delete_0=
-
-KDE_KURL_delete=
-KDE_KURL_delete_0=
-
-KDE_KURL_new=
-KDE_KURL_new_0=
-
-KDE_QCString_data=
-KDE_QCString_data_0=
-
-KDE_QCString_delete=
-KDE_QCString_delete_0=
-
-KDE_QCString_new=
-KDE_QCString_new_0=
-
-KDE_QStringListIterator_delete=
-KDE_QStringListIterator_delete_0=
-
-KDE_QStringListIterator_dereference=
-KDE_QStringListIterator_dereference_0=
-
-KDE_QStringListIterator_equals=
-KDE_QStringListIterator_equals_0=
-KDE_QStringListIterator_equals_1=
-
-KDE_QStringListIterator_increment=
-KDE_QStringListIterator_increment_0=
-
-KDE_QStringList_begin=
-KDE_QStringList_begin_0=
-
-KDE_QStringList_delete=
-KDE_QStringList_delete_0=
-
-KDE_QStringList_end=
-KDE_QStringList_end_0=
-
-KDE_QString_delete=
-KDE_QString_delete_0=
-
-KDE_QString_equals=
-KDE_QString_equals_0=
-KDE_QString_equals_1=
-
-KDE_QString_new=
-KDE_QString_new_0=
-
-KDE_QString_utf8=
-KDE_QString_utf8_0=
-
-
-org_eclipse_swt_internal_motif_OS=
-OS_CODESET=flags=const
-
-OS_Call=
-OS_Call_0=
-OS_Call_1=
-OS_Call_2=
-
-OS_ConnectionNumber=
-OS_ConnectionNumber_0=
-
-OS_FD_ISSET=
-OS_FD_ISSET_0=
-OS_FD_ISSET_1=cast=(fd_set *)
-
-OS_FD_SET=
-OS_FD_SET_0=
-OS_FD_SET_1=cast=(fd_set *)
-
-OS_FD_ZERO=
-OS_FD_ZERO_0=cast=(fd_set *)
-
-OS_LC_CTYPE=flags=const
-
-OS_MB_CUR_MAX=flags=const
-
-OS_XAllocColor=
-OS_XAllocColor_0=cast=(Display *)
-OS_XAllocColor_1=
-OS_XAllocColor_2=
-
-OS_XBell=
-OS_XBell_0=cast=(Display *)
-OS_XBell_1=
-
-OS_XBlackPixel=
-OS_XBlackPixel_0=cast=(Display *)
-OS_XBlackPixel_1=
-
-OS_XChangeActivePointerGrab=
-OS_XChangeActivePointerGrab_0=cast=(Display *)
-OS_XChangeActivePointerGrab_1=
-OS_XChangeActivePointerGrab_2=cast=(Cursor)
-OS_XChangeActivePointerGrab_3=cast=(Time)
-
-OS_XChangeProperty=
-OS_XChangeProperty_0=cast=Display *
-OS_XChangeProperty_1=cast=Window
-OS_XChangeProperty_2=cast=Atom
-OS_XChangeProperty_3=cast=Atom
-OS_XChangeProperty_4=
-OS_XChangeProperty_5=
-OS_XChangeProperty_6=cast=unsigned char *
-OS_XChangeProperty_7=
-
-OS_XChangeWindowAttributes=
-OS_XChangeWindowAttributes_0=cast=(Display *)
-OS_XChangeWindowAttributes_1=
-OS_XChangeWindowAttributes_2=
-OS_XChangeWindowAttributes_3=
-
-OS_XCheckIfEvent=
-OS_XCheckIfEvent_0=cast=(Display *)
-OS_XCheckIfEvent_1=cast=(XEvent *)
-OS_XCheckIfEvent_2=cast=(Bool (*)())
-OS_XCheckIfEvent_3=cast=(XPointer)
-
-OS_XCheckMaskEvent=
-OS_XCheckMaskEvent_0=cast=(Display *)
-OS_XCheckMaskEvent_1=
-OS_XCheckMaskEvent_2=cast=(XEvent *)
-
-OS_XCheckWindowEvent=
-OS_XCheckWindowEvent_0=cast=(Display *)
-OS_XCheckWindowEvent_1=cast=(Window)
-OS_XCheckWindowEvent_2=
-OS_XCheckWindowEvent_3=cast=(XEvent *)
-
-OS_XClearArea=
-OS_XClearArea_0=cast=(Display *)
-OS_XClearArea_1=
-OS_XClearArea_2=
-OS_XClearArea_3=
-OS_XClearArea_4=
-OS_XClearArea_5=
-OS_XClearArea_6=
-
-OS_XClipBox=
-OS_XClipBox_0=cast=(Region)
-OS_XClipBox_1=cast=(XRectangle *)
-
-OS_XCloseDisplay=
-OS_XCloseDisplay_0=cast=(Display *)
-
-OS_XCopyArea=
-OS_XCopyArea_0=cast=(Display *)
-OS_XCopyArea_1=
-OS_XCopyArea_2=
-OS_XCopyArea_3=cast=(GC)
-OS_XCopyArea_4=
-OS_XCopyArea_5=
-OS_XCopyArea_6=
-OS_XCopyArea_7=
-OS_XCopyArea_8=
-OS_XCopyArea_9=
-
-OS_XCopyPlane=
-OS_XCopyPlane_0=cast=(Display *)
-OS_XCopyPlane_1=
-OS_XCopyPlane_2=
-OS_XCopyPlane_3=cast=(GC)
-OS_XCopyPlane_4=
-OS_XCopyPlane_5=
-OS_XCopyPlane_6=
-OS_XCopyPlane_7=
-OS_XCopyPlane_8=
-OS_XCopyPlane_9=
-OS_XCopyPlane_10=
-
-OS_XCreateBitmapFromData=
-OS_XCreateBitmapFromData_0=cast=(Display *)
-OS_XCreateBitmapFromData_1=
-OS_XCreateBitmapFromData_2=cast=(char *)
-OS_XCreateBitmapFromData_3=
-OS_XCreateBitmapFromData_4=
-
-OS_XCreateFontCursor=
-OS_XCreateFontCursor_0=cast=(Display *)
-OS_XCreateFontCursor_1=
-
-OS_XCreateGC=
-OS_XCreateGC_0=cast=(Display *)
-OS_XCreateGC_1=
-OS_XCreateGC_2=
-OS_XCreateGC_3=
-
-OS_XCreateImage=
-OS_XCreateImage_0=cast=(Display *)
-OS_XCreateImage_1=cast=(Visual *)
-OS_XCreateImage_2=
-OS_XCreateImage_3=
-OS_XCreateImage_4=
-OS_XCreateImage_5=cast=(char *)
-OS_XCreateImage_6=
-OS_XCreateImage_7=
-OS_XCreateImage_8=
-OS_XCreateImage_9=
-
-OS_XCreatePixmap=
-OS_XCreatePixmap_0=cast=(Display *)
-OS_XCreatePixmap_1=
-OS_XCreatePixmap_2=
-OS_XCreatePixmap_3=
-OS_XCreatePixmap_4=
-
-OS_XCreatePixmapCursor=
-OS_XCreatePixmapCursor_0=cast=(Display *)
-OS_XCreatePixmapCursor_1=cast=(Pixmap)
-OS_XCreatePixmapCursor_2=cast=(Pixmap)
-OS_XCreatePixmapCursor_3=
-OS_XCreatePixmapCursor_4=
-OS_XCreatePixmapCursor_5=
-OS_XCreatePixmapCursor_6=
-
-OS_XCreateRegion=
-
-OS_XCreateWindow=
-OS_XCreateWindow_0=cast=(Display *)
-OS_XCreateWindow_1=cast=(Window)
-OS_XCreateWindow_2=
-OS_XCreateWindow_3=
-OS_XCreateWindow_4=
-OS_XCreateWindow_5=
-OS_XCreateWindow_6=
-OS_XCreateWindow_7=
-OS_XCreateWindow_8=
-OS_XCreateWindow_9=cast=(Visual *)
-OS_XCreateWindow_10=
-OS_XCreateWindow_11=cast=(XSetWindowAttributes *)
-
-OS_XDefaultColormap=
-OS_XDefaultColormap_0=cast=(Display *)
-OS_XDefaultColormap_1=
-
-OS_XDefaultColormapOfScreen=
-OS_XDefaultColormapOfScreen_0=cast=(Screen *)
-
-OS_XDefaultDepthOfScreen=
-OS_XDefaultDepthOfScreen_0=cast=(Screen *)
-
-OS_XDefaultGCOfScreen=
-OS_XDefaultGCOfScreen_0=cast=(Screen *)
-
-OS_XDefaultRootWindow=
-OS_XDefaultRootWindow_0=cast=(Display *)
-
-OS_XDefaultScreen=
-OS_XDefaultScreen_0=cast=(Display *)
-
-OS_XDefaultScreenOfDisplay=
-OS_XDefaultScreenOfDisplay_0=cast=(Display *)
-
-OS_XDefaultVisual=
-OS_XDefaultVisual_0=cast=(Display *)
-OS_XDefaultVisual_1=
-
-OS_XDefineCursor=
-OS_XDefineCursor_0=cast=(Display *)
-OS_XDefineCursor_1=
-OS_XDefineCursor_2=
-
-OS_XDestroyImage=
-OS_XDestroyImage_0=cast=(XImage *)
-
-OS_XDestroyRegion=
-OS_XDestroyRegion_0=cast=(Region)
-
-OS_XDestroyWindow=
-OS_XDestroyWindow_0=cast=(Display *)
-OS_XDestroyWindow_1=cast=(Window)
-
-OS_XDisplayHeight=
-OS_XDisplayHeight_0=cast=(Display *)
-OS_XDisplayHeight_1=
-
-OS_XDisplayHeightMM=
-OS_XDisplayHeightMM_0=cast=(Display *)
-OS_XDisplayHeightMM_1=
-
-OS_XDisplayWidth=
-OS_XDisplayWidth_0=cast=(Display *)
-OS_XDisplayWidth_1=
-
-OS_XDisplayWidthMM=
-OS_XDisplayWidthMM_0=cast=(Display *)
-OS_XDisplayWidthMM_1=
-
-OS_XDrawArc=
-OS_XDrawArc_0=cast=(Display *)
-OS_XDrawArc_1=cast=(Drawable)
-OS_XDrawArc_2=cast=(GC)
-OS_XDrawArc_3=
-OS_XDrawArc_4=
-OS_XDrawArc_5=
-OS_XDrawArc_6=
-OS_XDrawArc_7=
-OS_XDrawArc_8=
-
-OS_XDrawLine=
-OS_XDrawLine_0=cast=(Display *)
-OS_XDrawLine_1=cast=(Drawable)
-OS_XDrawLine_2=cast=(GC)
-OS_XDrawLine_3=
-OS_XDrawLine_4=
-OS_XDrawLine_5=
-OS_XDrawLine_6=
-
-OS_XDrawLines=
-OS_XDrawLines_0=cast=(Display *)
-OS_XDrawLines_1=cast=(Drawable)
-OS_XDrawLines_2=cast=(GC)
-OS_XDrawLines_3=cast=(XPoint *)
-OS_XDrawLines_4=
-OS_XDrawLines_5=
-
-OS_XDrawPoint=
-OS_XDrawPoint_0=cast=(Display *)
-OS_XDrawPoint_1=cast=Drawable
-OS_XDrawPoint_2=cast=GC
-OS_XDrawPoint_3=
-OS_XDrawPoint_4=
-
-OS_XDrawRectangle=
-OS_XDrawRectangle_0=cast=(Display *)
-OS_XDrawRectangle_1=cast=(Drawable)
-OS_XDrawRectangle_2=cast=(GC)
-OS_XDrawRectangle_3=
-OS_XDrawRectangle_4=
-OS_XDrawRectangle_5=
-OS_XDrawRectangle_6=
-
-OS_XEmptyRegion=
-OS_XEmptyRegion_0=cast=(Region)
-
-OS_XEventsQueued=
-OS_XEventsQueued_0=cast=(Display *)
-OS_XEventsQueued_1=
-
-OS_XFillArc=
-OS_XFillArc_0=cast=(Display *)
-OS_XFillArc_1=cast=(Drawable)
-OS_XFillArc_2=cast=(GC)
-OS_XFillArc_3=
-OS_XFillArc_4=
-OS_XFillArc_5=
-OS_XFillArc_6=
-OS_XFillArc_7=
-OS_XFillArc_8=
-
-OS_XFillPolygon=
-OS_XFillPolygon_0=cast=(Display *)
-OS_XFillPolygon_1=cast=(Drawable)
-OS_XFillPolygon_2=cast=(GC)
-OS_XFillPolygon_3=cast=(XPoint *)
-OS_XFillPolygon_4=
-OS_XFillPolygon_5=
-OS_XFillPolygon_6=
-
-OS_XFillRectangle=
-OS_XFillRectangle_0=cast=(Display *)
-OS_XFillRectangle_1=cast=(Drawable)
-OS_XFillRectangle_2=cast=(GC)
-OS_XFillRectangle_3=
-OS_XFillRectangle_4=
-OS_XFillRectangle_5=
-OS_XFillRectangle_6=
-
-OS_XFilterEvent=
-OS_XFilterEvent_0=cast=(XEvent *)
-OS_XFilterEvent_1=cast=(Window)
-
-OS_XFlush=
-OS_XFlush_0=cast=(Display *)
-
-OS_XFontsOfFontSet=
-OS_XFontsOfFontSet_0=cast=(XFontSet)
-OS_XFontsOfFontSet_1=cast=(XFontStruct ***)
-OS_XFontsOfFontSet_2=cast=(char ***)
-
-OS_XFree=
-OS_XFree_0=cast=(char *)
-
-OS_XFreeColors=
-OS_XFreeColors_0=cast=(Display *)
-OS_XFreeColors_1=
-OS_XFreeColors_2=cast=(unsigned long *)
-OS_XFreeColors_3=
-OS_XFreeColors_4=
-
-OS_XFreeCursor=
-OS_XFreeCursor_0=cast=(Display *)
-OS_XFreeCursor_1=cast=(Cursor)
-
-OS_XFreeFont=
-OS_XFreeFont_0=cast=(Display *)
-OS_XFreeFont_1=cast=(XFontStruct *)
-
-OS_XFreeFontNames=
-OS_XFreeFontNames_0=cast=(char **)
-
-OS_XFreeGC=
-OS_XFreeGC_0=cast=(Display *)
-OS_XFreeGC_1=cast=(GC)
-
-OS_XFreePixmap=
-OS_XFreePixmap_0=cast=(Display *)
-OS_XFreePixmap_1=cast=(Pixmap)
-
-OS_XFreeStringList=
-OS_XFreeStringList_0=cast=(char **)
-
-OS_XGetGCValues=
-OS_XGetGCValues_0=cast=(Display *)
-OS_XGetGCValues_1=cast=(GC)
-OS_XGetGCValues_2=
-OS_XGetGCValues_3=
-
-OS_XGetGeometry=
-OS_XGetGeometry_0=cast=(Display *)
-OS_XGetGeometry_1=cast=(Drawable)
-OS_XGetGeometry_2=cast=(Window *)
-OS_XGetGeometry_3=cast=(int *)
-OS_XGetGeometry_4=cast=(int *)
-OS_XGetGeometry_5=cast=(unsigned int *)
-OS_XGetGeometry_6=cast=(unsigned int *)
-OS_XGetGeometry_7=cast=(unsigned int *)
-OS_XGetGeometry_8=cast=(unsigned int *)
-
-OS_XGetIconSizes=
-OS_XGetIconSizes_0=cast=Display *
-OS_XGetIconSizes_1=cast=Window
-OS_XGetIconSizes_2=cast=XIconSize **
-OS_XGetIconSizes_3=cast=int *
-
-OS_XGetImage=
-OS_XGetImage_0=cast=(Display *)
-OS_XGetImage_1=cast=(Drawable)
-OS_XGetImage_2=
-OS_XGetImage_3=
-OS_XGetImage_4=
-OS_XGetImage_5=
-OS_XGetImage_6=
-OS_XGetImage_7=
-
-OS_XGetInputFocus=
-OS_XGetInputFocus_0=cast=(Display *)
-OS_XGetInputFocus_1=cast=(Window *)
-OS_XGetInputFocus_2=cast=(int *)
-
-OS_XGetModifierMapping=
-OS_XGetModifierMapping_0=cast=(Display *)
-
-OS_XGetWindowAttributes=
-OS_XGetWindowAttributes_0=cast=(Display *)
-OS_XGetWindowAttributes_1=
-OS_XGetWindowAttributes_2=
-
-OS_XGetWindowProperty=
-OS_XGetWindowProperty_0=cast=Display *
-OS_XGetWindowProperty_1=cast=Window
-OS_XGetWindowProperty_2=cast=Atom
-OS_XGetWindowProperty_3=
-OS_XGetWindowProperty_4=
-OS_XGetWindowProperty_5=cast=Bool
-OS_XGetWindowProperty_6=cast=Atom
-OS_XGetWindowProperty_7=cast=Atom *
-OS_XGetWindowProperty_8=cast=int *
-OS_XGetWindowProperty_9=cast=unsigned long *
-OS_XGetWindowProperty_10=cast=unsigned long *
-OS_XGetWindowProperty_11=cast=unsigned char **
-
-OS_XGrabKeyboard=
-OS_XGrabKeyboard_0=cast=(Display *)
-OS_XGrabKeyboard_1=
-OS_XGrabKeyboard_2=
-OS_XGrabKeyboard_3=
-OS_XGrabKeyboard_4=
-OS_XGrabKeyboard_5=
-
-OS_XGrabPointer=
-OS_XGrabPointer_0=cast=(Display *)
-OS_XGrabPointer_1=
-OS_XGrabPointer_2=
-OS_XGrabPointer_3=
-OS_XGrabPointer_4=
-OS_XGrabPointer_5=
-OS_XGrabPointer_6=
-OS_XGrabPointer_7=
-OS_XGrabPointer_8=
-
-OS_XInitThreads=
-
-OS_XInternAtom=
-OS_XInternAtom_0=cast=(Display *)
-OS_XInternAtom_1=cast=(char *)
-OS_XInternAtom_2=
-
-OS_XIntersectRegion=
-OS_XIntersectRegion_0=cast=(Region)
-OS_XIntersectRegion_1=cast=(Region)
-OS_XIntersectRegion_2=cast=(Region)
-
-OS_XKeysymToKeycode=
-OS_XKeysymToKeycode_0=cast=(Display *)
-OS_XKeysymToKeycode_1=cast=(KeySym)
-
-OS_XKeysymToString=
-OS_XKeysymToString_0=
-
-OS_XListFonts=
-OS_XListFonts_0=cast=(Display *)
-OS_XListFonts_1=cast=(char *)
-OS_XListFonts_2=
-OS_XListFonts_3=cast=(int *)
-
-OS_XListProperties=
-OS_XListProperties_0=cast=(Display *)
-OS_XListProperties_1=cast=(Window)
-OS_XListProperties_2=cast=(int *)
-
-OS_XLocaleOfFontSet=
-OS_XLocaleOfFontSet_0=cast=(XFontSet)
-
-OS_XLookupString=
-OS_XLookupString_0=cast=(XKeyEvent *)
-OS_XLookupString_1=cast=(char *)
-OS_XLookupString_2=
-OS_XLookupString_3=cast=(KeySym *)
-OS_XLookupString_4=cast=(XComposeStatus *)
-
-OS_XLowerWindow=
-OS_XLowerWindow_0=cast=(Display *)
-OS_XLowerWindow_1=cast=(Window)
-
-OS_XMapWindow=
-OS_XMapWindow_0=cast=Display *
-OS_XMapWindow_1=cast=Window
-
-OS_XMoveResizeWindow=
-OS_XMoveResizeWindow_0=cast=Display *
-OS_XMoveResizeWindow_1=cast=Window
-OS_XMoveResizeWindow_2=
-OS_XMoveResizeWindow_3=
-OS_XMoveResizeWindow_4=
-OS_XMoveResizeWindow_5=
-
-OS_XOpenDisplay=
-OS_XOpenDisplay_0=cast=(char *)
-
-OS_XPointInRegion=
-OS_XPointInRegion_0=cast=(Region)
-OS_XPointInRegion_1=
-OS_XPointInRegion_2=
-
-OS_XPolygonRegion=
-OS_XPolygonRegion_0=cast=(XPoint *)
-OS_XPolygonRegion_1=
-OS_XPolygonRegion_2=
-
-OS_XPutImage=
-OS_XPutImage_0=cast=(Display *)
-OS_XPutImage_1=cast=(Drawable)
-OS_XPutImage_2=cast=(GC)
-OS_XPutImage_3=cast=(XImage *)
-OS_XPutImage_4=
-OS_XPutImage_5=
-OS_XPutImage_6=
-OS_XPutImage_7=
-OS_XPutImage_8=
-OS_XPutImage_9=
-
-OS_XQueryBestCursor=
-OS_XQueryBestCursor_0=cast=Display *
-OS_XQueryBestCursor_1=
-OS_XQueryBestCursor_2=
-OS_XQueryBestCursor_3=
-OS_XQueryBestCursor_4=cast=(unsigned int *)
-OS_XQueryBestCursor_5=cast=(unsigned int *)
-
-OS_XQueryColor=
-OS_XQueryColor_0=cast=(Display *)
-OS_XQueryColor_1=
-OS_XQueryColor_2=
-
-OS_XQueryPointer=
-OS_XQueryPointer_0=cast=(Display *)
-OS_XQueryPointer_1=cast=(Window)
-OS_XQueryPointer_2=cast=(Window *)
-OS_XQueryPointer_3=cast=(Window *)
-OS_XQueryPointer_4=cast=(int *)
-OS_XQueryPointer_5=cast=(int *)
-OS_XQueryPointer_6=cast=(int *)
-OS_XQueryPointer_7=cast=(int *)
-OS_XQueryPointer_8=cast=(unsigned int *)
-
-OS_XQueryTree=
-OS_XQueryTree_0=cast=(Display *)
-OS_XQueryTree_1=cast=(Window)
-OS_XQueryTree_2=cast=(Window *)
-OS_XQueryTree_3=cast=(Window *)
-OS_XQueryTree_4=cast=(Window **)
-OS_XQueryTree_5=cast=(unsigned int *)
-
-OS_XRaiseWindow=
-OS_XRaiseWindow_0=cast=(Display *)
-OS_XRaiseWindow_1=cast=(Window)
-
-OS_XReconfigureWMWindow=
-OS_XReconfigureWMWindow_0=cast=(Display *)
-OS_XReconfigureWMWindow_1=cast=(Window)
-OS_XReconfigureWMWindow_2=
-OS_XReconfigureWMWindow_3=
-OS_XReconfigureWMWindow_4=
-
-OS_XRectInRegion=
-OS_XRectInRegion_0=cast=(Region)
-OS_XRectInRegion_1=
-OS_XRectInRegion_2=
-OS_XRectInRegion_3=
-OS_XRectInRegion_4=
-
-OS_XReparentWindow=
-OS_XReparentWindow_0=cast=(Display *)
-OS_XReparentWindow_1=cast=(Window)
-OS_XReparentWindow_2=cast=(Window)
-OS_XReparentWindow_3=
-OS_XReparentWindow_4=
-
-OS_XRootWindowOfScreen=
-OS_XRootWindowOfScreen_0=cast=(Screen *)
-
-OS_XSelectInput=
-OS_XSelectInput_0=cast=Display *
-OS_XSelectInput_1=cast=Window
-OS_XSelectInput_2=
-
-OS_XSendEvent=
-OS_XSendEvent_0=cast=Display *
-OS_XSendEvent_1=cast=Window
-OS_XSendEvent_2=cast=Bool
-OS_XSendEvent_3=cast=long
-OS_XSendEvent_4=cast=XEvent *
-
-OS_XSetBackground=
-OS_XSetBackground_0=cast=(Display *)
-OS_XSetBackground_1=cast=(GC)
-OS_XSetBackground_2=
-
-OS_XSetClipMask=
-OS_XSetClipMask_0=cast=(Display *)
-OS_XSetClipMask_1=cast=(GC)
-OS_XSetClipMask_2=cast=(Pixmap)
-
-OS_XSetClipRectangles=
-OS_XSetClipRectangles_0=cast=(Display *)
-OS_XSetClipRectangles_1=cast=(GC)
-OS_XSetClipRectangles_2=
-OS_XSetClipRectangles_3=
-OS_XSetClipRectangles_4=cast=(XRectangle *)
-OS_XSetClipRectangles_5=
-OS_XSetClipRectangles_6=
-
-OS_XSetDashes=
-OS_XSetDashes_0=cast=(Display *)
-OS_XSetDashes_1=cast=(GC)
-OS_XSetDashes_2=
-OS_XSetDashes_3=cast=(char *)
-OS_XSetDashes_4=
-
-OS_XSetErrorHandler=
-OS_XSetErrorHandler_0=cast=(XErrorHandler)
-
-OS_XSetFillStyle=
-OS_XSetFillStyle_0=cast=(Display *)
-OS_XSetFillStyle_1=cast=(GC)
-OS_XSetFillStyle_2=
-
-OS_XSetForeground=
-OS_XSetForeground_0=cast=(Display *)
-OS_XSetForeground_1=cast=(GC)
-OS_XSetForeground_2=
-
-OS_XSetFunction=
-OS_XSetFunction_0=cast=(Display *)
-OS_XSetFunction_1=cast=(GC)
-OS_XSetFunction_2=
-
-OS_XSetGraphicsExposures=
-OS_XSetGraphicsExposures_0=cast=(Display *)
-OS_XSetGraphicsExposures_1=cast=(GC)
-OS_XSetGraphicsExposures_2=cast=(Bool)
-
-OS_XSetIOErrorHandler=
-OS_XSetIOErrorHandler_0=cast=(XIOErrorHandler)
-
-OS_XSetInputFocus=
-OS_XSetInputFocus_0=cast=(Display *)
-OS_XSetInputFocus_1=cast=(Window)
-OS_XSetInputFocus_2=
-OS_XSetInputFocus_3=
-
-OS_XSetLineAttributes=
-OS_XSetLineAttributes_0=cast=(Display *)
-OS_XSetLineAttributes_1=cast=(GC)
-OS_XSetLineAttributes_2=
-OS_XSetLineAttributes_3=
-OS_XSetLineAttributes_4=
-OS_XSetLineAttributes_5=
-
-OS_XSetRegion=
-OS_XSetRegion_0=cast=(Display *)
-OS_XSetRegion_1=cast=(GC)
-OS_XSetRegion_2=cast=(Region)
-
-OS_XSetStipple=
-OS_XSetStipple_0=cast=(Display *)
-OS_XSetStipple_1=cast=(GC)
-OS_XSetStipple_2=cast=(Pixmap)
-
-OS_XSetSubwindowMode=
-OS_XSetSubwindowMode_0=cast=(Display *)
-OS_XSetSubwindowMode_1=cast=(GC)
-OS_XSetSubwindowMode_2=
-
-OS_XShapeCombineMask=
-OS_XShapeCombineMask_0=cast=Display *
-OS_XShapeCombineMask_1=cast=(Window)
-OS_XShapeCombineMask_2=
-OS_XShapeCombineMask_3=
-OS_XShapeCombineMask_4=
-OS_XShapeCombineMask_5=cast=Pixmap
-OS_XShapeCombineMask_6=
-
-OS_XShapeCombineRegion=
-OS_XShapeCombineRegion_0=cast=(Display *)
-OS_XShapeCombineRegion_1=cast=(Window)
-OS_XShapeCombineRegion_2=
-OS_XShapeCombineRegion_3=
-OS_XShapeCombineRegion_4=
-OS_XShapeCombineRegion_5=cast=(Region)
-OS_XShapeCombineRegion_6=
-
-OS_XSubtractRegion=
-OS_XSubtractRegion_0=cast=(Region)
-OS_XSubtractRegion_1=cast=(Region)
-OS_XSubtractRegion_2=cast=(Region)
-
-OS_XSync=
-OS_XSync_0=cast=(Display *)
-OS_XSync_1=cast=(Bool)
-
-OS_XSynchronize=
-OS_XSynchronize_0=cast=(Display *)
-OS_XSynchronize_1=cast=(Bool)
-
-OS_XTestFakeButtonEvent=
-OS_XTestFakeButtonEvent_0=cast=Display *
-OS_XTestFakeButtonEvent_1=
-OS_XTestFakeButtonEvent_2=cast=Bool
-OS_XTestFakeButtonEvent_3=cast=unsigned long
-
-OS_XTestFakeKeyEvent=
-OS_XTestFakeKeyEvent_0=cast=Display *
-OS_XTestFakeKeyEvent_1=
-OS_XTestFakeKeyEvent_2=cast=Bool
-OS_XTestFakeKeyEvent_3=cast=unsigned long
-
-OS_XTestFakeMotionEvent=
-OS_XTestFakeMotionEvent_0=cast=Display *
-OS_XTestFakeMotionEvent_1=
-OS_XTestFakeMotionEvent_2=
-OS_XTestFakeMotionEvent_3=
-OS_XTestFakeMotionEvent_4=cast=unsigned long
-
-OS_XUndefineCursor=
-OS_XUndefineCursor_0=cast=(Display *)
-OS_XUndefineCursor_1=cast=(Window)
-
-OS_XUngrabKeyboard=
-OS_XUngrabKeyboard_0=cast=(Display *)
-OS_XUngrabKeyboard_1=
-
-OS_XUngrabPointer=
-OS_XUngrabPointer_0=cast=(Display *)
-OS_XUngrabPointer_1=
-
-OS_XUnionRectWithRegion=
-OS_XUnionRectWithRegion_0=cast=(XRectangle *)
-OS_XUnionRectWithRegion_1=cast=(Region)
-OS_XUnionRectWithRegion_2=cast=(Region)
-
-OS_XUnionRegion=
-OS_XUnionRegion_0=cast=(Region)
-OS_XUnionRegion_1=cast=(Region)
-OS_XUnionRegion_2=cast=(Region)
-
-OS_XUnmapWindow=
-OS_XUnmapWindow_0=cast=Display *
-OS_XUnmapWindow_1=cast=Window
-
-OS_XWarpPointer=
-OS_XWarpPointer_0=cast=(Display *)
-OS_XWarpPointer_1=
-OS_XWarpPointer_2=
-OS_XWarpPointer_3=
-OS_XWarpPointer_4=
-OS_XWarpPointer_5=
-OS_XWarpPointer_6=
-OS_XWarpPointer_7=
-OS_XWarpPointer_8=
-
-OS_XWhitePixel=
-OS_XWhitePixel_0=cast=(Display *)
-OS_XWhitePixel_1=
-
-OS_XWithdrawWindow=
-OS_XWithdrawWindow_0=cast=(Display *)
-OS_XWithdrawWindow_1=cast=(Window)
-OS_XWithdrawWindow_2=
-
-OS_XineramaIsActive=
-OS_XineramaIsActive_0=cast=(Display *)
-
-OS_XineramaQueryScreens=
-OS_XineramaQueryScreens_0=cast=(Display *)
-OS_XineramaQueryScreens_1=
-
-OS_XmAddWMProtocolCallback=
-OS_XmAddWMProtocolCallback_0=cast=(Widget)
-OS_XmAddWMProtocolCallback_1=cast=(Atom)
-OS_XmAddWMProtocolCallback_2=cast=(XtCallbackProc)
-OS_XmAddWMProtocolCallback_3=cast=(XtPointer)
-
-OS_XmChangeColor=
-OS_XmChangeColor_0=cast=(Widget)
-OS_XmChangeColor_1=
-
-OS_XmClipboardCopy=
-OS_XmClipboardCopy_0=cast=(Display *)
-OS_XmClipboardCopy_1=cast=(Window)
-OS_XmClipboardCopy_2=
-OS_XmClipboardCopy_3=cast=(char *)
-OS_XmClipboardCopy_4=cast=(char *)
-OS_XmClipboardCopy_5=
-OS_XmClipboardCopy_6=
-OS_XmClipboardCopy_7=cast=(void *)
-
-OS_XmClipboardEndCopy=
-OS_XmClipboardEndCopy_0=cast=(Display *)
-OS_XmClipboardEndCopy_1=cast=(Window)
-OS_XmClipboardEndCopy_2=
-
-OS_XmClipboardEndRetrieve=
-OS_XmClipboardEndRetrieve_0=cast=(Display *)
-OS_XmClipboardEndRetrieve_1=cast=(Window)
-
-OS_XmClipboardInquireCount=
-OS_XmClipboardInquireCount_0=cast=(Display *)
-OS_XmClipboardInquireCount_1=cast=(Window)
-OS_XmClipboardInquireCount_2=cast=(int *)
-OS_XmClipboardInquireCount_3=cast=(unsigned long *)
-
-OS_XmClipboardInquireFormat=
-OS_XmClipboardInquireFormat_0=cast=(Display *)
-OS_XmClipboardInquireFormat_1=cast=(Window)
-OS_XmClipboardInquireFormat_2=
-OS_XmClipboardInquireFormat_3=cast=(char *)
-OS_XmClipboardInquireFormat_4=
-OS_XmClipboardInquireFormat_5=cast=(unsigned long *)
-
-OS_XmClipboardInquireLength=
-OS_XmClipboardInquireLength_0=cast=(Display *)
-OS_XmClipboardInquireLength_1=cast=(Window)
-OS_XmClipboardInquireLength_2=cast=(char *)
-OS_XmClipboardInquireLength_3=cast=(unsigned long *)
-
-OS_XmClipboardRetrieve=
-OS_XmClipboardRetrieve_0=cast=(Display *)
-OS_XmClipboardRetrieve_1=cast=(Window)
-OS_XmClipboardRetrieve_2=cast=(char *)
-OS_XmClipboardRetrieve_3=cast=(char *)
-OS_XmClipboardRetrieve_4=
-OS_XmClipboardRetrieve_5=cast=(unsigned long *)
-OS_XmClipboardRetrieve_6=cast=(long *)
-
-OS_XmClipboardStartCopy=
-OS_XmClipboardStartCopy_0=cast=(Display *)
-OS_XmClipboardStartCopy_1=cast=(Window)
-OS_XmClipboardStartCopy_2=cast=(XmString)
-OS_XmClipboardStartCopy_3=
-OS_XmClipboardStartCopy_4=cast=(Widget)
-OS_XmClipboardStartCopy_5=cast=(XmCutPasteProc)
-OS_XmClipboardStartCopy_6=cast=(long *)
-
-OS_XmClipboardStartRetrieve=
-OS_XmClipboardStartRetrieve_0=cast=(Display *)
-OS_XmClipboardStartRetrieve_1=cast=(Window)
-OS_XmClipboardStartRetrieve_2=
-
-OS_XmComboBoxAddItem=
-OS_XmComboBoxAddItem_0=cast=(Widget)
-OS_XmComboBoxAddItem_1=cast=(XmString)
-OS_XmComboBoxAddItem_2=
-OS_XmComboBoxAddItem_3=
-
-OS_XmComboBoxDeletePos=
-OS_XmComboBoxDeletePos_0=cast=(Widget)
-OS_XmComboBoxDeletePos_1=
-
-OS_XmComboBoxSelectItem=
-OS_XmComboBoxSelectItem_0=cast=(Widget)
-OS_XmComboBoxSelectItem_1=cast=(XmString)
-
-OS_XmCreateArrowButton=
-OS_XmCreateArrowButton_0=cast=(Widget)
-OS_XmCreateArrowButton_1=cast=(String)
-OS_XmCreateArrowButton_2=cast=(ArgList)
-OS_XmCreateArrowButton_3=
-
-OS_XmCreateCascadeButtonGadget=
-OS_XmCreateCascadeButtonGadget_0=cast=(Widget)
-OS_XmCreateCascadeButtonGadget_1=cast=(String)
-OS_XmCreateCascadeButtonGadget_2=cast=(ArgList)
-OS_XmCreateCascadeButtonGadget_3=
-
-OS_XmCreateComboBox=
-OS_XmCreateComboBox_0=cast=(Widget)
-OS_XmCreateComboBox_1=cast=(String)
-OS_XmCreateComboBox_2=cast=(ArgList)
-OS_XmCreateComboBox_3=
-
-OS_XmCreateDialogShell=
-OS_XmCreateDialogShell_0=cast=(Widget)
-OS_XmCreateDialogShell_1=cast=(String)
-OS_XmCreateDialogShell_2=cast=(ArgList)
-OS_XmCreateDialogShell_3=
-
-OS_XmCreateDrawingArea=
-OS_XmCreateDrawingArea_0=cast=(Widget)
-OS_XmCreateDrawingArea_1=cast=(String)
-OS_XmCreateDrawingArea_2=cast=(ArgList)
-OS_XmCreateDrawingArea_3=
-
-OS_XmCreateDrawnButton=
-OS_XmCreateDrawnButton_0=cast=(Widget)
-OS_XmCreateDrawnButton_1=cast=(String)
-OS_XmCreateDrawnButton_2=cast=(ArgList)
-OS_XmCreateDrawnButton_3=
-
-OS_XmCreateErrorDialog=
-OS_XmCreateErrorDialog_0=cast=(Widget)
-OS_XmCreateErrorDialog_1=cast=(String)
-OS_XmCreateErrorDialog_2=cast=(ArgList)
-OS_XmCreateErrorDialog_3=
-
-OS_XmCreateFileSelectionDialog=
-OS_XmCreateFileSelectionDialog_0=cast=(Widget)
-OS_XmCreateFileSelectionDialog_1=cast=(String)
-OS_XmCreateFileSelectionDialog_2=cast=(ArgList)
-OS_XmCreateFileSelectionDialog_3=
-
-OS_XmCreateForm=
-OS_XmCreateForm_0=cast=(Widget)
-OS_XmCreateForm_1=cast=(String)
-OS_XmCreateForm_2=cast=(ArgList)
-OS_XmCreateForm_3=
-
-OS_XmCreateFrame=
-OS_XmCreateFrame_0=cast=(Widget)
-OS_XmCreateFrame_1=cast=(String)
-OS_XmCreateFrame_2=cast=(ArgList)
-OS_XmCreateFrame_3=
-
-OS_XmCreateInformationDialog=
-OS_XmCreateInformationDialog_0=cast=(Widget)
-OS_XmCreateInformationDialog_1=cast=(String)
-OS_XmCreateInformationDialog_2=cast=(ArgList)
-OS_XmCreateInformationDialog_3=
-
-OS_XmCreateLabel=
-OS_XmCreateLabel_0=cast=(Widget)
-OS_XmCreateLabel_1=cast=(String)
-OS_XmCreateLabel_2=cast=(ArgList)
-OS_XmCreateLabel_3=
-
-OS_XmCreateList=
-OS_XmCreateList_0=cast=(Widget)
-OS_XmCreateList_1=cast=(String)
-OS_XmCreateList_2=cast=(ArgList)
-OS_XmCreateList_3=
-
-OS_XmCreateMainWindow=
-OS_XmCreateMainWindow_0=cast=(Widget)
-OS_XmCreateMainWindow_1=cast=(String)
-OS_XmCreateMainWindow_2=cast=(ArgList)
-OS_XmCreateMainWindow_3=
-
-OS_XmCreateMenuBar=
-OS_XmCreateMenuBar_0=cast=(Widget)
-OS_XmCreateMenuBar_1=cast=(String)
-OS_XmCreateMenuBar_2=cast=(ArgList)
-OS_XmCreateMenuBar_3=
-
-OS_XmCreateMessageDialog=
-OS_XmCreateMessageDialog_0=cast=(Widget)
-OS_XmCreateMessageDialog_1=cast=(String)
-OS_XmCreateMessageDialog_2=cast=(ArgList)
-OS_XmCreateMessageDialog_3=
-
-OS_XmCreatePopupMenu=
-OS_XmCreatePopupMenu_0=cast=(Widget)
-OS_XmCreatePopupMenu_1=cast=(String)
-OS_XmCreatePopupMenu_2=cast=(ArgList)
-OS_XmCreatePopupMenu_3=
-
-OS_XmCreatePulldownMenu=
-OS_XmCreatePulldownMenu_0=cast=(Widget)
-OS_XmCreatePulldownMenu_1=cast=(String)
-OS_XmCreatePulldownMenu_2=cast=(ArgList)
-OS_XmCreatePulldownMenu_3=
-
-OS_XmCreatePushButton=
-OS_XmCreatePushButton_0=cast=(Widget)
-OS_XmCreatePushButton_1=cast=(String)
-OS_XmCreatePushButton_2=cast=(ArgList)
-OS_XmCreatePushButton_3=
-
-OS_XmCreatePushButtonGadget=
-OS_XmCreatePushButtonGadget_0=cast=(Widget)
-OS_XmCreatePushButtonGadget_1=cast=(String)
-OS_XmCreatePushButtonGadget_2=cast=(ArgList)
-OS_XmCreatePushButtonGadget_3=
-
-OS_XmCreateQuestionDialog=
-OS_XmCreateQuestionDialog_0=cast=(Widget)
-OS_XmCreateQuestionDialog_1=cast=(String)
-OS_XmCreateQuestionDialog_2=cast=(ArgList)
-OS_XmCreateQuestionDialog_3=
-
-OS_XmCreateScale=
-OS_XmCreateScale_0=cast=(Widget)
-OS_XmCreateScale_1=cast=(String)
-OS_XmCreateScale_2=cast=(ArgList)
-OS_XmCreateScale_3=
-
-OS_XmCreateScrollBar=
-OS_XmCreateScrollBar_0=cast=(Widget)
-OS_XmCreateScrollBar_1=cast=(String)
-OS_XmCreateScrollBar_2=cast=(ArgList)
-OS_XmCreateScrollBar_3=
-
-OS_XmCreateScrolledList=
-OS_XmCreateScrolledList_0=cast=(Widget)
-OS_XmCreateScrolledList_1=cast=(String)
-OS_XmCreateScrolledList_2=cast=(ArgList)
-OS_XmCreateScrolledList_3=
-
-OS_XmCreateScrolledText=
-OS_XmCreateScrolledText_0=cast=(Widget)
-OS_XmCreateScrolledText_1=cast=(String)
-OS_XmCreateScrolledText_2=cast=(ArgList)
-OS_XmCreateScrolledText_3=
-
-OS_XmCreateSeparator=
-OS_XmCreateSeparator_0=cast=(Widget)
-OS_XmCreateSeparator_1=cast=(String)
-OS_XmCreateSeparator_2=cast=(ArgList)
-OS_XmCreateSeparator_3=
-
-OS_XmCreateSeparatorGadget=
-OS_XmCreateSeparatorGadget_0=cast=(Widget)
-OS_XmCreateSeparatorGadget_1=cast=(String)
-OS_XmCreateSeparatorGadget_2=cast=(ArgList)
-OS_XmCreateSeparatorGadget_3=
-
-OS_XmCreateTextField=
-OS_XmCreateTextField_0=cast=(Widget)
-OS_XmCreateTextField_1=cast=(String)
-OS_XmCreateTextField_2=cast=(ArgList)
-OS_XmCreateTextField_3=
-
-OS_XmCreateToggleButton=
-OS_XmCreateToggleButton_0=cast=(Widget)
-OS_XmCreateToggleButton_1=cast=(String)
-OS_XmCreateToggleButton_2=cast=(ArgList)
-OS_XmCreateToggleButton_3=
-
-OS_XmCreateToggleButtonGadget=
-OS_XmCreateToggleButtonGadget_0=cast=(Widget)
-OS_XmCreateToggleButtonGadget_1=cast=(String)
-OS_XmCreateToggleButtonGadget_2=cast=(ArgList)
-OS_XmCreateToggleButtonGadget_3=
-
-OS_XmCreateWarningDialog=
-OS_XmCreateWarningDialog_0=cast=(Widget)
-OS_XmCreateWarningDialog_1=cast=(String)
-OS_XmCreateWarningDialog_2=cast=(ArgList)
-OS_XmCreateWarningDialog_3=
-
-OS_XmDestroyPixmap=
-OS_XmDestroyPixmap_0=cast=(Screen *)
-OS_XmDestroyPixmap_1=cast=(Pixmap)
-
-OS_XmDragCancel=
-OS_XmDragCancel_0=cast=(Widget)
-
-OS_XmDragStart=
-OS_XmDragStart_0=cast=(Widget)
-OS_XmDragStart_1=cast=(XEvent *)
-OS_XmDragStart_2=cast=(ArgList)
-OS_XmDragStart_3=cast=(Cardinal)
-
-OS_XmDropSiteRegister=
-OS_XmDropSiteRegister_0=cast=(Widget)
-OS_XmDropSiteRegister_1=cast=(ArgList)
-OS_XmDropSiteRegister_2=cast=(Cardinal)
-
-OS_XmDropSiteUnregister=
-OS_XmDropSiteUnregister_0=cast=(Widget)
-
-OS_XmDropSiteUpdate=
-OS_XmDropSiteUpdate_0=cast=(Widget)
-OS_XmDropSiteUpdate_1=cast=(ArgList)
-OS_XmDropSiteUpdate_2=cast=(Cardinal)
-
-OS_XmDropTransferAdd=
-OS_XmDropTransferAdd_0=cast=(Widget)
-OS_XmDropTransferAdd_1=cast=(XmDropTransferEntryRec *)
-OS_XmDropTransferAdd_2=cast=(Cardinal)
-
-OS_XmDropTransferStart=
-OS_XmDropTransferStart_0=cast=(Widget)
-OS_XmDropTransferStart_1=cast=(ArgList)
-OS_XmDropTransferStart_2=cast=(Cardinal)
-
-OS_XmFileSelectionBoxGetChild=
-OS_XmFileSelectionBoxGetChild_0=cast=(Widget)
-OS_XmFileSelectionBoxGetChild_1=
-
-OS_XmFontListAppendEntry=
-OS_XmFontListAppendEntry_0=cast=(XmFontList)
-OS_XmFontListAppendEntry_1=cast=(XmFontListEntry)
-
-OS_XmFontListCopy=
-OS_XmFontListCopy_0=cast=(XmFontList)
-
-OS_XmFontListEntryFree=
-OS_XmFontListEntryFree_0=cast=(XmFontListEntry *)
-
-OS_XmFontListEntryGetFont=
-OS_XmFontListEntryGetFont_0=cast=(XmFontListEntry)
-OS_XmFontListEntryGetFont_1=cast=(XmFontType *)
-
-OS_XmFontListEntryLoad=
-OS_XmFontListEntryLoad_0=cast=(Display *)
-OS_XmFontListEntryLoad_1=cast=(char *)
-OS_XmFontListEntryLoad_2=
-OS_XmFontListEntryLoad_3=cast=(char *)
-
-OS_XmFontListFree=
-OS_XmFontListFree_0=cast=(XmFontList)
-
-OS_XmFontListFreeFontContext=
-OS_XmFontListFreeFontContext_0=cast=(XmFontContext)
-
-OS_XmFontListInitFontContext=
-OS_XmFontListInitFontContext_0=cast=(XmFontContext *)
-OS_XmFontListInitFontContext_1=cast=(XmFontList)
-
-OS_XmFontListNextEntry=
-OS_XmFontListNextEntry_0=cast=(XmFontContext)
-
-OS_XmGetAtomName=
-OS_XmGetAtomName_0=cast=(Display *)
-OS_XmGetAtomName_1=cast=(Atom)
-
-OS_XmGetDragContext=
-OS_XmGetDragContext_0=cast=(Widget)
-OS_XmGetDragContext_1=cast=(Time)
-
-OS_XmGetFocusWidget=
-OS_XmGetFocusWidget_0=cast=(Widget)
-
-OS_XmGetPixmap=
-OS_XmGetPixmap_0=cast=(Screen *)
-OS_XmGetPixmap_1=cast=(char *)
-OS_XmGetPixmap_2=cast=(Pixel)
-OS_XmGetPixmap_3=cast=(Pixel)
-
-OS_XmGetPixmapByDepth=
-OS_XmGetPixmapByDepth_0=cast=(Screen *)
-OS_XmGetPixmapByDepth_1=cast=(char *)
-OS_XmGetPixmapByDepth_2=
-OS_XmGetPixmapByDepth_3=
-OS_XmGetPixmapByDepth_4=
-
-OS_XmGetXmDisplay=
-OS_XmGetXmDisplay_0=cast=(Display *)
-
-OS_XmImMbLookupString=
-OS_XmImMbLookupString_0=cast=(Widget)
-OS_XmImMbLookupString_1=cast=(XKeyPressedEvent *)
-OS_XmImMbLookupString_2=cast=(char *)
-OS_XmImMbLookupString_3=
-OS_XmImMbLookupString_4=cast=(KeySym *)
-OS_XmImMbLookupString_5=cast=(int *)
-
-OS_XmImRegister=
-OS_XmImRegister_0=cast=(Widget)
-OS_XmImRegister_1=
-
-OS_XmImSetFocusValues=
-OS_XmImSetFocusValues_0=cast=(Widget)
-OS_XmImSetFocusValues_1=cast=(ArgList)
-OS_XmImSetFocusValues_2=
-
-OS_XmImSetValues=
-OS_XmImSetValues_0=cast=(Widget)
-OS_XmImSetValues_1=cast=(ArgList)
-OS_XmImSetValues_2=
-
-OS_XmImUnregister=
-OS_XmImUnregister_0=cast=(Widget)
-
-OS_XmImUnsetFocus=
-OS_XmImUnsetFocus_0=cast=(Widget)
-
-OS_XmInternAtom=
-OS_XmInternAtom_0=cast=(Display *)
-OS_XmInternAtom_1=cast=(String)
-OS_XmInternAtom_2=
-
-OS_XmListAddItemUnselected=
-OS_XmListAddItemUnselected_0=cast=(Widget)
-OS_XmListAddItemUnselected_1=cast=(XmString)
-OS_XmListAddItemUnselected_2=
-
-OS_XmListDeleteAllItems=
-OS_XmListDeleteAllItems_0=cast=(Widget)
-
-OS_XmListDeleteItemsPos=
-OS_XmListDeleteItemsPos_0=cast=(Widget)
-OS_XmListDeleteItemsPos_1=
-OS_XmListDeleteItemsPos_2=
-
-OS_XmListDeletePos=
-OS_XmListDeletePos_0=cast=(Widget)
-OS_XmListDeletePos_1=
-
-OS_XmListDeletePositions=
-OS_XmListDeletePositions_0=cast=(Widget)
-OS_XmListDeletePositions_1=cast=(int *)
-OS_XmListDeletePositions_2=
-
-OS_XmListDeselectAllItems=
-OS_XmListDeselectAllItems_0=cast=(Widget)
-
-OS_XmListDeselectPos=
-OS_XmListDeselectPos_0=cast=(Widget)
-OS_XmListDeselectPos_1=
-
-OS_XmListGetKbdItemPos=
-OS_XmListGetKbdItemPos_0=cast=(Widget)
-
-OS_XmListGetSelectedPos=
-OS_XmListGetSelectedPos_0=cast=(Widget)
-OS_XmListGetSelectedPos_1=cast=(int **)
-OS_XmListGetSelectedPos_2=cast=(int *)
-
-OS_XmListItemPos=
-OS_XmListItemPos_0=cast=(Widget)
-OS_XmListItemPos_1=cast=(XmString)
-
-OS_XmListPosSelected=
-OS_XmListPosSelected_0=cast=(Widget)
-OS_XmListPosSelected_1=
-
-OS_XmListReplaceItemsPosUnselected=
-OS_XmListReplaceItemsPosUnselected_0=cast=(Widget)
-OS_XmListReplaceItemsPosUnselected_1=cast=(XmString *)
-OS_XmListReplaceItemsPosUnselected_2=
-OS_XmListReplaceItemsPosUnselected_3=
-
-OS_XmListSelectPos=
-OS_XmListSelectPos_0=cast=(Widget)
-OS_XmListSelectPos_1=
-OS_XmListSelectPos_2=
-
-OS_XmListSetKbdItemPos=
-OS_XmListSetKbdItemPos_0=cast=(Widget)
-OS_XmListSetKbdItemPos_1=
-
-OS_XmListSetPos=
-OS_XmListSetPos_0=cast=(Widget)
-OS_XmListSetPos_1=
-
-OS_XmListUpdateSelectedList=
-OS_XmListUpdateSelectedList_0=cast=(Widget)
-
-OS_XmMainWindowSetAreas=
-OS_XmMainWindowSetAreas_0=cast=(Widget)
-OS_XmMainWindowSetAreas_1=cast=(Widget)
-OS_XmMainWindowSetAreas_2=cast=(Widget)
-OS_XmMainWindowSetAreas_3=cast=(Widget)
-OS_XmMainWindowSetAreas_4=cast=(Widget)
-OS_XmMainWindowSetAreas_5=cast=(Widget)
-
-OS_XmMessageBoxGetChild=
-OS_XmMessageBoxGetChild_0=cast=(Widget)
-OS_XmMessageBoxGetChild_1=
-
-OS_XmParseMappingCreate=
-OS_XmParseMappingCreate_0=cast=(ArgList)
-OS_XmParseMappingCreate_1=
-
-OS_XmParseMappingFree=
-OS_XmParseMappingFree_0=cast=(XmParseMapping)
-
-OS_XmProcessTraversal=
-OS_XmProcessTraversal_0=cast=(Widget)
-OS_XmProcessTraversal_1=
-
-OS_XmRenderTableAddRenditions=
-OS_XmRenderTableAddRenditions_0=cast=(XmRenderTable)
-OS_XmRenderTableAddRenditions_1=cast=(XmRendition *)
-OS_XmRenderTableAddRenditions_2=
-OS_XmRenderTableAddRenditions_3=
-
-OS_XmRenderTableFree=
-OS_XmRenderTableFree_0=cast=(XmRenderTable)
-
-OS_XmRenditionCreate=
-OS_XmRenditionCreate_0=cast=(Widget)
-OS_XmRenditionCreate_1=cast=(XmStringTag)
-OS_XmRenditionCreate_2=cast=(ArgList)
-OS_XmRenditionCreate_3=
-
-OS_XmRenditionFree=
-OS_XmRenditionFree_0=cast=(XmRendition)
-
-OS_XmStringBaseline=
-OS_XmStringBaseline_0=cast=XmRenderTable
-OS_XmStringBaseline_1=cast=XmString
-
-OS_XmStringCompare=
-OS_XmStringCompare_0=cast=(XmString)
-OS_XmStringCompare_1=cast=(XmString)
-
-OS_XmStringComponentCreate=
-OS_XmStringComponentCreate_0=
-OS_XmStringComponentCreate_1=
-OS_XmStringComponentCreate_2=cast=(XtPointer)
-
-OS_XmStringConcat=
-OS_XmStringConcat_0=cast=(XmString)
-OS_XmStringConcat_1=cast=(XmString)
-
-OS_XmStringCreate=
-OS_XmStringCreate_0=cast=(char *)
-OS_XmStringCreate_1=cast=(char *)
-
-OS_XmStringCreateLocalized=
-OS_XmStringCreateLocalized_0=cast=(char *)
-
-OS_XmStringDraw=
-OS_XmStringDraw_0=cast=(Display *)
-OS_XmStringDraw_1=cast=(Window)
-OS_XmStringDraw_2=cast=(XmFontList)
-OS_XmStringDraw_3=cast=(XmString)
-OS_XmStringDraw_4=cast=(GC)
-OS_XmStringDraw_5=
-OS_XmStringDraw_6=
-OS_XmStringDraw_7=
-OS_XmStringDraw_8=
-OS_XmStringDraw_9=
-OS_XmStringDraw_10=
-
-OS_XmStringDrawImage=
-OS_XmStringDrawImage_0=cast=(Display *)
-OS_XmStringDrawImage_1=cast=(Window)
-OS_XmStringDrawImage_2=cast=(XmFontList)
-OS_XmStringDrawImage_3=cast=(XmString)
-OS_XmStringDrawImage_4=cast=(GC)
-OS_XmStringDrawImage_5=
-OS_XmStringDrawImage_6=
-OS_XmStringDrawImage_7=
-OS_XmStringDrawImage_8=
-OS_XmStringDrawImage_9=
-OS_XmStringDrawImage_10=
-
-OS_XmStringDrawUnderline=
-OS_XmStringDrawUnderline_0=cast=(Display *)
-OS_XmStringDrawUnderline_1=cast=(Window)
-OS_XmStringDrawUnderline_2=cast=(XmFontList)
-OS_XmStringDrawUnderline_3=cast=(XmString)
-OS_XmStringDrawUnderline_4=cast=(GC)
-OS_XmStringDrawUnderline_5=
-OS_XmStringDrawUnderline_6=
-OS_XmStringDrawUnderline_7=
-OS_XmStringDrawUnderline_8=
-OS_XmStringDrawUnderline_9=
-OS_XmStringDrawUnderline_10=
-OS_XmStringDrawUnderline_11=cast=(XmString)
-
-OS_XmStringEmpty=
-OS_XmStringEmpty_0=cast=(XmString)
-
-OS_XmStringExtent=
-OS_XmStringExtent_0=cast=XmRenderTable
-OS_XmStringExtent_1=cast=XmString
-OS_XmStringExtent_2=cast=Dimension *
-OS_XmStringExtent_3=cast=Dimension *
-
-OS_XmStringFree=
-OS_XmStringFree_0=cast=(XmString)
-
-OS_XmStringGenerate=
-OS_XmStringGenerate_0=cast=(XtPointer)
-OS_XmStringGenerate_1=cast=(XmStringTag)
-OS_XmStringGenerate_2=
-OS_XmStringGenerate_3=cast=(XmStringTag)
-
-OS_XmStringHeight=
-OS_XmStringHeight_0=cast=(XmFontList)
-OS_XmStringHeight_1=cast=(XmString)
-
-OS_XmStringParseText=
-OS_XmStringParseText_0=cast=(XtPointer)
-OS_XmStringParseText_1=cast=(XtPointer *)
-OS_XmStringParseText_2=cast=(XmStringTag)
-OS_XmStringParseText_3=
-OS_XmStringParseText_4=cast=(XmParseTable)
-OS_XmStringParseText_5=
-OS_XmStringParseText_6=cast=(XtPointer)
-
-OS_XmStringUnparse=
-OS_XmStringUnparse_0=cast=(XmString)
-OS_XmStringUnparse_1=cast=(XmStringTag)
-OS_XmStringUnparse_2=
-OS_XmStringUnparse_3=
-OS_XmStringUnparse_4=cast=(XmParseTable)
-OS_XmStringUnparse_5=
-OS_XmStringUnparse_6=
-
-OS_XmStringWidth=
-OS_XmStringWidth_0=cast=(XmFontList)
-OS_XmStringWidth_1=cast=(XmString)
-
-OS_XmTabCreate=
-OS_XmTabCreate_0=
-OS_XmTabCreate_1=
-OS_XmTabCreate_2=
-OS_XmTabCreate_3=
-OS_XmTabCreate_4=cast=(char *)
-
-OS_XmTabFree=
-OS_XmTabFree_0=cast=(XmTab)
-
-OS_XmTabListFree=
-OS_XmTabListFree_0=cast=(XmTabList)
-
-OS_XmTabListInsertTabs=
-OS_XmTabListInsertTabs_0=cast=(XmTabList)
-OS_XmTabListInsertTabs_1=cast=(XmTab *)
-OS_XmTabListInsertTabs_2=
-OS_XmTabListInsertTabs_3=
-
-OS_XmTextClearSelection=
-OS_XmTextClearSelection_0=cast=(Widget)
-OS_XmTextClearSelection_1=
-
-OS_XmTextCopy=
-OS_XmTextCopy_0=cast=(Widget)
-OS_XmTextCopy_1=
-
-OS_XmTextCut=
-OS_XmTextCut_0=cast=(Widget)
-OS_XmTextCut_1=
-
-OS_XmTextDisableRedisplay=
-OS_XmTextDisableRedisplay_0=cast=(Widget)
-
-OS_XmTextEnableRedisplay=
-OS_XmTextEnableRedisplay_0=cast=(Widget)
-
-OS_XmTextFieldPaste=
-OS_XmTextFieldPaste_0=cast=(Widget)
-
-OS_XmTextGetInsertionPosition=
-OS_XmTextGetInsertionPosition_0=cast=(Widget)
-
-OS_XmTextGetLastPosition=
-OS_XmTextGetLastPosition_0=cast=(Widget)
-
-OS_XmTextGetMaxLength=
-OS_XmTextGetMaxLength_0=cast=(Widget)
-
-OS_XmTextGetSelection=
-OS_XmTextGetSelection_0=cast=(Widget)
-
-OS_XmTextGetSelectionPosition=
-OS_XmTextGetSelectionPosition_0=cast=(Widget)
-OS_XmTextGetSelectionPosition_1=cast=(XmTextPosition *)
-OS_XmTextGetSelectionPosition_2=cast=(XmTextPosition *)
-
-OS_XmTextGetString=
-OS_XmTextGetString_0=cast=(Widget)
-
-OS_XmTextGetSubstring=
-OS_XmTextGetSubstring_0=cast=(Widget)
-OS_XmTextGetSubstring_1=
-OS_XmTextGetSubstring_2=
-OS_XmTextGetSubstring_3=
-OS_XmTextGetSubstring_4=cast=(char *)
-
-OS_XmTextGetSubstringWcs=
-OS_XmTextGetSubstringWcs_0=cast=(Widget)
-OS_XmTextGetSubstringWcs_1=cast=(XmTextPosition)
-OS_XmTextGetSubstringWcs_2=
-OS_XmTextGetSubstringWcs_3=
-OS_XmTextGetSubstringWcs_4=cast=(wchar_t *)
-
-OS_XmTextInsert=
-OS_XmTextInsert_0=cast=(Widget)
-OS_XmTextInsert_1=
-OS_XmTextInsert_2=cast=(char *)
-
-OS_XmTextPaste=
-OS_XmTextPaste_0=cast=(Widget)
-
-OS_XmTextPosToXY=
-OS_XmTextPosToXY_0=cast=(Widget)
-OS_XmTextPosToXY_1=cast=(XmTextPosition)
-OS_XmTextPosToXY_2=cast=(Position *)
-OS_XmTextPosToXY_3=cast=(Position *)
-
-OS_XmTextReplace=
-OS_XmTextReplace_0=cast=(Widget)
-OS_XmTextReplace_1=
-OS_XmTextReplace_2=
-OS_XmTextReplace_3=cast=(char *)
-
-OS_XmTextScroll=
-OS_XmTextScroll_0=cast=(Widget)
-OS_XmTextScroll_1=
-
-OS_XmTextSetEditable=
-OS_XmTextSetEditable_0=cast=(Widget)
-OS_XmTextSetEditable_1=
-
-OS_XmTextSetHighlight=
-OS_XmTextSetHighlight_0=cast=(Widget)
-OS_XmTextSetHighlight_1=
-OS_XmTextSetHighlight_2=
-OS_XmTextSetHighlight_3=
-
-OS_XmTextSetInsertionPosition=
-OS_XmTextSetInsertionPosition_0=cast=(Widget)
-OS_XmTextSetInsertionPosition_1=
-
-OS_XmTextSetMaxLength=
-OS_XmTextSetMaxLength_0=cast=(Widget)
-OS_XmTextSetMaxLength_1=
-
-OS_XmTextSetSelection=
-OS_XmTextSetSelection_0=cast=(Widget)
-OS_XmTextSetSelection_1=
-OS_XmTextSetSelection_2=
-OS_XmTextSetSelection_3=
-
-OS_XmTextSetString=
-OS_XmTextSetString_0=cast=(Widget)
-OS_XmTextSetString_1=cast=(char *)
-
-OS_XmTextShowPosition=
-OS_XmTextShowPosition_0=cast=(Widget)
-OS_XmTextShowPosition_1=
-
-OS_XmUpdateDisplay=
-OS_XmUpdateDisplay_0=cast=(Widget)
-
-OS_XmWidgetGetDisplayRect=
-OS_XmWidgetGetDisplayRect_0=cast=(Widget)
-OS_XmWidgetGetDisplayRect_1=cast=(XRectangle *)
-
-OS_XmbTextListToTextProperty=
-OS_XmbTextListToTextProperty_0=cast=(Display *)
-OS_XmbTextListToTextProperty_1=cast=(char **)
-OS_XmbTextListToTextProperty_2=
-OS_XmbTextListToTextProperty_3=cast=(XICCEncodingStyle)
-OS_XmbTextListToTextProperty_4=
-
-OS_XmbTextPropertyToTextList=
-OS_XmbTextPropertyToTextList_0=cast=(Display *)
-OS_XmbTextPropertyToTextList_1=
-OS_XmbTextPropertyToTextList_2=cast=(char ***)
-OS_XmbTextPropertyToTextList_3=cast=(int *)
-
-OS_XpCancelJob=
-OS_XpCancelJob_0=cast=(Display *)
-OS_XpCancelJob_1=
-
-OS_XpCreateContext=
-OS_XpCreateContext_0=cast=(Display *)
-OS_XpCreateContext_1=cast=(char *)
-
-OS_XpDestroyContext=
-OS_XpDestroyContext_0=cast=(Display *)
-OS_XpDestroyContext_1=cast=(XPContext)
-
-OS_XpEndJob=
-OS_XpEndJob_0=cast=(Display *)
-
-OS_XpEndPage=
-OS_XpEndPage_0=cast=(Display *)
-
-OS_XpFreePrinterList=
-OS_XpFreePrinterList_0=cast=(XPPrinterList)
-
-OS_XpGetOneAttribute=
-OS_XpGetOneAttribute_0=cast=(Display *)
-OS_XpGetOneAttribute_1=cast=(XPContext)
-OS_XpGetOneAttribute_2=cast=(XPAttributes)
-OS_XpGetOneAttribute_3=cast=(char *)
-
-OS_XpGetPageDimensions=
-OS_XpGetPageDimensions_0=cast=(Display *)
-OS_XpGetPageDimensions_1=cast=(XPContext)
-OS_XpGetPageDimensions_2=cast=(unsigned short *)
-OS_XpGetPageDimensions_3=cast=(unsigned short *)
-OS_XpGetPageDimensions_4=cast=(XRectangle *)
-
-OS_XpGetPrinterList=
-OS_XpGetPrinterList_0=cast=(Display *)
-OS_XpGetPrinterList_1=cast=(char *)
-OS_XpGetPrinterList_2=cast=(int *)
-
-OS_XpGetScreenOfContext=
-OS_XpGetScreenOfContext_0=cast=(Display *)
-OS_XpGetScreenOfContext_1=cast=(XPContext)
-
-OS_XpSetAttributes=
-OS_XpSetAttributes_0=cast=(Display *)
-OS_XpSetAttributes_1=cast=(XPContext)
-OS_XpSetAttributes_2=cast=(XPAttributes)
-OS_XpSetAttributes_3=cast=(char *)
-OS_XpSetAttributes_4=cast=(XPAttrReplacement)
-
-OS_XpSetContext=
-OS_XpSetContext_0=cast=(Display *)
-OS_XpSetContext_1=cast=(XPContext)
-
-OS_XpStartJob=
-OS_XpStartJob_0=cast=(Display *)
-OS_XpStartJob_1=cast=(XPSaveData)
-
-OS_XpStartPage=
-OS_XpStartPage_0=cast=(Display *)
-OS_XpStartPage_1=cast=(Window)
-
-OS_XtAddCallback=
-OS_XtAddCallback_0=cast=(Widget)
-OS_XtAddCallback_1=cast=(String)
-OS_XtAddCallback_2=cast=(XtCallbackProc)
-OS_XtAddCallback_3=cast=(XtPointer)
-
-OS_XtAddEventHandler=
-OS_XtAddEventHandler_0=cast=(Widget)
-OS_XtAddEventHandler_1=
-OS_XtAddEventHandler_2=
-OS_XtAddEventHandler_3=cast=(XtEventHandler)
-OS_XtAddEventHandler_4=cast=(XtPointer)
-
-OS_XtAddExposureToRegion=
-OS_XtAddExposureToRegion_0=cast=(XEvent *)
-OS_XtAddExposureToRegion_1=cast=(Region)
-
-OS_XtAppAddInput=
-OS_XtAppAddInput_0=cast=(XtAppContext)
-OS_XtAppAddInput_1=
-OS_XtAppAddInput_2=cast=(XtPointer)
-OS_XtAppAddInput_3=cast=(XtInputCallbackProc)
-OS_XtAppAddInput_4=cast=(XtPointer)
-
-OS_XtAppAddTimeOut=
-OS_XtAppAddTimeOut_0=cast=(XtAppContext)
-OS_XtAppAddTimeOut_1=
-OS_XtAppAddTimeOut_2=cast=(XtTimerCallbackProc)
-OS_XtAppAddTimeOut_3=cast=(XtPointer)
-
-OS_XtAppCreateShell=
-OS_XtAppCreateShell_0=cast=(String)
-OS_XtAppCreateShell_1=cast=(String)
-OS_XtAppCreateShell_2=cast=(WidgetClass)
-OS_XtAppCreateShell_3=cast=(Display *)
-OS_XtAppCreateShell_4=cast=(ArgList)
-OS_XtAppCreateShell_5=
-
-OS_XtAppGetSelectionTimeout=
-OS_XtAppGetSelectionTimeout_0=cast=(XtAppContext)
-
-OS_XtAppNextEvent=
-OS_XtAppNextEvent_0=cast=(XtAppContext)
-OS_XtAppNextEvent_1=cast=(XEvent *)
-
-OS_XtAppPeekEvent=
-OS_XtAppPeekEvent_0=cast=(XtAppContext)
-OS_XtAppPeekEvent_1=cast=(XEvent *)
-
-OS_XtAppPending=
-OS_XtAppPending_0=cast=(XtAppContext)
-
-OS_XtAppProcessEvent=
-OS_XtAppProcessEvent_0=cast=(XtAppContext)
-OS_XtAppProcessEvent_1=
-
-OS_XtAppSetErrorHandler=
-OS_XtAppSetErrorHandler_0=cast=(XtAppContext)
-OS_XtAppSetErrorHandler_1=cast=(XtErrorHandler)
-
-OS_XtAppSetFallbackResources=
-OS_XtAppSetFallbackResources_0=cast=(XtAppContext)
-OS_XtAppSetFallbackResources_1=cast=(String *)
-
-OS_XtAppSetSelectionTimeout=
-OS_XtAppSetSelectionTimeout_0=cast=(XtAppContext)
-OS_XtAppSetSelectionTimeout_1=
-
-OS_XtAppSetWarningHandler=
-OS_XtAppSetWarningHandler_0=cast=(XtAppContext)
-OS_XtAppSetWarningHandler_1=cast=(XtErrorHandler)
-
-OS_XtBuildEventMask=
-OS_XtBuildEventMask_0=cast=(Widget)
-
-OS_XtCallActionProc=
-OS_XtCallActionProc_0=cast=(Widget)
-OS_XtCallActionProc_1=cast=(String)
-OS_XtCallActionProc_2=cast=(XEvent *)
-OS_XtCallActionProc_3=cast=(String *)
-OS_XtCallActionProc_4=
-
-OS_XtClass=
-OS_XtClass_0=cast=(Widget)
-
-OS_XtConfigureWidget=
-OS_XtConfigureWidget_0=cast=(Widget)
-OS_XtConfigureWidget_1=
-OS_XtConfigureWidget_2=
-OS_XtConfigureWidget_3=
-OS_XtConfigureWidget_4=
-OS_XtConfigureWidget_5=
-
-OS_XtCreateApplicationContext=
-
-OS_XtCreatePopupShell=
-OS_XtCreatePopupShell_0=cast=(String)
-OS_XtCreatePopupShell_1=cast=(WidgetClass)
-OS_XtCreatePopupShell_2=cast=(Widget)
-OS_XtCreatePopupShell_3=cast=(ArgList)
-OS_XtCreatePopupShell_4=
-
-OS_XtDestroyApplicationContext=
-OS_XtDestroyApplicationContext_0=cast=(XtAppContext)
-
-OS_XtDestroyWidget=
-OS_XtDestroyWidget_0=cast=(Widget)
-
-OS_XtDispatchEvent=
-OS_XtDispatchEvent_0=cast=(XEvent *)
-
-OS_XtDisplay=
-OS_XtDisplay_0=cast=(Widget)
-
-OS_XtDisplayToApplicationContext=
-OS_XtDisplayToApplicationContext_0=cast=(Display *)
-
-OS_XtFree=
-OS_XtFree_0=cast=(char *)
-
-OS_XtGetMultiClickTime=
-OS_XtGetMultiClickTime_0=cast=(Display *)
-
-OS_XtGetValues=flags=no_gen
-OS_XtGetValues_0=cast=(Widget)
-OS_XtGetValues_1=cast=(ArgList)
-OS_XtGetValues_2=
-
-OS_XtInsertEventHandler=
-OS_XtInsertEventHandler_0=cast=(Widget)
-OS_XtInsertEventHandler_1=cast=(EventMask)
-OS_XtInsertEventHandler_2=cast=(Boolean)
-OS_XtInsertEventHandler_3=cast=(XtEventHandler)
-OS_XtInsertEventHandler_4=cast=(XtPointer)
-OS_XtInsertEventHandler_5=cast=(XtListPosition)
-
-OS_XtIsManaged=
-OS_XtIsManaged_0=cast=(Widget)
-
-OS_XtIsRealized=
-OS_XtIsRealized_0=cast=(Widget)
-
-OS_XtIsSubclass=
-OS_XtIsSubclass_0=cast=(Widget)
-OS_XtIsSubclass_1=cast=(WidgetClass)
-
-OS_XtIsTopLevelShell=
-OS_XtIsTopLevelShell_0=cast=(Widget)
-
-OS_XtLastTimestampProcessed=
-OS_XtLastTimestampProcessed_0=cast=(Display *)
-
-OS_XtMalloc=
-OS_XtMalloc_0=
-
-OS_XtManageChild=
-OS_XtManageChild_0=cast=(Widget)
-
-OS_XtMapWidget=
-OS_XtMapWidget_0=cast=(Widget)
-
-OS_XtMoveWidget=
-OS_XtMoveWidget_0=cast=(Widget)
-OS_XtMoveWidget_1=
-OS_XtMoveWidget_2=
-
-OS_XtNameToWidget=
-OS_XtNameToWidget_0=cast=(Widget)
-OS_XtNameToWidget_1=cast=(String)
-
-OS_XtOpenDisplay=
-OS_XtOpenDisplay_0=cast=(XtAppContext)
-OS_XtOpenDisplay_1=cast=(String)
-OS_XtOpenDisplay_2=cast=(String)
-OS_XtOpenDisplay_3=cast=(String)
-OS_XtOpenDisplay_4=cast=(XrmOptionDescRec *)
-OS_XtOpenDisplay_5=
-OS_XtOpenDisplay_6=cast=(int *)
-OS_XtOpenDisplay_7=cast=(char **)
-
-OS_XtOverrideTranslations=
-OS_XtOverrideTranslations_0=cast=(Widget)
-OS_XtOverrideTranslations_1=cast=(XtTranslations)
-
-OS_XtParent=
-OS_XtParent_0=cast=(Widget)
-
-OS_XtParseTranslationTable=
-OS_XtParseTranslationTable_0=cast=(String)
-
-OS_XtPopdown=
-OS_XtPopdown_0=cast=(Widget)
-
-OS_XtPopup=
-OS_XtPopup_0=cast=(Widget)
-OS_XtPopup_1=
-
-OS_XtQueryGeometry=
-OS_XtQueryGeometry_0=cast=(Widget)
-OS_XtQueryGeometry_1=cast=(XtWidgetGeometry *)
-OS_XtQueryGeometry_2=cast=(XtWidgetGeometry *)
-
-OS_XtRealizeWidget=
-OS_XtRealizeWidget_0=cast=(Widget)
-
-OS_XtRegisterDrawable=
-OS_XtRegisterDrawable_0=cast=Display *
-OS_XtRegisterDrawable_1=cast=Drawable
-OS_XtRegisterDrawable_2=cast=Widget
-
-OS_XtRemoveEventHandler=
-OS_XtRemoveEventHandler_0=cast=Widget
-OS_XtRemoveEventHandler_1=
-OS_XtRemoveEventHandler_2=
-OS_XtRemoveEventHandler_3=cast=XtEventHandler
-OS_XtRemoveEventHandler_4=cast=XtPointer
-
-OS_XtRemoveInput=
-OS_XtRemoveInput_0=cast=(XtInputId)
-
-OS_XtRemoveTimeOut=
-OS_XtRemoveTimeOut_0=
-
-OS_XtResizeWidget=
-OS_XtResizeWidget_0=cast=(Widget)
-OS_XtResizeWidget_1=
-OS_XtResizeWidget_2=
-OS_XtResizeWidget_3=
-
-OS_XtResizeWindow=
-OS_XtResizeWindow_0=cast=(Widget)
-
-OS_XtSetLanguageProc=
-OS_XtSetLanguageProc_0=cast=(XtAppContext)
-OS_XtSetLanguageProc_1=cast=(XtLanguageProc)
-OS_XtSetLanguageProc_2=cast=(XtPointer)
-
-OS_XtSetMappedWhenManaged=
-OS_XtSetMappedWhenManaged_0=cast=(Widget)
-OS_XtSetMappedWhenManaged_1=
-
-OS_XtSetValues=
-OS_XtSetValues_0=cast=(Widget)
-OS_XtSetValues_1=cast=(ArgList)
-OS_XtSetValues_2=
-
-OS_XtToolkitInitialize=
-
-OS_XtToolkitThreadInitialize=
-
-OS_XtTranslateCoords=
-OS_XtTranslateCoords_0=cast=(Widget)
-OS_XtTranslateCoords_1=
-OS_XtTranslateCoords_2=
-OS_XtTranslateCoords_3=
-OS_XtTranslateCoords_4=
-
-OS_XtUnmanageChild=
-OS_XtUnmanageChild_0=cast=(Widget)
-
-OS_XtUnmapWidget=
-OS_XtUnmapWidget_0=cast=(Widget)
-
-OS_XtUnregisterDrawable=
-OS_XtUnregisterDrawable_0=cast=Display *
-OS_XtUnregisterDrawable_1=cast=Drawable
-
-OS_XtWindow=
-OS_XtWindow_0=cast=(Widget)
-
-OS_XtWindowToWidget=
-OS_XtWindowToWidget_0=cast=(Display *)
-OS_XtWindowToWidget_1=cast=(Window)
-
-OS__XmSetMenuTraversal=
-OS__XmSetMenuTraversal_0=cast=(Widget)
-OS__XmSetMenuTraversal_1=
-
-OS_close=
-OS_close_0=
-
-OS_fd_set_sizeof=
-
-OS_getenv=
-OS_getenv_0=cast=(const char *)
-
-OS_iconv=
-OS_iconv_0=cast=(iconv_t)
-OS_iconv_1=cast=(void *)
-OS_iconv_2=cast=(size_t *)
-OS_iconv_3=cast=(char **)
-OS_iconv_4=cast=(size_t *)
-
-OS_iconv_close=
-OS_iconv_close_0=cast=(iconv_t)
-
-OS_iconv_open=
-OS_iconv_open_0=cast=(const char *)
-OS_iconv_open_1=cast=(const char *)
-
-OS_memmove__ILorg_eclipse_swt_internal_motif_XButtonEvent_2I=
-OS_memmove__ILorg_eclipse_swt_internal_motif_XButtonEvent_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_motif_XButtonEvent_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_motif_XButtonEvent_2I_2=cast=(size_t)
-
-OS_memmove__ILorg_eclipse_swt_internal_motif_XClientMessageEvent_2I=
-OS_memmove__ILorg_eclipse_swt_internal_motif_XClientMessageEvent_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_motif_XClientMessageEvent_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_motif_XClientMessageEvent_2I_2=cast=(size_t)
-
-OS_memmove__ILorg_eclipse_swt_internal_motif_XConfigureEvent_2I=
-OS_memmove__ILorg_eclipse_swt_internal_motif_XConfigureEvent_2I_0=cast=void *
-OS_memmove__ILorg_eclipse_swt_internal_motif_XConfigureEvent_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_motif_XConfigureEvent_2I_2=cast=(size_t)
-
-OS_memmove__ILorg_eclipse_swt_internal_motif_XExposeEvent_2I=
-OS_memmove__ILorg_eclipse_swt_internal_motif_XExposeEvent_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_motif_XExposeEvent_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_motif_XExposeEvent_2I_2=cast=(size_t)
-
-OS_memmove__ILorg_eclipse_swt_internal_motif_XImage_2I=
-OS_memmove__ILorg_eclipse_swt_internal_motif_XImage_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_motif_XImage_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_motif_XImage_2I_2=cast=(size_t)
-
-OS_memmove__ILorg_eclipse_swt_internal_motif_XKeyEvent_2I=
-OS_memmove__ILorg_eclipse_swt_internal_motif_XKeyEvent_2I_0=cast=void *
-OS_memmove__ILorg_eclipse_swt_internal_motif_XKeyEvent_2I_1=cast=const void *,flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_motif_XKeyEvent_2I_2=cast=size_t
-
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmDragProcCallbackStruct_2I=
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmDragProcCallbackStruct_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmDragProcCallbackStruct_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmDragProcCallbackStruct_2I_2=cast=(size_t)
-
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmTextBlockRec_2I=
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmTextBlockRec_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmTextBlockRec_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmTextBlockRec_2I_2=cast=(size_t)
-
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmTextVerifyCallbackStruct_2I=
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmTextVerifyCallbackStruct_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmTextVerifyCallbackStruct_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_motif_XmTextVerifyCallbackStruct_2I_2=cast=(size_t)
-
-OS_memmove__I_3BI=
-OS_memmove__I_3BI_0=cast=(void *)
-OS_memmove__I_3BI_1=cast=(const void *),flags=no_out
-OS_memmove__I_3BI_2=cast=(size_t)
-
-OS_memmove__I_3CI=
-OS_memmove__I_3CI_0=cast=(void *)
-OS_memmove__I_3CI_1=cast=(const void *),flags=no_out
-OS_memmove__I_3CI_2=cast=(size_t)
-
-OS_memmove__I_3II=
-OS_memmove__I_3II_0=cast=(void *)
-OS_memmove__I_3II_1=cast=(const void *),flags=no_out
-OS_memmove__I_3II_2=cast=(size_t)
-
-OS_memmove__I_3SI=
-OS_memmove__I_3SI_0=cast=(void *)
-OS_memmove__I_3SI_1=cast=(const void *),flags=no_out
-OS_memmove__I_3SI_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_Visual_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_Visual_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_Visual_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_Visual_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XButtonEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XButtonEvent_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XButtonEvent_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XButtonEvent_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCharStruct_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCharStruct_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCharStruct_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCharStruct_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XClientMessageEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XClientMessageEvent_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XClientMessageEvent_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XClientMessageEvent_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XConfigureEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XConfigureEvent_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XConfigureEvent_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XConfigureEvent_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCreateWindowEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCreateWindowEvent_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCreateWindowEvent_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCreateWindowEvent_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCrossingEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCrossingEvent_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCrossingEvent_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XCrossingEvent_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XDestroyWindowEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XDestroyWindowEvent_2II_0=cast=void *,flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XDestroyWindowEvent_2II_1=cast=const void *
-OS_memmove__Lorg_eclipse_swt_internal_motif_XDestroyWindowEvent_2II_2=cast=size_t
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XEvent_2II_0=cast=void *
-OS_memmove__Lorg_eclipse_swt_internal_motif_XEvent_2II_1=cast=const void *
-OS_memmove__Lorg_eclipse_swt_internal_motif_XEvent_2II_2=cast=size_t
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XExposeEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XExposeEvent_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XExposeEvent_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XExposeEvent_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XFocusChangeEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XFocusChangeEvent_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XFocusChangeEvent_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XFocusChangeEvent_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XFontStruct_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XFontStruct_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XFontStruct_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XFontStruct_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XIconSize_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XIconSize_2II_0=cast=void *,flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XIconSize_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XIconSize_2II_2=cast=size_t
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XImage_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XImage_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XImage_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XImage_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XKeyEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XKeyEvent_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XKeyEvent_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XKeyEvent_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XModifierKeymap_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XModifierKeymap_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XModifierKeymap_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XModifierKeymap_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XMotionEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XMotionEvent_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XMotionEvent_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XMotionEvent_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XPropertyEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XPropertyEvent_2II_0=cast=void *,flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XPropertyEvent_2II_1=cast=const void *
-OS_memmove__Lorg_eclipse_swt_internal_motif_XPropertyEvent_2II_2=cast=size_t
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XReparentEvent_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XReparentEvent_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XReparentEvent_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XReparentEvent_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XineramaScreenInfo_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XineramaScreenInfo_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XineramaScreenInfo_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XineramaScreenInfo_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmAnyCallbackStruct_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmAnyCallbackStruct_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmAnyCallbackStruct_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmAnyCallbackStruct_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDragProcCallbackStruct_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDragProcCallbackStruct_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDragProcCallbackStruct_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDragProcCallbackStruct_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDropFinishCallbackStruct_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDropFinishCallbackStruct_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDropFinishCallbackStruct_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDropFinishCallbackStruct_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDropProcCallbackStruct_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDropProcCallbackStruct_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDropProcCallbackStruct_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmDropProcCallbackStruct_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmTextBlockRec_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmTextBlockRec_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmTextBlockRec_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmTextBlockRec_2II_2=cast=(size_t)
-
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmTextVerifyCallbackStruct_2II=
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmTextVerifyCallbackStruct_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmTextVerifyCallbackStruct_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_motif_XmTextVerifyCallbackStruct_2II_2=cast=(size_t)
-
-OS_memmove___3BII=
-OS_memmove___3BII_0=cast=(void *),flags=no_in
-OS_memmove___3BII_1=cast=(const void *)
-OS_memmove___3BII_2=cast=(size_t)
-
-OS_memmove___3CII=
-OS_memmove___3CII_0=cast=(void *),flags=no_in
-OS_memmove___3CII_1=cast=(const void *)
-OS_memmove___3CII_2=cast=(size_t)
-
-OS_memmove___3III=
-OS_memmove___3III_0=cast=(void *),flags=no_in
-OS_memmove___3III_1=cast=(const void *)
-OS_memmove___3III_2=cast=(size_t)
-
-OS_nl_langinfo=
-OS_nl_langinfo_0=
-
-OS_overrideShellWidgetClass=flags=const
-
-OS_pipe=
-OS_pipe_0=cast=(int *)
-
-OS_read=
-OS_read_0=
-OS_read_1=cast=(char *)
-OS_read_2=
-
-OS_select=
-OS_select_0=
-OS_select_1=cast=(fd_set *)
-OS_select_2=cast=(fd_set *)
-OS_select_3=cast=(fd_set *)
-OS_select_4=cast=(struct timeval *)
-
-OS_setResourceMem=flags=no_gen
-OS_setResourceMem_0=
-OS_setResourceMem_1=
-
-OS_setlocale=
-OS_setlocale_0=
-OS_setlocale_1=cast=(char *)
-
-OS_shellWidgetClass=flags=const
-
-OS_strlen=
-OS_strlen_0=cast=(char *)
-
-OS_topLevelShellWidgetClass=flags=const
-
-OS_transientShellWidgetClass=flags=const
-
-OS_write=
-OS_write_0=
-OS_write_1=cast=(char *)
-OS_write_2=
-
-OS_xmMenuShellWidgetClass=flags=const
-
-
-org_eclipse_swt_internal_motif_Visual=
-Visual_ext_data=cast=(XExtData *)
-Visual_visualid=
-Visual_c_class=accessor=class
-Visual_red_mask=
-Visual_green_mask=
-Visual_blue_mask=
-Visual_bits_per_rgb=
-Visual_map_entries=
-
-org_eclipse_swt_internal_motif_XAnyEvent=
-XAnyEvent_serial=
-XAnyEvent_send_event=
-XAnyEvent_display=cast=(Display *)
-XAnyEvent_window=
-
-org_eclipse_swt_internal_motif_XButtonEvent=
-XButtonEvent_root=
-XButtonEvent_subwindow=
-XButtonEvent_time=
-XButtonEvent_x=
-XButtonEvent_y=
-XButtonEvent_x_root=
-XButtonEvent_y_root=
-XButtonEvent_state=
-XButtonEvent_button=
-XButtonEvent_same_screen=
-
-org_eclipse_swt_internal_motif_XCharStruct=
-XCharStruct_lbearing=
-XCharStruct_rbearing=
-XCharStruct_width=
-XCharStruct_ascent=
-XCharStruct_descent=
-XCharStruct_attributes=
-
-org_eclipse_swt_internal_motif_XClientMessageEvent=
-XClientMessageEvent_message_type=cast=Atom
-XClientMessageEvent_format=
-XClientMessageEvent_data=accessor=data.l,cast=long *
-
-org_eclipse_swt_internal_motif_XColor=
-XColor_pixel=
-XColor_red=
-XColor_green=
-XColor_blue=
-XColor_flags=
-XColor_pad=
-
-org_eclipse_swt_internal_motif_XConfigureEvent=
-XConfigureEvent_serial=
-XConfigureEvent_send_event=
-XConfigureEvent_display=cast=Display *
-XConfigureEvent_event=cast=Window
-XConfigureEvent_window=cast=Window
-XConfigureEvent_x=
-XConfigureEvent_y=
-XConfigureEvent_width=
-XConfigureEvent_height=
-XConfigureEvent_border_width=
-XConfigureEvent_above=cast=Window
-XConfigureEvent_override_redirect=
-
-org_eclipse_swt_internal_motif_XCreateWindowEvent=
-XCreateWindowEvent_serial=
-XCreateWindowEvent_send_event=
-XCreateWindowEvent_display=cast=(Display *)
-XCreateWindowEvent_parent=cast=Window
-XCreateWindowEvent_window=cast=Window
-XCreateWindowEvent_x=
-XCreateWindowEvent_y=
-XCreateWindowEvent_width=
-XCreateWindowEvent_height=
-XCreateWindowEvent_border_width=
-XCreateWindowEvent_override_redirect=
-
-org_eclipse_swt_internal_motif_XCrossingEvent=
-XCrossingEvent_root=
-XCrossingEvent_subwindow=
-XCrossingEvent_time=
-XCrossingEvent_x=
-XCrossingEvent_y=
-XCrossingEvent_x_root=
-XCrossingEvent_y_root=
-XCrossingEvent_mode=
-XCrossingEvent_detail=
-XCrossingEvent_same_screen=
-XCrossingEvent_focus=
-XCrossingEvent_state=
-
-org_eclipse_swt_internal_motif_XDestroyWindowEvent=
-XDestroyWindowEvent_serial=
-XDestroyWindowEvent_send_event=
-XDestroyWindowEvent_display=cast=Display *
-XDestroyWindowEvent_event=cast=Window
-XDestroyWindowEvent_window=cast=Window
-
-org_eclipse_swt_internal_motif_XEvent=
-XEvent_type=
-
-org_eclipse_swt_internal_motif_XExposeEvent=
-XExposeEvent_x=
-XExposeEvent_y=
-XExposeEvent_width=
-XExposeEvent_height=
-XExposeEvent_count=
-
-org_eclipse_swt_internal_motif_XFocusChangeEvent=
-XFocusChangeEvent_mode=
-XFocusChangeEvent_detail=
-
-org_eclipse_swt_internal_motif_XFontStruct=
-XFontStruct_ext_data=cast=(XExtData *)
-XFontStruct_fid=
-XFontStruct_direction=
-XFontStruct_min_char_or_byte2=
-XFontStruct_max_char_or_byte2=
-XFontStruct_min_byte1=
-XFontStruct_max_byte1=
-XFontStruct_all_chars_exist=
-XFontStruct_default_char=
-XFontStruct_n_properties=
-XFontStruct_properties=cast=(XFontProp *)
-XFontStruct_min_bounds_lbearing=accessor=min_bounds.lbearing
-XFontStruct_min_bounds_rbearing=accessor=min_bounds.rbearing
-XFontStruct_min_bounds_width=accessor=min_bounds.width
-XFontStruct_min_bounds_ascent=accessor=min_bounds.ascent
-XFontStruct_min_bounds_descent=accessor=min_bounds.descent
-XFontStruct_min_bounds_attributes=accessor=min_bounds.attributes
-XFontStruct_max_bounds_lbearing=accessor=max_bounds.lbearing
-XFontStruct_max_bounds_rbearing=accessor=max_bounds.rbearing
-XFontStruct_max_bounds_width=accessor=max_bounds.width
-XFontStruct_max_bounds_ascent=accessor=max_bounds.ascent
-XFontStruct_max_bounds_descent=accessor=max_bounds.descent
-XFontStruct_max_bounds_attributes=accessor=max_bounds.attributes
-XFontStruct_per_char=cast=(XCharStruct *)
-XFontStruct_ascent=
-XFontStruct_descent=
-
-org_eclipse_swt_internal_motif_XGCValues=
-XGCValues_function=
-XGCValues_plane_mask=
-XGCValues_foreground=
-XGCValues_background=
-XGCValues_line_width=
-XGCValues_line_style=
-XGCValues_cap_style=
-XGCValues_join_style=
-XGCValues_fill_style=
-XGCValues_fill_rule=
-XGCValues_arc_mode=
-XGCValues_tile=
-XGCValues_stipple=
-XGCValues_ts_x_origin=
-XGCValues_ts_y_origin=
-XGCValues_font=
-XGCValues_subwindow_mode=
-XGCValues_graphics_exposures=
-XGCValues_clip_x_origin=
-XGCValues_clip_y_origin=
-XGCValues_clip_mask=
-XGCValues_dash_offset=
-XGCValues_dashes=
-
-org_eclipse_swt_internal_motif_XIconSize=
-XIconSize_min_width=
-XIconSize_min_height=
-XIconSize_max_width=
-XIconSize_max_height=
-XIconSize_width_inc=
-XIconSize_height_inc=
-
-org_eclipse_swt_internal_motif_XImage=
-XImage_width=
-XImage_height=
-XImage_xoffset=
-XImage_format=
-XImage_data=cast=(char *)
-XImage_byte_order=
-XImage_bitmap_unit=
-XImage_bitmap_bit_order=
-XImage_bitmap_pad=
-XImage_depth=
-XImage_bytes_per_line=
-XImage_bits_per_pixel=
-XImage_red_mask=
-XImage_green_mask=
-XImage_blue_mask=
-XImage_obdata=cast=(XPointer)
-XImage_create_image=accessor=f.create_image,cast=(XImage *(*)())
-XImage_destroy_image=accessor=f.destroy_image,cast=(int(*)())
-XImage_get_pixel=accessor=f.get_pixel,cast=(unsigned long(*)())
-XImage_put_pixel=accessor=f.put_pixel,cast=(int(*)())
-XImage_sub_image=accessor=f.sub_image,cast=(XImage *(*)())
-XImage_add_pixel=accessor=f.add_pixel,cast=(int(*)())
-
-org_eclipse_swt_internal_motif_XKeyEvent=
-XKeyEvent_root=
-XKeyEvent_subwindow=
-XKeyEvent_time=
-XKeyEvent_x=
-XKeyEvent_y=
-XKeyEvent_x_root=
-XKeyEvent_y_root=
-XKeyEvent_state=
-XKeyEvent_keycode=
-XKeyEvent_same_screen=
-
-org_eclipse_swt_internal_motif_XModifierKeymap=
-XModifierKeymap_max_keypermod=
-XModifierKeymap_modifiermap=cast=(KeyCode *)
-
-org_eclipse_swt_internal_motif_XMotionEvent=
-XMotionEvent_root=
-XMotionEvent_subwindow=
-XMotionEvent_time=
-XMotionEvent_x=
-XMotionEvent_y=
-XMotionEvent_x_root=
-XMotionEvent_y_root=
-XMotionEvent_state=
-XMotionEvent_is_hint=
-XMotionEvent_same_screen=
-
-org_eclipse_swt_internal_motif_XPropertyEvent=
-XPropertyEvent_atom=
-XPropertyEvent_time=
-XPropertyEvent_state=
-
-org_eclipse_swt_internal_motif_XRectangle=
-XRectangle_x=
-XRectangle_y=
-XRectangle_width=
-XRectangle_height=
-
-org_eclipse_swt_internal_motif_XReparentEvent=
-XReparentEvent_serial=
-XReparentEvent_send_event=
-XReparentEvent_display=cast=Display *
-XReparentEvent_event=cast=Window
-XReparentEvent_window=cast=Window
-XReparentEvent_parent=cast=Window
-XReparentEvent_x=
-XReparentEvent_y=
-XReparentEvent_override_redirect=
-
-org_eclipse_swt_internal_motif_XSetWindowAttributes=
-XSetWindowAttributes_background_pixmap=
-XSetWindowAttributes_background_pixel=
-XSetWindowAttributes_border_pixmap=
-XSetWindowAttributes_border_pixel=
-XSetWindowAttributes_bit_gravity=
-XSetWindowAttributes_win_gravity=
-XSetWindowAttributes_backing_store=
-XSetWindowAttributes_backing_planes=
-XSetWindowAttributes_backing_pixel=
-XSetWindowAttributes_save_under=
-XSetWindowAttributes_event_mask=
-XSetWindowAttributes_do_not_propagate_mask=
-XSetWindowAttributes_override_redirect=
-XSetWindowAttributes_colormap=
-XSetWindowAttributes_cursor=
-
-org_eclipse_swt_internal_motif_XTextProperty=
-XTextProperty_value=cast=(unsigned char *)
-XTextProperty_encoding=
-XTextProperty_format=
-XTextProperty_nitems=
-
-org_eclipse_swt_internal_motif_XWindowAttributes=
-XWindowAttributes_x=
-XWindowAttributes_y=
-XWindowAttributes_width=
-XWindowAttributes_height=
-XWindowAttributes_border_width=
-XWindowAttributes_depth=
-XWindowAttributes_visual=cast=(Visual *)
-XWindowAttributes_root=
-XWindowAttributes_c_class=accessor=class
-XWindowAttributes_bit_gravity=
-XWindowAttributes_win_gravity=
-XWindowAttributes_backing_store=
-XWindowAttributes_backing_planes=
-XWindowAttributes_backing_pixel=
-XWindowAttributes_save_under=
-XWindowAttributes_colormap=
-XWindowAttributes_map_installed=
-XWindowAttributes_map_state=
-XWindowAttributes_all_event_masks=
-XWindowAttributes_your_event_mask=
-XWindowAttributes_do_not_propagate_mask=
-XWindowAttributes_override_redirect=
-XWindowAttributes_screen=cast=(Screen *)
-
-org_eclipse_swt_internal_motif_XWindowChanges=
-XWindowChanges_x=
-XWindowChanges_y=
-XWindowChanges_width=
-XWindowChanges_height=
-XWindowChanges_border_width=
-XWindowChanges_sibling=
-XWindowChanges_stack_mode=
-
-org_eclipse_swt_internal_motif_XineramaScreenInfo=
-XineramaScreenInfo_screen_number=
-XineramaScreenInfo_x_org=
-XineramaScreenInfo_y_org=
-XineramaScreenInfo_width=
-XineramaScreenInfo_height=
-
-org_eclipse_swt_internal_motif_XmAnyCallbackStruct=
-XmAnyCallbackStruct_reason=
-XmAnyCallbackStruct_event=cast=(XEvent *)
-
-org_eclipse_swt_internal_motif_XmDragProcCallbackStruct=
-XmDragProcCallbackStruct_timeStamp=
-XmDragProcCallbackStruct_dragContext=cast=(Widget)
-XmDragProcCallbackStruct_x=
-XmDragProcCallbackStruct_y=
-XmDragProcCallbackStruct_dropSiteStatus=
-XmDragProcCallbackStruct_operation=
-XmDragProcCallbackStruct_operations=
-XmDragProcCallbackStruct_animate=
-
-org_eclipse_swt_internal_motif_XmDropFinishCallbackStruct=
-XmDropFinishCallbackStruct_timeStamp=
-XmDropFinishCallbackStruct_operation=
-XmDropFinishCallbackStruct_operations=
-XmDropFinishCallbackStruct_dropSiteStatus=
-XmDropFinishCallbackStruct_dropAction=
-XmDropFinishCallbackStruct_completionStatus=
-
-org_eclipse_swt_internal_motif_XmDropProcCallbackStruct=
-XmDropProcCallbackStruct_timeStamp=
-XmDropProcCallbackStruct_dragContext=cast=(Widget)
-XmDropProcCallbackStruct_x=
-XmDropProcCallbackStruct_y=
-XmDropProcCallbackStruct_dropSiteStatus=
-XmDropProcCallbackStruct_operation=
-XmDropProcCallbackStruct_operations=
-XmDropProcCallbackStruct_dropAction=
-
-org_eclipse_swt_internal_motif_XmTextBlockRec=
-XmTextBlockRec_ptr=cast=(char *)
-XmTextBlockRec_length=
-XmTextBlockRec_format=cast=(XmTextFormat)
-
-org_eclipse_swt_internal_motif_XmTextVerifyCallbackStruct=
-XmTextVerifyCallbackStruct_doit=
-XmTextVerifyCallbackStruct_currInsert=
-XmTextVerifyCallbackStruct_newInsert=
-XmTextVerifyCallbackStruct_startPos=
-XmTextVerifyCallbackStruct_endPos=
-XmTextVerifyCallbackStruct_text=cast=(XmTextBlock)
-
-org_eclipse_swt_internal_motif_XtWidgetGeometry=
-XtWidgetGeometry_request_mode=
-XtWidgetGeometry_x=
-XtWidgetGeometry_y=
-XtWidgetGeometry_width=
-XtWidgetGeometry_height=
-XtWidgetGeometry_border_width=
-XtWidgetGeometry_sibling=cast=(Widget)
-XtWidgetGeometry_stack_mode=
-
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.ole.win32.COM.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.ole.win32.COM.properties
deleted file mode 100644
index 6cf7f47eb2..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.ole.win32.COM.properties
+++ /dev/null
@@ -1,869 +0,0 @@
-org_eclipse_swt_internal_ole_win32_CAUUID=
-CAUUID_cElems=
-CAUUID_pElems=cast=(GUID FAR *)
-
-org_eclipse_swt_internal_ole_win32_COM=
-COM_CLSIDFromProgID=
-COM_CLSIDFromProgID_0=cast=LPCOLESTR
-COM_CLSIDFromProgID_1=
-
-COM_CLSIDFromString=
-COM_CLSIDFromString_0=cast=LPOLESTR
-COM_CLSIDFromString_1=
-
-COM_CoCreateInstance=
-COM_CoCreateInstance_0=
-COM_CoCreateInstance_1=cast=LPUNKNOWN
-COM_CoCreateInstance_2=
-COM_CoCreateInstance_3=
-COM_CoCreateInstance_4=cast=LPVOID *
-
-COM_CoFreeUnusedLibraries=
-
-COM_CoGetClassObject=
-COM_CoGetClassObject_0=
-COM_CoGetClassObject_1=
-COM_CoGetClassObject_2=cast=(COSERVERINFO *
-COM_CoGetClassObject_3=
-COM_CoGetClassObject_4=cast=LPVOID *
-
-COM_CoLockObjectExternal=
-COM_CoLockObjectExternal_0=cast=(IUnknown *)
-COM_CoLockObjectExternal_1=cast=(BOOL)
-COM_CoLockObjectExternal_2=cast=(BOOL)
-
-COM_CoTaskMemAlloc=
-COM_CoTaskMemAlloc_0=cast=(ULONG)
-
-COM_CoTaskMemFree=
-COM_CoTaskMemFree_0=cast=(LPVOID)
-
-COM_CreateStdAccessibleObject=flags=dynamic
-COM_CreateStdAccessibleObject_0=cast=(HWND)
-COM_CreateStdAccessibleObject_1=
-COM_CreateStdAccessibleObject_2=
-COM_CreateStdAccessibleObject_3=cast=(LPVOID *)
-
-COM_DoDragDrop=
-COM_DoDragDrop_0=cast=(IDataObject *)
-COM_DoDragDrop_1=cast=IDropSource *
-COM_DoDragDrop_2=
-COM_DoDragDrop_3=
-
-COM_GetClassFile=
-COM_GetClassFile_0=cast=LPCWSTR
-COM_GetClassFile_1=
-
-COM_IIDFromString___3CLorg_eclipse_swt_internal_ole_win32_GUID_2=
-COM_IIDFromString___3CLorg_eclipse_swt_internal_ole_win32_GUID_2_0=cast=LPOLESTR
-COM_IIDFromString___3CLorg_eclipse_swt_internal_ole_win32_GUID_2_1=
-
-COM_IsEqualGUID=
-COM_IsEqualGUID_0=
-COM_IsEqualGUID_1=
-
-COM_LresultFromObject=flags=dynamic
-COM_LresultFromObject_0=
-COM_LresultFromObject_1=
-COM_LresultFromObject_2=cast=(LPUNKNOWN)
-
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_FORMATETC_2I=
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_FORMATETC_2I_0=cast=(PVOID)
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_FORMATETC_2I_1=cast=(CONST VOID *),flags=no_out
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_FORMATETC_2I_2=
-
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_GUID_2I=
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_GUID_2I_0=cast=(PVOID)
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_GUID_2I_1=cast=(CONST VOID *),flags=no_out
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_GUID_2I_2=
-
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_OLEINPLACEFRAMEINFO_2I=
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_OLEINPLACEFRAMEINFO_2I_0=cast=(PVOID)
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_OLEINPLACEFRAMEINFO_2I_1=cast=(CONST VOID *),flags=no_out
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_OLEINPLACEFRAMEINFO_2I_2=
-
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_STATSTG_2I=
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_STATSTG_2I_0=cast=(PVOID)
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_STATSTG_2I_1=cast=(CONST VOID *),flags=no_out
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_STATSTG_2I_2=
-
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2I=
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2I_0=cast=(PVOID)
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2I_1=cast=(CONST VOID *),flags=no_out
-COM_MoveMemory__ILorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2I_2=
-
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2II=
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2II_0=cast=(PVOID),flags=no_in
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2II_1=cast=(CONST VOID *)
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2II_2=
-
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FORMATETC_2II=
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FORMATETC_2II_0=cast=(PVOID),flags=no_in
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FORMATETC_2II_1=cast=(CONST VOID *)
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FORMATETC_2II_2=
-
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FUNCDESC1_2II=
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FUNCDESC1_2II_0=cast=(PVOID),flags=no_in
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FUNCDESC1_2II_1=cast=(CONST VOID *)
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FUNCDESC1_2II_2=
-
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FUNCDESC2_2II=
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FUNCDESC2_2II_0=cast=(PVOID),flags=no_in
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FUNCDESC2_2II_1=cast=(CONST VOID *)
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_FUNCDESC2_2II_2=
-
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_GUID_2II=
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_GUID_2II_0=cast=(PVOID),flags=no_in
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_GUID_2II_1=cast=(CONST VOID *)
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_GUID_2II_2=
-
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_STATSTG_2II=
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_STATSTG_2II_0=cast=(PVOID),flags=no_in
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_STATSTG_2II_1=cast=(CONST VOID *)
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_STATSTG_2II_2=
-
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2II=
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2II_0=cast=(PVOID),flags=no_in
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2II_1=cast=(CONST VOID *)
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2II_2=
-
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_TYPEATTR_2II=
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_TYPEATTR_2II_0=cast=(PVOID),flags=no_in
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_TYPEATTR_2II_1=cast=(CONST VOID *)
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_TYPEATTR_2II_2=
-
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_VARDESC1_2II=
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_VARDESC1_2II_0=cast=(PVOID),flags=no_in
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_VARDESC1_2II_1=cast=(CONST VOID *)
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_VARDESC1_2II_2=
-
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_VARDESC2_2II=
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_VARDESC2_2II_0=cast=(PVOID),flags=no_in
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_VARDESC2_2II_1=cast=(CONST VOID *)
-COM_MoveMemory__Lorg_eclipse_swt_internal_ole_win32_VARDESC2_2II_2=
-
-COM_MoveMemory__Lorg_eclipse_swt_internal_win32_RECT_2II=
-COM_MoveMemory__Lorg_eclipse_swt_internal_win32_RECT_2II_0=cast=(PVOID),flags=no_in
-COM_MoveMemory__Lorg_eclipse_swt_internal_win32_RECT_2II_1=cast=(CONST VOID *)
-COM_MoveMemory__Lorg_eclipse_swt_internal_win32_RECT_2II_2=
-
-COM_NotifyWinEvent=flags=dynamic
-COM_NotifyWinEvent_0=cast=(DWORD)
-COM_NotifyWinEvent_1=cast=(HWND)
-COM_NotifyWinEvent_2=
-COM_NotifyWinEvent_3=
-
-COM_OleCreate=
-COM_OleCreate_0=
-COM_OleCreate_1=
-COM_OleCreate_2=
-COM_OleCreate_3=
-COM_OleCreate_4=
-COM_OleCreate_5=
-COM_OleCreate_6=
-
-COM_OleCreateFromFile=
-COM_OleCreateFromFile_0=
-COM_OleCreateFromFile_1=cast=LPCOLESTR
-COM_OleCreateFromFile_2=
-COM_OleCreateFromFile_3=
-COM_OleCreateFromFile_4=
-COM_OleCreateFromFile_5=cast=(LPOLECLIENTSITE)
-COM_OleCreateFromFile_6=cast=(LPSTORAGE)
-COM_OleCreateFromFile_7=cast=LPVOID *
-
-COM_OleCreatePropertyFrame=
-COM_OleCreatePropertyFrame_0=cast=(HWND)
-COM_OleCreatePropertyFrame_1=
-COM_OleCreatePropertyFrame_2=
-COM_OleCreatePropertyFrame_3=cast=LPCOLESTR
-COM_OleCreatePropertyFrame_4=
-COM_OleCreatePropertyFrame_5=cast=(LPUNKNOWN FAR*)
-COM_OleCreatePropertyFrame_6=
-COM_OleCreatePropertyFrame_7=cast=(LPCLSID)
-COM_OleCreatePropertyFrame_8=cast=(LCID)
-COM_OleCreatePropertyFrame_9=
-COM_OleCreatePropertyFrame_10=cast=(LPVOID)
-
-COM_OleDraw=
-COM_OleDraw_0=cast=(LPUNKNOWN)
-COM_OleDraw_1=cast=(DWORD)
-COM_OleDraw_2=cast=(HDC)
-COM_OleDraw_3=cast=(LPRECT)
-
-COM_OleFlushClipboard=
-
-COM_OleGetClipboard=
-COM_OleGetClipboard_0=cast=(IDataObject **)
-
-COM_OleIsCurrentClipboard=
-COM_OleIsCurrentClipboard_0=cast=(IDataObject *)
-
-COM_OleIsRunning=
-COM_OleIsRunning_0=cast=(LPOLEOBJECT)
-
-COM_OleLoad=
-COM_OleLoad_0=cast=(IStorage *)
-COM_OleLoad_1=
-COM_OleLoad_2=cast=(IOleClientSite *)
-COM_OleLoad_3=cast=LPVOID *
-
-COM_OleRun=
-COM_OleRun_0=cast=(LPUNKNOWN)
-
-COM_OleSave=
-COM_OleSave_0=cast=(IPersistStorage *)
-COM_OleSave_1=cast=(IStorage *)
-COM_OleSave_2=
-
-COM_OleSetClipboard=
-COM_OleSetClipboard_0=cast=(IDataObject *)
-
-COM_OleSetContainedObject=
-COM_OleSetContainedObject_0=cast=(LPUNKNOWN)
-COM_OleSetContainedObject_1=
-
-COM_OleSetMenuDescriptor=
-COM_OleSetMenuDescriptor_0=cast=(HOLEMENU)
-COM_OleSetMenuDescriptor_1=cast=(HWND)
-COM_OleSetMenuDescriptor_2=cast=(HWND)
-COM_OleSetMenuDescriptor_3=cast=(LPOLEINPLACEFRAME)
-COM_OleSetMenuDescriptor_4=cast=(LPOLEINPLACEACTIVEOBJECT)
-
-COM_OleTranslateColor=
-COM_OleTranslateColor_0=cast=(OLE_COLOR)
-COM_OleTranslateColor_1=cast=(HPALETTE)
-COM_OleTranslateColor_2=cast=(COLORREF *)
-
-COM_ProgIDFromCLSID=
-COM_ProgIDFromCLSID_0=
-COM_ProgIDFromCLSID_1=cast=LPOLESTR *
-
-COM_RegisterDragDrop=
-COM_RegisterDragDrop_0=cast=(HWND)
-COM_RegisterDragDrop_1=cast=(IDropTarget *)
-
-COM_ReleaseStgMedium=
-COM_ReleaseStgMedium_0=cast=(STGMEDIUM *)
-
-COM_RevokeDragDrop=
-COM_RevokeDragDrop_0=cast=(HWND)
-
-COM_StgCreateDocfile=
-COM_StgCreateDocfile_0=
-COM_StgCreateDocfile_1=
-COM_StgCreateDocfile_2=
-COM_StgCreateDocfile_3=cast=IStorage **
-
-COM_StgIsStorageFile=
-COM_StgIsStorageFile_0=cast=(const WCHAR *)
-
-COM_StgOpenStorage=
-COM_StgOpenStorage_0=cast=const WCHAR *
-COM_StgOpenStorage_1=cast=(IStorage *)
-COM_StgOpenStorage_2=
-COM_StgOpenStorage_3=cast=(SNB)
-COM_StgOpenStorage_4=
-COM_StgOpenStorage_5=cast=IStorage **
-
-COM_StringFromCLSID=
-COM_StringFromCLSID_0=
-COM_StringFromCLSID_1=cast=LPOLESTR *
-
-COM_SysAllocString=
-COM_SysAllocString_0=cast=(OLECHAR *)
-
-COM_SysFreeString=
-COM_SysFreeString_0=cast=(BSTR)
-
-COM_SysStringByteLen=
-COM_SysStringByteLen_0=cast=(BSTR)
-
-COM_VariantChangeType=
-COM_VariantChangeType_0=cast=(VARIANTARG FAR* )
-COM_VariantChangeType_1=cast=(VARIANTARG FAR* )
-COM_VariantChangeType_2=
-COM_VariantChangeType_3=cast=(VARTYPE)
-
-COM_VariantClear=
-COM_VariantClear_0=cast=(VARIANTARG FAR* )
-
-COM_VariantInit=
-COM_VariantInit_0=cast=(VARIANTARG FAR* )
-
-COM_VtblCall__II=
-COM_VtblCall__II_0=
-COM_VtblCall__II_1=
-
-COM_VtblCall__IIII=
-COM_VtblCall__IIII_0=
-COM_VtblCall__IIII_1=
-COM_VtblCall__IIII_2=
-COM_VtblCall__IIII_3=
-
-COM_VtblCall__IIIII=
-COM_VtblCall__IIIII_0=
-COM_VtblCall__IIIII_1=
-COM_VtblCall__IIIII_2=
-COM_VtblCall__IIIII_3=
-COM_VtblCall__IIIII_4=
-
-COM_VtblCall__IIIIII=
-COM_VtblCall__IIIIII_0=
-COM_VtblCall__IIIIII_1=
-COM_VtblCall__IIIIII_2=
-COM_VtblCall__IIIIII_3=
-COM_VtblCall__IIIIII_4=
-COM_VtblCall__IIIIII_5=
-
-COM_VtblCall__IIIIIII=
-COM_VtblCall__IIIIIII_0=
-COM_VtblCall__IIIIIII_1=
-COM_VtblCall__IIIIIII_2=
-COM_VtblCall__IIIIIII_3=
-COM_VtblCall__IIIIIII_4=
-COM_VtblCall__IIIIIII_5=
-COM_VtblCall__IIIIIII_6=
-
-COM_VtblCall__IIIIIIII=
-COM_VtblCall__IIIIIIII_0=
-COM_VtblCall__IIIIIIII_1=
-COM_VtblCall__IIIIIIII_2=
-COM_VtblCall__IIIIIIII_3=
-COM_VtblCall__IIIIIIII_4=
-COM_VtblCall__IIIIIIII_5=
-COM_VtblCall__IIIIIIII_6=
-COM_VtblCall__IIIIIIII_7=
-
-COM_VtblCall__IIIIIIIIII=
-COM_VtblCall__IIIIIIIIII_0=
-COM_VtblCall__IIIIIIIIII_1=
-COM_VtblCall__IIIIIIIIII_2=
-COM_VtblCall__IIIIIIIIII_3=
-COM_VtblCall__IIIIIIIIII_4=
-COM_VtblCall__IIIIIIIIII_5=
-COM_VtblCall__IIIIIIIIII_6=
-COM_VtblCall__IIIIIIIIII_7=
-COM_VtblCall__IIIIIIIIII_8=
-COM_VtblCall__IIIIIIIIII_9=
-
-COM_VtblCall__IIIII_3I=
-COM_VtblCall__IIIII_3I_0=
-COM_VtblCall__IIIII_3I_1=
-COM_VtblCall__IIIII_3I_2=
-COM_VtblCall__IIIII_3I_3=
-COM_VtblCall__IIIII_3I_4=
-COM_VtblCall__IIIII_3I_5=
-
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_DVTARGETDEVICE_2Lorg_eclipse_swt_internal_win32_SIZE_2=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_DVTARGETDEVICE_2Lorg_eclipse_swt_internal_win32_SIZE_2_0=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_DVTARGETDEVICE_2Lorg_eclipse_swt_internal_win32_SIZE_2_1=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_DVTARGETDEVICE_2Lorg_eclipse_swt_internal_win32_SIZE_2_2=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_DVTARGETDEVICE_2Lorg_eclipse_swt_internal_win32_SIZE_2_3=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_DVTARGETDEVICE_2Lorg_eclipse_swt_internal_win32_SIZE_2_4=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_DVTARGETDEVICE_2Lorg_eclipse_swt_internal_win32_SIZE_2_5=
-
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_GUID_2I_3I=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_GUID_2I_3I_0=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_GUID_2I_3I_1=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_GUID_2I_3I_2=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_GUID_2I_3I_3=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_GUID_2I_3I_4=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_GUID_2I_3I_5=
-COM_VtblCall__IIIILorg_eclipse_swt_internal_ole_win32_GUID_2I_3I_6=
-
-COM_VtblCall__IIII_3I=
-COM_VtblCall__IIII_3I_0=
-COM_VtblCall__IIII_3I_1=
-COM_VtblCall__IIII_3I_2=
-COM_VtblCall__IIII_3I_3=
-COM_VtblCall__IIII_3I_4=
-
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_FORMATETC_2_3I=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_FORMATETC_2_3I_0=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_FORMATETC_2_3I_1=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_FORMATETC_2_3I_2=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_FORMATETC_2_3I_3=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_FORMATETC_2_3I_4=
-
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2_0=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2_1=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2_2=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2_3=
-
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2II=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2II_0=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2II_1=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2II_2=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2II_3=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2II_4=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2II_5=
-
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2IILorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2ILorg_eclipse_swt_internal_ole_win32_EXCEPINFO_2_3I=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2IILorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2ILorg_eclipse_swt_internal_ole_win32_EXCEPINFO_2_3I_0=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2IILorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2ILorg_eclipse_swt_internal_ole_win32_EXCEPINFO_2_3I_1=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2IILorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2ILorg_eclipse_swt_internal_ole_win32_EXCEPINFO_2_3I_2=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2IILorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2ILorg_eclipse_swt_internal_ole_win32_EXCEPINFO_2_3I_3=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2IILorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2ILorg_eclipse_swt_internal_ole_win32_EXCEPINFO_2_3I_4=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2IILorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2ILorg_eclipse_swt_internal_ole_win32_EXCEPINFO_2_3I_5=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2IILorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2ILorg_eclipse_swt_internal_ole_win32_EXCEPINFO_2_3I_6=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2IILorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2ILorg_eclipse_swt_internal_ole_win32_EXCEPINFO_2_3I_7=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2IILorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2ILorg_eclipse_swt_internal_ole_win32_EXCEPINFO_2_3I_8=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_GUID_2IILorg_eclipse_swt_internal_ole_win32_DISPPARAMS_2ILorg_eclipse_swt_internal_ole_win32_EXCEPINFO_2_3I_9=
-
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_STATSTG_2_3I=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_STATSTG_2_3I_0=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_STATSTG_2_3I_1=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_STATSTG_2_3I_2=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_STATSTG_2_3I_3=
-COM_VtblCall__IIILorg_eclipse_swt_internal_ole_win32_STATSTG_2_3I_4=
-
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_MSG_2IIILorg_eclipse_swt_internal_win32_RECT_2=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_MSG_2IIILorg_eclipse_swt_internal_win32_RECT_2_0=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_MSG_2IIILorg_eclipse_swt_internal_win32_RECT_2_1=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_MSG_2IIILorg_eclipse_swt_internal_win32_RECT_2_2=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_MSG_2IIILorg_eclipse_swt_internal_win32_RECT_2_3=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_MSG_2IIILorg_eclipse_swt_internal_win32_RECT_2_4=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_MSG_2IIILorg_eclipse_swt_internal_win32_RECT_2_5=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_MSG_2IIILorg_eclipse_swt_internal_win32_RECT_2_6=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_MSG_2IIILorg_eclipse_swt_internal_win32_RECT_2_7=
-
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_SIZE_2=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_SIZE_2_0=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_SIZE_2_1=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_SIZE_2_2=
-COM_VtblCall__IIILorg_eclipse_swt_internal_win32_SIZE_2_3=
-
-COM_VtblCall__IIIZ=
-COM_VtblCall__IIIZ_0=
-COM_VtblCall__IIIZ_1=
-COM_VtblCall__IIIZ_2=
-COM_VtblCall__IIIZ_3=
-
-COM_VtblCall__III_3I=
-COM_VtblCall__III_3I_0=
-COM_VtblCall__III_3I_1=
-COM_VtblCall__III_3I_2=
-COM_VtblCall__III_3I_3=
-
-COM_VtblCall__III_3II_3I=
-COM_VtblCall__III_3II_3I_0=
-COM_VtblCall__III_3II_3I_1=
-COM_VtblCall__III_3II_3I_2=
-COM_VtblCall__III_3II_3I_3=
-COM_VtblCall__III_3II_3I_4=
-COM_VtblCall__III_3II_3I_5=
-
-COM_VtblCall__III_3I_3I_3I_3I=
-COM_VtblCall__III_3I_3I_3I_3I_0=
-COM_VtblCall__III_3I_3I_3I_3I_1=
-COM_VtblCall__III_3I_3I_3I_3I_2=
-COM_VtblCall__III_3I_3I_3I_3I_3=
-COM_VtblCall__III_3I_3I_3I_3I_4=
-COM_VtblCall__III_3I_3I_3I_3I_5=
-COM_VtblCall__III_3I_3I_3I_3I_6=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_CAUUID_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_CAUUID_2_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_CAUUID_2_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_CAUUID_2_2=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_CONTROLINFO_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_CONTROLINFO_2_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_CONTROLINFO_2_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_CONTROLINFO_2_2=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2_2=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2_3=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2Z=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2Z_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2Z_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2Z_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2Z_3=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_FORMATETC_2Lorg_eclipse_swt_internal_ole_win32_STGMEDIUM_2Z_4=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2_2=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2IIII=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2IIII_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2IIII_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2IIII_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2IIII_3=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2IIII_4=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2IIII_5=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2IIII_6=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2III_3I=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2III_3I_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2III_3I_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2III_3I_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2III_3I_3=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2III_3I_4=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2III_3I_5=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2III_3I_6=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2ILorg_eclipse_swt_internal_ole_win32_OLECMD_2Lorg_eclipse_swt_internal_ole_win32_OLECMDTEXT_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2ILorg_eclipse_swt_internal_ole_win32_OLECMD_2Lorg_eclipse_swt_internal_ole_win32_OLECMDTEXT_2_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2ILorg_eclipse_swt_internal_ole_win32_OLECMD_2Lorg_eclipse_swt_internal_ole_win32_OLECMDTEXT_2_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2ILorg_eclipse_swt_internal_ole_win32_OLECMD_2Lorg_eclipse_swt_internal_ole_win32_OLECMDTEXT_2_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2ILorg_eclipse_swt_internal_ole_win32_OLECMD_2Lorg_eclipse_swt_internal_ole_win32_OLECMDTEXT_2_3=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2ILorg_eclipse_swt_internal_ole_win32_OLECMD_2Lorg_eclipse_swt_internal_ole_win32_OLECMDTEXT_2_4=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2ILorg_eclipse_swt_internal_ole_win32_OLECMD_2Lorg_eclipse_swt_internal_ole_win32_OLECMDTEXT_2_5=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2_3I=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2_3I_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2_3I_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2_3I_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_GUID_2_3I_3=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_LICINFO_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_LICINFO_2_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_LICINFO_2_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_ole_win32_LICINFO_2_2=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_MSG_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_MSG_2_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_MSG_2_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_MSG_2_2=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2_2=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2IZ=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2IZ_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2IZ_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2IZ_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2IZ_3=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2IZ_4=
-
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2Lorg_eclipse_swt_internal_win32_RECT_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2Lorg_eclipse_swt_internal_win32_RECT_2_0=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2Lorg_eclipse_swt_internal_win32_RECT_2_1=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2Lorg_eclipse_swt_internal_win32_RECT_2_2=
-COM_VtblCall__IILorg_eclipse_swt_internal_win32_RECT_2Lorg_eclipse_swt_internal_win32_RECT_2_3=
-
-COM_VtblCall__II_3C=
-COM_VtblCall__II_3C_0=
-COM_VtblCall__II_3C_1=
-COM_VtblCall__II_3C_2=
-
-COM_VtblCall__II_3CI=
-COM_VtblCall__II_3CI_0=
-COM_VtblCall__II_3CI_1=
-COM_VtblCall__II_3CI_2=
-COM_VtblCall__II_3CI_3=
-
-COM_VtblCall__II_3CIIII_3I=
-COM_VtblCall__II_3CIIII_3I_0=
-COM_VtblCall__II_3CIIII_3I_1=
-COM_VtblCall__II_3CIIII_3I_2=
-COM_VtblCall__II_3CIIII_3I_3=
-COM_VtblCall__II_3CIIII_3I_4=
-COM_VtblCall__II_3CIIII_3I_5=
-COM_VtblCall__II_3CIIII_3I_6=
-COM_VtblCall__II_3CIIII_3I_7=
-
-COM_VtblCall__II_3CIII_3I=
-COM_VtblCall__II_3CIII_3I_0=
-COM_VtblCall__II_3CIII_3I_1=
-COM_VtblCall__II_3CIII_3I_2=
-COM_VtblCall__II_3CIII_3I_3=
-COM_VtblCall__II_3CIII_3I_4=
-COM_VtblCall__II_3CIII_3I_5=
-COM_VtblCall__II_3CIII_3I_6=
-
-COM_VtblCall__II_3C_3C=
-COM_VtblCall__II_3C_3C_0=
-COM_VtblCall__II_3C_3C_1=
-COM_VtblCall__II_3C_3C_2=
-COM_VtblCall__II_3C_3C_3=
-
-COM_VtblCall__II_3I=
-COM_VtblCall__II_3I_0=
-COM_VtblCall__II_3I_1=
-COM_VtblCall__II_3I_2=
-
-COM_WriteClassStg=
-COM_WriteClassStg_0=cast=(IStorage *)
-COM_WriteClassStg_1=
-
-
-org_eclipse_swt_internal_ole_win32_COMObject=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_CONTROLINFO=
-CONTROLINFO_cb=
-CONTROLINFO_hAccel=cast=(HACCEL)
-CONTROLINFO_cAccel=
-CONTROLINFO_dwFlags=
-
-org_eclipse_swt_internal_ole_win32_COSERVERINFO=
-COSERVERINFO_dwReserved1=
-COSERVERINFO_pwszName=cast=(LPWSTR)
-COSERVERINFO_pAuthInfo=cast=(COAUTHINFO *)
-COSERVERINFO_dwReserved2=
-
-org_eclipse_swt_internal_ole_win32_DISPPARAMS=
-DISPPARAMS_rgvarg=cast=(VARIANTARG FAR *)
-DISPPARAMS_rgdispidNamedArgs=cast=(DISPID FAR *)
-DISPPARAMS_cArgs=
-DISPPARAMS_cNamedArgs=
-
-org_eclipse_swt_internal_ole_win32_DVTARGETDEVICE=
-DVTARGETDEVICE_tdSize=
-DVTARGETDEVICE_tdDriverNameOffset=
-DVTARGETDEVICE_tdDeviceNameOffset=
-DVTARGETDEVICE_tdPortNameOffset=
-DVTARGETDEVICE_tdExtDevmodeOffset=
-DVTARGETDEVICE_tdData=accessor=tdData[0]
-
-org_eclipse_swt_internal_ole_win32_EXCEPINFO=
-EXCEPINFO_wCode=
-EXCEPINFO_wReserved=
-EXCEPINFO_bstrSource=cast=(BSTR)
-EXCEPINFO_bstrDescription=cast=(BSTR)
-EXCEPINFO_bstrHelpFile=cast=(BSTR)
-EXCEPINFO_dwHelpContext=
-EXCEPINFO_pvReserved=cast=(void FAR *)
-EXCEPINFO_pfnDeferredFillIn=cast=(HRESULT (STDAPICALLTYPE FAR* )(struct tagEXCEPINFO FAR*))
-EXCEPINFO_scode=
-
-org_eclipse_swt_internal_ole_win32_FORMATETC=
-FORMATETC_cfFormat=cast=(CLIPFORMAT)
-FORMATETC_ptd=cast=(DVTARGETDEVICE *)
-FORMATETC_dwAspect=
-FORMATETC_lindex=
-FORMATETC_tymed=
-
-org_eclipse_swt_internal_ole_win32_FUNCDESC1=
-FUNCDESC1_memid=
-FUNCDESC1_lprgscode=cast=(SCODE FAR *)
-FUNCDESC1_lprgelemdescParam=cast=(ELEMDESC FAR *)
-FUNCDESC1_funckind=
-FUNCDESC1_invkind=
-FUNCDESC1_callconv=
-FUNCDESC1_cParams=
-FUNCDESC1_cParamsOpt=
-FUNCDESC1_oVft=
-FUNCDESC1_cScodes=
-FUNCDESC1_elemdescFunc_tdesc_union=accessor=elemdescFunc.tdesc.lptdesc,cast=(struct FARSTRUCT tagTYPEDESC FAR* )
-FUNCDESC1_elemdescFunc_tdesc_vt=accessor=elemdescFunc.tdesc.vt
-FUNCDESC1_elemdescFunc_paramdesc_pparamdescex=accessor=elemdescFunc.paramdesc.pparamdescex,cast=(LPPARAMDESCEX)
-FUNCDESC1_elemdescFunc_paramdesc_wParamFlags=accessor=elemdescFunc.paramdesc.wParamFlags
-FUNCDESC1_wFuncFlags=
-
-org_eclipse_swt_internal_ole_win32_FUNCDESC2=
-FUNCDESC2_memid=
-FUNCDESC2_lprgscode=cast=(SCODE FAR *)
-FUNCDESC2_lprgelemdescParam=cast=(ELEMDESC FAR *)
-FUNCDESC2_funckind=
-FUNCDESC2_invkind=
-FUNCDESC2_callconv=
-FUNCDESC2_cParams=
-FUNCDESC2_cParamsOpt=
-FUNCDESC2_oVft=
-FUNCDESC2_cScodes=
-FUNCDESC2_elemdescFunc_tdesc_union=accessor=elemdescFunc.tdesc.lptdesc,cast=(struct FARSTRUCT tagTYPEDESC FAR* )
-FUNCDESC2_elemdescFunc_tdesc_vt=accessor=elemdescFunc.tdesc.vt
-FUNCDESC2_elemdescFunc_idldesc_dwReserved=accessor=elemdescFunc.idldesc.dwReserved
-FUNCDESC2_elemdescFunc_idldesc_wIDLFlags=accessor=elemdescFunc.idldesc.wIDLFlags
-FUNCDESC2_wFuncFlags=
-
-org_eclipse_swt_internal_ole_win32_GUID=
-GUID_data1=
-GUID_data2=
-GUID_data3=
-GUID_b0=
-GUID_b1=
-GUID_b2=
-GUID_b3=
-GUID_b4=
-GUID_b5=
-GUID_b6=
-GUID_b7=
-
-org_eclipse_swt_internal_ole_win32_IAccessible=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IClassFactory2=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IConnectionPoint=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IConnectionPointContainer=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IDataObject=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IDispatch=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IEnum=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IEnumFORMATETC=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IEnumSTATSTG=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IEnumVARIANT=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IFont=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IMoniker=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IOleCommandTarget=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IOleControl=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IOleDocument=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IOleDocumentView=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IOleInPlaceActiveObject=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IOleInPlaceObject=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IOleLink=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IOleObject=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IOleWindow=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IPersist=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IPersistStorage=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IPersistStreamInit=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IProvideClassInfo=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IProvideClassInfo2=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_ISpecifyPropertyPages=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IStorage=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IStream=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_ITypeInfo=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IUnknown=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_IViewObject2=flags=no_gen
-
-org_eclipse_swt_internal_ole_win32_LICINFO=
-LICINFO_cbLicInfo=
-LICINFO_fRuntimeKeyAvail=
-LICINFO_fLicVerified=
-
-org_eclipse_swt_internal_ole_win32_OLECMD=
-OLECMD_cmdID=
-OLECMD_cmdf=
-
-org_eclipse_swt_internal_ole_win32_OLECMDTEXT=
-OLECMDTEXT_cmdtextf=
-OLECMDTEXT_cwActual=
-OLECMDTEXT_cwBuf=
-OLECMDTEXT_rgwz=accessor=rgwz[0]
-
-org_eclipse_swt_internal_ole_win32_OLEINPLACEFRAMEINFO=
-OLEINPLACEFRAMEINFO_cb=
-OLEINPLACEFRAMEINFO_fMDIApp=
-OLEINPLACEFRAMEINFO_hwndFrame=cast=(HWND)
-OLEINPLACEFRAMEINFO_haccel=cast=(HACCEL)
-OLEINPLACEFRAMEINFO_cAccelEntries=
-
-org_eclipse_swt_internal_ole_win32_STATSTG=
-STATSTG_pwcsName=cast=(LPWSTR)
-STATSTG_type=
-STATSTG_cbSize=
-STATSTG_mtime_dwLowDateTime=
-STATSTG_mtime_dwHighDateTime=
-STATSTG_ctime_dwLowDateTime=
-STATSTG_ctime_dwHighDateTime=
-STATSTG_atime_dwLowDateTime=
-STATSTG_atime_dwHighDateTime=
-STATSTG_grfMode=
-STATSTG_grfLocksSupported=
-STATSTG_clsid_data1=
-STATSTG_clsid_data2=
-STATSTG_clsid_data3=
-STATSTG_clsid_b0=
-STATSTG_clsid_b1=
-STATSTG_clsid_b2=
-STATSTG_clsid_b3=
-STATSTG_clsid_b4=
-STATSTG_clsid_b5=
-STATSTG_clsid_b6=
-STATSTG_clsid_b7=
-STATSTG_grfStateBits=
-STATSTG_reserved=
-
-org_eclipse_swt_internal_ole_win32_STGMEDIUM=
-STGMEDIUM_tymed=
-STGMEDIUM_unionField=cast=(HGLOBAL)
-STGMEDIUM_pUnkForRelease=cast=(IUnknown *)
-
-org_eclipse_swt_internal_ole_win32_TYPEATTR=
-TYPEATTR_guid_data1=
-TYPEATTR_guid_data2=
-TYPEATTR_guid_data3=
-TYPEATTR_guid_b0=
-TYPEATTR_guid_b1=
-TYPEATTR_guid_b2=
-TYPEATTR_guid_b3=
-TYPEATTR_guid_b4=
-TYPEATTR_guid_b5=
-TYPEATTR_guid_b6=
-TYPEATTR_guid_b7=
-TYPEATTR_lcid=
-TYPEATTR_dwReserved=
-TYPEATTR_memidConstructor=
-TYPEATTR_memidDestructor=
-TYPEATTR_lpstrSchema=cast=(OLECHAR FAR *)
-TYPEATTR_cbSizeInstance=
-TYPEATTR_typekind=
-TYPEATTR_cFuncs=
-TYPEATTR_cVars=
-TYPEATTR_cImplTypes=
-TYPEATTR_cbSizeVft=
-TYPEATTR_cbAlignment=
-TYPEATTR_wTypeFlags=
-TYPEATTR_wMajorVerNum=
-TYPEATTR_wMinorVerNum=
-TYPEATTR_tdescAlias_unionField=
-TYPEATTR_tdescAlias_vt=
-TYPEATTR_idldescType_dwReserved=
-TYPEATTR_idldescType_wIDLFlags=
-
-org_eclipse_swt_internal_ole_win32_VARDESC1=
-VARDESC1_memid=
-VARDESC1_lpstrSchema=cast=(OLECHAR FAR *)
-VARDESC1_unionField=
-VARDESC1_elemdescVar_tdesc_union=accessor=elemdescVar.tdesc.lptdesc,cast=(struct FARSTRUCT tagTYPEDESC FAR *)
-VARDESC1_elemdescVar_tdesc_vt=accessor=elemdescVar.tdesc.vt
-VARDESC1_elemdescVar_paramdesc_pparamdescex=accessor=elemdescVar.paramdesc.pparamdescex
-VARDESC1_elemdescVar_paramdesc_wParamFlags=accessor=elemdescVar.paramdesc.wParamFlags
-VARDESC1_wVarFlags=
-VARDESC1_varkind=
-
-org_eclipse_swt_internal_ole_win32_VARDESC2=
-VARDESC2_memid=
-VARDESC2_lpstrSchema=cast=(OLECHAR FAR *)
-VARDESC2_unionField=
-VARDESC2_elemdescVar_tdesc_union=accessor=elemdescVar.tdesc.lptdesc,cast=(struct FARSTRUCT tagTYPEDESC FAR *)
-VARDESC2_elemdescVar_tdesc_vt=cast=elemdescVar.tdesc.vt
-VARDESC2_elemdescFunc_idldesc_dwReserved=cast=elemdescVar.idldesc.dwReserved
-VARDESC2_elemdescFunc_idldesc_wIDLFlags=cast=elemdescVar.idldesc.wIDLFlags
-VARDESC2_wVarFlags=
-VARDESC2_varkind=
-
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.photon.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.photon.OS.properties
deleted file mode 100644
index 3b217cae6b..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.photon.OS.properties
+++ /dev/null
@@ -1,1523 +0,0 @@
-org_eclipse_swt_internal_photon_FontDetails=
-FontDetails_desc=cast=(FontDescription)
-FontDetails_stem=cast=(FontName)
-FontDetails_losize=
-FontDetails_hisize=
-FontDetails_flags=
-
-org_eclipse_swt_internal_photon_FontQueryInfo=
-FontQueryInfo_font=cast=(FontName)
-FontQueryInfo_desc=cast=(FontDescription)
-FontQueryInfo_size=
-FontQueryInfo_style=
-FontQueryInfo_ascender=
-FontQueryInfo_descender=
-FontQueryInfo_width=
-FontQueryInfo_lochar=
-FontQueryInfo_hichar=
-
-org_eclipse_swt_internal_photon_OS=
-OS_PfDecomposeStemToID=
-OS_PfDecomposeStemToID_0=
-
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2III=
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2III_0=
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2III_1=
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2III_2=cast=(const char *)
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2III_3=cast=(const char *)
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2III_4=
-
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2_3B_3BI=
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2_3B_3BI_0=
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2_3B_3BI_1=
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2_3B_3BI_2=cast=(const char *)
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2_3B_3BI_3=cast=(const char *)
-OS_PfExtentText__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhPoint_1t_2_3B_3BI_4=
-
-OS_PfExtentWideText=
-OS_PfExtentWideText_0=
-OS_PfExtentWideText_1=
-OS_PfExtentWideText_2=cast=(const char *)
-OS_PfExtentWideText_3=cast=(const uint16_t *)
-OS_PfExtentWideText_4=
-
-OS_PfFontDescription=
-OS_PfFontDescription_0=cast=(FontID *)
-
-OS_PfFontFlags=
-OS_PfFontFlags_0=cast=(FontID *)
-
-OS_PfFontSize=
-OS_PfFontSize_0=cast=(FontID *)
-
-OS_PfFreeFont=
-OS_PfFreeFont_0=cast=(FontID *)
-
-OS_PfGenerateFontName=
-OS_PfGenerateFontName_0=cast=(char const *)
-OS_PfGenerateFontName_1=
-OS_PfGenerateFontName_2=
-OS_PfGenerateFontName_3=cast=(char *)
-
-OS_PfLoadMetrics=
-OS_PfLoadMetrics_0=cast=(const char *)
-
-OS_PfQueryFontInfo=
-OS_PfQueryFontInfo_0=cast=(const char *)
-OS_PfQueryFontInfo_1=cast=(FontQueryInfo *)
-
-OS_PfQueryFonts=
-OS_PfQueryFonts_0=
-OS_PfQueryFonts_1=
-OS_PfQueryFonts_2=cast=(FontDetails *)
-OS_PfQueryFonts_3=
-
-OS_PgAlphaOff=
-
-OS_PgAlphaOn=
-
-OS_PgCreateGC=
-OS_PgCreateGC_0=
-
-OS_PgDestroyGC=
-OS_PgDestroyGC_0=cast=(PhGC_t *)
-
-OS_PgDrawArc=
-OS_PgDrawArc_0=
-OS_PgDrawArc_1=
-OS_PgDrawArc_2=
-OS_PgDrawArc_3=
-OS_PgDrawArc_4=
-
-OS_PgDrawArrow=
-OS_PgDrawArrow_0=
-OS_PgDrawArrow_1=
-OS_PgDrawArrow_2=cast=(PgColor_t)
-OS_PgDrawArrow_3=
-
-OS_PgDrawBitmap=
-OS_PgDrawBitmap_0=cast=(void const *)
-OS_PgDrawBitmap_1=cast=(int)
-OS_PgDrawBitmap_2=cast=(PhPoint_t *)
-OS_PgDrawBitmap_3=cast=(PhPoint_t *)
-OS_PgDrawBitmap_4=cast=(int)
-OS_PgDrawBitmap_5=cast=(long)
-
-OS_PgDrawEllipse=
-OS_PgDrawEllipse_0=
-OS_PgDrawEllipse_1=
-OS_PgDrawEllipse_2=
-
-OS_PgDrawGradient=
-OS_PgDrawGradient_0=
-OS_PgDrawGradient_1=
-OS_PgDrawGradient_2=
-OS_PgDrawGradient_3=
-OS_PgDrawGradient_4=
-OS_PgDrawGradient_5=cast=(PgColor_t)
-OS_PgDrawGradient_6=cast=(PgColor_t)
-OS_PgDrawGradient_7=cast=(PgColor_t)
-OS_PgDrawGradient_8=cast=(PgColor_t)
-OS_PgDrawGradient_9=
-OS_PgDrawGradient_10=cast=(unsigned char *)
-
-OS_PgDrawILine=
-OS_PgDrawILine_0=
-OS_PgDrawILine_1=
-OS_PgDrawILine_2=
-OS_PgDrawILine_3=
-
-OS_PgDrawIPixel=
-OS_PgDrawIPixel_0=
-OS_PgDrawIPixel_1=
-
-OS_PgDrawIRect=
-OS_PgDrawIRect_0=
-OS_PgDrawIRect_1=
-OS_PgDrawIRect_2=
-OS_PgDrawIRect_3=
-OS_PgDrawIRect_4=
-
-OS_PgDrawImage=
-OS_PgDrawImage_0=cast=(void const *)
-OS_PgDrawImage_1=
-OS_PgDrawImage_2=
-OS_PgDrawImage_3=
-OS_PgDrawImage_4=
-OS_PgDrawImage_5=
-
-OS_PgDrawMultiTextArea=
-OS_PgDrawMultiTextArea_0=cast=(char *)
-OS_PgDrawMultiTextArea_1=
-OS_PgDrawMultiTextArea_2=
-OS_PgDrawMultiTextArea_3=
-OS_PgDrawMultiTextArea_4=
-OS_PgDrawMultiTextArea_5=
-
-OS_PgDrawPhImageRectmx=
-OS_PgDrawPhImageRectmx_0=
-OS_PgDrawPhImageRectmx_1=cast=(PhImage_t const *)
-OS_PgDrawPhImageRectmx_2=
-OS_PgDrawPhImageRectmx_3=
-
-OS_PgDrawPolygon=
-OS_PgDrawPolygon_0=cast=(PhPoint_t const *)
-OS_PgDrawPolygon_1=
-OS_PgDrawPolygon_2=cast=(PhPoint_t const *)
-OS_PgDrawPolygon_3=
-
-OS_PgDrawRoundRect=
-OS_PgDrawRoundRect_0=cast=(PhRect_t const *)
-OS_PgDrawRoundRect_1=cast=(PhPoint_t const *)
-OS_PgDrawRoundRect_2=
-
-OS_PgDrawTImage=
-OS_PgDrawTImage_0=cast=(void const *)
-OS_PgDrawTImage_1=
-OS_PgDrawTImage_2=cast=(PhPoint_t const *)
-OS_PgDrawTImage_3=cast=(PhDim_t const *)
-OS_PgDrawTImage_4=
-OS_PgDrawTImage_5=
-OS_PgDrawTImage_6=cast=(void const *)
-OS_PgDrawTImage_7=
-
-OS_PgDrawText=
-OS_PgDrawText_0=cast=(char const *)
-OS_PgDrawText_1=
-OS_PgDrawText_2=cast=(PhPoint_t *)
-OS_PgDrawText_3=
-
-OS_PgExtentMultiText=
-OS_PgExtentMultiText_0=cast=(PhRect_t *)
-OS_PgExtentMultiText_1=cast=(PhPoint_t *)
-OS_PgExtentMultiText_2=cast=(char *)
-OS_PgExtentMultiText_3=cast=(char *)
-OS_PgExtentMultiText_4=
-OS_PgExtentMultiText_5=
-
-OS_PgFlush=
-
-OS_PgGetVideoMode=
-OS_PgGetVideoMode_0=cast=(PgDisplaySettings_t *),flags=init
-
-OS_PgGetVideoModeInfo=
-OS_PgGetVideoModeInfo_0=
-OS_PgGetVideoModeInfo_1=cast=(PgVideoModeInfo_t *)
-
-OS_PgReadScreen=
-OS_PgReadScreen_0=cast=(PhRect_t *)
-OS_PgReadScreen_1=cast=(void *)
-
-OS_PgReadScreenSize=
-OS_PgReadScreenSize_0=cast=(PhRect_t *)
-
-OS_PgSetAlpha=
-OS_PgSetAlpha_0=
-OS_PgSetAlpha_1=cast=(PgMap_t const *)
-OS_PgSetAlpha_2=cast=(PgGradient_t const *)
-OS_PgSetAlpha_3=
-OS_PgSetAlpha_4=
-
-OS_PgSetClipping=
-OS_PgSetClipping_0=
-OS_PgSetClipping_1=cast=(PhRect_t const *)
-
-OS_PgSetDrawBufferSize=
-OS_PgSetDrawBufferSize_0=
-
-OS_PgSetDrawMode=
-OS_PgSetDrawMode_0=
-
-OS_PgSetFillColor=
-OS_PgSetFillColor_0=cast=(PgColor_t)
-
-OS_PgSetFillTransPat=
-OS_PgSetFillTransPat_0=cast=(PgPattern_t)
-
-OS_PgSetFont=
-OS_PgSetFont_0=cast=(char const *)
-
-OS_PgSetGC=
-OS_PgSetGC_0=cast=(PhGC_t *)
-
-OS_PgSetMultiClip=
-OS_PgSetMultiClip_0=
-OS_PgSetMultiClip_1=cast=(PhRect_t const *)
-
-OS_PgSetPalette=
-OS_PgSetPalette_0=cast=(PgColor_t const *)
-OS_PgSetPalette_1=
-OS_PgSetPalette_2=
-OS_PgSetPalette_3=
-OS_PgSetPalette_4=
-OS_PgSetPalette_5=
-
-OS_PgSetRegion=
-OS_PgSetRegion_0=cast=(PhRid_t)
-
-OS_PgSetStrokeCap=
-OS_PgSetStrokeCap_0=
-
-OS_PgSetStrokeColor=
-OS_PgSetStrokeColor_0=cast=(PgColor_t)
-
-OS_PgSetStrokeDash=
-OS_PgSetStrokeDash_0=cast=(unsigned char const *)
-OS_PgSetStrokeDash_1=
-OS_PgSetStrokeDash_2=
-
-OS_PgSetStrokeWidth=
-OS_PgSetStrokeWidth_0=
-
-OS_PgSetTextColor=
-OS_PgSetTextColor_0=cast=(PgColor_t)
-
-OS_PgSetTextXORColor=
-OS_PgSetTextXORColor_0=cast=(PgColor_t)
-OS_PgSetTextXORColor_1=cast=(PgColor_t)
-
-OS_PgSetUserClip=
-OS_PgSetUserClip_0=cast=(PhRect_t const *)
-
-OS_PgShmemCreate=
-OS_PgShmemCreate_0=
-OS_PgShmemCreate_1=cast=(char const *)
-
-OS_PgShmemDestroy=
-OS_PgShmemDestroy_0=cast=(void *)
-
-OS_PhAddMergeTiles=
-OS_PhAddMergeTiles_0=cast=(PhTile_t *)
-OS_PhAddMergeTiles_1=cast=(PhTile_t *)
-OS_PhAddMergeTiles_2=cast=(int *)
-
-OS_PhAreaToRect=
-OS_PhAreaToRect_0=cast=(PhArea_t const *)
-OS_PhAreaToRect_1=cast=(PhRect_t *)
-
-OS_PhBlit=
-OS_PhBlit_0=cast=(PhRid_t)
-OS_PhBlit_1=cast=(const PhRect_t *)
-OS_PhBlit_2=cast=(const PhPoint_t *)
-
-OS_PhClipTilings=
-OS_PhClipTilings_0=cast=(PhTile_t *)
-OS_PhClipTilings_1=cast=(PhTile_t *)
-OS_PhClipTilings_2=cast=(PhTile_t **)
-
-OS_PhClipboardCopy=
-OS_PhClipboardCopy_0=
-OS_PhClipboardCopy_1=
-OS_PhClipboardCopy_2=cast=(PhClipHeader const *)
-
-OS_PhClipboardCopyString=
-OS_PhClipboardCopyString_0=
-OS_PhClipboardCopyString_1=cast=(const char *)
-
-OS_PhClipboardPasteFinish=
-OS_PhClipboardPasteFinish_0=cast=(void *)
-
-OS_PhClipboardPasteStart=
-OS_PhClipboardPasteStart_0=
-
-OS_PhClipboardPasteString=
-OS_PhClipboardPasteString_0=
-
-OS_PhClipboardPasteType=
-OS_PhClipboardPasteType_0=cast=(void *)
-OS_PhClipboardPasteType_1=
-
-OS_PhClipboardPasteTypeN=
-OS_PhClipboardPasteTypeN_0=cast=(void *)
-OS_PhClipboardPasteTypeN_1=
-
-OS_PhCoalesceTiles=
-OS_PhCoalesceTiles_0=cast=(PhTile_t *)
-
-OS_PhCopyTiles=
-OS_PhCopyTiles_0=cast=(PhTile_t *)
-
-OS_PhCreateImage=
-OS_PhCreateImage_0=cast=(PhImage_t *)
-OS_PhCreateImage_1=
-OS_PhCreateImage_2=
-OS_PhCreateImage_3=
-OS_PhCreateImage_4=cast=(PgColor_t const *)
-OS_PhCreateImage_5=
-OS_PhCreateImage_6=
-
-OS_PhDCSetCurrent=
-OS_PhDCSetCurrent_0=cast=(void *)
-
-OS_PhDeTranslateTiles=
-OS_PhDeTranslateTiles_0=cast=(PhTile_t *)
-OS_PhDeTranslateTiles_1=cast=(PhPoint_t const *)
-
-OS_PhEventNext=
-OS_PhEventNext_0=cast=(void *)
-OS_PhEventNext_1=
-
-OS_PhEventPeek=
-OS_PhEventPeek_0=cast=(void *)
-OS_PhEventPeek_1=
-
-OS_PhFreeTiles=
-OS_PhFreeTiles_0=cast=(PhTile_t *)
-
-OS_PhGetData=
-OS_PhGetData_0=cast=(PhEvent_t *)
-
-OS_PhGetMsgSize=
-OS_PhGetMsgSize_0=cast=(PhEvent_t const *)
-
-OS_PhGetRects=
-OS_PhGetRects_0=cast=(PhEvent_t *)
-
-OS_PhGetTile=flags=no_gen
-
-OS_PhInitDrag=
-OS_PhInitDrag_0=cast=(PhRid_t)
-OS_PhInitDrag_1=
-OS_PhInitDrag_2=cast=(const PhRect_t *)
-OS_PhInitDrag_3=cast=(const PhRect_t *)
-OS_PhInitDrag_4=
-OS_PhInitDrag_5=cast=(PhDim_t *)
-OS_PhInitDrag_6=cast=(PhDim_t *)
-OS_PhInitDrag_7=cast=(PhDim_t *)
-OS_PhInitDrag_8=cast=(PhPoint_t *)
-OS_PhInitDrag_9=cast=(PhCursorDescription_t *)
-
-OS_PhInputGroup=
-OS_PhInputGroup_0=cast=(PhEvent_t *)
-
-OS_PhIntersectTilings=
-OS_PhIntersectTilings_0=cast=(PhTile_t const *)
-OS_PhIntersectTilings_1=cast=(PhTile_t const *)
-OS_PhIntersectTilings_2=
-
-OS_PhKeyToMb=
-OS_PhKeyToMb_0=cast=char *
-OS_PhKeyToMb_1=
-
-OS_PhMakeGhostBitmap=
-OS_PhMakeGhostBitmap_0=cast=(PhImage_t *)
-
-OS_PhMakeTransBitmap=
-OS_PhMakeTransBitmap_0=cast=(PhImage_t *)
-OS_PhMakeTransBitmap_1=cast=(PgColor_t)
-
-OS_PhMergeTiles=
-OS_PhMergeTiles_0=cast=(PhTile_t *)
-
-OS_PhMoveCursorAbs=
-OS_PhMoveCursorAbs_0=
-OS_PhMoveCursorAbs_1=
-OS_PhMoveCursorAbs_2=
-
-OS_PhQueryCursor=
-OS_PhQueryCursor_0=
-OS_PhQueryCursor_1=cast=(PhCursorInfo_t *)
-
-OS_PhQueryRids=
-OS_PhQueryRids_0=
-OS_PhQueryRids_1=cast=(PhRid_t)
-OS_PhQueryRids_2=
-OS_PhQueryRids_3=
-OS_PhQueryRids_4=
-OS_PhQueryRids_5=cast=(PhRid_t)
-OS_PhQueryRids_6=cast=(const PhRect_t *)
-OS_PhQueryRids_7=cast=(PhRid_t *)
-OS_PhQueryRids_8=
-
-OS_PhRectIntersect=
-OS_PhRectIntersect_0=cast=(PhRect_t *)
-OS_PhRectIntersect_1=cast=(PhRect_t const *)
-
-OS_PhRectUnion__II=
-OS_PhRectUnion__II_0=cast=(PhRect_t *)
-OS_PhRectUnion__II_1=cast=(PhRect_t const *)
-
-OS_PhRectUnion__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhRect_1t_2=
-OS_PhRectUnion__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhRect_1t_2_0=cast=(PhRect_t *)
-OS_PhRectUnion__Lorg_eclipse_swt_internal_photon_PhRect_1t_2Lorg_eclipse_swt_internal_photon_PhRect_1t_2_1=cast=(PhRect_t const *)
-
-OS_PhRectsToTiles=
-OS_PhRectsToTiles_0=cast=(PhRect_t *)
-OS_PhRectsToTiles_1=
-
-OS_PhRegionQuery=
-OS_PhRegionQuery_0=cast=(PhRid_t)
-OS_PhRegionQuery_1=cast=(PhRegion_t *)
-OS_PhRegionQuery_2=cast=(PhRect_t *)
-OS_PhRegionQuery_3=cast=(void *)
-OS_PhRegionQuery_4=
-
-OS_PhReleaseImage=
-OS_PhReleaseImage_0=cast=(PhImage_t *)
-
-OS_PhSortTiles=
-OS_PhSortTiles_0=cast=(PhTile_t *)
-
-OS_PhTilesToRects=
-OS_PhTilesToRects_0=cast=(PhTile_t *)
-OS_PhTilesToRects_1=cast=(int *)
-
-OS_PhTranslateTiles=
-OS_PhTranslateTiles_0=cast=(PhTile_t *)
-OS_PhTranslateTiles_1=cast=(PhPoint_t const *)
-
-OS_PhWindowQueryVisible=
-OS_PhWindowQueryVisible_0=
-OS_PhWindowQueryVisible_1=cast=(PhRid_t)
-OS_PhWindowQueryVisible_2=
-OS_PhWindowQueryVisible_3=cast=(PhRect_t *)
-
-OS_PiCropImage=
-OS_PiCropImage_0=cast=(PhImage_t *)
-OS_PiCropImage_1=cast=(PhRect_t const *)
-OS_PiCropImage_2=
-
-OS_PiDuplicateImage=
-OS_PiDuplicateImage_0=cast=(PhImage_t *)
-OS_PiDuplicateImage_1=
-
-OS_PmMemCreateMC=
-OS_PmMemCreateMC_0=cast=(PhImage_t *)
-OS_PmMemCreateMC_1=cast=(PhDim_t *)
-OS_PmMemCreateMC_2=cast=(PhPoint_t *)
-
-OS_PmMemFlush=
-OS_PmMemFlush_0=cast=(PmMemoryContext_t *)
-OS_PmMemFlush_1=cast=(PhImage_t *)
-
-OS_PmMemReleaseMC=
-OS_PmMemReleaseMC_0=cast=(PmMemoryContext_t *)
-
-OS_PmMemStart=
-OS_PmMemStart_0=cast=(PmMemoryContext_t *)
-
-OS_PmMemStop=
-OS_PmMemStop_0=cast=(PmMemoryContext_t *)
-
-OS_PtAddCallback=
-OS_PtAddCallback_0=cast=(PtWidget_t *)
-OS_PtAddCallback_1=
-OS_PtAddCallback_2=cast=(PtCallbackF_t *)
-OS_PtAddCallback_3=cast=(void *)
-
-OS_PtAddEventHandler=
-OS_PtAddEventHandler_0=cast=(PtWidget_t *)
-OS_PtAddEventHandler_1=
-OS_PtAddEventHandler_2=cast=(PtCallbackF_t *)
-OS_PtAddEventHandler_3=cast=(void *)
-
-OS_PtAddFilterCallback=
-OS_PtAddFilterCallback_0=cast=(PtWidget_t *)
-OS_PtAddFilterCallback_1=
-OS_PtAddFilterCallback_2=cast=(PtCallbackF_t *)
-OS_PtAddFilterCallback_3=cast=(void *)
-
-OS_PtAddHotkeyHandler=
-OS_PtAddHotkeyHandler_0=cast=(PtWidget_t *)
-OS_PtAddHotkeyHandler_1=
-OS_PtAddHotkeyHandler_2=
-OS_PtAddHotkeyHandler_3=
-OS_PtAddHotkeyHandler_4=cast=(void *)
-OS_PtAddHotkeyHandler_5=cast=(PtCallbackF_t *)
-
-OS_PtAlert=
-OS_PtAlert_0=cast=(PtWidget_t *)
-OS_PtAlert_1=cast=(PhPoint_t const *)
-OS_PtAlert_2=cast=(char const *)
-OS_PtAlert_3=cast=(PhImage_t const *)
-OS_PtAlert_4=cast=(char const *)
-OS_PtAlert_5=cast=(char const *)
-OS_PtAlert_6=
-OS_PtAlert_7=cast=(char const **)
-OS_PtAlert_8=cast=(char const **)
-OS_PtAlert_9=
-OS_PtAlert_10=
-OS_PtAlert_11=
-
-OS_PtAppAddInput=
-OS_PtAppAddInput_0=cast=(PtAppContext_t)
-OS_PtAppAddInput_1=cast=(pid_t)
-OS_PtAppAddInput_2=cast=(PtInputCallbackProc_t)
-OS_PtAppAddInput_3=cast=(void *)
-
-OS_PtAppAddWorkProc=
-OS_PtAppAddWorkProc_0=cast=(PtAppContext_t)
-OS_PtAppAddWorkProc_1=cast=(PtWorkProc_t)
-OS_PtAppAddWorkProc_2=cast=(void *)
-
-OS_PtAppCreatePulse=
-OS_PtAppCreatePulse_0=cast=(PtAppContext_t)
-OS_PtAppCreatePulse_1=
-
-OS_PtAppDeletePulse=
-OS_PtAppDeletePulse_0=cast=(PtAppContext_t)
-OS_PtAppDeletePulse_1=cast=(pid_t)
-
-OS_PtAppProcessEvent=
-OS_PtAppProcessEvent_0=cast=(PtAppContext_t)
-
-OS_PtAppPulseTrigger=
-OS_PtAppPulseTrigger_0=cast=(PtAppContext_t)
-OS_PtAppPulseTrigger_1=cast=(pid_t)
-
-OS_PtAppRemoveInput=
-OS_PtAppRemoveInput_0=cast=(PtAppContext_t)
-OS_PtAppRemoveInput_1=cast=(PtInputId_t *)
-
-OS_PtAppRemoveWorkProc=
-OS_PtAppRemoveWorkProc_0=cast=(PtAppContext_t)
-OS_PtAppRemoveWorkProc_1=cast=(PtWorkProcId_t *)
-
-OS_PtBeep=
-
-OS_PtBlit=
-OS_PtBlit_0=cast=(PtWidget_t const *)
-OS_PtBlit_1=cast=(PhRect_t const *)
-OS_PtBlit_2=cast=(PhPoint_t const *)
-
-OS_PtBlockAllWindows=
-OS_PtBlockAllWindows_0=cast=(PtWidget_t *)
-OS_PtBlockAllWindows_1=
-OS_PtBlockAllWindows_2=cast=(PgColor_t)
-
-OS_PtBlockWindow=
-OS_PtBlockWindow_0=cast=(PtWidget_t *)
-OS_PtBlockWindow_1=
-OS_PtBlockWindow_2=cast=(PgColor_t)
-
-OS_PtButton=flags=const
-
-OS_PtCalcBorder=
-OS_PtCalcBorder_0=cast=(PtWidget_t *)
-OS_PtCalcBorder_1=
-
-OS_PtCalcCanvas=
-OS_PtCalcCanvas_0=cast=(PtWidget_t *)
-OS_PtCalcCanvas_1=cast=(PhRect_t *)
-
-OS_PtClippedBlit=
-OS_PtClippedBlit_0=cast=(PtWidget_t const *)
-OS_PtClippedBlit_1=cast=(PhTile_t const *)
-OS_PtClippedBlit_2=cast=(PhPoint_t const *)
-OS_PtClippedBlit_3=cast=(PhTile_t const *)
-
-OS_PtColorSelect=
-OS_PtColorSelect_0=cast=(PtWidget_t *)
-OS_PtColorSelect_1=cast=(char *)
-OS_PtColorSelect_2=
-
-OS_PtComboBox=flags=const
-
-OS_PtContainer=flags=const
-
-OS_PtContainerFindFocus=
-OS_PtContainerFindFocus_0=cast=(PtWidget_t *)
-
-OS_PtContainerFocusNext=
-OS_PtContainerFocusNext_0=cast=(PtWidget_t *)
-OS_PtContainerFocusNext_1=cast=(PhEvent_t *)
-
-OS_PtContainerFocusPrev=
-OS_PtContainerFocusPrev_0=cast=(PtWidget_t *)
-OS_PtContainerFocusPrev_1=cast=(PhEvent_t *)
-
-OS_PtContainerGiveFocus=
-OS_PtContainerGiveFocus_0=cast=(PtWidget_t *)
-OS_PtContainerGiveFocus_1=cast=(PhEvent_t *)
-
-OS_PtContainerHold=
-OS_PtContainerHold_0=cast=(PtWidget_t *)
-
-OS_PtContainerRelease=
-OS_PtContainerRelease_0=cast=(PtWidget_t *)
-
-OS_PtCreateAppContext=
-
-OS_PtCreateWidget=
-OS_PtCreateWidget_0=cast=(PtWidgetClassRef_t *)
-OS_PtCreateWidget_1=cast=(PtWidget_t *)
-OS_PtCreateWidget_2=
-OS_PtCreateWidget_3=cast=(PtArg_t const *)
-
-OS_PtCreateWidgetClass=
-OS_PtCreateWidgetClass_0=cast=(PtWidgetClassRef_t *)
-OS_PtCreateWidgetClass_1=
-OS_PtCreateWidgetClass_2=
-OS_PtCreateWidgetClass_3=cast=(PtArg_t const *)
-
-OS_PtDamageExtent=
-OS_PtDamageExtent_0=cast=(PtWidget_t *)
-OS_PtDamageExtent_1=cast=(PhRect_t const *)
-
-OS_PtDamageWidget=
-OS_PtDamageWidget_0=cast=(PtWidget_t *)
-
-OS_PtDestroyWidget=
-OS_PtDestroyWidget_0=cast=(PtWidget_t *)
-
-OS_PtDisjoint=flags=const
-
-OS_PtEnter=
-OS_PtEnter_0=
-
-OS_PtEventHandler=
-OS_PtEventHandler_0=cast=(PhEvent_t *)
-
-OS_PtExtentWidget=
-OS_PtExtentWidget_0=cast=(PtWidget_t *)
-
-OS_PtExtentWidgetFamily=
-OS_PtExtentWidgetFamily_0=cast=(PtWidget_t *)
-
-OS_PtFileSelection=
-OS_PtFileSelection_0=cast=(PtWidget_t *)
-OS_PtFileSelection_1=cast=(PhPoint_t const *)
-OS_PtFileSelection_2=cast=(char const *)
-OS_PtFileSelection_3=cast=(char const *)
-OS_PtFileSelection_4=cast=(char const *)
-OS_PtFileSelection_5=cast=(char const *)
-OS_PtFileSelection_6=cast=(char const *)
-OS_PtFileSelection_7=cast=(char const *)
-OS_PtFileSelection_8=cast=(PtFileSelectionInfo_t *),flags=init
-OS_PtFileSelection_9=
-
-OS_PtFindDisjoint=
-OS_PtFindDisjoint_0=cast=(PtWidget_t *)
-
-OS_PtFlush=
-
-OS_PtFontSelection=
-OS_PtFontSelection_0=cast=(PtWidget_t *)
-OS_PtFontSelection_1=cast=(const PhPoint_t *)
-OS_PtFontSelection_2=cast=(const char *)
-OS_PtFontSelection_3=cast=(const char *)
-OS_PtFontSelection_4=
-OS_PtFontSelection_5=
-OS_PtFontSelection_6=cast=(const char *)
-
-OS_PtForwardWindowEvent=
-OS_PtForwardWindowEvent_0=cast=(PhWindowEvent_t const *)
-
-OS_PtFrameSize=
-OS_PtFrameSize_0=
-OS_PtFrameSize_1=
-OS_PtFrameSize_2=
-OS_PtFrameSize_3=
-OS_PtFrameSize_4=
-OS_PtFrameSize_5=
-
-OS_PtGetAbsPosition=
-OS_PtGetAbsPosition_0=cast=(PtWidget_t *)
-OS_PtGetAbsPosition_1=
-OS_PtGetAbsPosition_2=
-
-OS_PtGetResources=
-OS_PtGetResources_0=cast=(PtWidget_t *)
-OS_PtGetResources_1=
-OS_PtGetResources_2=cast=(PtArg_t *)
-
-OS_PtGlobalFocusNext=
-OS_PtGlobalFocusNext_0=cast=(PtWidget_t *)
-OS_PtGlobalFocusNext_1=cast=(PhEvent_t *)
-
-OS_PtGlobalFocusNextContainer=
-OS_PtGlobalFocusNextContainer_0=cast=(PtWidget_t *)
-OS_PtGlobalFocusNextContainer_1=cast=(PhEvent_t *)
-
-OS_PtGlobalFocusPrev=
-OS_PtGlobalFocusPrev_0=cast=(PtWidget_t *)
-OS_PtGlobalFocusPrev_1=cast=(PhEvent_t *)
-
-OS_PtGlobalFocusPrevContainer=
-OS_PtGlobalFocusPrevContainer_0=cast=(PtWidget_t *)
-OS_PtGlobalFocusPrevContainer_1=cast=(PhEvent_t *)
-
-OS_PtGroup=flags=const
-
-OS_PtHit=
-OS_PtHit_0=cast=( PtWidget_t *)
-OS_PtHit_1=
-OS_PtHit_2=cast=(PhRect_t const *)
-
-OS_PtHold=
-
-OS_PtInflateBalloon=
-OS_PtInflateBalloon_0=cast=(PtWidget_t *)
-OS_PtInflateBalloon_1=cast=(PtWidget_t *)
-OS_PtInflateBalloon_2=
-OS_PtInflateBalloon_3=cast=(char const *)
-OS_PtInflateBalloon_4=cast=(char const *)
-OS_PtInflateBalloon_5=cast=(PgColor_t)
-OS_PtInflateBalloon_6=cast=(PgColor_t)
-
-OS_PtInit=
-OS_PtInit_0=cast=(char const *)
-
-OS_PtIsFocused=
-OS_PtIsFocused_0=cast=(PtWidget_t *)
-
-OS_PtLabel=flags=const
-
-OS_PtLeave=
-OS_PtLeave_0=
-
-OS_PtList=flags=const
-
-OS_PtListAddItems=
-OS_PtListAddItems_0=cast=(PtWidget_t *)
-OS_PtListAddItems_1=cast=(const char **)
-OS_PtListAddItems_2=
-OS_PtListAddItems_3=
-
-OS_PtListDeleteAllItems=
-OS_PtListDeleteAllItems_0=cast=(PtWidget_t *)
-
-OS_PtListDeleteItemPos=
-OS_PtListDeleteItemPos_0=cast=(PtWidget_t *)
-OS_PtListDeleteItemPos_1=
-OS_PtListDeleteItemPos_2=
-
-OS_PtListGotoPos=
-OS_PtListGotoPos_0=cast=(PtWidget_t *)
-OS_PtListGotoPos_1=
-
-OS_PtListItemPos=
-OS_PtListItemPos_0=cast=(PtWidget_t *)
-OS_PtListItemPos_1=cast=(const char *)
-
-OS_PtListReplaceItemPos=
-OS_PtListReplaceItemPos_0=cast=(PtWidget_t *)
-OS_PtListReplaceItemPos_1=cast=(const char **)
-OS_PtListReplaceItemPos_2=
-OS_PtListReplaceItemPos_3=
-
-OS_PtListSelectPos=
-OS_PtListSelectPos_0=cast=(PtWidget_t *)
-OS_PtListSelectPos_1=
-
-OS_PtListUnselectPos=
-OS_PtListUnselectPos_0=cast=(PtWidget_t *)
-OS_PtListUnselectPos_1=
-
-OS_PtMainLoop=
-
-OS_PtMenu=flags=const
-
-OS_PtMenuBar=flags=const
-
-OS_PtMenuButton=flags=const
-
-OS_PtMultiText=flags=const
-
-OS_PtNextTopLevelWidget=
-OS_PtNextTopLevelWidget_0=cast=(PtWidget_t *)
-
-OS_PtPane=flags=const
-
-OS_PtPanelGroup=flags=const
-
-OS_PtPositionMenu=
-OS_PtPositionMenu_0=cast=(PtWidget_t *)
-OS_PtPositionMenu_1=cast=(PhEvent_t *)
-
-OS_PtProgress=flags=const
-
-OS_PtReParentWidget=
-OS_PtReParentWidget_0=cast=(PtWidget_t *)
-OS_PtReParentWidget_1=cast=(PtWidget_t *)
-
-OS_PtRealizeWidget=
-OS_PtRealizeWidget_0=cast=(PtWidget_t *)
-
-OS_PtRegion=flags=const
-
-OS_PtRelease=
-
-OS_PtRemoveCallback=
-OS_PtRemoveCallback_0=cast=(PtWidget_t *)
-OS_PtRemoveCallback_1=
-OS_PtRemoveCallback_2=cast=(PtCallbackF_t *)
-OS_PtRemoveCallback_3=cast=(void *)
-
-OS_PtRemoveHotkeyHandler=
-OS_PtRemoveHotkeyHandler_0=cast=(PtWidget_t *)
-OS_PtRemoveHotkeyHandler_1=
-OS_PtRemoveHotkeyHandler_2=
-OS_PtRemoveHotkeyHandler_3=
-OS_PtRemoveHotkeyHandler_4=cast=(void *)
-OS_PtRemoveHotkeyHandler_5=cast=(PtCallbackF_t *)
-
-OS_PtScrollArea=flags=const
-
-OS_PtScrollContainer=flags=const
-
-OS_PtScrollbar=flags=const
-
-OS_PtSendEventToWidget=
-OS_PtSendEventToWidget_0=cast=(PtWidget_t *)
-OS_PtSendEventToWidget_1=cast=(PhEvent_t *)
-
-OS_PtSeparator=flags=const
-
-OS_PtSetAreaFromWidgetCanvas=
-OS_PtSetAreaFromWidgetCanvas_0=cast=(PtWidget_t *)
-OS_PtSetAreaFromWidgetCanvas_1=
-OS_PtSetAreaFromWidgetCanvas_2=
-
-OS_PtSetParentWidget=
-OS_PtSetParentWidget_0=cast=(PtWidget_t *)
-
-OS_PtSetResource=
-OS_PtSetResource_0=cast=(PtWidget_t *)
-OS_PtSetResource_1=
-OS_PtSetResource_2=
-OS_PtSetResource_3=
-
-OS_PtSetResources=
-OS_PtSetResources_0=cast=(PtWidget_t *)
-OS_PtSetResources_1=
-OS_PtSetResources_2=cast=(PtArg_t *)
-
-OS_PtSlider=flags=const
-
-OS_PtSuperClassDraw=
-OS_PtSuperClassDraw_0=cast=(PtWidgetClassRef_t *)
-OS_PtSuperClassDraw_1=cast=(PtWidget_t *)
-OS_PtSuperClassDraw_2=cast=(PhTile_t const *)
-
-OS_PtSyncWidget=
-OS_PtSyncWidget_0=cast=(PtWidget_t *)
-
-OS_PtText=flags=const
-
-OS_PtTextGetSelection=
-OS_PtTextGetSelection_0=cast=(PtWidget_t *)
-OS_PtTextGetSelection_1=
-OS_PtTextGetSelection_2=
-
-OS_PtTextModifyText__IIIIII=
-OS_PtTextModifyText__IIIIII_0=cast=(PtWidget_t *)
-OS_PtTextModifyText__IIIIII_1=
-OS_PtTextModifyText__IIIIII_2=
-OS_PtTextModifyText__IIIIII_3=
-OS_PtTextModifyText__IIIIII_4=cast=(char const *)
-OS_PtTextModifyText__IIIIII_5=
-
-OS_PtTextModifyText__IIII_3BI=
-OS_PtTextModifyText__IIII_3BI_0=cast=(PtWidget_t *)
-OS_PtTextModifyText__IIII_3BI_1=
-OS_PtTextModifyText__IIII_3BI_2=
-OS_PtTextModifyText__IIII_3BI_3=
-OS_PtTextModifyText__IIII_3BI_4=cast=(char const *)
-OS_PtTextModifyText__IIII_3BI_5=
-
-OS_PtTextSetSelection=
-OS_PtTextSetSelection_0=cast=(PtWidget_t *)
-OS_PtTextSetSelection_1=
-OS_PtTextSetSelection_2=
-
-OS_PtTimer=flags=const
-
-OS_PtToggleButton=flags=const
-
-OS_PtToolbar=flags=const
-
-OS_PtUnblockWindows=
-OS_PtUnblockWindows_0=cast=(PtBlockedList_t *)
-
-OS_PtUnrealizeWidget=
-OS_PtUnrealizeWidget_0=cast=(PtWidget_t *)
-
-OS_PtValidParent=
-OS_PtValidParent_0=cast=(PtWidget_t *)
-OS_PtValidParent_1=cast=(PtWidgetClassRef_t *)
-
-OS_PtWebClient=flags=const
-
-OS_PtWidgetArea=
-OS_PtWidgetArea_0=cast=(PtWidget_t *)
-OS_PtWidgetArea_1=cast=(PhArea_t *)
-
-OS_PtWidgetBrotherBehind=
-OS_PtWidgetBrotherBehind_0=cast=(PtWidget_t *)
-
-OS_PtWidgetBrotherInFront=
-OS_PtWidgetBrotherInFront_0=cast=(PtWidget_t *)
-
-OS_PtWidgetCanvas__II=
-OS_PtWidgetCanvas__II_0=cast=(PtWidget_t *)
-OS_PtWidgetCanvas__II_1=cast=(PhRect_t *)
-
-OS_PtWidgetCanvas__ILorg_eclipse_swt_internal_photon_PhRect_1t_2=
-OS_PtWidgetCanvas__ILorg_eclipse_swt_internal_photon_PhRect_1t_2_0=cast=(PtWidget_t *)
-OS_PtWidgetCanvas__ILorg_eclipse_swt_internal_photon_PhRect_1t_2_1=
-
-OS_PtWidgetChildBack=
-OS_PtWidgetChildBack_0=cast=(PtWidget_t *)
-
-OS_PtWidgetChildFront=
-OS_PtWidgetChildFront_0=cast=(PtWidget_t *)
-
-OS_PtWidgetClass=
-OS_PtWidgetClass_0=cast=(PtWidget_t *)
-
-OS_PtWidgetExtent__II=
-OS_PtWidgetExtent__II_0=cast=(PtWidget_t *)
-OS_PtWidgetExtent__II_1=
-
-OS_PtWidgetExtent__ILorg_eclipse_swt_internal_photon_PhRect_1t_2=
-OS_PtWidgetExtent__ILorg_eclipse_swt_internal_photon_PhRect_1t_2_0=cast=(PtWidget_t *)
-OS_PtWidgetExtent__ILorg_eclipse_swt_internal_photon_PhRect_1t_2_1=
-
-OS_PtWidgetFlags=
-OS_PtWidgetFlags_0=cast=(PtWidget_t *)
-
-OS_PtWidgetInsert=
-OS_PtWidgetInsert_0=cast=(PtWidget_t *)
-OS_PtWidgetInsert_1=cast=(PtWidget_t *)
-OS_PtWidgetInsert_2=
-
-OS_PtWidgetIsClassMember=
-OS_PtWidgetIsClassMember_0=cast=(PtWidget_t *)
-OS_PtWidgetIsClassMember_1=cast=(PtWidgetClassRef_t *)
-
-OS_PtWidgetIsRealized=
-OS_PtWidgetIsRealized_0=cast=(PtWidget_t *)
-
-OS_PtWidgetOffset=
-OS_PtWidgetOffset_0=cast=(PtWidget_t *)
-OS_PtWidgetOffset_1=cast=(PhPoint_t *)
-
-OS_PtWidgetParent=
-OS_PtWidgetParent_0=cast=(PtWidget_t *)
-
-OS_PtWidgetPreferredSize=
-OS_PtWidgetPreferredSize_0=cast=(PtWidget_t *)
-OS_PtWidgetPreferredSize_1=cast=(PhDim_t *)
-
-OS_PtWidgetRid=
-OS_PtWidgetRid_0=cast=(PtWidget_t *)
-
-OS_PtWidgetToBack=
-OS_PtWidgetToBack_0=cast=(PtWidget_t *)
-
-OS_PtWidgetToFront=
-OS_PtWidgetToFront_0=cast=(PtWidget_t *)
-
-OS_PtWindow=flags=const
-
-OS_PtWindowFocus=
-OS_PtWindowFocus_0=cast=(PtWidget_t *)
-
-OS_PtWindowGetState=
-OS_PtWindowGetState_0=cast=(PtWidget_t *)
-
-OS_PtWindowToBack=
-OS_PtWindowToBack_0=cast=(PtWidget_t *)
-
-OS_PtWindowToFront=
-OS_PtWindowToFront_0=cast=(PtWidget_t *)
-
-OS_free=
-OS_free_0=cast=(void *)
-
-OS_getenv=
-OS_getenv_0=cast=(const char *)
-
-OS_malloc=
-OS_malloc_0=cast=(size_t)
-
-OS_memmove__III=
-OS_memmove__III_0=cast=(void *)
-OS_memmove__III_1=cast=(const void *)
-OS_memmove__III_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_photon_PgAlpha_1t_2I=
-OS_memmove__ILorg_eclipse_swt_internal_photon_PgAlpha_1t_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_photon_PgAlpha_1t_2I_1=cast=(const void *),flags=no_out init
-OS_memmove__ILorg_eclipse_swt_internal_photon_PgAlpha_1t_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhArea_1t_2I=
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhArea_1t_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhArea_1t_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhArea_1t_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhCursorDef_1t_2I=
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhCursorDef_1t_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhCursorDef_1t_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhCursorDef_1t_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhEvent_1t_2I=
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhEvent_1t_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhEvent_1t_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhEvent_1t_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhImage_1t_2I=
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhImage_1t_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhImage_1t_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhImage_1t_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhPoint_1t_2I=
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhPoint_1t_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhPoint_1t_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhPoint_1t_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhPointerEvent_1t_2I=
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhPointerEvent_1t_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhPointerEvent_1t_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhPointerEvent_1t_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhRect_1t_2I=
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhRect_1t_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhRect_1t_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhRect_1t_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhTile_1t_2I=
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhTile_1t_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhTile_1t_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_photon_PhTile_1t_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_photon_PtTextCallback_1t_2I=
-OS_memmove__ILorg_eclipse_swt_internal_photon_PtTextCallback_1t_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_photon_PtTextCallback_1t_2I_1=cast=(const void *),flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_photon_PtTextCallback_1t_2I_2=
-
-OS_memmove__ILorg_eclipse_swt_internal_photon_PtWebClientData_1t_2I=
-OS_memmove__ILorg_eclipse_swt_internal_photon_PtWebClientData_1t_2I_0=cast=(void *)
-OS_memmove__ILorg_eclipse_swt_internal_photon_PtWebClientData_1t_2I_1=cast=const void *,flags=no_out
-OS_memmove__ILorg_eclipse_swt_internal_photon_PtWebClientData_1t_2I_2=cast=size_t
-
-OS_memmove__I_3BI=
-OS_memmove__I_3BI_0=cast=(void *)
-OS_memmove__I_3BI_1=cast=(const void *),flags=no_out
-OS_memmove__I_3BI_2=
-
-OS_memmove__I_3II=
-OS_memmove__I_3II_0=cast=(void *)
-OS_memmove__I_3II_1=cast=(const void *),flags=no_out
-OS_memmove__I_3II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_FontDetails_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_FontDetails_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_FontDetails_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_FontDetails_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PgAlpha_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PgAlpha_1t_2II_0=cast=(void *),flags=no_in init
-OS_memmove__Lorg_eclipse_swt_internal_photon_PgAlpha_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PgAlpha_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PgMap_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PgMap_1t_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PgMap_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PgMap_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhClipHeader_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhClipHeader_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhClipHeader_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhClipHeader_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhEvent_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhEvent_1t_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhEvent_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhEvent_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhImage_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhImage_1t_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhImage_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhImage_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhKeyEvent_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhKeyEvent_1t_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhKeyEvent_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhKeyEvent_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhPointerEvent_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhPointerEvent_1t_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhPointerEvent_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhPointerEvent_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhRect_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhRect_1t_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhRect_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhRect_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhTile_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhTile_1t_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhTile_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhTile_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhWindowEvent_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhWindowEvent_1t_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhWindowEvent_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PhWindowEvent_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtCallbackInfo_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtCallbackInfo_1t_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtCallbackInfo_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtCallbackInfo_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtScrollbarCallback_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtScrollbarCallback_1t_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtScrollbarCallback_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtScrollbarCallback_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtTextCallback_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtTextCallback_1t_2II_0=cast=(void *),flags=no_in
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtTextCallback_1t_2II_1=cast=(const void *)
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtTextCallback_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebDataReqCallback_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebDataReqCallback_1t_2II_0=cast=void *
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebDataReqCallback_1t_2II_1=cast=const void *
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebDataReqCallback_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebMetaDataCallback_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebMetaDataCallback_1t_2II_0=cast=void *
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebMetaDataCallback_1t_2II_1=cast=const void *
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebMetaDataCallback_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebStatusCallback_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebStatusCallback_1t_2II_0=cast=void *
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebStatusCallback_1t_2II_1=cast=const void *
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebStatusCallback_1t_2II_2=
-
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebWindowCallback_1t_2II=
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebWindowCallback_1t_2II_0=cast=void *
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebWindowCallback_1t_2II_1=cast=const void *
-OS_memmove__Lorg_eclipse_swt_internal_photon_PtWebWindowCallback_1t_2II_2=
-
-OS_memmove___3BII=
-OS_memmove___3BII_0=cast=(void *),flags=no_in
-OS_memmove___3BII_1=cast=(const void *)
-OS_memmove___3BII_2=cast=(size_t)
-
-OS_memmove___3BLorg_eclipse_swt_internal_photon_PhClipHeader_2I=
-OS_memmove___3BLorg_eclipse_swt_internal_photon_PhClipHeader_2I_0=cast=(void *),flags=no_in
-OS_memmove___3BLorg_eclipse_swt_internal_photon_PhClipHeader_2I_1=cast=(const void *)
-OS_memmove___3BLorg_eclipse_swt_internal_photon_PhClipHeader_2I_2=
-
-OS_memmove___3III=
-OS_memmove___3III_0=cast=(void *),flags=no_in
-OS_memmove___3III_1=cast=(const void *)
-OS_memmove___3III_2=
-
-OS_memmove___3SII=
-OS_memmove___3SII_0=cast=(void *),flags=no_in
-OS_memmove___3SII_1=cast=(const void *)
-OS_memmove___3SII_2=cast=(size_t)
-
-OS_memset=
-OS_memset_0=cast=void *
-OS_memset_1=
-OS_memset_2=cast=size_t
-
-OS_strdup=
-OS_strdup_0=cast=(const char *)
-
-OS_strlen=
-OS_strlen_0=cast=(const char*)
-
-OS_uname=
-OS_uname_0=cast=(utsname *)
-
-
-org_eclipse_swt_internal_photon_PgAlpha_1t=
-PgAlpha_t_alpha_op=
-PgAlpha_t_src_alpha_map_dim_w=accessor=src_alpha_map.dim.w
-PgAlpha_t_src_alpha_map_dim_h=accessor=src_alpha_map.dim.h
-PgAlpha_t_src_alpha_map_bpl=accessor=src_alpha_map.bpl
-PgAlpha_t_src_alpha_map_bpp=accessor=src_alpha_map.bpp
-PgAlpha_t_src_alpha_map_map=accessor=src_alpha_map.map,cast=(char *)
-PgAlpha_t_src_global_alpha=
-PgAlpha_t_dest_global_alpha=
-
-org_eclipse_swt_internal_photon_PgDisplaySettings_1t=
-PgDisplaySettings_t_mode=
-PgDisplaySettings_t_xres=
-PgDisplaySettings_t_yres=
-PgDisplaySettings_t_refresh=
-PgDisplaySettings_t_flags=
-PgDisplaySettings_t_reserved=cast=(long *)
-
-org_eclipse_swt_internal_photon_PgMap_1t=
-PgMap_t_dim_w=accessor=dim.w
-PgMap_t_dim_h=accessor=dim.h
-PgMap_t_bpl=
-PgMap_t_bpp=
-PgMap_t_map=cast=(char *)
-
-org_eclipse_swt_internal_photon_PgVideoModeInfo_1t=
-PgVideoModeInfo_t_width=
-PgVideoModeInfo_t_height=
-PgVideoModeInfo_t_bits_per_pixel=
-PgVideoModeInfo_t_bytes_per_scanline=
-PgVideoModeInfo_t_type=
-PgVideoModeInfo_t_mode_capabilities1=
-PgVideoModeInfo_t_mode_capabilities2=
-PgVideoModeInfo_t_mode_capabilities3=
-PgVideoModeInfo_t_mode_capabilities4=
-PgVideoModeInfo_t_mode_capabilities5=
-PgVideoModeInfo_t_mode_capabilities6=
-PgVideoModeInfo_t_refresh_rates=cast=(char *)
-
-org_eclipse_swt_internal_photon_PhArea_1t=
-PhArea_t_pos_x=accessor=pos.x
-PhArea_t_pos_y=accessor=pos.y
-PhArea_t_size_w=accessor=size.w
-PhArea_t_size_h=accessor=size.h
-
-org_eclipse_swt_internal_photon_PhClipHeader=
-PhClipHeader_type=cast=(PhClipHeader)
-PhClipHeader_length=
-PhClipHeader_zero=
-PhClipHeader_data=cast=(void *)
-
-org_eclipse_swt_internal_photon_PhCursorDef_1t=
-PhCursorDef_t_hdr_len=accessor=hdr.len
-PhCursorDef_t_hdr_type=accessor=hdr.type
-PhCursorDef_t_size1_x=accessor=size1.x
-PhCursorDef_t_size1_y=accessor=size1.y
-PhCursorDef_t_offset1_x=accessor=offset1.x
-PhCursorDef_t_offset1_y=accessor=offset1.y
-PhCursorDef_t_color1=
-PhCursorDef_t_bytesperline1=
-PhCursorDef_t_size2_x=accessor=size2.x
-PhCursorDef_t_size2_y=accessor=size2.y
-PhCursorDef_t_offset2_x=accessor=offset2.x
-PhCursorDef_t_offset2_y=accessor=offset2.y
-PhCursorDef_t_color2=
-PhCursorDef_t_bytesperline2=
-
-org_eclipse_swt_internal_photon_PhCursorInfo_1t=
-PhCursorInfo_t_pos_x=accessor=pos.x
-PhCursorInfo_t_pos_y=accessor=pos.y
-PhCursorInfo_t_region=
-PhCursorInfo_t_ig_region=
-PhCursorInfo_t_color=
-PhCursorInfo_t_last_press_x=accessor=last_press.x
-PhCursorInfo_t_last_press_y=accessor=last_press.y
-PhCursorInfo_t_msec=
-PhCursorInfo_t_steady_x=accessor=steady.x
-PhCursorInfo_t_steady_y=accessor=steady.y
-PhCursorInfo_t_dragger=
-PhCursorInfo_t_drag_boundary_ul_x=accessor=drag_boundary.ul.x
-PhCursorInfo_t_drag_boundary_ul_y=accessor=drag_boundary.ul.y
-PhCursorInfo_t_drag_boundary_lr_x=accessor=drag_boundary.lr.x
-PhCursorInfo_t_drag_boundary_lr_y=accessor=drag_boundary.lr.y
-PhCursorInfo_t_phantom_rid=
-PhCursorInfo_t_type=
-PhCursorInfo_t_ig=
-PhCursorInfo_t_button_state=
-PhCursorInfo_t_click_count=
-PhCursorInfo_t_zero1=
-PhCursorInfo_t_key_mods=
-PhCursorInfo_t_zero2=
-
-org_eclipse_swt_internal_photon_PhDim_1t=
-PhDim_t_w=
-PhDim_t_h=
-
-org_eclipse_swt_internal_photon_PhEvent_1t=
-PhEvent_t_type=
-PhEvent_t_subtype=
-PhEvent_t_processing_flags=
-PhEvent_t_emitter_rid=accessor=emitter.rid
-PhEvent_t_emitter_handle=accessor=emitter.handle
-PhEvent_t_collector_rid=accessor=collector.rid
-PhEvent_t_collector_handle=accessor=collector.handle
-PhEvent_t_input_group=
-PhEvent_t_flags=
-PhEvent_t_timestamp=
-PhEvent_t_translation_x=accessor=translation.x
-PhEvent_t_translation_y=accessor=translation.y
-PhEvent_t_num_rects=
-PhEvent_t_data_len=
-
-org_eclipse_swt_internal_photon_PhImage_1t=
-PhImage_t_type=
-PhImage_t_image_tag=
-PhImage_t_bpl=
-PhImage_t_size_w=accessor=size.w
-PhImage_t_size_h=accessor=size.h
-PhImage_t_palette_tag=
-PhImage_t_colors=
-PhImage_t_alpha=cast=(PgAlpha_t *)
-PhImage_t_transparent=
-PhImage_t_format=
-PhImage_t_flags=
-PhImage_t_ghost_bpl=
-PhImage_t_spare1=
-PhImage_t_ghost_bitmap=cast=(char *)
-PhImage_t_mask_bpl=
-PhImage_t_mask_bm=cast=(char *)
-PhImage_t_palette=cast=(PgColor_t *)
-PhImage_t_image=cast=(char *)
-
-org_eclipse_swt_internal_photon_PhKeyEvent_1t=
-PhKeyEvent_t_key_mods=
-PhKeyEvent_t_key_flags=
-PhKeyEvent_t_key_cap=
-PhKeyEvent_t_key_sym=
-PhKeyEvent_t_key_scan=
-PhKeyEvent_t_key_zero=
-PhKeyEvent_t_pos_x=accessor=pos.x
-PhKeyEvent_t_pos_y=accessor=pos.y
-PhKeyEvent_t_button_state=
-
-org_eclipse_swt_internal_photon_PhPoint_1t=
-PhPoint_t_x=
-PhPoint_t_y=
-
-org_eclipse_swt_internal_photon_PhPointerEvent_1t=
-PhPointerEvent_t_pos_x=accessor=pos.x
-PhPointerEvent_t_pos_y=accessor=pos.y
-PhPointerEvent_t_buttons=
-PhPointerEvent_t_button_state=
-PhPointerEvent_t_click_count=
-PhPointerEvent_t_flags=
-PhPointerEvent_t_z=
-PhPointerEvent_t_key_mods=
-PhPointerEvent_t_zero=
-
-org_eclipse_swt_internal_photon_PhRect_1t=
-PhRect_t_ul_x=accessor=ul.x
-PhRect_t_ul_y=accessor=ul.y
-PhRect_t_lr_x=accessor=lr.x
-PhRect_t_lr_y=accessor=lr.y
-
-org_eclipse_swt_internal_photon_PhRegion_1t=
-PhRegion_t_rid=
-PhRegion_t_handle=
-PhRegion_t_owner=
-PhRegion_t_flags=
-PhRegion_t_state=
-PhRegion_t_events_sense=
-PhRegion_t_events_opaque=
-PhRegion_t_origin_x=accessor=origin.x
-PhRegion_t_origin_y=accessor=origin.y
-PhRegion_t_parent=
-PhRegion_t_child=
-PhRegion_t_bro_in_front=
-PhRegion_t_bro_behind=
-PhRegion_t_cursor_color=
-PhRegion_t_input_group=
-PhRegion_t_data_len=
-PhRegion_t_cursor_type=
-
-org_eclipse_swt_internal_photon_PhTile_1t=
-PhTile_t_rect_ul_x=accessor=rect.ul.x
-PhTile_t_rect_ul_y=accessor=rect.ul.y
-PhTile_t_rect_lr_x=accessor=rect.lr.x
-PhTile_t_rect_lr_y=accessor=rect.lr.y
-PhTile_t_next=cast=(PhTile_t *)
-
-org_eclipse_swt_internal_photon_PhWindowEvent_1t=
-PhWindowEvent_t_event_f=
-PhWindowEvent_t_state_f=
-PhWindowEvent_t_rid=
-PhWindowEvent_t_pos_x=accessor=pos.x
-PhWindowEvent_t_pos_y=accessor=pos.y
-PhWindowEvent_t_size_w=accessor=size.w
-PhWindowEvent_t_size_h=accessor=size.h
-PhWindowEvent_t_event_state=
-PhWindowEvent_t_input_group=
-PhWindowEvent_t_rsvd0=accessor=rsvd[0]
-PhWindowEvent_t_rsvd1=accessor=rsvd[1]
-PhWindowEvent_t_rsvd2=accessor=rsvd[2]
-PhWindowEvent_t_rsvd3=accessor=rsvd[3]
-
-org_eclipse_swt_internal_photon_PtCallbackInfo_1t=
-PtCallbackInfo_t_reason=
-PtCallbackInfo_t_reason_subtype=
-PtCallbackInfo_t_event=cast=(PhEvent_t *)
-PtCallbackInfo_t_cbdata=cast=(void *)
-
-org_eclipse_swt_internal_photon_PtColorSelectInfo_1t=
-PtColorSelectInfo_t_flags=
-PtColorSelectInfo_t_nselectors=
-PtColorSelectInfo_t_ncolor_models=
-PtColorSelectInfo_t_color_models=cast=(PgColorModel_t **)
-PtColorSelectInfo_t_selectors=cast=(PtColorSelectorSpec_t *)
-PtColorSelectInfo_t_pos_x=accessor=pos.x
-PtColorSelectInfo_t_pos_y=accessor=pos.y
-PtColorSelectInfo_t_size_w=accessor=size.w
-PtColorSelectInfo_t_size_h=accessor=size.h
-PtColorSelectInfo_t_palette=accessor=palette.instance,cast=(void *)
-PtColorSelectInfo_t_accept_text=cast=(char *)
-PtColorSelectInfo_t_dismiss_text=cast=(char *)
-PtColorSelectInfo_t_accept_dismiss_text=cast=(char *)
-PtColorSelectInfo_t_apply_f=cast=(void *)
-PtColorSelectInfo_t_data=cast=(void *)
-PtColorSelectInfo_t_rgb=
-PtColorSelectInfo_t_dialog=cast=(PtWidget_t *)
-
-org_eclipse_swt_internal_photon_PtFileSelectionInfo_1t=
-PtFileSelectionInfo_t_ret=
-PtFileSelectionInfo_t_path=
-PtFileSelectionInfo_t_dim=
-PtFileSelectionInfo_t_pos=
-PtFileSelectionInfo_t_format=
-PtFileSelectionInfo_t_fspec=
-PtFileSelectionInfo_t_user_data=cast=(void *)
-PtFileSelectionInfo_t_confirm_display=cast=(void *)
-PtFileSelectionInfo_t_confirm_selection=cast=(void *)
-PtFileSelectionInfo_t_new_directory=cast=(void *)
-PtFileSelectionInfo_t_btn1=cast=(char *)
-PtFileSelectionInfo_t_btn2=cast=(char *)
-PtFileSelectionInfo_t_num_args=
-PtFileSelectionInfo_t_args=cast=(void *)
-PtFileSelectionInfo_t_minfo=cast=(PtFileSelectorInfo_t *)
-PtFileSelectionInfo_t_spare=cast=(long *)
-
-org_eclipse_swt_internal_photon_PtScrollbarCallback_1t=
-PtScrollbarCallback_t_action=
-PtScrollbarCallback_t_position=
-
-org_eclipse_swt_internal_photon_PtTextCallback_1t=
-PtTextCallback_t_start_pos=
-PtTextCallback_t_end_pos=
-PtTextCallback_t_cur_insert=
-PtTextCallback_t_new_insert=
-PtTextCallback_t_length=
-PtTextCallback_t_reserved=
-PtTextCallback_t_text=cast=(char *)
-PtTextCallback_t_doit=
-
-org_eclipse_swt_internal_photon_PtWebClientData_1t=
-PtWebClientData_t_type=
-PtWebClientData_t_url=
-PtWebClientData_t_length=
-PtWebClientData_t_data=cast=char *
-
-org_eclipse_swt_internal_photon_PtWebDataReqCallback_1t=
-PtWebDataReqCallback_t_type=
-PtWebDataReqCallback_t_length=
-PtWebDataReqCallback_t_url=
-
-org_eclipse_swt_internal_photon_PtWebMetaDataCallback_1t=
-PtWebMetaDataCallback_t_name=
-PtWebMetaDataCallback_t_value=
-
-org_eclipse_swt_internal_photon_PtWebStatusCallback_1t=
-PtWebStatusCallback_t_desc=
-PtWebStatusCallback_t_type=
-PtWebStatusCallback_t_url=
-
-org_eclipse_swt_internal_photon_PtWebWindowCallback_1t=
-PtWebWindowCallback_t_size_w=accessor=size.w
-PtWebWindowCallback_t_size_h=accessor=size.h
-PtWebWindowCallback_t_flags=
-
-org_eclipse_swt_internal_photon_utsname=
-utsname_sysname=
-utsname_nodename=
-utsname_release=
-utsname_version=
-utsname_machine=
-
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties
deleted file mode 100644
index 22ad075847..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.properties
+++ /dev/null
@@ -1,10 +0,0 @@
-swt_copyright=/*******************************************************************************\n\
- * Copyright (c) 2000, 2003 IBM Corporation and others.\n\
- * All rights reserved. This program and the accompanying materials\n\
- * are made available under the terms of the Common Public License v1.0\n\
- * which accompanies this distribution, and is available at\n\
- * http://www.eclipse.org/legal/cpl-v10.html\n\
- * \n\
- * Contributors:\n\
- * IBM Corporation - initial API and implementation\n\
- *******************************************************************************/\n
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.OS.properties
deleted file mode 100644
index 114343c440..0000000000
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.win32.OS.properties
+++ /dev/null
@@ -1,3618 +0,0 @@
-org_eclipse_swt_internal_win32_ACCEL=
-ACCEL_fVirt=
-ACCEL_key=
-ACCEL_cmd=
-
-org_eclipse_swt_internal_win32_BITMAP=
-BITMAP_bmType=
-BITMAP_bmWidth=
-BITMAP_bmHeight=
-BITMAP_bmWidthBytes=
-BITMAP_bmPlanes=
-BITMAP_bmBitsPixel=
-BITMAP_bmBits=cast=(LPVOID)
-
-org_eclipse_swt_internal_win32_BITMAPINFOHEADER=
-BITMAPINFOHEADER_biSize=
-BITMAPINFOHEADER_biWidth=
-BITMAPINFOHEADER_biHeight=
-BITMAPINFOHEADER_biPlanes=
-BITMAPINFOHEADER_biBitCount=
-BITMAPINFOHEADER_biCompression=
-BITMAPINFOHEADER_biSizeImage=
-BITMAPINFOHEADER_biXPelsPerMeter=
-BITMAPINFOHEADER_biYPelsPerMeter=
-BITMAPINFOHEADER_biClrUsed=
-BITMAPINFOHEADER_biClrImportant=
-
-org_eclipse_swt_internal_win32_BROWSEINFO=
-BROWSEINFO_hwndOwner=cast=(HWND)
-BROWSEINFO_pidlRoot=cast=(LPCITEMIDLIST)
-BROWSEINFO_pszDisplayName=cast=(LPTSTR)
-BROWSEINFO_lpszTitle=cast=(LPCTSTR)
-BROWSEINFO_ulFlags=
-BROWSEINFO_lpfn=cast=(BFFCALLBACK)
-BROWSEINFO_lParam=
-BROWSEINFO_iImage=
-
-org_eclipse_swt_internal_win32_CHOOSECOLOR=
-CHOOSECOLOR_lStructSize=
-CHOOSECOLOR_hwndOwner=cast=(HWND)
-CHOOSECOLOR_hInstance=cast=(HANDLE)
-CHOOSECOLOR_rgbResult=
-CHOOSECOLOR_lpCustColors=cast=(COLORREF *)
-CHOOSECOLOR_Flags=
-CHOOSECOLOR_lCustData=
-CHOOSECOLOR_lpfnHook=cast=(LPCCHOOKPROC)
-CHOOSECOLOR_lpTemplateName=cast=(LPCTSTR)
-
-org_eclipse_swt_internal_win32_CHOOSEFONT=
-CHOOSEFONT_lStructSize=
-CHOOSEFONT_hwndOwner=cast=(HWND)
-CHOOSEFONT_hDC=cast=(HDC)
-CHOOSEFONT_lpLogFont=cast=(LPLOGFONT)
-CHOOSEFONT_iPointSize=
-CHOOSEFONT_Flags=
-CHOOSEFONT_rgbColors=
-CHOOSEFONT_lCustData=
-CHOOSEFONT_lpfnHook=cast=(LPCFHOOKPROC)
-CHOOSEFONT_lpTemplateName=cast=(LPCTSTR)
-CHOOSEFONT_hInstance=cast=(HINSTANCE)
-CHOOSEFONT_lpszStyle=cast=(LPTSTR)
-CHOOSEFONT_nFontType=
-CHOOSEFONT_nSizeMin=
-CHOOSEFONT_nSizeMax=
-
-org_eclipse_swt_internal_win32_COMBOBOXINFO=
-COMBOBOXINFO_cbSize=
-COMBOBOXINFO_itemLeft=accessor=rcItem.left
-COMBOBOXINFO_itemTop=accessor=rcItem.top
-COMBOBOXINFO_itemRight=accessor=rcItem.right
-COMBOBOXINFO_itemBottom=accessor=rcItem.bottom
-COMBOBOXINFO_buttonLeft=accessor=rcButton.left
-COMBOBOXINFO_buttonTop=accessor=rcButton.top
-COMBOBOXINFO_buttonRight=accessor=rcButton.right
-COMBOBOXINFO_buttonBottom=accessor=rcButton.bottom
-COMBOBOXINFO_stateButton=
-COMBOBOXINFO_hwndCombo=cast=HWND
-COMBOBOXINFO_hwndItem=cast=HWND
-COMBOBOXINFO_hwndList=cast=HWND
-
-org_eclipse_swt_internal_win32_COMPOSITIONFORM=
-COMPOSITIONFORM_dwStyle=
-COMPOSITIONFORM_x=accessor=ptCurrentPos.x
-COMPOSITIONFORM_y=accessor=ptCurrentPos.y
-COMPOSITIONFORM_left=accessor=rcArea.left
-COMPOSITIONFORM_top=accessor=rcArea.top
-COMPOSITIONFORM_right=accessor=rcArea.right
-COMPOSITIONFORM_bottom=accessor=rcArea.bottom
-
-org_eclipse_swt_internal_win32_CREATESTRUCT=
-CREATESTRUCT_lpCreateParams=cast=(LPVOID)
-CREATESTRUCT_hInstance=cast=(HINSTANCE)
-CREATESTRUCT_hMenu=cast=(HMENU)
-CREATESTRUCT_hwndParent=cast=(HWND)
-CREATESTRUCT_cy=
-CREATESTRUCT_cx=
-CREATESTRUCT_y=
-CREATESTRUCT_x=
-CREATESTRUCT_style=
-CREATESTRUCT_lpszName=cast=(LPCTSTR)
-CREATESTRUCT_lpszClass=cast=(LPCTSTR)
-CREATESTRUCT_dwExStyle=
-
-org_eclipse_swt_internal_win32_DIBSECTION=
-DIBSECTION_biSize=accessor=dsBmih.biSize
-DIBSECTION_biWidth=accessor=dsBmih.biWidth
-DIBSECTION_biHeight=accessor=dsBmih.biHeight
-DIBSECTION_biPlanes=accessor=dsBmih.biPlanes
-DIBSECTION_biBitCount=accessor=dsBmih.biBitCount
-DIBSECTION_biCompression=accessor=dsBmih.biCompression
-DIBSECTION_biSizeImage=accessor=dsBmih.biSizeImage
-DIBSECTION_biXPelsPerMeter=accessor=dsBmih.biXPelsPerMeter
-DIBSECTION_biYPelsPerMeter=accessor=dsBmih.biYPelsPerMeter
-DIBSECTION_biClrUsed=accessor=dsBmih.biClrUsed
-DIBSECTION_biClrImportant=accessor=dsBmih.biClrImportant
-DIBSECTION_dsBitfields0=accessor=dsBitfields[0]
-DIBSECTION_dsBitfields1=accessor=dsBitfields[1]
-DIBSECTION_dsBitfields2=accessor=dsBitfields[2]
-DIBSECTION_dshSection=cast=(HANDLE)
-DIBSECTION_dsOffset=
-
-org_eclipse_swt_internal_win32_DLLVERSIONINFO=
-DLLVERSIONINFO_cbSize=
-DLLVERSIONINFO_dwMajorVersion=
-DLLVERSIONINFO_dwMinorVersion=
-DLLVERSIONINFO_dwBuildNumber=
-DLLVERSIONINFO_dwPlatformID=
-
-org_eclipse_swt_internal_win32_DOCINFO=
-DOCINFO_cbSize=
-DOCINFO_lpszDocName=cast=(LPCTSTR)
-DOCINFO_lpszOutput=cast=(LPCTSTR)
-DOCINFO_lpszDatatype=cast=(LPCTSTR)
-DOCINFO_fwType=
-
-org_eclipse_swt_internal_win32_DRAWITEMSTRUCT=
-DRAWITEMSTRUCT_CtlType=
-DRAWITEMSTRUCT_CtlID=
-DRAWITEMSTRUCT_itemID=
-DRAWITEMSTRUCT_itemAction=
-DRAWITEMSTRUCT_itemState=
-DRAWITEMSTRUCT_hwndItem=cast=(HWND)
-DRAWITEMSTRUCT_hDC=cast=(HDC)
-DRAWITEMSTRUCT_left=accessor=rcItem.left
-DRAWITEMSTRUCT_top=accessor=rcItem.top
-DRAWITEMSTRUCT_bottom=accessor=rcItem.bottom
-DRAWITEMSTRUCT_right=accessor=rcItem.right
-DRAWITEMSTRUCT_itemData=
-
-org_eclipse_swt_internal_win32_DROPFILES=
-DROPFILES_pFiles=
-DROPFILES_pt_x=accessor=pt.x
-DROPFILES_pt_y=accessor=pt.y
-DROPFILES_fNC=
-DROPFILES_fWide=
-
-org_eclipse_swt_internal_win32_FILETIME=
-FILETIME_dwLowDateTime=
-FILETIME_dwHighDateTime=
-
-org_eclipse_swt_internal_win32_GCP_1RESULTS=
-GCP_RESULTS_lStructSize=
-GCP_RESULTS_lpOutString=cast=(LPTSTR)
-GCP_RESULTS_lpOrder=cast=(UINT *)
-GCP_RESULTS_lpDx=cast=(int *)
-GCP_RESULTS_lpCaretPos=cast=(int *)
-GCP_RESULTS_lpClass=cast=(LPSTR)
-GCP_RESULTS_lpGlyphs=cast=(LPWSTR)
-GCP_RESULTS_nGlyphs=
-GCP_RESULTS_nMaxFit=
-
-org_eclipse_swt_internal_win32_GRADIENT_1RECT=
-GRADIENT_RECT_UpperLeft=
-GRADIENT_RECT_LowerRight=
-
-org_eclipse_swt_internal_win32_HDITEM=
-HDITEM_mask=
-HDITEM_cxy=
-HDITEM_pszText=cast=(LPTSTR)
-HDITEM_hbm=cast=(HBITMAP)
-HDITEM_cchTextMax=
-HDITEM_fmt=
-HDITEM_lParam=
-HDITEM_iImage=
-HDITEM_iOrder=
-
-org_eclipse_swt_internal_win32_HELPINFO=
-HELPINFO_cbSize=
-HELPINFO_iContextType=
-HELPINFO_iCtrlId=
-HELPINFO_hItemHandle=cast=(HANDLE)
-HELPINFO_dwContextId=
-HELPINFO_x=accessor=MousePos.x
-HELPINFO_y=accessor=MousePos.y
-
-org_eclipse_swt_internal_win32_HIGHCONTRAST=
-HIGHCONTRAST_cbSize=
-HIGHCONTRAST_dwFlags=
-HIGHCONTRAST_lpszDefaultScheme=cast=LPTSTR
-
-org_eclipse_swt_internal_win32_ICONINFO=
-ICONINFO_fIcon=
-ICONINFO_xHotspot=
-ICONINFO_yHotspot=
-ICONINFO_hbmMask=cast=(HBITMAP)
-ICONINFO_hbmColor=cast=(HBITMAP)
-
-org_eclipse_swt_internal_win32_INITCOMMONCONTROLSEX=
-INITCOMMONCONTROLSEX_dwSize=
-INITCOMMONCONTROLSEX_dwICC=
-
-org_eclipse_swt_internal_win32_INPUT=
-INPUT_type=
-
-org_eclipse_swt_internal_win32_KEYBDINPUT=
-KEYBDINPUT_wVk=
-KEYBDINPUT_wScan=
-KEYBDINPUT_dwFlags=
-KEYBDINPUT_time=
-KEYBDINPUT_dwExtraInfo=
-
-org_eclipse_swt_internal_win32_LOGBRUSH=
-LOGBRUSH_lbStyle=
-LOGBRUSH_lbColor=
-LOGBRUSH_lbHatch=
-
-org_eclipse_swt_internal_win32_LOGFONT=
-LOGFONT_lfHeight=
-LOGFONT_lfWidth=
-LOGFONT_lfEscapement=
-LOGFONT_lfOrientation=
-LOGFONT_lfWeight=
-LOGFONT_lfItalic=
-LOGFONT_lfUnderline=
-LOGFONT_lfStrikeOut=
-LOGFONT_lfCharSet=
-LOGFONT_lfOutPrecision=
-LOGFONT_lfClipPrecision=
-LOGFONT_lfQuality=
-LOGFONT_lfPitchAndFamily=
-
-org_eclipse_swt_internal_win32_LOGFONTA=
-LOGFONTA_lfFaceName=
-
-org_eclipse_swt_internal_win32_LOGFONTW=
-LOGFONTW_lfFaceName=
-
-org_eclipse_swt_internal_win32_LOGPEN=
-LOGPEN_lopnStyle=
-LOGPEN_x=accessor=lopnWidth.x
-LOGPEN_y=accessor=lopnWidth.y
-LOGPEN_lopnColor=
-
-org_eclipse_swt_internal_win32_LRESULT=flags=no_gen
-LRESULT_value=
-
-org_eclipse_swt_internal_win32_LVCOLUMN=
-LVCOLUMN_mask=
-LVCOLUMN_fmt=
-LVCOLUMN_cx=
-LVCOLUMN_pszText=cast=(LPTSTR)
-LVCOLUMN_cchTextMax=
-LVCOLUMN_iSubItem=
-LVCOLUMN_iImage=
-LVCOLUMN_iOrder=
-
-org_eclipse_swt_internal_win32_LVHITTESTINFO=
-LVHITTESTINFO_x=accessor=pt.x
-LVHITTESTINFO_y=accessor=pt.y
-LVHITTESTINFO_flags=
-LVHITTESTINFO_iItem=
-LVHITTESTINFO_iSubItem=
-
-org_eclipse_swt_internal_win32_LVITEM=
-LVITEM_mask=
-LVITEM_iItem=
-LVITEM_iSubItem=
-LVITEM_state=
-LVITEM_stateMask=
-LVITEM_pszText=cast=(LPTSTR)
-LVITEM_cchTextMax=
-LVITEM_iImage=
-LVITEM_lParam=
-LVITEM_iIndent=
-
-org_eclipse_swt_internal_win32_MEASUREITEMSTRUCT=
-MEASUREITEMSTRUCT_CtlType=
-MEASUREITEMSTRUCT_CtlID=
-MEASUREITEMSTRUCT_itemID=
-MEASUREITEMSTRUCT_itemWidth=
-MEASUREITEMSTRUCT_itemHeight=
-MEASUREITEMSTRUCT_itemData=
-
-org_eclipse_swt_internal_win32_MENUBARINFO=
-MENUBARINFO_cbSize=
-MENUBARINFO_left=accessor=rcBar.left
-MENUBARINFO_top=accessor=rcBar.top
-MENUBARINFO_right=accessor=rcBar.right
-MENUBARINFO_bottom=accessor=rcBar.bottom
-MENUBARINFO_hMenu=cast=(HMENU)
-MENUBARINFO_hwndMenu=cast=(HWND)
-MENUBARINFO_fBarFocused=
-MENUBARINFO_fFocused=
-
-org_eclipse_swt_internal_win32_MENUINFO=
-MENUINFO_cbSize=
-MENUINFO_fMask=
-MENUINFO_dwStyle=
-MENUINFO_cyMax=
-MENUINFO_hbrBack=cast=(HBRUSH)
-MENUINFO_dwContextHelpID=
-MENUINFO_dwMenuData=
-
-org_eclipse_swt_internal_win32_MENUITEMINFO=
-MENUITEMINFO_cbSize=
-MENUITEMINFO_fMask=
-MENUITEMINFO_fType=
-MENUITEMINFO_fState=
-MENUITEMINFO_wID=
-MENUITEMINFO_hSubMenu=cast=(HMENU)
-MENUITEMINFO_hbmpChecked=cast=(HBITMAP)
-MENUITEMINFO_hbmpUnchecked=cast=(HBITMAP)
-MENUITEMINFO_dwItemData=
-MENUITEMINFO_dwTypeData=cast=(LPTSTR)
-MENUITEMINFO_cch=
-MENUITEMINFO_hbmpItem=cast=(HBITMAP),flags=no_wince
-
-org_eclipse_swt_internal_win32_MONITORINFO=
-MONITORINFO_cbSize=
-MONITORINFO_rcMonitor_left=accessor=rcMonitor.left
-MONITORINFO_rcMonitor_top=accessor=rcMonitor.top
-MONITORINFO_rcMonitor_right=accessor=rcMonitor.right
-MONITORINFO_rcMonitor_bottom=accessor=rcMonitor.bottom
-MONITORINFO_rcWork_left=accessor=rcWork.left
-MONITORINFO_rcWork_top=accessor=rcWork.top
-MONITORINFO_rcWork_right=accessor=rcWork.right
-MONITORINFO_rcWork_bottom=accessor=rcWork.bottom
-MONITORINFO_dwFlags=
-
-org_eclipse_swt_internal_win32_MOUSEINPUT=
-MOUSEINPUT_dx=
-MOUSEINPUT_dy=
-MOUSEINPUT_mouseData=
-MOUSEINPUT_dwFlags=
-MOUSEINPUT_time=
-MOUSEINPUT_dwExtraInfo=
-
-org_eclipse_swt_internal_win32_MSG=
-MSG_hwnd=cast=(HWND)
-MSG_message=
-MSG_wParam=
-MSG_lParam=
-MSG_time=
-MSG_x=accessor=pt.x
-MSG_y=accessor=pt.y
-
-org_eclipse_swt_internal_win32_NMCUSTOMDRAW=
-NMCUSTOMDRAW_dwDrawStage=
-NMCUSTOMDRAW_hdc=cast=(HDC)
-NMCUSTOMDRAW_left=accessor=rc.left
-NMCUSTOMDRAW_top=accessor=rc.top
-NMCUSTOMDRAW_right=accessor=rc.right
-NMCUSTOMDRAW_bottom=accessor=rc.bottom
-NMCUSTOMDRAW_dwItemSpec=
-NMCUSTOMDRAW_uItemState=
-NMCUSTOMDRAW_lItemlParam=
-
-org_eclipse_swt_internal_win32_NMHDR=
-NMHDR_hwndFrom=cast=(HWND)
-NMHDR_idFrom=
-NMHDR_code=
-
-org_eclipse_swt_internal_win32_NMHEADER=
-NMHEADER_iItem=
-NMHEADER_iButton=
-NMHEADER_pitem=cast=(HDITEM FAR *)
-
-org_eclipse_swt_internal_win32_NMLISTVIEW=
-NMLISTVIEW_iItem=
-NMLISTVIEW_iSubItem=
-NMLISTVIEW_uNewState=
-NMLISTVIEW_uOldState=
-NMLISTVIEW_uChanged=
-NMLISTVIEW_x=accessor=ptAction.x
-NMLISTVIEW_y=accessor=ptAction.y
-NMLISTVIEW_lParam=
-
-org_eclipse_swt_internal_win32_NMLVCUSTOMDRAW=
-NMLVCUSTOMDRAW_clrText=
-NMLVCUSTOMDRAW_clrTextBk=
-NMLVCUSTOMDRAW_iSubItem=
-
-org_eclipse_swt_internal_win32_NMLVDISPINFO=
-NMLVDISPINFO_mask=accessor=item.mask
-NMLVDISPINFO_iItem=accessor=item.iItem
-NMLVDISPINFO_iSubItem=accessor=item.iSubItem
-NMLVDISPINFO_state=accessor=item.state
-NMLVDISPINFO_stateMask=accessor=item.stateMask
-NMLVDISPINFO_pszText=accessor=item.pszText,cast=LPTSTR
-NMLVDISPINFO_cchTextMax=accessor=item.cchTextMax
-NMLVDISPINFO_iImage=accessor=item.iImage
-NMLVDISPINFO_lParam=accessor=item.lParam
-NMLVDISPINFO_iIndent=accessor=item.iIndent
-
-org_eclipse_swt_internal_win32_NMLVFINDITEM=
-NMLVFINDITEM_iStart=
-NMLVFINDITEM_flags=accessor=lvfi.flags
-NMLVFINDITEM_psz=accessor=lvfi.psz,cast=LPCTSTR
-NMLVFINDITEM_lParam=accessor=lvfi.lParam
-NMLVFINDITEM_x=accessor=lvfi.pt.x
-NMLVFINDITEM_y=accessor=lvfi.pt.y
-NMLVFINDITEM_vkDirection=accessor=lvfi.vkDirection
-
-org_eclipse_swt_internal_win32_NMREBARCHEVRON=
-NMREBARCHEVRON_uBand=
-NMREBARCHEVRON_wID=
-NMREBARCHEVRON_lParam=
-NMREBARCHEVRON_left=accessor=rc.left
-NMREBARCHEVRON_top=accessor=rc.top
-NMREBARCHEVRON_right=accessor=rc.right
-NMREBARCHEVRON_bottom=accessor=rc.bottom
-NMREBARCHEVRON_lParamNM=
-
-org_eclipse_swt_internal_win32_NMRGINFO=
-NMRGINFO_x=accessor=ptAction.x
-NMRGINFO_y=accessor=ptAction.y
-NMRGINFO_dwItemSpec=
-
-org_eclipse_swt_internal_win32_NMTOOLBAR=
-NMTOOLBAR_iItem=
-NMTOOLBAR_iBitmap=accessor=tbButton.iBitmap
-NMTOOLBAR_idCommand=accessor=tbButton.idCommand
-NMTOOLBAR_fsState=accessor=tbButton.fsState
-NMTOOLBAR_fsStyle=accessor=tbButton.fsStyle
-NMTOOLBAR_dwData=accessor=tbButton.dwData
-NMTOOLBAR_iString=accessor=tbButton.iString
-NMTOOLBAR_cchText=
-NMTOOLBAR_pszText=cast=(LPTSTR)
-NMTOOLBAR_left=accessor=rcButton.left,flags=no_wince
-NMTOOLBAR_top=accessor=rcButton.top,flags=no_wince
-NMTOOLBAR_right=accessor=rcButton.right,flags=no_wince
-NMTOOLBAR_bottom=accessor=rcButton.bottom,flags=no_wince
-
-org_eclipse_swt_internal_win32_NMTTDISPINFO=
-NMTTDISPINFO_lpszText=cast=(void *)
-NMTTDISPINFO_hinst=cast=(HINSTANCE)
-NMTTDISPINFO_uFlags=
-NMTTDISPINFO_lParam=
-
-org_eclipse_swt_internal_win32_NMTTDISPINFOA=
-NMTTDISPINFOA_szText=
-
-org_eclipse_swt_internal_win32_NMTTDISPINFOW=
-NMTTDISPINFOW_szText=
-
-org_eclipse_swt_internal_win32_NMTVCUSTOMDRAW=
-NMTVCUSTOMDRAW_clrText=
-NMTVCUSTOMDRAW_clrTextBk=
-NMTVCUSTOMDRAW_iLevel=flags=no_wince
-
-org_eclipse_swt_internal_win32_NONCLIENTMETRICS=
-NONCLIENTMETRICS_cbSize=
-NONCLIENTMETRICS_iBorderWidth=
-NONCLIENTMETRICS_iScrollWidth=
-NONCLIENTMETRICS_iScrollHeight=
-NONCLIENTMETRICS_iCaptionWidth=
-NONCLIENTMETRICS_iCaptionHeight=
-NONCLIENTMETRICS_iSmCaptionWidth=
-NONCLIENTMETRICS_iSmCaptionHeight=
-NONCLIENTMETRICS_iMenuWidth=
-NONCLIENTMETRICS_iMenuHeight=
-
-org_eclipse_swt_internal_win32_NONCLIENTMETRICSA=
-NONCLIENTMETRICSA_lfCaptionFont=
-NONCLIENTMETRICSA_lfSmCaptionFont=
-NONCLIENTMETRICSA_lfMenuFont=
-NONCLIENTMETRICSA_lfStatusFont=
-NONCLIENTMETRICSA_lfMessageFont=
-
-org_eclipse_swt_internal_win32_NONCLIENTMETRICSW=
-NONCLIENTMETRICSW_lfCaptionFont=
-NONCLIENTMETRICSW_lfSmCaptionFont=
-NONCLIENTMETRICSW_lfMenuFont=
-NONCLIENTMETRICSW_lfStatusFont=
-NONCLIENTMETRICSW_lfMessageFont=
-
-org_eclipse_swt_internal_win32_NOTIFYICONDATA=
-NOTIFYICONDATA_cbSize=
-NOTIFYICONDATA_hWnd=cast=(HWND)
-NOTIFYICONDATA_uID=
-NOTIFYICONDATA_uFlags=
-NOTIFYICONDATA_uCallbackMessage=
-NOTIFYICONDATA_hIcon=cast=(HICON)
-NOTIFYICONDATA_dwState=flags=no_wince
-NOTIFYICONDATA_dwStateMask=flags=no_wince
-NOTIFYICONDATA_uVersion=flags=no_wince
-NOTIFYICONDATA_dwInfoFlags=flags=no_wince
-
-org_eclipse_swt_internal_win32_NOTIFYICONDATAA=
-NOTIFYICONDATAA_szTip=cast=(TCHAR)
-NOTIFYICONDATAA_szInfo=cast=(TCHAR),flags=no_wince
-NOTIFYICONDATAA_szInfoTitle=cast=(TCHAR),flags=no_wince
-
-org_eclipse_swt_internal_win32_NOTIFYICONDATAW=
-NOTIFYICONDATAW_szTip=cast=(TCHAR)
-NOTIFYICONDATAW_szInfo=cast=(TCHAR),flags=no_wince
-NOTIFYICONDATAW_szInfoTitle=cast=(TCHAR),flags=no_wince
-
-org_eclipse_swt_internal_win32_OPENFILENAME=
-OPENFILENAME_lStructSize=
-OPENFILENAME_hwndOwner=cast=(HWND)
-OPENFILENAME_hInstance=cast=(HINSTANCE)
-OPENFILENAME_lpstrFilter=cast=(LPCTSTR)
-OPENFILENAME_lpstrCustomFilter=cast=(LPTSTR)
-OPENFILENAME_nMaxCustFilter=
-OPENFILENAME_nFilterIndex=
-OPENFILENAME_lpstrFile=cast=(LPTSTR)
-OPENFILENAME_nMaxFile=
-OPENFILENAME_lpstrFileTitle=cast=(LPTSTR)
-OPENFILENAME_nMaxFileTitle=
-OPENFILENAME_lpstrInitialDir=cast=(LPCTSTR)
-OPENFILENAME_lpstrTitle=cast=(LPCTSTR)
-OPENFILENAME_Flags=
-OPENFILENAME_nFileOffset=
-OPENFILENAME_nFileExtension=
-OPENFILENAME_lpstrDefExt=cast=(LPCTSTR)
-OPENFILENAME_lCustData=
-OPENFILENAME_lpfnHook=cast=(LPOFNHOOKPROC)
-OPENFILENAME_lpTemplateName=cast=(LPCTSTR)
-
-org_eclipse_swt_internal_win32_OS=
-OS_AbortDoc=
-OS_AbortDoc_0=cast=(HDC)
-
-OS_ActivateKeyboardLayout=
-OS_ActivateKeyboardLayout_0=cast=(HKL)
-OS_ActivateKeyboardLayout_1=
-
-OS_AdjustWindowRectEx=
-OS_AdjustWindowRectEx_0=
-OS_AdjustWindowRectEx_1=
-OS_AdjustWindowRectEx_2=
-OS_AdjustWindowRectEx_3=
-
-OS_Arc=
-OS_Arc_0=cast=(HDC)
-OS_Arc_1=
-OS_Arc_2=
-OS_Arc_3=
-OS_Arc_4=
-OS_Arc_5=
-OS_Arc_6=
-OS_Arc_7=
-OS_Arc_8=
-
-OS_BeginDeferWindowPos=
-OS_BeginDeferWindowPos_0=
-
-OS_BeginPaint=
-OS_BeginPaint_0=cast=(HWND)
-OS_BeginPaint_1=
-
-OS_BitBlt=
-OS_BitBlt_0=cast=(HDC)
-OS_BitBlt_1=
-OS_BitBlt_2=
-OS_BitBlt_3=
-OS_BitBlt_4=
-OS_BitBlt_5=cast=(HDC)
-OS_BitBlt_6=
-OS_BitBlt_7=
-OS_BitBlt_8=
-
-OS_BringWindowToTop=
-OS_BringWindowToTop_0=cast=(HWND)
-
-OS_Call=
-OS_Call_0=cast=(DLLGETVERSIONPROC)
-OS_Call_1=
-
-OS_CallNextHookEx=
-OS_CallNextHookEx_0=cast=(HHOOK)
-OS_CallNextHookEx_1=
-OS_CallNextHookEx_2=cast=(WPARAM)
-OS_CallNextHookEx_3=cast=(LPARAM)
-
-OS_CallWindowProcA=
-OS_CallWindowProcA_0=cast=(WNDPROC)
-OS_CallWindowProcA_1=cast=(HWND)
-OS_CallWindowProcA_2=
-OS_CallWindowProcA_3=
-OS_CallWindowProcA_4=
-
-OS_CallWindowProcW=
-OS_CallWindowProcW_0=cast=(WNDPROC)
-OS_CallWindowProcW_1=cast=(HWND)
-OS_CallWindowProcW_2=
-OS_CallWindowProcW_3=
-OS_CallWindowProcW_4=
-
-OS_CharLowerA=
-OS_CharLowerA_0=cast=(LPSTR)
-
-OS_CharLowerW=
-OS_CharLowerW_0=cast=(LPWSTR)
-
-OS_CharUpperA=
-OS_CharUpperA_0=cast=(LPSTR)
-
-OS_CharUpperW=
-OS_CharUpperW_0=cast=(LPWSTR)
-
-OS_CheckMenuItem=
-OS_CheckMenuItem_0=cast=(HMENU)
-OS_CheckMenuItem_1=cast=(UINT)
-OS_CheckMenuItem_2=cast=(UINT)
-
-OS_ChooseColorA=
-OS_ChooseColorA_0=
-
-OS_ChooseColorW=
-OS_ChooseColorW_0=cast=(LPCHOOSECOLORW)
-
-OS_ChooseFontA=
-OS_ChooseFontA_0=
-
-OS_ChooseFontW=
-OS_ChooseFontW_0=cast=(LPCHOOSEFONTW)
-
-OS_ClientToScreen=
-OS_ClientToScreen_0=cast=(HWND)
-OS_ClientToScreen_1=
-
-OS_CloseClipboard=
-
-OS_CombineRgn=
-OS_CombineRgn_0=cast=(HRGN)
-OS_CombineRgn_1=cast=(HRGN)
-OS_CombineRgn_2=cast=(HRGN)
-OS_CombineRgn_3=
-
-OS_CommDlgExtendedError=
-
-OS_CommandBar_AddAdornments=
-OS_CommandBar_AddAdornments_0=cast=(HWND)
-OS_CommandBar_AddAdornments_1=
-OS_CommandBar_AddAdornments_2=
-
-OS_CommandBar_Create=
-OS_CommandBar_Create_0=cast=(HINSTANCE)
-OS_CommandBar_Create_1=cast=(HWND)
-OS_CommandBar_Create_2=
-
-OS_CommandBar_Destroy=
-OS_CommandBar_Destroy_0=cast=(HWND)
-
-OS_CommandBar_DrawMenuBar=
-OS_CommandBar_DrawMenuBar_0=cast=(HWND)
-OS_CommandBar_DrawMenuBar_1=cast=(WORD)
-
-OS_CommandBar_Height=
-OS_CommandBar_Height_0=cast=(HWND)
-
-OS_CommandBar_InsertMenubarEx=
-OS_CommandBar_InsertMenubarEx_0=cast=(HWND)
-OS_CommandBar_InsertMenubarEx_1=cast=(HINSTANCE)
-OS_CommandBar_InsertMenubarEx_2=cast=(LPTSTR)
-OS_CommandBar_InsertMenubarEx_3=cast=(WORD)
-
-OS_CommandBar_Show=
-OS_CommandBar_Show_0=cast=(HWND)
-OS_CommandBar_Show_1=cast=(BOOL)
-
-OS_CopyImage=
-OS_CopyImage_0=cast=(HANDLE)
-OS_CopyImage_1=
-OS_CopyImage_2=
-OS_CopyImage_3=
-OS_CopyImage_4=
-
-OS_CreateAcceleratorTableA=
-OS_CreateAcceleratorTableA_0=cast=(LPACCEL)
-OS_CreateAcceleratorTableA_1=
-
-OS_CreateAcceleratorTableW=
-OS_CreateAcceleratorTableW_0=cast=(LPACCEL)
-OS_CreateAcceleratorTableW_1=
-
-OS_CreateBitmap=
-OS_CreateBitmap_0=
-OS_CreateBitmap_1=
-OS_CreateBitmap_2=
-OS_CreateBitmap_3=
-OS_CreateBitmap_4=cast=(CONST VOID *),flags=no_out critical
-
-OS_CreateCaret=
-OS_CreateCaret_0=cast=(HWND)
-OS_CreateCaret_1=cast=(HBITMAP)
-OS_CreateCaret_2=
-OS_CreateCaret_3=
-
-OS_CreateCompatibleBitmap=
-OS_CreateCompatibleBitmap_0=cast=(HDC)
-OS_CreateCompatibleBitmap_1=
-OS_CreateCompatibleBitmap_2=
-
-OS_CreateCompatibleDC=
-OS_CreateCompatibleDC_0=cast=(HDC)
-
-OS_CreateCursor=
-OS_CreateCursor_0=cast=(HINSTANCE)
-OS_CreateCursor_1=
-OS_CreateCursor_2=
-OS_CreateCursor_3=
-OS_CreateCursor_4=
-OS_CreateCursor_5=cast=(CONST VOID *),flags=no_out critical
-OS_CreateCursor_6=cast=(CONST VOID *),flags=no_out critical
-
-OS_CreateDCA=
-OS_CreateDCA_0=cast=(LPSTR)
-OS_CreateDCA_1=cast=(LPSTR)
-OS_CreateDCA_2=cast=(LPSTR)
-OS_CreateDCA_3=cast=(CONST DEVMODE *)
-
-OS_CreateDCW=
-OS_CreateDCW_0=cast=(LPWSTR)
-OS_CreateDCW_1=cast=(LPWSTR)
-OS_CreateDCW_2=cast=(LPWSTR)
-OS_CreateDCW_3=cast=(CONST DEVMODEW *)
-
-OS_CreateDIBSection=
-OS_CreateDIBSection_0=cast=(HDC)
-OS_CreateDIBSection_1=cast=(BITMAPINFO *),flags=no_out critical
-OS_CreateDIBSection_2=
-OS_CreateDIBSection_3=cast=(VOID **),flags=no_in critical
-OS_CreateDIBSection_4=cast=(HANDLE)
-OS_CreateDIBSection_5=
-
-OS_CreateFontIndirectA__I=
-OS_CreateFontIndirectA__I_0=cast=(LPLOGFONTA)
-
-OS_CreateFontIndirectA__Lorg_eclipse_swt_internal_win32_LOGFONTA_2=
-OS_CreateFontIndirectA__Lorg_eclipse_swt_internal_win32_LOGFONTA_2_0=flags=no_out
-
-OS_CreateFontIndirectW__I=
-OS_CreateFontIndirectW__I_0=cast=(LPLOGFONTW)
-
-OS_CreateFontIndirectW__Lorg_eclipse_swt_internal_win32_LOGFONTW_2=
-OS_CreateFontIndirectW__Lorg_eclipse_swt_internal_win32_LOGFONTW_2_0=flags=no_out
-
-OS_CreateIconIndirect=
-OS_CreateIconIndirect_0=flags=no_out
-
-OS_CreateMenu=
-
-OS_CreatePalette=
-OS_CreatePalette_0=cast=(LOGPALETTE *),flags=no_out critical
-
-OS_CreatePatternBrush=
-OS_CreatePatternBrush_0=cast=(HBITMAP)
-
-OS_CreatePen=
-OS_CreatePen_0=
-OS_CreatePen_1=
-OS_CreatePen_2=cast=(COLORREF)
-
-OS_CreatePolygonRgn=
-OS_CreatePolygonRgn_0=cast=(CONST POINT *)
-OS_CreatePolygonRgn_1=
-OS_CreatePolygonRgn_2=
-
-OS_CreatePopupMenu=
-
-OS_CreateRectRgn=
-OS_CreateRectRgn_0=
-OS_CreateRectRgn_1=
-OS_CreateRectRgn_2=
-OS_CreateRectRgn_3=
-
-OS_CreateSolidBrush=
-OS_CreateSolidBrush_0=cast=(COLORREF)
-
-OS_CreateStreamOnHGlobal=
-OS_CreateStreamOnHGlobal_0=cast=HGLOBAL
-OS_CreateStreamOnHGlobal_1=cast=BOOL
-OS_CreateStreamOnHGlobal_2=cast=LPSTREAM *
-
-OS_CreateWindowExA=
-OS_CreateWindowExA_0=
-OS_CreateWindowExA_1=cast=(LPSTR)
-OS_CreateWindowExA_2=
-OS_CreateWindowExA_3=
-OS_CreateWindowExA_4=
-OS_CreateWindowExA_5=
-OS_CreateWindowExA_6=
-OS_CreateWindowExA_7=
-OS_CreateWindowExA_8=cast=(HWND)
-OS_CreateWindowExA_9=cast=(HMENU)
-OS_CreateWindowExA_10=cast=(HINSTANCE)
-OS_CreateWindowExA_11=
-
-OS_CreateWindowExW=
-OS_CreateWindowExW_0=
-OS_CreateWindowExW_1=cast=(LPWSTR)
-OS_CreateWindowExW_2=cast=(LPWSTR)
-OS_CreateWindowExW_3=
-OS_CreateWindowExW_4=
-OS_CreateWindowExW_5=
-OS_CreateWindowExW_6=
-OS_CreateWindowExW_7=
-OS_CreateWindowExW_8=cast=(HWND)
-OS_CreateWindowExW_9=cast=(HMENU)
-OS_CreateWindowExW_10=cast=(HINSTANCE)
-OS_CreateWindowExW_11=
-
-OS_DefFrameProcA=
-OS_DefFrameProcA_0=cast=(HWND)
-OS_DefFrameProcA_1=cast=(HWND)
-OS_DefFrameProcA_2=
-OS_DefFrameProcA_3=cast=(WPARAM)
-OS_DefFrameProcA_4=cast=(LPARAM)
-
-OS_DefFrameProcW=
-OS_DefFrameProcW_0=cast=(HWND)
-OS_DefFrameProcW_1=cast=(HWND)
-OS_DefFrameProcW_2=
-OS_DefFrameProcW_3=cast=(WPARAM)
-OS_DefFrameProcW_4=cast=(LPARAM)
-
-OS_DefMDIChildProcA=
-OS_DefMDIChildProcA_0=cast=(HWND)
-OS_DefMDIChildProcA_1=
-OS_DefMDIChildProcA_2=cast=(WPARAM)
-OS_DefMDIChildProcA_3=cast=(LPARAM)
-
-OS_DefMDIChildProcW=
-OS_DefMDIChildProcW_0=cast=(HWND)
-OS_DefMDIChildProcW_1=
-OS_DefMDIChildProcW_2=cast=(WPARAM)
-OS_DefMDIChildProcW_3=cast=(LPARAM)
-
-OS_DefWindowProcA=
-OS_DefWindowProcA_0=cast=(HWND)
-OS_DefWindowProcA_1=
-OS_DefWindowProcA_2=cast=(WPARAM)
-OS_DefWindowProcA_3=cast=(LPARAM)
-
-OS_DefWindowProcW=
-OS_DefWindowProcW_0=cast=(HWND)
-OS_DefWindowProcW_1=
-OS_DefWindowProcW_2=cast=(WPARAM)
-OS_DefWindowProcW_3=cast=(LPARAM)
-
-OS_DeferWindowPos=
-OS_DeferWindowPos_0=cast=(HDWP)
-OS_DeferWindowPos_1=cast=(HWND)
-OS_DeferWindowPos_2=cast=(HWND)
-OS_DeferWindowPos_3=
-OS_DeferWindowPos_4=
-OS_DeferWindowPos_5=
-OS_DeferWindowPos_6=
-OS_DeferWindowPos_7=
-
-OS_DeleteDC=
-OS_DeleteDC_0=cast=(HDC)
-
-OS_DeleteMenu=
-OS_DeleteMenu_0=cast=(HMENU)
-OS_DeleteMenu_1=
-OS_DeleteMenu_2=
-
-OS_DeleteObject=
-OS_DeleteObject_0=cast=(HGDIOBJ)
-
-OS_DestroyAcceleratorTable=
-OS_DestroyAcceleratorTable_0=cast=(HACCEL)
-
-OS_DestroyCaret=
-
-OS_DestroyCursor=
-OS_DestroyCursor_0=cast=(HCURSOR)
-
-OS_DestroyIcon=
-OS_DestroyIcon_0=cast=(HICON)
-
-OS_DestroyMenu=
-OS_DestroyMenu_0=cast=(HMENU)
-
-OS_DestroyWindow=
-OS_DestroyWindow_0=cast=(HWND)
-
-OS_DispatchMessageA=
-OS_DispatchMessageA_0=
-
-OS_DispatchMessageW=
-OS_DispatchMessageW_0=
-
-OS_DragDetect=
-OS_DragDetect_0=cast=(HWND)
-OS_DragDetect_1=flags=struct
-
-OS_DragFinish=
-OS_DragFinish_0=cast=(HDROP)
-
-OS_DragQueryFileA=
-OS_DragQueryFileA_0=cast=(HDROP)
-OS_DragQueryFileA_1=
-OS_DragQueryFileA_2=cast=(LPTSTR)
-OS_DragQueryFileA_3=
-
-OS_DragQueryFileW=
-OS_DragQueryFileW_0=cast=(HDROP)
-OS_DragQueryFileW_1=
-OS_DragQueryFileW_2=cast=(LPWSTR)
-OS_DragQueryFileW_3=
-
-OS_DrawEdge=
-OS_DrawEdge_0=cast=(HDC)
-OS_DrawEdge_1=
-OS_DrawEdge_2=
-OS_DrawEdge_3=
-
-OS_DrawFocusRect=
-OS_DrawFocusRect_0=cast=(HDC)
-OS_DrawFocusRect_1=
-
-OS_DrawFrameControl=
-OS_DrawFrameControl_0=cast=(HDC)
-OS_DrawFrameControl_1=
-OS_DrawFrameControl_2=
-OS_DrawFrameControl_3=
-
-OS_DrawIconEx=
-OS_DrawIconEx_0=cast=(HDC)
-OS_DrawIconEx_1=
-OS_DrawIconEx_2=
-OS_DrawIconEx_3=cast=(HICON)
-OS_DrawIconEx_4=
-OS_DrawIconEx_5=
-OS_DrawIconEx_6=
-OS_DrawIconEx_7=cast=(HBRUSH)
-OS_DrawIconEx_8=
-
-OS_DrawMenuBar=
-OS_DrawMenuBar_0=cast=(HWND)
-
-OS_DrawStateA=
-OS_DrawStateA_0=cast=(HDC)
-OS_DrawStateA_1=cast=(HBRUSH)
-OS_DrawStateA_2=cast=(DRAWSTATEPROC)
-OS_DrawStateA_3=cast=(LPARAM)
-OS_DrawStateA_4=cast=(WPARAM)
-OS_DrawStateA_5=
-OS_DrawStateA_6=
-OS_DrawStateA_7=
-OS_DrawStateA_8=
-OS_DrawStateA_9=
-
-OS_DrawStateW=
-OS_DrawStateW_0=cast=(HDC)
-OS_DrawStateW_1=cast=(HBRUSH)
-OS_DrawStateW_2=cast=(DRAWSTATEPROC)
-OS_DrawStateW_3=cast=(LPARAM)
-OS_DrawStateW_4=cast=(WPARAM)
-OS_DrawStateW_5=
-OS_DrawStateW_6=
-OS_DrawStateW_7=
-OS_DrawStateW_8=
-OS_DrawStateW_9=
-
-OS_DrawTextA=
-OS_DrawTextA_0=cast=(HDC)
-OS_DrawTextA_1=cast=(LPSTR),flags=no_out critical
-OS_DrawTextA_2=
-OS_DrawTextA_3=
-OS_DrawTextA_4=
-
-OS_DrawTextW=
-OS_DrawTextW_0=cast=(HDC)
-OS_DrawTextW_1=cast=(LPWSTR),flags=no_out critical
-OS_DrawTextW_2=
-OS_DrawTextW_3=
-OS_DrawTextW_4=
-
-OS_Ellipse=
-OS_Ellipse_0=cast=(HDC)
-OS_Ellipse_1=
-OS_Ellipse_2=
-OS_Ellipse_3=
-OS_Ellipse_4=
-
-OS_EnableMenuItem=
-OS_EnableMenuItem_0=cast=(HMENU)
-OS_EnableMenuItem_1=
-OS_EnableMenuItem_2=
-
-OS_EnableScrollBar=
-OS_EnableScrollBar_0=cast=(HWND)
-OS_EnableScrollBar_1=
-OS_EnableScrollBar_2=
-
-OS_EnableWindow=
-OS_EnableWindow_0=cast=(HWND)
-OS_EnableWindow_1=
-
-OS_EndDeferWindowPos=
-OS_EndDeferWindowPos_0=cast=(HDWP)
-
-OS_EndDoc=
-OS_EndDoc_0=cast=(HDC)
-
-OS_EndPage=
-OS_EndPage_0=cast=(HDC)
-
-OS_EndPaint=
-OS_EndPaint_0=cast=(HWND)
-OS_EndPaint_1=
-
-OS_EnumDisplayMonitors=flags=dynamic
-OS_EnumDisplayMonitors_0=cast=(HDC)
-OS_EnumDisplayMonitors_1=cast=(LPCRECT)
-OS_EnumDisplayMonitors_2=cast=(MONITORENUMPROC)
-OS_EnumDisplayMonitors_3=cast=(LPARAM)
-
-OS_EnumFontFamiliesA=
-OS_EnumFontFamiliesA_0=cast=(HDC)
-OS_EnumFontFamiliesA_1=cast=(LPSTR)
-OS_EnumFontFamiliesA_2=cast=(FONTENUMPROC)
-OS_EnumFontFamiliesA_3=cast=(LPARAM)
-
-OS_EnumFontFamiliesW=
-OS_EnumFontFamiliesW_0=cast=(HDC)
-OS_EnumFontFamiliesW_1=cast=(LPCWSTR)
-OS_EnumFontFamiliesW_2=cast=(FONTENUMPROCW)
-OS_EnumFontFamiliesW_3=cast=(LPARAM)
-
-OS_EnumSystemLanguageGroupsA=flags=dynamic
-OS_EnumSystemLanguageGroupsA_0=cast=(LANGUAGEGROUP_ENUMPROCA)
-OS_EnumSystemLanguageGroupsA_1=
-OS_EnumSystemLanguageGroupsA_2=cast=(LONG_PTR)
-
-OS_EnumSystemLanguageGroupsW=flags=dynamic
-OS_EnumSystemLanguageGroupsW_0=cast=(LANGUAGEGROUP_ENUMPROCW)
-OS_EnumSystemLanguageGroupsW_1=
-OS_EnumSystemLanguageGroupsW_2=cast=(LONG_PTR)
-
-OS_EnumSystemLocalesA=
-OS_EnumSystemLocalesA_0=cast=(LOCALE_ENUMPROCA)
-OS_EnumSystemLocalesA_1=
-
-OS_EnumSystemLocalesW=
-OS_EnumSystemLocalesW_0=cast=(LOCALE_ENUMPROCW)
-OS_EnumSystemLocalesW_1=
-
-OS_EqualRect=
-OS_EqualRect_0=cast=(CONST RECT *),flags=no_out
-OS_EqualRect_1=cast=(CONST RECT *),flags=no_out
-
-OS_EqualRgn=
-OS_EqualRgn_0=cast=(HRGN)
-OS_EqualRgn_1=cast=(HRGN)
-
-OS_ExpandEnvironmentStringsA=
-OS_ExpandEnvironmentStringsA_0=
-OS_ExpandEnvironmentStringsA_1=
-OS_ExpandEnvironmentStringsA_2=
-
-OS_ExpandEnvironmentStringsW=
-OS_ExpandEnvironmentStringsW_0=
-OS_ExpandEnvironmentStringsW_1=
-OS_ExpandEnvironmentStringsW_2=
-
-OS_ExtTextOutA=
-OS_ExtTextOutA_0=cast=(HDC)
-OS_ExtTextOutA_1=
-OS_ExtTextOutA_2=
-OS_ExtTextOutA_3=
-OS_ExtTextOutA_4=flags=no_out
-OS_ExtTextOutA_5=cast=(LPSTR),flags=no_out critical
-OS_ExtTextOutA_6=
-OS_ExtTextOutA_7=cast=(CONST INT *),flags=no_out critical
-
-OS_ExtTextOutW=
-OS_ExtTextOutW_0=cast=(HDC)
-OS_ExtTextOutW_1=
-OS_ExtTextOutW_2=
-OS_ExtTextOutW_3=
-OS_ExtTextOutW_4=flags=no_out
-OS_ExtTextOutW_5=cast=(LPWSTR),flags=no_out critical
-OS_ExtTextOutW_6=
-OS_ExtTextOutW_7=cast=(CONST INT *),flags=no_out critical
-
-OS_ExtractIconExA=
-OS_ExtractIconExA_0=cast=(LPSTR)
-OS_ExtractIconExA_1=
-OS_ExtractIconExA_2=cast=(HICON FAR *)
-OS_ExtractIconExA_3=cast=(HICON FAR *)
-OS_ExtractIconExA_4=
-
-OS_ExtractIconExW=
-OS_ExtractIconExW_0=cast=(LPWSTR)
-OS_ExtractIconExW_1=
-OS_ExtractIconExW_2=cast=(HICON FAR *)
-OS_ExtractIconExW_3=cast=(HICON FAR *)
-OS_ExtractIconExW_4=
-
-OS_FillRect=
-OS_FillRect_0=cast=(HDC)
-OS_FillRect_1=flags=no_out
-OS_FillRect_2=cast=(HBRUSH)
-
-OS_FindWindowA=
-OS_FindWindowA_0=cast=(LPSTR)
-OS_FindWindowA_1=cast=(LPSTR)
-
-OS_FindWindowW=
-OS_FindWindowW_0=cast=(LPWSTR)
-OS_FindWindowW_1=cast=(LPWSTR)
-
-OS_FreeLibrary=
-OS_FreeLibrary_0=cast=(HMODULE)
-
-OS_GetACP=
-
-OS_GetActiveWindow=
-
-OS_GetBkColor=
-OS_GetBkColor_0=cast=(HDC)
-
-OS_GetCapture=
-
-OS_GetCaretPos=
-OS_GetCaretPos_0=
-
-OS_GetCharABCWidthsA=
-OS_GetCharABCWidthsA_0=cast=(HDC)
-OS_GetCharABCWidthsA_1=
-OS_GetCharABCWidthsA_2=
-OS_GetCharABCWidthsA_3=cast=(LPABC),flags=no_in critical
-
-OS_GetCharABCWidthsW=
-OS_GetCharABCWidthsW_0=cast=(HDC)
-OS_GetCharABCWidthsW_1=
-OS_GetCharABCWidthsW_2=
-OS_GetCharABCWidthsW_3=cast=(LPABC),flags=no_in critical
-
-OS_GetCharWidthA=
-OS_GetCharWidthA_0=cast=(HDC)
-OS_GetCharWidthA_1=
-OS_GetCharWidthA_2=
-OS_GetCharWidthA_3=cast=(LPINT),flags=no_in critical
-
-OS_GetCharWidthW=
-OS_GetCharWidthW_0=cast=(HDC)
-OS_GetCharWidthW_1=
-OS_GetCharWidthW_2=
-OS_GetCharWidthW_3=cast=(LPINT),flags=no_in critical
-
-OS_GetCharacterPlacementA=
-OS_GetCharacterPlacementA_0=cast=(HDC)
-OS_GetCharacterPlacementA_1=cast=(LPSTR),flags=no_out critical
-OS_GetCharacterPlacementA_2=
-OS_GetCharacterPlacementA_3=
-OS_GetCharacterPlacementA_4=
-OS_GetCharacterPlacementA_5=
-
-OS_GetCharacterPlacementW=
-OS_GetCharacterPlacementW_0=cast=(HDC)
-OS_GetCharacterPlacementW_1=cast=(LPWSTR),flags=no_out critical
-OS_GetCharacterPlacementW_2=
-OS_GetCharacterPlacementW_3=
-OS_GetCharacterPlacementW_4=cast=(LPGCP_RESULTSW)
-OS_GetCharacterPlacementW_5=
-
-OS_GetClassInfoA=
-OS_GetClassInfoA_0=cast=(HINSTANCE)
-OS_GetClassInfoA_1=cast=(LPSTR)
-OS_GetClassInfoA_2=
-
-OS_GetClassInfoW=
-OS_GetClassInfoW_0=cast=(HINSTANCE)
-OS_GetClassInfoW_1=cast=(LPWSTR)
-OS_GetClassInfoW_2=cast=(LPWNDCLASSW)
-
-OS_GetClientRect=
-OS_GetClientRect_0=cast=(HWND)
-OS_GetClientRect_1=
-
-OS_GetClipBox=
-OS_GetClipBox_0=cast=(HDC)
-OS_GetClipBox_1=
-
-OS_GetClipRgn=
-OS_GetClipRgn_0=cast=(HDC)
-OS_GetClipRgn_1=cast=(HRGN)
-
-OS_GetClipboardData=
-OS_GetClipboardData_0=
-
-OS_GetClipboardFormatNameA=
-OS_GetClipboardFormatNameA_0=
-OS_GetClipboardFormatNameA_1=
-OS_GetClipboardFormatNameA_2=
-
-OS_GetClipboardFormatNameW=
-OS_GetClipboardFormatNameW_0=
-OS_GetClipboardFormatNameW_1=cast=(LPWSTR)
-OS_GetClipboardFormatNameW_2=
-
-OS_GetComboBoxInfo=flags=dynamic
-OS_GetComboBoxInfo_0=cast=(HWND)
-OS_GetComboBoxInfo_1=
-
-OS_GetCurrentObject=
-OS_GetCurrentObject_0=cast=(HDC)
-OS_GetCurrentObject_1=
-
-OS_GetCurrentProcessId=
-
-OS_GetCurrentThreadId=
-
-OS_GetCursor=
-
-OS_GetCursorPos=
-OS_GetCursorPos_0=
-
-OS_GetDC=
-OS_GetDC_0=cast=(HWND)
-
-OS_GetDCEx=
-OS_GetDCEx_0=cast=(HWND)
-OS_GetDCEx_1=cast=(HRGN)
-OS_GetDCEx_2=
-
-OS_GetDIBColorTable=
-OS_GetDIBColorTable_0=cast=(HDC)
-OS_GetDIBColorTable_1=
-OS_GetDIBColorTable_2=
-OS_GetDIBColorTable_3=cast=(RGBQUAD *),flags=no_in critical
-
-OS_GetDIBits=
-OS_GetDIBits_0=cast=(HDC)
-OS_GetDIBits_1=cast=(HBITMAP)
-OS_GetDIBits_2=
-OS_GetDIBits_3=
-OS_GetDIBits_4=cast=(LPVOID)
-OS_GetDIBits_5=cast=(LPBITMAPINFO),flags=critical
-OS_GetDIBits_6=
-
-OS_GetDesktopWindow=
-
-OS_GetDeviceCaps=
-OS_GetDeviceCaps_0=cast=(HDC)
-OS_GetDeviceCaps_1=
-
-OS_GetDialogBaseUnits=
-
-OS_GetDlgItem=
-OS_GetDlgItem_0=cast=(HWND)
-OS_GetDlgItem_1=
-
-OS_GetDoubleClickTime=
-
-OS_GetFocus=
-
-OS_GetFontLanguageInfo=
-OS_GetFontLanguageInfo_0=cast=(HDC)
-
-OS_GetIconInfo=
-OS_GetIconInfo_0=cast=(HICON)
-OS_GetIconInfo_1=flags=no_in
-
-OS_GetKeyNameTextA=
-OS_GetKeyNameTextA_0=
-OS_GetKeyNameTextA_1=cast=(LPSTR)
-OS_GetKeyNameTextA_2=
-
-OS_GetKeyNameTextW=
-OS_GetKeyNameTextW_0=
-OS_GetKeyNameTextW_1=cast=(LPWSTR)
-OS_GetKeyNameTextW_2=
-
-OS_GetKeyState=
-OS_GetKeyState_0=
-
-OS_GetKeyboardLayout=
-OS_GetKeyboardLayout_0=
-
-OS_GetKeyboardLayoutList=
-OS_GetKeyboardLayoutList_0=
-OS_GetKeyboardLayoutList_1=cast=(HKL FAR *)
-
-OS_GetKeyboardState=
-OS_GetKeyboardState_0=cast=(PBYTE)
-
-OS_GetLastActivePopup=
-OS_GetLastActivePopup_0=cast=(HWND)
-
-OS_GetLastError=
-
-OS_GetLayout=flags=dynamic
-OS_GetLayout_0=cast=(HDC)
-
-OS_GetLibraryHandle=flags=no_gen
-
-OS_GetLocaleInfoA=
-OS_GetLocaleInfoA_0=
-OS_GetLocaleInfoA_1=
-OS_GetLocaleInfoA_2=cast=(LPSTR)
-OS_GetLocaleInfoA_3=
-
-OS_GetLocaleInfoW=
-OS_GetLocaleInfoW_0=
-OS_GetLocaleInfoW_1=
-OS_GetLocaleInfoW_2=cast=(LPWSTR)
-OS_GetLocaleInfoW_3=
-
-OS_GetMenu=
-OS_GetMenu_0=cast=(HWND)
-
-OS_GetMenuBarInfo=flags=dynamic
-OS_GetMenuBarInfo_0=
-OS_GetMenuBarInfo_1=
-OS_GetMenuBarInfo_2=
-OS_GetMenuBarInfo_3=
-
-OS_GetMenuDefaultItem=
-OS_GetMenuDefaultItem_0=cast=(HMENU)
-OS_GetMenuDefaultItem_1=
-OS_GetMenuDefaultItem_2=
-
-OS_GetMenuInfo=flags=dynamic
-OS_GetMenuInfo_0=cast=(HMENU)
-OS_GetMenuInfo_1=
-
-OS_GetMenuItemCount=
-OS_GetMenuItemCount_0=cast=(HMENU)
-
-OS_GetMenuItemInfoA=
-OS_GetMenuItemInfoA_0=cast=(HMENU)
-OS_GetMenuItemInfoA_1=
-OS_GetMenuItemInfoA_2=
-OS_GetMenuItemInfoA_3=
-
-OS_GetMenuItemInfoW=
-OS_GetMenuItemInfoW_0=cast=(HMENU)
-OS_GetMenuItemInfoW_1=
-OS_GetMenuItemInfoW_2=
-OS_GetMenuItemInfoW_3=cast=(LPMENUITEMINFOW)
-
-OS_GetMenuItemRect=
-OS_GetMenuItemRect_0=cast=(HWND)
-OS_GetMenuItemRect_1=cast=(HMENU)
-OS_GetMenuItemRect_2=
-OS_GetMenuItemRect_3=
-
-OS_GetMessageA=
-OS_GetMessageA_0=
-OS_GetMessageA_1=cast=(HWND)
-OS_GetMessageA_2=
-OS_GetMessageA_3=
-
-OS_GetMessagePos=
-
-OS_GetMessageTime=
-
-OS_GetMessageW=
-OS_GetMessageW_0=
-OS_GetMessageW_1=cast=(HWND)
-OS_GetMessageW_2=
-OS_GetMessageW_3=
-
-OS_GetModuleHandleA=
-OS_GetModuleHandleA_0=cast=(LPSTR)
-
-OS_GetModuleHandleW=
-OS_GetModuleHandleW_0=cast=(LPWSTR)
-
-OS_GetMonitorInfoA=flags=dynamic
-OS_GetMonitorInfoA_0=cast=(HMONITOR)
-OS_GetMonitorInfoA_1=cast=(LPMONITORINFO)
-
-OS_GetMonitorInfoW=flags=dynamic
-OS_GetMonitorInfoW_0=cast=(HMONITOR)
-OS_GetMonitorInfoW_1=cast=(LPMONITORINFO)
-
-OS_GetNearestPaletteIndex=
-OS_GetNearestPaletteIndex_0=cast=(HPALETTE)
-OS_GetNearestPaletteIndex_1=cast=(COLORREF)
-
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_BITMAP_2=
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_BITMAP_2_0=cast=(HGDIOBJ)
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_BITMAP_2_1=
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_BITMAP_2_2=flags=no_in
-
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_DIBSECTION_2=
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_DIBSECTION_2_0=cast=(HGDIOBJ)
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_DIBSECTION_2_1=
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_DIBSECTION_2_2=flags=no_in
-
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGBRUSH_2=
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGBRUSH_2_0=cast=(HGDIOBJ)
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGBRUSH_2_1=
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGBRUSH_2_2=flags=no_in
-
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGFONTA_2=
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGFONTA_2_0=cast=(HGDIOBJ)
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGFONTA_2_1=
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGFONTA_2_2=flags=no_in
-
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGPEN_2=
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGPEN_2_0=cast=(HGDIOBJ)
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGPEN_2_1=
-OS_GetObjectA__IILorg_eclipse_swt_internal_win32_LOGPEN_2_2=flags=no_in
-
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_BITMAP_2=
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_BITMAP_2_0=cast=(HGDIOBJ)
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_BITMAP_2_1=
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_BITMAP_2_2=flags=no_in
-
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_DIBSECTION_2=
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_DIBSECTION_2_0=cast=(HGDIOBJ)
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_DIBSECTION_2_1=
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_DIBSECTION_2_2=flags=no_in
-
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGBRUSH_2=
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGBRUSH_2_0=cast=(HGDIOBJ)
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGBRUSH_2_1=
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGBRUSH_2_2=flags=no_in
-
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGFONTW_2=
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGFONTW_2_0=cast=(HGDIOBJ)
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGFONTW_2_1=
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGFONTW_2_2=flags=no_in
-
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGPEN_2=
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGPEN_2_0=cast=(HGDIOBJ)
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGPEN_2_1=
-OS_GetObjectW__IILorg_eclipse_swt_internal_win32_LOGPEN_2_2=flags=no_in
-
-OS_GetOpenFileNameA=
-OS_GetOpenFileNameA_0=
-
-OS_GetOpenFileNameW=
-OS_GetOpenFileNameW_0=cast=(LPOPENFILENAMEW)
-
-OS_GetPaletteEntries=
-OS_GetPaletteEntries_0=cast=(HPALETTE)
-OS_GetPaletteEntries_1=
-OS_GetPaletteEntries_2=
-OS_GetPaletteEntries_3=cast=(LPPALETTEENTRY),flags=no_in critical
-
-OS_GetParent=
-OS_GetParent_0=cast=(HWND)
-
-OS_GetPixel=
-OS_GetPixel_0=cast=(HDC)
-OS_GetPixel_1=
-OS_GetPixel_2=
-
-OS_GetProcAddress=
-OS_GetProcAddress_0=cast=(HMODULE)
-OS_GetProcAddress_1=cast=(LPCTSTR)
-
-OS_GetProcessHeap=
-
-OS_GetProfileStringA=
-OS_GetProfileStringA_0=cast=(LPSTR)
-OS_GetProfileStringA_1=cast=(LPSTR)
-OS_GetProfileStringA_2=cast=(LPSTR)
-OS_GetProfileStringA_3=cast=(LPSTR)
-OS_GetProfileStringA_4=
-
-OS_GetProfileStringW=
-OS_GetProfileStringW_0=cast=(LPWSTR)
-OS_GetProfileStringW_1=cast=(LPWSTR)
-OS_GetProfileStringW_2=cast=(LPWSTR)
-OS_GetProfileStringW_3=cast=(LPWSTR)
-OS_GetProfileStringW_4=
-
-OS_GetROP2=
-OS_GetROP2_0=cast=(HDC)
-
-OS_GetRandomRgn=
-OS_GetRandomRgn_0=cast=HDC
-OS_GetRandomRgn_1=cast=HRGN
-OS_GetRandomRgn_2=
-
-OS_GetRegionData=
-OS_GetRegionData_0=cast=(HRGN)
-OS_GetRegionData_1=
-OS_GetRegionData_2=cast=(RGNDATA *),flags=no_in critical
-
-OS_GetRgnBox=
-OS_GetRgnBox_0=cast=(HRGN)
-OS_GetRgnBox_1=flags=no_in
-
-OS_GetSaveFileNameA=
-OS_GetSaveFileNameA_0=
-
-OS_GetSaveFileNameW=
-OS_GetSaveFileNameW_0=cast=(LPOPENFILENAMEW)
-
-OS_GetScrollInfo=
-OS_GetScrollInfo_0=cast=(HWND)
-OS_GetScrollInfo_1=
-OS_GetScrollInfo_2=
-
-OS_GetStockObject=
-OS_GetStockObject_0=
-
-OS_GetSysColor=
-OS_GetSysColor_0=
-
-OS_GetSysColorBrush=
-OS_GetSysColorBrush_0=
-
-OS_GetSystemMenu=
-OS_GetSystemMenu_0=cast=(HWND)
-OS_GetSystemMenu_1=
-
-OS_GetSystemMetrics=
-OS_GetSystemMetrics_0=
-
-OS_GetSystemPaletteEntries=
-OS_GetSystemPaletteEntries_0=cast=(HDC)
-OS_GetSystemPaletteEntries_1=cast=(UINT)
-OS_GetSystemPaletteEntries_2=cast=(UINT)
-OS_GetSystemPaletteEntries_3=cast=(LPPALETTEENTRY),flags=no_in critical
-
-OS_GetTextCharset=
-OS_GetTextCharset_0=cast=(HDC)
-
-OS_GetTextColor=
-OS_GetTextColor_0=cast=(HDC)
-
-OS_GetTextExtentPoint32A=
-OS_GetTextExtentPoint32A_0=cast=(HDC)
-OS_GetTextExtentPoint32A_1=cast=(LPSTR),flags=no_out critical
-OS_GetTextExtentPoint32A_2=
-OS_GetTextExtentPoint32A_3=flags=no_in
-
-OS_GetTextExtentPoint32W=
-OS_GetTextExtentPoint32W_0=cast=(HDC)
-OS_GetTextExtentPoint32W_1=cast=(LPWSTR),flags=no_out critical
-OS_GetTextExtentPoint32W_2=
-OS_GetTextExtentPoint32W_3=flags=no_in
-
-OS_GetTextMetricsA=
-OS_GetTextMetricsA_0=cast=(HDC)
-OS_GetTextMetricsA_1=flags=no_in
-
-OS_GetTextMetricsW=
-OS_GetTextMetricsW_0=cast=(HDC)
-OS_GetTextMetricsW_1=flags=no_in
-
-OS_GetTickCount=
-
-OS_GetUpdateRect=
-OS_GetUpdateRect_0=cast=(HWND)
-OS_GetUpdateRect_1=cast=(LPRECT)
-OS_GetUpdateRect_2=cast=(BOOL)
-
-OS_GetUpdateRgn=
-OS_GetUpdateRgn_0=cast=(HWND)
-OS_GetUpdateRgn_1=cast=(HRGN)
-OS_GetUpdateRgn_2=
-
-OS_GetVersionExA=
-OS_GetVersionExA_0=
-
-OS_GetVersionExW=
-OS_GetVersionExW_0=
-
-OS_GetWindow=
-OS_GetWindow_0=cast=(HWND)
-OS_GetWindow_1=
-
-OS_GetWindowLongA=
-OS_GetWindowLongA_0=cast=(HWND)
-OS_GetWindowLongA_1=
-
-OS_GetWindowLongW=
-OS_GetWindowLongW_0=cast=(HWND)
-OS_GetWindowLongW_1=
-
-OS_GetWindowPlacement=
-OS_GetWindowPlacement_0=cast=(HWND)
-OS_GetWindowPlacement_1=
-
-OS_GetWindowRect=
-OS_GetWindowRect_0=cast=(HWND)
-OS_GetWindowRect_1=
-
-OS_GetWindowRgn=
-OS_GetWindowRgn_0=cast=(HWND)
-OS_GetWindowRgn_1=cast=(HRGN)
-
-OS_GetWindowTextA=
-OS_GetWindowTextA_0=cast=(HWND)
-OS_GetWindowTextA_1=cast=(LPSTR)
-OS_GetWindowTextA_2=
-
-OS_GetWindowTextLengthA=
-OS_GetWindowTextLengthA_0=cast=(HWND)
-
-OS_GetWindowTextLengthW=
-OS_GetWindowTextLengthW_0=cast=(HWND)
-
-OS_GetWindowTextW=
-OS_GetWindowTextW_0=cast=(HWND)
-OS_GetWindowTextW_1=cast=(LPWSTR)
-OS_GetWindowTextW_2=
-
-OS_GetWindowThreadProcessId=
-OS_GetWindowThreadProcessId_0=cast=(HWND)
-OS_GetWindowThreadProcessId_1=cast=(LPDWORD)
-
-OS_GlobalAlloc=
-OS_GlobalAlloc_0=
-OS_GlobalAlloc_1=
-
-OS_GlobalFree=
-OS_GlobalFree_0=cast=(HANDLE)
-
-OS_GlobalLock=
-OS_GlobalLock_0=cast=(HANDLE)
-
-OS_GlobalSize=
-OS_GlobalSize_0=cast=(HANDLE)
-
-OS_GlobalUnlock=
-OS_GlobalUnlock_0=cast=(HANDLE)
-
-OS_GradientFill=flags=dynamic
-OS_GradientFill_0=cast=(HDC)
-OS_GradientFill_1=cast=(PTRIVERTEX)
-OS_GradientFill_2=cast=(ULONG)
-OS_GradientFill_3=cast=(PVOID)
-OS_GradientFill_4=cast=(ULONG)
-OS_GradientFill_5=cast=(ULONG)
-
-OS_HeapAlloc=
-OS_HeapAlloc_0=cast=(HANDLE)
-OS_HeapAlloc_1=
-OS_HeapAlloc_2=
-
-OS_HeapFree=
-OS_HeapFree_0=cast=(HANDLE)
-OS_HeapFree_1=
-OS_HeapFree_2=cast=(LPVOID)
-
-OS_HideCaret=
-OS_HideCaret_0=cast=(HWND)
-
-OS_ImageList_Add=
-OS_ImageList_Add_0=cast=(HIMAGELIST)
-OS_ImageList_Add_1=cast=(HBITMAP)
-OS_ImageList_Add_2=cast=(HBITMAP)
-
-OS_ImageList_AddMasked=
-OS_ImageList_AddMasked_0=cast=(HIMAGELIST)
-OS_ImageList_AddMasked_1=cast=(HBITMAP)
-OS_ImageList_AddMasked_2=cast=(COLORREF)
-
-OS_ImageList_Create=
-OS_ImageList_Create_0=
-OS_ImageList_Create_1=
-OS_ImageList_Create_2=
-OS_ImageList_Create_3=
-OS_ImageList_Create_4=
-
-OS_ImageList_Destroy=
-OS_ImageList_Destroy_0=cast=(HIMAGELIST)
-
-OS_ImageList_GetIcon=
-OS_ImageList_GetIcon_0=cast=(HIMAGELIST)
-OS_ImageList_GetIcon_1=
-OS_ImageList_GetIcon_2=
-
-OS_ImageList_GetIconSize=
-OS_ImageList_GetIconSize_0=cast=(HIMAGELIST)
-OS_ImageList_GetIconSize_1=
-OS_ImageList_GetIconSize_2=
-
-OS_ImageList_GetImageCount=
-OS_ImageList_GetImageCount_0=cast=(HIMAGELIST)
-
-OS_ImageList_Remove=
-OS_ImageList_Remove_0=cast=(HIMAGELIST)
-OS_ImageList_Remove_1=
-
-OS_ImageList_Replace=
-OS_ImageList_Replace_0=cast=(HIMAGELIST)
-OS_ImageList_Replace_1=
-OS_ImageList_Replace_2=cast=(HBITMAP)
-OS_ImageList_Replace_3=cast=(HBITMAP)
-
-OS_ImageList_ReplaceIcon=
-OS_ImageList_ReplaceIcon_0=cast=(HIMAGELIST)
-OS_ImageList_ReplaceIcon_1=
-OS_ImageList_ReplaceIcon_2=cast=(HICON)
-
-OS_ImageList_SetIconSize=
-OS_ImageList_SetIconSize_0=cast=(HIMAGELIST)
-OS_ImageList_SetIconSize_1=
-OS_ImageList_SetIconSize_2=
-
-OS_ImmAssociateContext=
-OS_ImmAssociateContext_0=cast=(HWND)
-OS_ImmAssociateContext_1=cast=(HIMC)
-
-OS_ImmCreateContext=
-
-OS_ImmDestroyContext=
-OS_ImmDestroyContext_0=cast=(HIMC)
-
-OS_ImmGetCompositionFontA=
-OS_ImmGetCompositionFontA_0=cast=(HIMC)
-OS_ImmGetCompositionFontA_1=
-
-OS_ImmGetCompositionFontW=
-OS_ImmGetCompositionFontW_0=cast=(HIMC)
-OS_ImmGetCompositionFontW_1=
-
-OS_ImmGetCompositionStringA=
-OS_ImmGetCompositionStringA_0=cast=(HIMC)
-OS_ImmGetCompositionStringA_1=
-OS_ImmGetCompositionStringA_2=cast=(LPSTR)
-OS_ImmGetCompositionStringA_3=
-
-OS_ImmGetCompositionStringW=
-OS_ImmGetCompositionStringW_0=cast=(HIMC)
-OS_ImmGetCompositionStringW_1=
-OS_ImmGetCompositionStringW_2=cast=(LPWSTR)
-OS_ImmGetCompositionStringW_3=
-
-OS_ImmGetContext=
-OS_ImmGetContext_0=cast=(HWND)
-
-OS_ImmGetConversionStatus=
-OS_ImmGetConversionStatus_0=cast=(HIMC)
-OS_ImmGetConversionStatus_1=
-OS_ImmGetConversionStatus_2=
-
-OS_ImmGetDefaultIMEWnd=
-OS_ImmGetDefaultIMEWnd_0=cast=(HWND)
-
-OS_ImmGetOpenStatus=
-OS_ImmGetOpenStatus_0=cast=(HIMC)
-
-OS_ImmReleaseContext=
-OS_ImmReleaseContext_0=cast=(HWND)
-OS_ImmReleaseContext_1=cast=(HIMC)
-
-OS_ImmSetCompositionFontA=
-OS_ImmSetCompositionFontA_0=cast=(HIMC)
-OS_ImmSetCompositionFontA_1=
-
-OS_ImmSetCompositionFontW=
-OS_ImmSetCompositionFontW_0=cast=(HIMC)
-OS_ImmSetCompositionFontW_1=
-
-OS_ImmSetCompositionWindow=
-OS_ImmSetCompositionWindow_0=cast=(HIMC)
-OS_ImmSetCompositionWindow_1=
-
-OS_ImmSetConversionStatus=
-OS_ImmSetConversionStatus_0=cast=(HIMC)
-OS_ImmSetConversionStatus_1=
-OS_ImmSetConversionStatus_2=
-
-OS_ImmSetOpenStatus=
-OS_ImmSetOpenStatus_0=cast=(HIMC)
-OS_ImmSetOpenStatus_1=
-
-OS_InitCommonControls=
-
-OS_InitCommonControlsEx=
-OS_InitCommonControlsEx_0=
-
-OS_InsertMenuA=
-OS_InsertMenuA_0=cast=(HMENU)
-OS_InsertMenuA_1=
-OS_InsertMenuA_2=
-OS_InsertMenuA_3=
-OS_InsertMenuA_4=
-
-OS_InsertMenuItemA=
-OS_InsertMenuItemA_0=cast=(HMENU)
-OS_InsertMenuItemA_1=
-OS_InsertMenuItemA_2=
-OS_InsertMenuItemA_3=
-
-OS_InsertMenuItemW=
-OS_InsertMenuItemW_0=cast=(HMENU)
-OS_InsertMenuItemW_1=
-OS_InsertMenuItemW_2=
-OS_InsertMenuItemW_3=cast=(LPMENUITEMINFOW)
-
-OS_InsertMenuW=
-OS_InsertMenuW_0=cast=(HMENU)
-OS_InsertMenuW_1=
-OS_InsertMenuW_2=
-OS_InsertMenuW_3=
-OS_InsertMenuW_4=
-
-OS_IntersectRect=
-OS_IntersectRect_0=flags=no_in
-OS_IntersectRect_1=flags=no_out
-OS_IntersectRect_2=flags=no_out
-
-OS_InvalidateRect=
-OS_InvalidateRect_0=cast=(HWND)
-OS_InvalidateRect_1=
-OS_InvalidateRect_2=
-
-OS_InvalidateRgn=
-OS_InvalidateRgn_0=cast=(HWND)
-OS_InvalidateRgn_1=cast=(HRGN)
-OS_InvalidateRgn_2=
-
-OS_IsDBCSLeadByte=
-OS_IsDBCSLeadByte_0=
-
-OS_IsIconic=
-OS_IsIconic_0=cast=(HWND)
-
-OS_IsPPC=flags=no_gen
-
-OS_IsSP=flags=no_gen
-
-OS_IsWindowEnabled=
-OS_IsWindowEnabled_0=cast=(HWND)
-
-OS_IsWindowVisible=
-OS_IsWindowVisible_0=cast=(HWND)
-
-OS_IsZoomed=
-OS_IsZoomed_0=cast=(HWND)
-
-OS_KillTimer=
-OS_KillTimer_0=cast=(HWND)
-OS_KillTimer_1=
-
-OS_LineTo=
-OS_LineTo_0=cast=(HDC)
-OS_LineTo_1=
-OS_LineTo_2=
-
-OS_LoadBitmapA=
-OS_LoadBitmapA_0=cast=(HINSTANCE)
-OS_LoadBitmapA_1=cast=(LPSTR)
-
-OS_LoadBitmapW=
-OS_LoadBitmapW_0=cast=(HINSTANCE)
-OS_LoadBitmapW_1=cast=(LPWSTR)
-
-OS_LoadCursorA=
-OS_LoadCursorA_0=cast=(HINSTANCE)
-OS_LoadCursorA_1=cast=(LPSTR)
-
-OS_LoadCursorW=
-OS_LoadCursorW_0=cast=(HINSTANCE)
-OS_LoadCursorW_1=cast=(LPWSTR)
-
-OS_LoadIconA=
-OS_LoadIconA_0=cast=(HINSTANCE)
-OS_LoadIconA_1=cast=(LPSTR)
-
-OS_LoadIconW=
-OS_LoadIconW_0=cast=(HINSTANCE)
-OS_LoadIconW_1=cast=(LPWSTR)
-
-OS_LoadImageA=
-OS_LoadImageA_0=cast=(HINSTANCE)
-OS_LoadImageA_1=cast=(LPSTR)
-OS_LoadImageA_2=
-OS_LoadImageA_3=
-OS_LoadImageA_4=
-OS_LoadImageA_5=
-
-OS_LoadImageW=
-OS_LoadImageW_0=cast=(HINSTANCE)
-OS_LoadImageW_1=cast=(LPWSTR)
-OS_LoadImageW_2=
-OS_LoadImageW_3=
-OS_LoadImageW_4=
-OS_LoadImageW_5=
-
-OS_LoadLibraryA=
-OS_LoadLibraryA_0=cast=(LPSTR)
-
-OS_LoadLibraryW=
-OS_LoadLibraryW_0=cast=(LPWSTR)
-
-OS_MapVirtualKeyA=
-OS_MapVirtualKeyA_0=
-OS_MapVirtualKeyA_1=
-
-OS_MapVirtualKeyW=
-OS_MapVirtualKeyW_0=
-OS_MapVirtualKeyW_1=
-
-OS_MapWindowPoints__IILorg_eclipse_swt_internal_win32_POINT_2I=
-OS_MapWindowPoints__IILorg_eclipse_swt_internal_win32_POINT_2I_0=cast=(HWND)
-OS_MapWindowPoints__IILorg_eclipse_swt_internal_win32_POINT_2I_1=cast=(HWND)
-OS_MapWindowPoints__IILorg_eclipse_swt_internal_win32_POINT_2I_2=cast=(LPPOINT)
-OS_MapWindowPoints__IILorg_eclipse_swt_internal_win32_POINT_2I_3=
-
-OS_MapWindowPoints__IILorg_eclipse_swt_internal_win32_RECT_2I=
-OS_MapWindowPoints__IILorg_eclipse_swt_internal_win32_RECT_2I_0=cast=(HWND)
-OS_MapWindowPoints__IILorg_eclipse_swt_internal_win32_RECT_2I_1=cast=(HWND)
-OS_MapWindowPoints__IILorg_eclipse_swt_internal_win32_RECT_2I_2=cast=(LPPOINT)
-OS_MapWindowPoints__IILorg_eclipse_swt_internal_win32_RECT_2I_3=
-
-OS_MessageBeep=
-OS_MessageBeep_0=
-
-OS_MessageBoxA=
-OS_MessageBoxA_0=cast=(HWND)
-OS_MessageBoxA_1=cast=(LPSTR)
-OS_MessageBoxA_2=cast=(LPSTR)
-OS_MessageBoxA_3=
-
-OS_MessageBoxW=
-OS_MessageBoxW_0=cast=(HWND)
-OS_MessageBoxW_1=cast=(LPWSTR)
-OS_MessageBoxW_2=cast=(LPWSTR)
-OS_MessageBoxW_3=
-
-OS_MonitorFromWindow=flags=dynamic
-OS_MonitorFromWindow_0=
-OS_MonitorFromWindow_1=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_DROPFILES_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_DROPFILES_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_DROPFILES_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_DROPFILES_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_GRADIENT_1RECT_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_GRADIENT_1RECT_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_GRADIENT_1RECT_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_GRADIENT_1RECT_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_KEYBDINPUT_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_KEYBDINPUT_2I_0=cast=PVOID
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_KEYBDINPUT_2I_1=cast=CONST VOID *,flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_KEYBDINPUT_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_LOGFONTA_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_LOGFONTA_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_LOGFONTA_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_LOGFONTA_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_LOGFONTW_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_LOGFONTW_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_LOGFONTW_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_LOGFONTW_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MEASUREITEMSTRUCT_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MEASUREITEMSTRUCT_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MEASUREITEMSTRUCT_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MEASUREITEMSTRUCT_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MOUSEINPUT_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MOUSEINPUT_2I_0=cast=PVOID
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MOUSEINPUT_2I_1=cast=CONST VOID *,flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MOUSEINPUT_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MSG_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MSG_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MSG_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_MSG_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMLVCUSTOMDRAW_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMLVCUSTOMDRAW_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMLVCUSTOMDRAW_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMLVCUSTOMDRAW_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMLVDISPINFO_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMLVDISPINFO_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMLVDISPINFO_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMLVDISPINFO_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTTDISPINFOA_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTTDISPINFOA_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTTDISPINFOA_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTTDISPINFOA_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTTDISPINFOW_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTTDISPINFOW_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTTDISPINFOW_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTTDISPINFOW_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTVCUSTOMDRAW_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTVCUSTOMDRAW_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTVCUSTOMDRAW_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_NMTVCUSTOMDRAW_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_RECT_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_RECT_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_RECT_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_RECT_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_TRIVERTEX_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_TRIVERTEX_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_TRIVERTEX_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_TRIVERTEX_2I_2=
-
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_WINDOWPOS_2I=
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_WINDOWPOS_2I_0=cast=(PVOID)
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_WINDOWPOS_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory__ILorg_eclipse_swt_internal_win32_WINDOWPOS_2I_2=
-
-OS_MoveMemory__I_3BI=
-OS_MoveMemory__I_3BI_0=cast=(PVOID)
-OS_MoveMemory__I_3BI_1=cast=(CONST VOID *),flags=no_out critical
-OS_MoveMemory__I_3BI_2=
-
-OS_MoveMemory__I_3CI=
-OS_MoveMemory__I_3CI_0=cast=(PVOID)
-OS_MoveMemory__I_3CI_1=cast=(CONST VOID *),flags=no_out critical
-OS_MoveMemory__I_3CI_2=
-
-OS_MoveMemory__I_3DI=
-OS_MoveMemory__I_3DI_0=cast=(PVOID)
-OS_MoveMemory__I_3DI_1=cast=(CONST VOID *),flags=no_out critical
-OS_MoveMemory__I_3DI_2=
-
-OS_MoveMemory__I_3FI=
-OS_MoveMemory__I_3FI_0=cast=(PVOID)
-OS_MoveMemory__I_3FI_1=cast=(CONST VOID *),flags=no_out critical
-OS_MoveMemory__I_3FI_2=
-
-OS_MoveMemory__I_3II=
-OS_MoveMemory__I_3II_0=cast=(PVOID)
-OS_MoveMemory__I_3II_1=cast=(CONST VOID *),flags=no_out critical
-OS_MoveMemory__I_3II_2=
-
-OS_MoveMemory__I_3SI=
-OS_MoveMemory__I_3SI_0=cast=(PVOID)
-OS_MoveMemory__I_3SI_1=cast=(CONST VOID *),flags=no_out critical
-OS_MoveMemory__I_3SI_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_BITMAPINFOHEADER_2_3BI=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_BITMAPINFOHEADER_2_3BI_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_BITMAPINFOHEADER_2_3BI_1=cast=(CONST VOID *),flags=no_out critical
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_BITMAPINFOHEADER_2_3BI_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_DRAWITEMSTRUCT_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_DRAWITEMSTRUCT_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_DRAWITEMSTRUCT_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_DRAWITEMSTRUCT_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_HDITEM_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_HDITEM_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_HDITEM_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_HDITEM_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_HELPINFO_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_HELPINFO_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_HELPINFO_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_HELPINFO_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_LOGFONTA_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_LOGFONTA_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_LOGFONTA_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_LOGFONTA_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_LOGFONTW_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_LOGFONTW_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_LOGFONTW_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_LOGFONTW_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_MEASUREITEMSTRUCT_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_MEASUREITEMSTRUCT_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_MEASUREITEMSTRUCT_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_MEASUREITEMSTRUCT_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_MSG_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_MSG_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_MSG_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_MSG_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMCUSTOMDRAW_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMCUSTOMDRAW_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMCUSTOMDRAW_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMCUSTOMDRAW_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMHDR_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMHDR_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMHDR_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMHDR_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMHEADER_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMHEADER_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMHEADER_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMHEADER_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLISTVIEW_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLISTVIEW_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLISTVIEW_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLISTVIEW_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVCUSTOMDRAW_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVCUSTOMDRAW_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVCUSTOMDRAW_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVCUSTOMDRAW_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVDISPINFO_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVDISPINFO_2II_0=cast=(PVOID,flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVDISPINFO_2II_1=cast=(CONST VOID *
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVDISPINFO_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVFINDITEM_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVFINDITEM_2II_0=cast=PVOID,flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVFINDITEM_2II_1=cast=CONST VOID *
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMLVFINDITEM_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMREBARCHEVRON_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMREBARCHEVRON_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMREBARCHEVRON_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMREBARCHEVRON_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMRGINFO_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMRGINFO_2II_0=cast=PVOID,flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMRGINFO_2II_1=cast=CONST VOID *
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMRGINFO_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTOOLBAR_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTOOLBAR_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTOOLBAR_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTOOLBAR_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTTDISPINFOA_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTTDISPINFOA_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTTDISPINFOA_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTTDISPINFOA_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTTDISPINFOW_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTTDISPINFOW_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTTDISPINFOW_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTTDISPINFOW_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTVCUSTOMDRAW_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTVCUSTOMDRAW_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTVCUSTOMDRAW_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_NMTVCUSTOMDRAW_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_SCRIPT_1ITEM_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_SCRIPT_1ITEM_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_SCRIPT_1ITEM_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_SCRIPT_1ITEM_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_SCRIPT_1LOGATTR_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_SCRIPT_1LOGATTR_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_SCRIPT_1LOGATTR_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_SCRIPT_1LOGATTR_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_TVITEM_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_TVITEM_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_TVITEM_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_TVITEM_2II_2=
-
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_WINDOWPOS_2II=
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_WINDOWPOS_2II_0=cast=(PVOID),flags=no_in
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_WINDOWPOS_2II_1=cast=(CONST VOID *)
-OS_MoveMemory__Lorg_eclipse_swt_internal_win32_WINDOWPOS_2II_2=
-
-OS_MoveMemory___3BII=
-OS_MoveMemory___3BII_0=cast=(PVOID),flags=no_in critical
-OS_MoveMemory___3BII_1=cast=(CONST VOID *)
-OS_MoveMemory___3BII_2=
-
-OS_MoveMemory___3BLorg_eclipse_swt_internal_win32_ACCEL_2I=
-OS_MoveMemory___3BLorg_eclipse_swt_internal_win32_ACCEL_2I_0=cast=(PVOID),flags=no_in critical
-OS_MoveMemory___3BLorg_eclipse_swt_internal_win32_ACCEL_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory___3BLorg_eclipse_swt_internal_win32_ACCEL_2I_2=
-
-OS_MoveMemory___3BLorg_eclipse_swt_internal_win32_BITMAPINFOHEADER_2I=
-OS_MoveMemory___3BLorg_eclipse_swt_internal_win32_BITMAPINFOHEADER_2I_0=cast=(PVOID),flags=no_in critical
-OS_MoveMemory___3BLorg_eclipse_swt_internal_win32_BITMAPINFOHEADER_2I_1=cast=(CONST VOID *),flags=no_out
-OS_MoveMemory___3BLorg_eclipse_swt_internal_win32_BITMAPINFOHEADER_2I_2=
-
-OS_MoveMemory___3CII=
-OS_MoveMemory___3CII_0=cast=(PVOID),flags=no_in critical
-OS_MoveMemory___3CII_1=cast=(CONST VOID *)
-OS_MoveMemory___3CII_2=
-
-OS_MoveMemory___3DII=
-OS_MoveMemory___3DII_0=cast=(PVOID),flags=no_in critical
-OS_MoveMemory___3DII_1=cast=(CONST VOID *)
-OS_MoveMemory___3DII_2=
-
-OS_MoveMemory___3FII=
-OS_MoveMemory___3FII_0=cast=(PVOID),flags=no_in critical
-OS_MoveMemory___3FII_1=cast=(CONST VOID *)
-OS_MoveMemory___3FII_2=
-
-OS_MoveMemory___3III=
-OS_MoveMemory___3III_0=cast=(PVOID),flags=no_in critical
-OS_MoveMemory___3III_1=cast=(CONST VOID *)
-OS_MoveMemory___3III_2=
-
-OS_MoveMemory___3SII=
-OS_MoveMemory___3SII_0=cast=(PVOID),flags=no_in critical
-OS_MoveMemory___3SII_1=cast=(CONST VOID *)
-OS_MoveMemory___3SII_2=
-
-OS_MoveToEx=
-OS_MoveToEx_0=cast=(HDC)
-OS_MoveToEx_1=
-OS_MoveToEx_2=
-OS_MoveToEx_3=cast=(LPPOINT)
-
-OS_MsgWaitForMultipleObjectsEx=
-OS_MsgWaitForMultipleObjectsEx_0=cast=(DWORD)
-OS_MsgWaitForMultipleObjectsEx_1=cast=(LPHANDLE)
-OS_MsgWaitForMultipleObjectsEx_2=cast=(DWORD)
-OS_MsgWaitForMultipleObjectsEx_3=cast=(DWORD)
-OS_MsgWaitForMultipleObjectsEx_4=cast=(DWORD)
-
-OS_MultiByteToWideChar__IIII_3CI=
-OS_MultiByteToWideChar__IIII_3CI_0=
-OS_MultiByteToWideChar__IIII_3CI_1=
-OS_MultiByteToWideChar__IIII_3CI_2=cast=(LPCSTR)
-OS_MultiByteToWideChar__IIII_3CI_3=
-OS_MultiByteToWideChar__IIII_3CI_4=cast=(LPWSTR),flags=no_in critical
-OS_MultiByteToWideChar__IIII_3CI_5=
-
-OS_MultiByteToWideChar__II_3BI_3CI=
-OS_MultiByteToWideChar__II_3BI_3CI_0=
-OS_MultiByteToWideChar__II_3BI_3CI_1=
-OS_MultiByteToWideChar__II_3BI_3CI_2=cast=(LPCSTR),flags=no_out critical
-OS_MultiByteToWideChar__II_3BI_3CI_3=
-OS_MultiByteToWideChar__II_3BI_3CI_4=cast=(LPWSTR),flags=no_in critical
-OS_MultiByteToWideChar__II_3BI_3CI_5=
-
-OS_NOTIFYICONDATA_sizeof=flags=no_gen
-
-OS_OffsetRgn=
-OS_OffsetRgn_0=cast=HRGN
-OS_OffsetRgn_1=
-OS_OffsetRgn_2=
-
-OS_OleInitialize=
-OS_OleInitialize_0=cast=(LPVOID)
-
-OS_OleUninitialize=
-
-OS_OpenClipboard=
-OS_OpenClipboard_0=cast=(HWND)
-
-OS_PatBlt=
-OS_PatBlt_0=cast=(HDC)
-OS_PatBlt_1=
-OS_PatBlt_2=
-OS_PatBlt_3=
-OS_PatBlt_4=
-OS_PatBlt_5=
-
-OS_PeekMessageA=
-OS_PeekMessageA_0=
-OS_PeekMessageA_1=cast=(HWND)
-OS_PeekMessageA_2=
-OS_PeekMessageA_3=
-OS_PeekMessageA_4=
-
-OS_PeekMessageW=
-OS_PeekMessageW_0=
-OS_PeekMessageW_1=cast=(HWND)
-OS_PeekMessageW_2=
-OS_PeekMessageW_3=
-OS_PeekMessageW_4=
-
-OS_Pie=
-OS_Pie_0=cast=(HDC)
-OS_Pie_1=
-OS_Pie_2=
-OS_Pie_3=
-OS_Pie_4=
-OS_Pie_5=
-OS_Pie_6=
-OS_Pie_7=
-OS_Pie_8=
-
-OS_Polygon=
-OS_Polygon_0=cast=(HDC)
-OS_Polygon_1=cast=(CONST POINT *),flags=no_out critical
-OS_Polygon_2=
-
-OS_Polyline=
-OS_Polyline_0=cast=(HDC)
-OS_Polyline_1=cast=(CONST POINT *),flags=no_out critical
-OS_Polyline_2=
-
-OS_PostMessageA=
-OS_PostMessageA_0=cast=(HWND)
-OS_PostMessageA_1=
-OS_PostMessageA_2=cast=(WPARAM)
-OS_PostMessageA_3=cast=(LPARAM)
-
-OS_PostMessageW=
-OS_PostMessageW_0=cast=(HWND)
-OS_PostMessageW_1=
-OS_PostMessageW_2=cast=(WPARAM)
-OS_PostMessageW_3=cast=(LPARAM)
-
-OS_PostThreadMessageA=
-OS_PostThreadMessageA_0=
-OS_PostThreadMessageA_1=
-OS_PostThreadMessageA_2=cast=(WPARAM)
-OS_PostThreadMessageA_3=cast=(LPARAM)
-
-OS_PostThreadMessageW=
-OS_PostThreadMessageW_0=
-OS_PostThreadMessageW_1=
-OS_PostThreadMessageW_2=cast=(WPARAM)
-OS_PostThreadMessageW_3=cast=(LPARAM)
-
-OS_PrintDlgA=
-OS_PrintDlgA_0=
-
-OS_PrintDlgW=
-OS_PrintDlgW_0=cast=(LPPRINTDLGW)
-
-OS_PtInRect=
-OS_PtInRect_0=flags=no_out
-OS_PtInRect_1=flags=no_out struct
-
-OS_PtInRegion=
-OS_PtInRegion_0=cast=(HRGN)
-OS_PtInRegion_1=
-OS_PtInRegion_2=
-
-OS_RealizePalette=
-OS_RealizePalette_0=cast=(HDC)
-
-OS_RectInRegion=
-OS_RectInRegion_0=cast=(HRGN)
-OS_RectInRegion_1=flags=no_out
-
-OS_Rectangle=
-OS_Rectangle_0=cast=(HDC)
-OS_Rectangle_1=
-OS_Rectangle_2=
-OS_Rectangle_3=
-OS_Rectangle_4=
-
-OS_RedrawWindow=
-OS_RedrawWindow_0=cast=(HWND)
-OS_RedrawWindow_1=
-OS_RedrawWindow_2=cast=(HRGN)
-OS_RedrawWindow_3=
-
-OS_RegCloseKey=
-OS_RegCloseKey_0=cast=(HKEY)
-
-OS_RegEnumKeyExA=
-OS_RegEnumKeyExA_0=cast=(HKEY)
-OS_RegEnumKeyExA_1=
-OS_RegEnumKeyExA_2=cast=(LPSTR)
-OS_RegEnumKeyExA_3=
-OS_RegEnumKeyExA_4=
-OS_RegEnumKeyExA_5=cast=(LPSTR)
-OS_RegEnumKeyExA_6=
-OS_RegEnumKeyExA_7=
-
-OS_RegEnumKeyExW=
-OS_RegEnumKeyExW_0=cast=(HKEY)
-OS_RegEnumKeyExW_1=
-OS_RegEnumKeyExW_2=cast=(LPWSTR)
-OS_RegEnumKeyExW_3=
-OS_RegEnumKeyExW_4=
-OS_RegEnumKeyExW_5=cast=(LPWSTR)
-OS_RegEnumKeyExW_6=
-OS_RegEnumKeyExW_7=
-
-OS_RegOpenKeyExA=
-OS_RegOpenKeyExA_0=cast=(HKEY)
-OS_RegOpenKeyExA_1=cast=(LPSTR)
-OS_RegOpenKeyExA_2=
-OS_RegOpenKeyExA_3=
-OS_RegOpenKeyExA_4=cast=(PHKEY)
-
-OS_RegOpenKeyExW=
-OS_RegOpenKeyExW_0=cast=(HKEY)
-OS_RegOpenKeyExW_1=cast=(LPWSTR)
-OS_RegOpenKeyExW_2=
-OS_RegOpenKeyExW_3=
-OS_RegOpenKeyExW_4=cast=(PHKEY)
-
-OS_RegQueryInfoKeyA=
-OS_RegQueryInfoKeyA_0=cast=(HKEY)
-OS_RegQueryInfoKeyA_1=cast=(LPSTR)
-OS_RegQueryInfoKeyA_2=
-OS_RegQueryInfoKeyA_3=cast=(LPDWORD)
-OS_RegQueryInfoKeyA_4=
-OS_RegQueryInfoKeyA_5=
-OS_RegQueryInfoKeyA_6=
-OS_RegQueryInfoKeyA_7=
-OS_RegQueryInfoKeyA_8=
-OS_RegQueryInfoKeyA_9=
-OS_RegQueryInfoKeyA_10=
-OS_RegQueryInfoKeyA_11=cast=(PFILETIME)
-
-OS_RegQueryInfoKeyW=
-OS_RegQueryInfoKeyW_0=cast=(HKEY)
-OS_RegQueryInfoKeyW_1=cast=(LPWSTR)
-OS_RegQueryInfoKeyW_2=
-OS_RegQueryInfoKeyW_3=cast=(LPDWORD)
-OS_RegQueryInfoKeyW_4=
-OS_RegQueryInfoKeyW_5=
-OS_RegQueryInfoKeyW_6=
-OS_RegQueryInfoKeyW_7=
-OS_RegQueryInfoKeyW_8=
-OS_RegQueryInfoKeyW_9=
-OS_RegQueryInfoKeyW_10=
-OS_RegQueryInfoKeyW_11=cast=(PFILETIME)
-
-OS_RegQueryValueExA=
-OS_RegQueryValueExA_0=cast=(HKEY)
-OS_RegQueryValueExA_1=cast=(LPSTR)
-OS_RegQueryValueExA_2=cast=(LPDWORD)
-OS_RegQueryValueExA_3=
-OS_RegQueryValueExA_4=cast=(LPBYTE)
-OS_RegQueryValueExA_5=
-
-OS_RegQueryValueExW=
-OS_RegQueryValueExW_0=cast=(HKEY)
-OS_RegQueryValueExW_1=cast=(LPWSTR)
-OS_RegQueryValueExW_2=cast=(LPDWORD)
-OS_RegQueryValueExW_3=
-OS_RegQueryValueExW_4=cast=(LPBYTE)
-OS_RegQueryValueExW_5=
-
-OS_RegisterClassA=
-OS_RegisterClassA_0=
-
-OS_RegisterClassW=
-OS_RegisterClassW_0=cast=(LPWNDCLASSW)
-
-OS_RegisterClipboardFormatA=
-OS_RegisterClipboardFormatA_0=cast=(LPTSTR)
-
-OS_RegisterClipboardFormatW=
-OS_RegisterClipboardFormatW_0=cast=(LPWSTR)
-
-OS_ReleaseCapture=
-
-OS_ReleaseDC=
-OS_ReleaseDC_0=cast=(HWND)
-OS_ReleaseDC_1=cast=(HDC)
-
-OS_RemoveMenu=
-OS_RemoveMenu_0=cast=(HMENU)
-OS_RemoveMenu_1=
-OS_RemoveMenu_2=
-
-OS_RestoreDC=
-OS_RestoreDC_0=cast=(HDC)
-OS_RestoreDC_1=cast=(int)
-
-OS_RoundRect=
-OS_RoundRect_0=cast=(HDC)
-OS_RoundRect_1=
-OS_RoundRect_2=
-OS_RoundRect_3=
-OS_RoundRect_4=
-OS_RoundRect_5=
-OS_RoundRect_6=
-
-OS_SHBrowseForFolderA=
-OS_SHBrowseForFolderA_0=
-
-OS_SHBrowseForFolderW=
-OS_SHBrowseForFolderW_0=cast=(LPBROWSEINFOW)
-
-OS_SHCreateMenuBar=
-OS_SHCreateMenuBar_0=cast=(PSHMENUBARINFO)
-
-OS_SHGetMalloc=
-OS_SHGetMalloc_0=cast=(LPMALLOC *)
-
-OS_SHGetPathFromIDListA=
-OS_SHGetPathFromIDListA_0=cast=(LPCITEMIDLIST)
-OS_SHGetPathFromIDListA_1=cast=(LPSTR)
-
-OS_SHGetPathFromIDListW=
-OS_SHGetPathFromIDListW_0=cast=(LPCITEMIDLIST)
-OS_SHGetPathFromIDListW_1=cast=(LPWSTR)
-
-OS_SHHandleWMSettingChange=
-OS_SHHandleWMSettingChange_0=cast=(HWND)
-OS_SHHandleWMSettingChange_1=
-OS_SHHandleWMSettingChange_2=
-OS_SHHandleWMSettingChange_3=
-
-OS_SHRecognizeGesture=
-OS_SHRecognizeGesture_0=
-
-OS_SHSendBackToFocusWindow=
-OS_SHSendBackToFocusWindow_0=
-OS_SHSendBackToFocusWindow_1=
-OS_SHSendBackToFocusWindow_2=
-
-OS_SHSetAppKeyWndAssoc=
-OS_SHSetAppKeyWndAssoc_0=cast=(BYTE)
-OS_SHSetAppKeyWndAssoc_1=cast=(HWND)
-
-OS_SHSipPreference=
-OS_SHSipPreference_0=cast=(HWND)
-OS_SHSipPreference_1=
-
-OS_SaveDC=
-OS_SaveDC_0=cast=(HDC)
-
-OS_ScreenToClient=
-OS_ScreenToClient_0=cast=(HWND)
-OS_ScreenToClient_1=
-
-OS_ScriptBreak=
-OS_ScriptBreak_0=cast=const WCHAR *
-OS_ScriptBreak_1=
-OS_ScriptBreak_2=cast=const SCRIPT_ANALYSIS *
-OS_ScriptBreak_3=cast=SCRIPT_LOGATTR *
-
-OS_ScriptCPtoX=
-OS_ScriptCPtoX_0=
-OS_ScriptCPtoX_1=
-OS_ScriptCPtoX_2=
-OS_ScriptCPtoX_3=
-OS_ScriptCPtoX_4=cast=const WORD *
-OS_ScriptCPtoX_5=cast=const SCRIPT_VISATTR *
-OS_ScriptCPtoX_6=cast=const int *
-OS_ScriptCPtoX_7=cast=const SCRIPT_ANALYSIS *
-OS_ScriptCPtoX_8=cast=int *
-
-OS_ScriptCacheGetHeight=
-OS_ScriptCacheGetHeight_0=cast=HDC
-OS_ScriptCacheGetHeight_1=cast=(SCRIPT_CACHE *)
-OS_ScriptCacheGetHeight_2=cast=long *
-
-OS_ScriptFreeCache=
-OS_ScriptFreeCache_0=cast=(SCRIPT_CACHE *)
-
-OS_ScriptGetLogicalWidths=
-OS_ScriptGetLogicalWidths_0=cast=const SCRIPT_ANALYSIS *
-OS_ScriptGetLogicalWidths_1=
-OS_ScriptGetLogicalWidths_2=
-OS_ScriptGetLogicalWidths_3=cast=const int *
-OS_ScriptGetLogicalWidths_4=cast=const WORD *
-OS_ScriptGetLogicalWidths_5=cast=(const SCRIPT_VISATTR *)
-OS_ScriptGetLogicalWidths_6=cast=(int *)
-
-OS_ScriptItemize=
-OS_ScriptItemize_0=cast=const WCHAR *
-OS_ScriptItemize_1=
-OS_ScriptItemize_2=
-OS_ScriptItemize_3=cast=const SCRIPT_CONTROL *
-OS_ScriptItemize_4=cast=const SCRIPT_STATE *
-OS_ScriptItemize_5=cast=SCRIPT_ITEM *
-OS_ScriptItemize_6=cast=int *
-
-OS_ScriptLayout=
-OS_ScriptLayout_0=
-OS_ScriptLayout_1=cast=const BYTE *
-OS_ScriptLayout_2=cast=int *
-OS_ScriptLayout_3=cast=int *
-
-OS_ScriptPlace=
-OS_ScriptPlace_0=cast=HDC
-OS_ScriptPlace_1=cast=SCRIPT_CACHE *
-OS_ScriptPlace_2=cast=const WORD *
-OS_ScriptPlace_3=
-OS_ScriptPlace_4=cast=const SCRIPT_VISATTR *
-OS_ScriptPlace_5=cast=SCRIPT_ANALYSIS *
-OS_ScriptPlace_6=cast=int *
-OS_ScriptPlace_7=cast=GOFFSET *
-OS_ScriptPlace_8=cast=ABC *
-
-OS_ScriptShape=
-OS_ScriptShape_0=cast=HDC
-OS_ScriptShape_1=cast=SCRIPT_CACHE *
-OS_ScriptShape_2=cast=const WCHAR *
-OS_ScriptShape_3=
-OS_ScriptShape_4=
-OS_ScriptShape_5=cast=(SCRIPT_ANALYSIS *)
-OS_ScriptShape_6=cast=WORD *
-OS_ScriptShape_7=cast=WORD *
-OS_ScriptShape_8=cast=SCRIPT_VISATTR *
-OS_ScriptShape_9=cast=int *
-
-OS_ScriptTextOut=
-OS_ScriptTextOut_0=cast=const HDC
-OS_ScriptTextOut_1=cast=SCRIPT_CACHE *
-OS_ScriptTextOut_2=
-OS_ScriptTextOut_3=
-OS_ScriptTextOut_4=
-OS_ScriptTextOut_5=cast=const RECT *
-OS_ScriptTextOut_6=cast=const SCRIPT_ANALYSIS *
-OS_ScriptTextOut_7=cast=const WCHAR *
-OS_ScriptTextOut_8=
-OS_ScriptTextOut_9=cast=const WORD *
-OS_ScriptTextOut_10=
-OS_ScriptTextOut_11=cast=const int *
-OS_ScriptTextOut_12=cast=const int *
-OS_ScriptTextOut_13=cast=const GOFFSET *
-
-OS_ScriptXtoCP=
-OS_ScriptXtoCP_0=
-OS_ScriptXtoCP_1=
-OS_ScriptXtoCP_2=
-OS_ScriptXtoCP_3=cast=(const WORD *)
-OS_ScriptXtoCP_4=cast=const SCRIPT_VISATTR *
-OS_ScriptXtoCP_5=cast=const int *
-OS_ScriptXtoCP_6=cast=const SCRIPT_ANALYSIS *
-OS_ScriptXtoCP_7=cast=int *
-OS_ScriptXtoCP_8=cast=int *
-
-OS_ScrollWindowEx=
-OS_ScrollWindowEx_0=cast=(HWND)
-OS_ScrollWindowEx_1=
-OS_ScrollWindowEx_2=
-OS_ScrollWindowEx_3=
-OS_ScrollWindowEx_4=
-OS_ScrollWindowEx_5=cast=(HRGN)
-OS_ScrollWindowEx_6=
-OS_ScrollWindowEx_7=
-
-OS_SelectClipRgn=
-OS_SelectClipRgn_0=cast=(HDC)
-OS_SelectClipRgn_1=cast=(HRGN)
-
-OS_SelectObject=
-OS_SelectObject_0=cast=(HDC)
-OS_SelectObject_1=cast=(HGDIOBJ)
-
-OS_SelectPalette=
-OS_SelectPalette_0=cast=(HDC)
-OS_SelectPalette_1=cast=(HPALETTE)
-OS_SelectPalette_2=
-
-OS_SendInput=
-OS_SendInput_0=
-OS_SendInput_1=cast=LPINPUT
-OS_SendInput_2=
-
-OS_SendMessageA__IIII=
-OS_SendMessageA__IIII_0=cast=(HWND)
-OS_SendMessageA__IIII_1=
-OS_SendMessageA__IIII_2=cast=(WPARAM)
-OS_SendMessageA__IIII_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVCOLUMN_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVCOLUMN_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVCOLUMN_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVCOLUMN_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVCOLUMN_2_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVHITTESTINFO_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVHITTESTINFO_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVHITTESTINFO_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVHITTESTINFO_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVHITTESTINFO_2_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVITEM_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVITEM_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVITEM_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVITEM_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_LVITEM_2_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_REBARBANDINFO_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_REBARBANDINFO_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_REBARBANDINFO_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_REBARBANDINFO_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_REBARBANDINFO_2_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_RECT_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_RECT_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_RECT_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_RECT_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_RECT_2_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TBBUTTONINFO_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TBBUTTONINFO_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TBBUTTONINFO_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TBBUTTONINFO_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TBBUTTONINFO_2_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TBBUTTON_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TBBUTTON_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TBBUTTON_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TBBUTTON_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TBBUTTON_2_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TCITEM_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TCITEM_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TCITEM_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TCITEM_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TCITEM_2_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TOOLINFO_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TOOLINFO_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TOOLINFO_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TOOLINFO_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TOOLINFO_2_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVHITTESTINFO_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVHITTESTINFO_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVHITTESTINFO_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVHITTESTINFO_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVHITTESTINFO_2_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVINSERTSTRUCT_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVINSERTSTRUCT_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVINSERTSTRUCT_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVINSERTSTRUCT_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVINSERTSTRUCT_2_3=cast=(LPARAM)
-
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVITEM_2=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVITEM_2_0=cast=(HWND)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVITEM_2_1=
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVITEM_2_2=cast=(WPARAM)
-OS_SendMessageA__IIILorg_eclipse_swt_internal_win32_TVITEM_2_3=cast=(LPARAM)
-
-OS_SendMessageA__III_3B=
-OS_SendMessageA__III_3B_0=cast=(HWND)
-OS_SendMessageA__III_3B_1=
-OS_SendMessageA__III_3B_2=cast=(WPARAM)
-OS_SendMessageA__III_3B_3=cast=(LPARAM)
-
-OS_SendMessageA__III_3I=
-OS_SendMessageA__III_3I_0=cast=(HWND)
-OS_SendMessageA__III_3I_1=
-OS_SendMessageA__III_3I_2=cast=(WPARAM)
-OS_SendMessageA__III_3I_3=cast=(LPARAM)
-
-OS_SendMessageA__III_3S=
-OS_SendMessageA__III_3S_0=cast=(HWND)
-OS_SendMessageA__III_3S_1=
-OS_SendMessageA__III_3S_2=cast=(WPARAM)
-OS_SendMessageA__III_3S_3=cast=(LPARAM)
-
-OS_SendMessageA__II_3II=
-OS_SendMessageA__II_3II_0=cast=(HWND)
-OS_SendMessageA__II_3II_1=
-OS_SendMessageA__II_3II_2=cast=(WPARAM)
-OS_SendMessageA__II_3II_3=cast=(LPARAM)
-
-OS_SendMessageA__II_3I_3I=
-OS_SendMessageA__II_3I_3I_0=cast=(HWND)
-OS_SendMessageA__II_3I_3I_1=
-OS_SendMessageA__II_3I_3I_2=cast=(WPARAM)
-OS_SendMessageA__II_3I_3I_3=cast=(LPARAM)
-
-OS_SendMessageW__IIII=
-OS_SendMessageW__IIII_0=cast=(HWND)
-OS_SendMessageW__IIII_1=
-OS_SendMessageW__IIII_2=cast=(WPARAM)
-OS_SendMessageW__IIII_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVCOLUMN_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVCOLUMN_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVCOLUMN_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVCOLUMN_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVCOLUMN_2_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVHITTESTINFO_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVHITTESTINFO_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVHITTESTINFO_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVHITTESTINFO_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVHITTESTINFO_2_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVITEM_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVITEM_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVITEM_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVITEM_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_LVITEM_2_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_REBARBANDINFO_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_REBARBANDINFO_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_REBARBANDINFO_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_REBARBANDINFO_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_REBARBANDINFO_2_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_RECT_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_RECT_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_RECT_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_RECT_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_RECT_2_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TBBUTTONINFO_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TBBUTTONINFO_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TBBUTTONINFO_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TBBUTTONINFO_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TBBUTTONINFO_2_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TBBUTTON_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TBBUTTON_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TBBUTTON_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TBBUTTON_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TBBUTTON_2_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TCITEM_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TCITEM_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TCITEM_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TCITEM_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TCITEM_2_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TOOLINFO_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TOOLINFO_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TOOLINFO_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TOOLINFO_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TOOLINFO_2_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVHITTESTINFO_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVHITTESTINFO_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVHITTESTINFO_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVHITTESTINFO_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVHITTESTINFO_2_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVINSERTSTRUCT_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVINSERTSTRUCT_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVINSERTSTRUCT_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVINSERTSTRUCT_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVINSERTSTRUCT_2_3=cast=(LPARAM)
-
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVITEM_2=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVITEM_2_0=cast=(HWND)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVITEM_2_1=
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVITEM_2_2=cast=(WPARAM)
-OS_SendMessageW__IIILorg_eclipse_swt_internal_win32_TVITEM_2_3=cast=(LPARAM)
-
-OS_SendMessageW__III_3C=
-OS_SendMessageW__III_3C_0=cast=(HWND)
-OS_SendMessageW__III_3C_1=
-OS_SendMessageW__III_3C_2=cast=(WPARAM)
-OS_SendMessageW__III_3C_3=cast=(LPARAM)
-
-OS_SendMessageW__III_3I=
-OS_SendMessageW__III_3I_0=cast=(HWND)
-OS_SendMessageW__III_3I_1=
-OS_SendMessageW__III_3I_2=cast=(WPARAM)
-OS_SendMessageW__III_3I_3=cast=(LPARAM)
-
-OS_SendMessageW__III_3S=
-OS_SendMessageW__III_3S_0=cast=(HWND)
-OS_SendMessageW__III_3S_1=
-OS_SendMessageW__III_3S_2=cast=(WPARAM)
-OS_SendMessageW__III_3S_3=cast=(LPARAM)
-
-OS_SendMessageW__II_3II=
-OS_SendMessageW__II_3II_0=cast=(HWND)
-OS_SendMessageW__II_3II_1=
-OS_SendMessageW__II_3II_2=cast=(WPARAM)
-OS_SendMessageW__II_3II_3=cast=(LPARAM)
-
-OS_SendMessageW__II_3I_3I=flags=no_gen
-OS_SendMessageW__II_3I_3I_0=cast=(HWND)
-OS_SendMessageW__II_3I_3I_1=
-OS_SendMessageW__II_3I_3I_2=cast=(WPARAM)
-OS_SendMessageW__II_3I_3I_3=cast=(LPARAM)
-
-OS_SetActiveWindow=
-OS_SetActiveWindow_0=cast=(HWND)
-
-OS_SetBkColor=
-OS_SetBkColor_0=cast=(HDC)
-OS_SetBkColor_1=cast=(COLORREF)
-
-OS_SetBkMode=
-OS_SetBkMode_0=cast=(HDC)
-OS_SetBkMode_1=
-
-OS_SetCapture=
-OS_SetCapture_0=cast=(HWND)
-
-OS_SetCaretPos=
-OS_SetCaretPos_0=
-OS_SetCaretPos_1=
-
-OS_SetClipboardData=
-OS_SetClipboardData_0=
-OS_SetClipboardData_1=cast=(HANDLE)
-
-OS_SetCursor=
-OS_SetCursor_0=cast=(HCURSOR)
-
-OS_SetCursorPos=
-OS_SetCursorPos_0=
-OS_SetCursorPos_1=
-
-OS_SetDIBColorTable=
-OS_SetDIBColorTable_0=cast=(HDC)
-OS_SetDIBColorTable_1=
-OS_SetDIBColorTable_2=
-OS_SetDIBColorTable_3=cast=(RGBQUAD *),flags=no_out critical
-
-OS_SetErrorMode=
-OS_SetErrorMode_0=
-
-OS_SetFocus=
-OS_SetFocus_0=cast=(HWND)
-
-OS_SetForegroundWindow=
-OS_SetForegroundWindow_0=cast=(HWND)
-
-OS_SetLayout=flags=dynamic
-OS_SetLayout_0=cast=(HDC)
-OS_SetLayout_1=cast=(DWORD)
-
-OS_SetMenu=
-OS_SetMenu_0=cast=(HWND)
-OS_SetMenu_1=cast=(HMENU)
-
-OS_SetMenuDefaultItem=
-OS_SetMenuDefaultItem_0=cast=(HMENU)
-OS_SetMenuDefaultItem_1=
-OS_SetMenuDefaultItem_2=
-
-OS_SetMenuInfo=flags=dynamic
-OS_SetMenuInfo_0=cast=(HMENU)
-OS_SetMenuInfo_1=
-
-OS_SetMenuItemInfoA=
-OS_SetMenuItemInfoA_0=cast=(HMENU)
-OS_SetMenuItemInfoA_1=
-OS_SetMenuItemInfoA_2=
-OS_SetMenuItemInfoA_3=
-
-OS_SetMenuItemInfoW=
-OS_SetMenuItemInfoW_0=cast=(HMENU)
-OS_SetMenuItemInfoW_1=
-OS_SetMenuItemInfoW_2=
-OS_SetMenuItemInfoW_3=cast=(LPMENUITEMINFOW)
-
-OS_SetPaletteEntries=
-OS_SetPaletteEntries_0=cast=(HPALETTE)
-OS_SetPaletteEntries_1=
-OS_SetPaletteEntries_2=
-OS_SetPaletteEntries_3=cast=(PALETTEENTRY *),flags=no_out critical
-
-OS_SetParent=
-OS_SetParent_0=cast=(HWND)
-OS_SetParent_1=cast=(HWND)
-
-OS_SetPixel=
-OS_SetPixel_0=cast=(HDC)
-OS_SetPixel_1=
-OS_SetPixel_2=
-OS_SetPixel_3=
-
-OS_SetROP2=
-OS_SetROP2_0=cast=(HDC)
-OS_SetROP2_1=
-
-OS_SetRect=
-OS_SetRect_0=flags=no_in
-OS_SetRect_1=
-OS_SetRect_2=
-OS_SetRect_3=
-OS_SetRect_4=
-
-OS_SetRectRgn=
-OS_SetRectRgn_0=cast=(HRGN)
-OS_SetRectRgn_1=
-OS_SetRectRgn_2=
-OS_SetRectRgn_3=
-OS_SetRectRgn_4=
-
-OS_SetScrollInfo=
-OS_SetScrollInfo_0=cast=(HWND)
-OS_SetScrollInfo_1=
-OS_SetScrollInfo_2=
-OS_SetScrollInfo_3=
-
-OS_SetStretchBltMode=
-OS_SetStretchBltMode_0=cast=(HDC)
-OS_SetStretchBltMode_1=
-
-OS_SetTextAlign=
-OS_SetTextAlign_0=cast=(HDC)
-OS_SetTextAlign_1=
-
-OS_SetTextColor=
-OS_SetTextColor_0=cast=(HDC)
-OS_SetTextColor_1=cast=(COLORREF)
-
-OS_SetTimer=
-OS_SetTimer_0=cast=(HWND)
-OS_SetTimer_1=
-OS_SetTimer_2=
-OS_SetTimer_3=cast=(TIMERPROC)
-
-OS_SetWindowLongA=
-OS_SetWindowLongA_0=cast=(HWND)
-OS_SetWindowLongA_1=
-OS_SetWindowLongA_2=
-
-OS_SetWindowLongW=
-OS_SetWindowLongW_0=cast=(HWND)
-OS_SetWindowLongW_1=
-OS_SetWindowLongW_2=
-
-OS_SetWindowPlacement=
-OS_SetWindowPlacement_0=cast=(HWND)
-OS_SetWindowPlacement_1=
-
-OS_SetWindowPos=
-OS_SetWindowPos_0=cast=(HWND)
-OS_SetWindowPos_1=cast=(HWND)
-OS_SetWindowPos_2=
-OS_SetWindowPos_3=
-OS_SetWindowPos_4=
-OS_SetWindowPos_5=
-OS_SetWindowPos_6=
-
-OS_SetWindowRgn=
-OS_SetWindowRgn_0=cast=HWND
-OS_SetWindowRgn_1=cast=HRGN
-OS_SetWindowRgn_2=
-
-OS_SetWindowTextA=
-OS_SetWindowTextA_0=cast=(HWND)
-OS_SetWindowTextA_1=cast=(LPSTR)
-
-OS_SetWindowTextW=
-OS_SetWindowTextW_0=cast=(HWND)
-OS_SetWindowTextW_1=cast=(LPWSTR)
-
-OS_SetWindowsHookExA=
-OS_SetWindowsHookExA_0=
-OS_SetWindowsHookExA_1=cast=(HOOKPROC)
-OS_SetWindowsHookExA_2=cast=(HINSTANCE)
-OS_SetWindowsHookExA_3=
-
-OS_SetWindowsHookExW=
-OS_SetWindowsHookExW_0=
-OS_SetWindowsHookExW_1=cast=(HOOKPROC)
-OS_SetWindowsHookExW_2=cast=(HINSTANCE)
-OS_SetWindowsHookExW_3=
-
-OS_ShellExecuteExA=
-OS_ShellExecuteExA_0=
-
-OS_ShellExecuteExW=
-OS_ShellExecuteExW_0=cast=(LPSHELLEXECUTEINFOW)
-
-OS_Shell_NotifyIconA=
-OS_Shell_NotifyIconA_0=
-OS_Shell_NotifyIconA_1=
-
-OS_Shell_NotifyIconW=
-OS_Shell_NotifyIconW_0=
-OS_Shell_NotifyIconW_1=
-
-OS_ShowCaret=
-OS_ShowCaret_0=cast=(HWND)
-
-OS_ShowOwnedPopups=
-OS_ShowOwnedPopups_0=cast=(HWND)
-OS_ShowOwnedPopups_1=
-
-OS_ShowScrollBar=
-OS_ShowScrollBar_0=cast=(HWND)
-OS_ShowScrollBar_1=
-OS_ShowScrollBar_2=
-
-OS_ShowWindow=
-OS_ShowWindow_0=cast=(HWND)
-OS_ShowWindow_1=
-
-OS_SipGetInfo=
-OS_SipGetInfo_0=
-
-OS_StartDocA=
-OS_StartDocA_0=cast=(HDC)
-OS_StartDocA_1=
-
-OS_StartDocW=
-OS_StartDocW_0=cast=(HDC)
-OS_StartDocW_1=cast=(LPDOCINFOW)
-
-OS_StartPage=
-OS_StartPage_0=cast=(HDC)
-
-OS_StretchBlt=
-OS_StretchBlt_0=cast=(HDC)
-OS_StretchBlt_1=
-OS_StretchBlt_2=
-OS_StretchBlt_3=
-OS_StretchBlt_4=
-OS_StretchBlt_5=cast=(HDC)
-OS_StretchBlt_6=
-OS_StretchBlt_7=
-OS_StretchBlt_8=
-OS_StretchBlt_9=
-OS_StretchBlt_10=
-
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_HIGHCONTRAST_2I=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_HIGHCONTRAST_2I_0=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_HIGHCONTRAST_2I_1=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_HIGHCONTRAST_2I_2=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_HIGHCONTRAST_2I_3=
-
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_NONCLIENTMETRICSA_2I=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_NONCLIENTMETRICSA_2I_0=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_NONCLIENTMETRICSA_2I_1=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_NONCLIENTMETRICSA_2I_2=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_NONCLIENTMETRICSA_2I_3=
-
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_RECT_2I=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_RECT_2I_0=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_RECT_2I_1=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_RECT_2I_2=
-OS_SystemParametersInfoA__IILorg_eclipse_swt_internal_win32_RECT_2I_3=
-
-OS_SystemParametersInfoA__II_3II=
-OS_SystemParametersInfoA__II_3II_0=
-OS_SystemParametersInfoA__II_3II_1=
-OS_SystemParametersInfoA__II_3II_2=
-OS_SystemParametersInfoA__II_3II_3=
-
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_HIGHCONTRAST_2I=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_HIGHCONTRAST_2I_0=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_HIGHCONTRAST_2I_1=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_HIGHCONTRAST_2I_2=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_HIGHCONTRAST_2I_3=
-
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_NONCLIENTMETRICSW_2I=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_NONCLIENTMETRICSW_2I_0=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_NONCLIENTMETRICSW_2I_1=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_NONCLIENTMETRICSW_2I_2=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_NONCLIENTMETRICSW_2I_3=
-
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_RECT_2I=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_RECT_2I_0=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_RECT_2I_1=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_RECT_2I_2=
-OS_SystemParametersInfoW__IILorg_eclipse_swt_internal_win32_RECT_2I_3=
-
-OS_SystemParametersInfoW__II_3II=
-OS_SystemParametersInfoW__II_3II_0=
-OS_SystemParametersInfoW__II_3II_1=
-OS_SystemParametersInfoW__II_3II_2=
-OS_SystemParametersInfoW__II_3II_3=
-
-OS_ToAscii=
-OS_ToAscii_0=
-OS_ToAscii_1=
-OS_ToAscii_2=cast=(PBYTE)
-OS_ToAscii_3=cast=(LPWORD)
-OS_ToAscii_4=
-
-OS_ToUnicode=
-OS_ToUnicode_0=
-OS_ToUnicode_1=
-OS_ToUnicode_2=cast=(PBYTE)
-OS_ToUnicode_3=cast=(LPWSTR)
-OS_ToUnicode_4=
-OS_ToUnicode_5=
-
-OS_TrackMouseEvent=
-OS_TrackMouseEvent_0=
-
-OS_TrackPopupMenu=
-OS_TrackPopupMenu_0=cast=(HMENU)
-OS_TrackPopupMenu_1=
-OS_TrackPopupMenu_2=
-OS_TrackPopupMenu_3=
-OS_TrackPopupMenu_4=
-OS_TrackPopupMenu_5=cast=(HWND)
-OS_TrackPopupMenu_6=
-
-OS_TranslateAcceleratorA=
-OS_TranslateAcceleratorA_0=cast=(HWND)
-OS_TranslateAcceleratorA_1=cast=(HACCEL)
-OS_TranslateAcceleratorA_2=
-
-OS_TranslateAcceleratorW=
-OS_TranslateAcceleratorW_0=cast=(HWND)
-OS_TranslateAcceleratorW_1=cast=(HACCEL)
-OS_TranslateAcceleratorW_2=
-
-OS_TranslateCharsetInfo=
-OS_TranslateCharsetInfo_0=cast=(DWORD *)
-OS_TranslateCharsetInfo_1=cast=(LPCHARSETINFO)
-OS_TranslateCharsetInfo_2=
-
-OS_TranslateMDISysAccel=
-OS_TranslateMDISysAccel_0=cast=(HWND)
-OS_TranslateMDISysAccel_1=cast=(LPMSG)
-
-OS_TranslateMessage=
-OS_TranslateMessage_0=
-
-OS_TransparentImage=
-OS_TransparentImage_0=cast=(HDC)
-OS_TransparentImage_1=
-OS_TransparentImage_2=
-OS_TransparentImage_3=
-OS_TransparentImage_4=
-OS_TransparentImage_5=cast=(HANDLE)
-OS_TransparentImage_6=
-OS_TransparentImage_7=
-OS_TransparentImage_8=
-OS_TransparentImage_9=
-OS_TransparentImage_10=cast=(COLORREF)
-
-OS_UnhookWindowsHookEx=
-OS_UnhookWindowsHookEx_0=cast=(HHOOK)
-
-OS_UnregisterClassA=
-OS_UnregisterClassA_0=cast=(LPSTR)
-OS_UnregisterClassA_1=cast=(HINSTANCE)
-
-OS_UnregisterClassW=
-OS_UnregisterClassW_0=cast=(LPWSTR)
-OS_UnregisterClassW_1=cast=(HINSTANCE)
-
-OS_UpdateWindow=
-OS_UpdateWindow_0=cast=(HWND)
-
-OS_ValidateRect=
-OS_ValidateRect_0=cast=(HWND)
-OS_ValidateRect_1=
-
-OS_VkKeyScanA=
-OS_VkKeyScanA_0=cast=(TCHAR)
-
-OS_VkKeyScanW=
-OS_VkKeyScanW_0=cast=(WCHAR)
-
-OS_VtblCall=
-OS_VtblCall_0=
-OS_VtblCall_1=
-OS_VtblCall_2=
-
-OS_WaitMessage=
-
-OS_WideCharToMultiByte__II_3CIII_3B_3Z=
-OS_WideCharToMultiByte__II_3CIII_3B_3Z_0=
-OS_WideCharToMultiByte__II_3CIII_3B_3Z_1=
-OS_WideCharToMultiByte__II_3CIII_3B_3Z_2=cast=(LPCWSTR),flags=no_out critical
-OS_WideCharToMultiByte__II_3CIII_3B_3Z_3=
-OS_WideCharToMultiByte__II_3CIII_3B_3Z_4=cast=(LPSTR)
-OS_WideCharToMultiByte__II_3CIII_3B_3Z_5=
-OS_WideCharToMultiByte__II_3CIII_3B_3Z_6=cast=(LPCSTR)
-OS_WideCharToMultiByte__II_3CIII_3B_3Z_7=cast=(LPBOOL)
-
-OS_WideCharToMultiByte__II_3CI_3BI_3B_3Z=
-OS_WideCharToMultiByte__II_3CI_3BI_3B_3Z_0=
-OS_WideCharToMultiByte__II_3CI_3BI_3B_3Z_1=
-OS_WideCharToMultiByte__II_3CI_3BI_3B_3Z_2=cast=(LPCWSTR),flags=no_out critical
-OS_WideCharToMultiByte__II_3CI_3BI_3B_3Z_3=
-OS_WideCharToMultiByte__II_3CI_3BI_3B_3Z_4=cast=(LPSTR),flags=no_in critical
-OS_WideCharToMultiByte__II_3CI_3BI_3B_3Z_5=
-OS_WideCharToMultiByte__II_3CI_3BI_3B_3Z_6=cast=(LPCSTR)
-OS_WideCharToMultiByte__II_3CI_3BI_3B_3Z_7=cast=(LPBOOL)
-
-OS_WindowFromDC=
-OS_WindowFromDC_0=cast=(HDC)
-
-OS_WindowFromPoint=
-OS_WindowFromPoint_0=flags=struct
-
-
-org_eclipse_swt_internal_win32_OSVERSIONINFO=
-OSVERSIONINFO_dwOSVersionInfoSize=
-OSVERSIONINFO_dwMajorVersion=
-OSVERSIONINFO_dwMinorVersion=
-OSVERSIONINFO_dwBuildNumber=
-OSVERSIONINFO_dwPlatformId=
-
-org_eclipse_swt_internal_win32_OSVERSIONINFOA=
-OSVERSIONINFOA_szCSDVersion=
-
-org_eclipse_swt_internal_win32_OSVERSIONINFOW=
-OSVERSIONINFOW_szCSDVersion=
-
-org_eclipse_swt_internal_win32_PAINTSTRUCT=
-PAINTSTRUCT_hdc=cast=(HDC)
-PAINTSTRUCT_fErase=
-PAINTSTRUCT_left=accessor=rcPaint.left
-PAINTSTRUCT_top=accessor=rcPaint.top
-PAINTSTRUCT_right=accessor=rcPaint.right
-PAINTSTRUCT_bottom=accessor=rcPaint.bottom
-PAINTSTRUCT_fRestore=
-PAINTSTRUCT_fIncUpdate=
-PAINTSTRUCT_rgbReserved=
-
-org_eclipse_swt_internal_win32_POINT=
-POINT_x=
-POINT_y=
-
-org_eclipse_swt_internal_win32_PRINTDLG=
-PRINTDLG_lStructSize=
-PRINTDLG_hwndOwner=cast=(HWND)
-PRINTDLG_hDevMode=cast=(HGLOBAL)
-PRINTDLG_hDevNames=cast=(HGLOBAL)
-PRINTDLG_hDC=cast=(HDC)
-PRINTDLG_Flags=
-PRINTDLG_nFromPage=
-PRINTDLG_nToPage=
-PRINTDLG_nMinPage=
-PRINTDLG_nMaxPage=
-PRINTDLG_nCopies=
-PRINTDLG_hInstance=cast=(HINSTANCE)
-PRINTDLG_lCustData=
-PRINTDLG_lpfnPrintHook=cast=(LPPRINTHOOKPROC)
-PRINTDLG_lpfnSetupHook=cast=(LPPRINTHOOKPROC)
-PRINTDLG_lpPrintTemplateName=cast=(LPCTSTR)
-PRINTDLG_lpSetupTemplateName=cast=(LPCTSTR)
-PRINTDLG_hPrintTemplate=cast=(HGLOBAL)
-PRINTDLG_hSetupTemplate=cast=(HGLOBAL)
-
-org_eclipse_swt_internal_win32_REBARBANDINFO=
-REBARBANDINFO_cbSize=
-REBARBANDINFO_fMask=
-REBARBANDINFO_fStyle=
-REBARBANDINFO_clrFore=
-REBARBANDINFO_clrBack=
-REBARBANDINFO_lpText=cast=(LPTSTR)
-REBARBANDINFO_cch=
-REBARBANDINFO_iImage=
-REBARBANDINFO_hwndChild=cast=(HWND)
-REBARBANDINFO_cxMinChild=
-REBARBANDINFO_cyMinChild=
-REBARBANDINFO_cx=
-REBARBANDINFO_hbmBack=cast=(HBITMAP)
-REBARBANDINFO_wID=
-REBARBANDINFO_cyChild=
-REBARBANDINFO_cyMaxChild=
-REBARBANDINFO_cyIntegral=
-REBARBANDINFO_cxIdeal=
-REBARBANDINFO_lParam=
-REBARBANDINFO_cxHeader=flags=no_wince
-
-org_eclipse_swt_internal_win32_RECT=
-RECT_left=
-RECT_top=
-RECT_right=
-RECT_bottom=
-
-org_eclipse_swt_internal_win32_SCRIPT_1ANALYSIS=
-SCRIPT_ANALYSIS_eScript=
-SCRIPT_ANALYSIS_fRTL=
-SCRIPT_ANALYSIS_fLayoutRTL=
-SCRIPT_ANALYSIS_fLinkBefore=
-SCRIPT_ANALYSIS_fLinkAfter=
-SCRIPT_ANALYSIS_fLogicalOrder=
-SCRIPT_ANALYSIS_fNoGlyphIndex=
-SCRIPT_ANALYSIS_s=
-
-org_eclipse_swt_internal_win32_SCRIPT_1CONTROL=
-SCRIPT_CONTROL_uDefaultLanguage=
-SCRIPT_CONTROL_fContextDigits=
-SCRIPT_CONTROL_fInvertPreBoundDir=
-SCRIPT_CONTROL_fInvertPostBoundDir=
-SCRIPT_CONTROL_fLinkStringBefore=
-SCRIPT_CONTROL_fLinkStringAfter=
-SCRIPT_CONTROL_fNeutralOverride=
-SCRIPT_CONTROL_fNumericOverride=
-SCRIPT_CONTROL_fLegacyBidiClass=
-SCRIPT_CONTROL_fReserved=
-
-org_eclipse_swt_internal_win32_SCRIPT_1ITEM=
-SCRIPT_ITEM_iCharPos=
-SCRIPT_ITEM_a=
-
-org_eclipse_swt_internal_win32_SCRIPT_1LOGATTR=
-SCRIPT_LOGATTR_fSoftBreak=
-SCRIPT_LOGATTR_fWhiteSpace=
-SCRIPT_LOGATTR_fCharStop=
-SCRIPT_LOGATTR_fWordStop=
-SCRIPT_LOGATTR_fInvalid=
-SCRIPT_LOGATTR_fReserved=
-
-org_eclipse_swt_internal_win32_SCRIPT_1STATE=
-SCRIPT_STATE_uBidiLevel=
-SCRIPT_STATE_fOverrideDirection=
-SCRIPT_STATE_fInhibitSymSwap=
-SCRIPT_STATE_fCharShape=
-SCRIPT_STATE_fDigitSubstitute=
-SCRIPT_STATE_fInhibitLigate=
-SCRIPT_STATE_fDisplayZWG=
-SCRIPT_STATE_fArabicNumContext=
-SCRIPT_STATE_fGcpClusters=
-SCRIPT_STATE_fReserved=
-SCRIPT_STATE_fEngineReserved=
-
-org_eclipse_swt_internal_win32_SCROLLINFO=
-SCROLLINFO_cbSize=
-SCROLLINFO_fMask=
-SCROLLINFO_nMin=
-SCROLLINFO_nMax=
-SCROLLINFO_nPage=
-SCROLLINFO_nPos=
-SCROLLINFO_nTrackPos=
-
-org_eclipse_swt_internal_win32_SHACTIVATEINFO=
-SHACTIVATEINFO_cbSize=
-SHACTIVATEINFO_hwndLastFocus=cast=(HWND)
-SHACTIVATEINFO_fSipUp=
-SHACTIVATEINFO_fSipOnDeactivation=
-SHACTIVATEINFO_fActive=
-SHACTIVATEINFO_fReserved=
-
-org_eclipse_swt_internal_win32_SHELLEXECUTEINFO=
-SHELLEXECUTEINFO_cbSize=
-SHELLEXECUTEINFO_fMask=
-SHELLEXECUTEINFO_hwnd=cast=(HWND)
-SHELLEXECUTEINFO_lpVerb=cast=(LPCTSTR)
-SHELLEXECUTEINFO_lpFile=cast=(LPCTSTR)
-SHELLEXECUTEINFO_lpParameters=cast=(LPCTSTR)
-SHELLEXECUTEINFO_lpDirectory=cast=(LPCTSTR)
-SHELLEXECUTEINFO_nShow=
-SHELLEXECUTEINFO_hInstApp=cast=(HINSTANCE)
-SHELLEXECUTEINFO_lpIDList=cast=(LPVOID)
-SHELLEXECUTEINFO_lpClass=cast=(LPCTSTR)
-SHELLEXECUTEINFO_hkeyClass=cast=(HKEY)
-SHELLEXECUTEINFO_dwHotKey=
-SHELLEXECUTEINFO_hIcon=cast=(HANDLE)
-SHELLEXECUTEINFO_hProcess=cast=(HANDLE)
-
-org_eclipse_swt_internal_win32_SHMENUBARINFO=
-SHMENUBARINFO_cbSize=
-SHMENUBARINFO_hwndParent=cast=(HWND)
-SHMENUBARINFO_dwFlags=
-SHMENUBARINFO_nToolBarId=
-SHMENUBARINFO_hInstRes=cast=(HINSTANCE)
-SHMENUBARINFO_nBmpId=
-SHMENUBARINFO_cBmpImages=
-SHMENUBARINFO_hwndMB=cast=(HWND)
-
-org_eclipse_swt_internal_win32_SHRGINFO=
-SHRGINFO_cbSize=
-SHRGINFO_hwndClient=cast=(HWND)
-SHRGINFO_ptDown_x=accessor=ptDown.x
-SHRGINFO_ptDown_y=accessor=ptDown.y
-SHRGINFO_dwFlags=
-
-org_eclipse_swt_internal_win32_SIPINFO=
-SIPINFO_cbSize=
-SIPINFO_fdwFlags=
-SIPINFO_rcVisibleDesktop_left=accessor=rcVisibleDesktop.left
-SIPINFO_rcVisibleDesktop_top=accessor=rcVisibleDesktop.top
-SIPINFO_rcVisibleDesktop_right=accessor=rcVisibleDesktop.right
-SIPINFO_rcVisibleDesktop_bottom=accessor=rcVisibleDesktop.bottom
-SIPINFO_rcSipRect_left=accessor=rcSipRect.left
-SIPINFO_rcSipRect_top=accessor=rcSipRect.top
-SIPINFO_rcSipRect_right=accessor=rcSipRect.right
-SIPINFO_rcSipRect_bottom=accessor=rcSipRect.bottom
-SIPINFO_dwImDataSize=
-SIPINFO_pvImData=cast=(void *)
-
-org_eclipse_swt_internal_win32_SIZE=
-SIZE_cx=
-SIZE_cy=
-
-org_eclipse_swt_internal_win32_TBBUTTON=
-TBBUTTON_iBitmap=
-TBBUTTON_idCommand=
-TBBUTTON_fsState=
-TBBUTTON_fsStyle=
-TBBUTTON_dwData=
-TBBUTTON_iString=
-
-org_eclipse_swt_internal_win32_TBBUTTONINFO=
-TBBUTTONINFO_cbSize=
-TBBUTTONINFO_dwMask=
-TBBUTTONINFO_idCommand=
-TBBUTTONINFO_iImage=
-TBBUTTONINFO_fsState=
-TBBUTTONINFO_fsStyle=
-TBBUTTONINFO_cx=
-TBBUTTONINFO_lParam=
-TBBUTTONINFO_pszText=cast=(LPTSTR)
-TBBUTTONINFO_cchText=
-
-org_eclipse_swt_internal_win32_TCHAR=flags=no_gen
-TCHAR_chars=
-TCHAR_bytes=
-
-org_eclipse_swt_internal_win32_TCITEM=
-TCITEM_mask=
-TCITEM_dwState=
-TCITEM_dwStateMask=
-TCITEM_pszText=cast=(LPTSTR)
-TCITEM_cchTextMax=
-TCITEM_iImage=
-TCITEM_lParam=
-
-org_eclipse_swt_internal_win32_TEXTMETRIC=
-TEXTMETRIC_tmHeight=
-TEXTMETRIC_tmAscent=
-TEXTMETRIC_tmDescent=
-TEXTMETRIC_tmInternalLeading=
-TEXTMETRIC_tmExternalLeading=
-TEXTMETRIC_tmAveCharWidth=
-TEXTMETRIC_tmMaxCharWidth=
-TEXTMETRIC_tmWeight=
-TEXTMETRIC_tmOverhang=
-TEXTMETRIC_tmDigitizedAspectX=
-TEXTMETRIC_tmDigitizedAspectY=
-TEXTMETRIC_tmItalic=
-TEXTMETRIC_tmUnderlined=
-TEXTMETRIC_tmStruckOut=
-TEXTMETRIC_tmPitchAndFamily=
-TEXTMETRIC_tmCharSet=
-
-org_eclipse_swt_internal_win32_TEXTMETRICA=
-TEXTMETRICA_tmFirstChar=
-TEXTMETRICA_tmLastChar=
-TEXTMETRICA_tmDefaultChar=
-TEXTMETRICA_tmBreakChar=
-
-org_eclipse_swt_internal_win32_TEXTMETRICW=
-TEXTMETRICW_tmFirstChar=
-TEXTMETRICW_tmLastChar=
-TEXTMETRICW_tmDefaultChar=
-TEXTMETRICW_tmBreakChar=
-
-org_eclipse_swt_internal_win32_TOOLINFO=
-TOOLINFO_cbSize=
-TOOLINFO_uFlags=
-TOOLINFO_hwnd=cast=(HWND)
-TOOLINFO_uId=
-TOOLINFO_left=accessor=rect.left
-TOOLINFO_top=accessor=rect.top
-TOOLINFO_right=accessor=rect.right
-TOOLINFO_bottom=accessor=rect.bottom
-TOOLINFO_hinst=cast=(HINSTANCE)
-TOOLINFO_lpszText=cast=(LPTSTR)
-TOOLINFO_lParam=
-
-org_eclipse_swt_internal_win32_TRACKMOUSEEVENT=
-TRACKMOUSEEVENT_cbSize=
-TRACKMOUSEEVENT_dwFlags=
-TRACKMOUSEEVENT_hwndTrack=cast=(HWND)
-TRACKMOUSEEVENT_dwHoverTime=
-
-org_eclipse_swt_internal_win32_TRIVERTEX=
-TRIVERTEX_x=
-TRIVERTEX_y=
-TRIVERTEX_Red=
-TRIVERTEX_Green=
-TRIVERTEX_Blue=
-TRIVERTEX_Alpha=
-
-org_eclipse_swt_internal_win32_TVHITTESTINFO=
-TVHITTESTINFO_x=accessor=pt.x
-TVHITTESTINFO_y=accessor=pt.y
-TVHITTESTINFO_flags=
-TVHITTESTINFO_hItem=cast=(HTREEITEM)
-
-org_eclipse_swt_internal_win32_TVINSERTSTRUCT=
-TVINSERTSTRUCT_hParent=cast=(HTREEITEM)
-TVINSERTSTRUCT_hInsertAfter=cast=(HTREEITEM)
-TVINSERTSTRUCT_mask=accessor=item.mask
-TVINSERTSTRUCT_hItem=accessor=item.hItem,cast=(HTREEITEM)
-TVINSERTSTRUCT_state=accessor=item.state
-TVINSERTSTRUCT_stateMask=accessor=item.stateMask
-TVINSERTSTRUCT_pszText=accessor=item.pszText,cast=(LPTSTR)
-TVINSERTSTRUCT_cchTextMax=accessor=item.cchTextMax
-TVINSERTSTRUCT_iImage=accessor=item.iImage
-TVINSERTSTRUCT_iSelectedImage=accessor=item.iSelectedImage
-TVINSERTSTRUCT_cChildren=accessor=item.cChildren
-TVINSERTSTRUCT_lParam=accessor=item.lParam
-
-org_eclipse_swt_internal_win32_TVITEM=
-TVITEM_mask=
-TVITEM_hItem=cast=(HTREEITEM)
-TVITEM_state=
-TVITEM_stateMask=
-TVITEM_pszText=cast=(LPTSTR)
-TVITEM_cchTextMax=
-TVITEM_iImage=
-TVITEM_iSelectedImage=
-TVITEM_cChildren=
-TVITEM_lParam=
-
-org_eclipse_swt_internal_win32_WINDOWPLACEMENT=
-WINDOWPLACEMENT_length=
-WINDOWPLACEMENT_flags=
-WINDOWPLACEMENT_showCmd=
-WINDOWPLACEMENT_ptMinPosition_x=accessor=ptMinPosition.x
-WINDOWPLACEMENT_ptMinPosition_y=accessor=ptMinPosition.y
-WINDOWPLACEMENT_ptMaxPosition_x=accessor=ptMaxPosition.x
-WINDOWPLACEMENT_ptMaxPosition_y=accessor=ptMaxPosition.y
-WINDOWPLACEMENT_left=accessor=rcNormalPosition.left
-WINDOWPLACEMENT_top=accessor=rcNormalPosition.top
-WINDOWPLACEMENT_right=accessor=rcNormalPosition.right
-WINDOWPLACEMENT_bottom=accessor=rcNormalPosition.bottom
-
-org_eclipse_swt_internal_win32_WINDOWPOS=
-WINDOWPOS_hwnd=cast=(HWND)
-WINDOWPOS_hwndInsertAfter=cast=(HWND)
-WINDOWPOS_x=
-WINDOWPOS_y=
-WINDOWPOS_cx=
-WINDOWPOS_cy=
-WINDOWPOS_flags=
-
-org_eclipse_swt_internal_win32_WNDCLASS=
-WNDCLASS_style=
-WNDCLASS_lpfnWndProc=cast=(WNDPROC)
-WNDCLASS_cbClsExtra=
-WNDCLASS_cbWndExtra=
-WNDCLASS_hInstance=cast=(HINSTANCE)
-WNDCLASS_hIcon=cast=(HICON)
-WNDCLASS_hCursor=cast=(HCURSOR)
-WNDCLASS_hbrBackground=cast=(HBRUSH)
-WNDCLASS_lpszMenuName=cast=(LPCTSTR)
-WNDCLASS_lpszClassName=cast=(LPCTSTR)
-
diff --git a/bundles/org.eclipse.swt.tools/Preprocessor/org/eclipse/swt/tools/internal/SwtJniGen.java b/bundles/org.eclipse.swt.tools/Preprocessor/org/eclipse/swt/tools/internal/SwtJniGen.java
deleted file mode 100644
index dd465b58df..0000000000
--- a/bundles/org.eclipse.swt.tools/Preprocessor/org/eclipse/swt/tools/internal/SwtJniGen.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import org.apache.tools.ant.*;
-
-public class SwtJniGen extends Task {
-
- /* Attributes */
- String classpath;
- String outputdir;
- String mainclass;
-
- public SwtJniGen() {
- }
-
- public void setClasspath(String classpath) {
- this.classpath = classpath;
- }
-
- public void setOutputdir(String outputdir) {
- this.outputdir = outputdir;
- }
-
- public void setMainClass(String mainclass) {
- this.mainclass = mainclass;
- }
-
- public void execute() throws BuildException {
- try {
- System.out.println("jnigen mainclass "+mainclass+" classpath "+classpath+" outputdir "+outputdir);
- JNIGeneratorApp.main(new String[] {mainclass, outputdir, classpath});
- System.out.println("jnigen done");
- } catch (Exception e) {
- throw new BuildException(e);
- }
- }
-}
diff --git a/bundles/org.eclipse.swt.tools/Preprocessor/org/eclipse/swt/tools/internal/SwtReplace.java b/bundles/org.eclipse.swt.tools/Preprocessor/org/eclipse/swt/tools/internal/SwtReplace.java
deleted file mode 100644
index 004566737f..0000000000
--- a/bundles/org.eclipse.swt.tools/Preprocessor/org/eclipse/swt/tools/internal/SwtReplace.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.tools.internal;
-
-import java.io.*;
-import java.util.*;
-import org.apache.tools.ant.*;
-import org.apache.tools.ant.types.FileSet;
-
-public class SwtReplace extends Task {
-
- /* Attributes */
- String from;
- String to;
- Vector filesets = new Vector();
-
- public SwtReplace() {
- }
-
- public void setFrom(String from) {
- this.from = from;
- }
-
- public void setTo(String to) {
- this.to = to;
- }
-
- /**
- * Adds a set of files to preprocess.
- * @param set a set of files to preprocess
- */
- public void addFileset(FileSet set) {
- filesets.addElement(set);
- }
-
- public void execute() throws BuildException {
- try {
- for (int i = 0; i < filesets.size(); i++) {
- FileSet fs = (FileSet)filesets.elementAt(i);
- DirectoryScanner ds = fs.getDirectoryScanner(getProject());
- String[] srcFiles = ds.getIncludedFiles();
- for (int j = 0; j < srcFiles.length; j++) preProcess(ds.getBasedir().toString()+File.separator+srcFiles[j]);
- }
- } catch (Exception e) {
- throw new BuildException(e);
- }
- }
-
- public void preProcess(String src) throws Exception {
- String dst = src+".swt";
- File srcFile = new File(src);
- File dstFile = new File(dst);
- FileReader fr = new FileReader(srcFile);
- FileWriter fw = new FileWriter(dstFile);
- BufferedReader reader = new BufferedReader(fr);
- BufferedWriter writer = new BufferedWriter(fw);
- boolean modified = false;
- while (true) {
- String line = reader.readLine();
- if (line == null) break;
-
- int index;
- while ((index = line.lastIndexOf(from)) != -1) {
- modified = true;
- line = line.substring(0, index) + to + line.substring(index + from.length());
- }
- writer.write(line);
- writer.newLine();
- }
- reader.close();
- writer.close();
- if (modified) {
- srcFile.delete();
- dstFile.renameTo(srcFile);
- } else {
- dstFile.delete();
- }
- }
-
-
-}
diff --git a/bundles/org.eclipse.swt.tools/Preprocessor/preprocess.xml b/bundles/org.eclipse.swt.tools/Preprocessor/preprocess.xml
deleted file mode 100644
index cf6ff747d6..0000000000
--- a/bundles/org.eclipse.swt.tools/Preprocessor/preprocess.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- This file defines tasks for preprocessing the SWT java source files -->
-
-<project name="org.eclipse.swt.tools" default="swt.64" basedir="..">
-
- <target name="init" depends="properties">
- <property name="plugindir" value="../org.eclipse.swt"/>
- <property name="bootclasspath" value=""/>
- <taskdef name="swt.replace" classname="org.eclipse.swt.tools.internal.SwtReplace" classpath="./bin"/>
- <taskdef name="swt.jnigen" classname="org.eclipse.swt.tools.internal.SwtJniGen" classpath="./bin;${plugindir}/bin"/>
-
- </target>
-
- <target name="properties" if="eclipse.running">
- <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
- </target>
-
- <!-- Convert SWT 32 bit java source to 64 bit -->
- <target name="swt.64" depends="init">
- <swt.replace from="int /*long*/" to="long /*int*/">
- <fileset dir="${plugindir}" includes="**/*.java"/>
- </swt.replace>
- </target>
-
- <!-- Convert SWT 64 bit java source to 32 bit -->
- <target name="swt.32" depends="init">
- <swt.replace from="long /*int*/" to="int /*long*/">
- <fileset dir="${plugindir}" includes="**/*.java"/>
- </swt.replace>
- </target>
-
- <!-- Output the C source code from the org.eclipse.swt project -->
- <target name="swt.jnigen" depends="init">
- <!-- generate the C code from the (64 bit) SWT PI java classes -->
- <!-- assumes the org.eclipse.swt project has been built and contain the 64 bit java classes -->
- <swt.jnigen mainclass="org.eclipse.swt.internal.gtk.OS" classpath="${basedir}/${plugindir}/bin" outputdir="${basedir}/${plugindir}/Eclipse SWT PI/gtk/library/"/>
- <swt.jnigen mainclass="org.eclipse.swt.internal.accessibility.gtk.ATK" classpath="${basedir}/${plugindir}/bin" outputdir="${basedir}/${plugindir}/Eclipse SWT PI/gtk/library/"/>
- </target>
-
-</project> \ No newline at end of file
diff --git a/bundles/org.eclipse.swt.tools/about.html b/bundles/org.eclipse.swt.tools/about.html
deleted file mode 100644
index 9db411aab9..0000000000
--- a/bundles/org.eclipse.swt.tools/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 (&quot;CPL&quot;). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, &quot;Program&quot; will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL (&quot;Other License&quot;), any modifications, enhancements and/or
-other code and/or documentation (&quot;Modifications&quot;) uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/bundles/org.eclipse.swt.tools/build.properties b/bundles/org.eclipse.swt.tools/build.properties
deleted file mode 100644
index f2bcf217ed..0000000000
--- a/bundles/org.eclipse.swt.tools/build.properties
+++ /dev/null
@@ -1 +0,0 @@
-source.swttools.jar=JNI Generation/,Preprocessor/
diff --git a/bundles/org.eclipse.swt.tools/plugin.properties b/bundles/org.eclipse.swt.tools/plugin.properties
deleted file mode 100644
index a73116d615..0000000000
--- a/bundles/org.eclipse.swt.tools/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-pluginName = SWT Tools
-providerName = Eclipse.org
diff --git a/bundles/org.eclipse.swt.tools/plugin.xml b/bundles/org.eclipse.swt.tools/plugin.xml
deleted file mode 100644
index f3c6b59870..0000000000
--- a/bundles/org.eclipse.swt.tools/plugin.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin
- id="org.eclipse.swt.tools"
- name="%pluginName"
- version="3.0.0"
- provider-name="%providerName">
-
- <requires>
- <import plugin="org.eclipse.swt" export="true"/>
- <import plugin="org.apache.ant" export="true"/>
- </requires>
-
-</plugin>
diff --git a/examples/org.eclipse.swt.examples.browser/.classpath b/examples/org.eclipse.swt.examples.browser/.classpath
deleted file mode 100644
index 7b14e15a15..0000000000
--- a/examples/org.eclipse.swt.examples.browser/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath> \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.browser/.cvsignore b/examples/org.eclipse.swt.examples.browser/.cvsignore
deleted file mode 100644
index c5e82d7458..0000000000
--- a/examples/org.eclipse.swt.examples.browser/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.browser/.project b/examples/org.eclipse.swt.examples.browser/.project
deleted file mode 100644
index 25919d4052..0000000000
--- a/examples/org.eclipse.swt.examples.browser/.project
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.swt.examples.browser</name>
- <comment></comment>
- <projects>
- <project>org.eclipse.core.runtime</project>
- <project>org.eclipse.swt</project>
- <project>org.eclipse.swt.examples</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/examples/org.eclipse.swt.examples.browser/about.html b/examples/org.eclipse.swt.examples.browser/about.html
deleted file mode 100644
index 9db411aab9..0000000000
--- a/examples/org.eclipse.swt.examples.browser/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 (&quot;CPL&quot;). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, &quot;Program&quot; will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL (&quot;Other License&quot;), any modifications, enhancements and/or
-other code and/or documentation (&quot;Modifications&quot;) uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.browser/build.properties b/examples/org.eclipse.swt.examples.browser/build.properties
deleted file mode 100644
index 818e48379c..0000000000
--- a/examples/org.eclipse.swt.examples.browser/build.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = doc-html/,\
- icons/,\
- plugin.properties,\
- plugin.xml,\
- about.html,\
- *.jar
-
-src.includes = about.html
-
-source.browserexample.jar = src/
diff --git a/examples/org.eclipse.swt.examples.browser/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.browser/doc-html/hglegal.htm
deleted file mode 100644
index f5871b79e0..0000000000
--- a/examples/org.eclipse.swt.examples.browser/doc-html/hglegal.htm
+++ /dev/null
@@ -1,14 +0,0 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <LINK REL="stylesheet" HREF="../../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
- <title>Legal Notices</title>
-</head>
-<body>
-
-<h3>
-<a NAME="Notices"></a>Notices</h3>
-(c) Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.browser/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.browser/doc-html/ngibmcpy.gif
deleted file mode 100644
index c786e43e1f..0000000000
--- a/examples/org.eclipse.swt.examples.browser/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.browser/doc-html/swt_browser_ex.html b/examples/org.eclipse.swt.examples.browser/doc-html/swt_browser_ex.html
deleted file mode 100644
index 7b01f2fcd5..0000000000
--- a/examples/org.eclipse.swt.examples.browser/doc-html/swt_browser_ex.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!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 - Controls Overview</title>
-</head>
-<body>
-
-<h2>SWT example - Browser</h2>
-
-<p>
-The Browser Example is a simple demonstration of the SWT Browser widget.
-It consists of a composite containing a Browser widget to render HTML and some
-additional widgets to implement actions commonly found on browsers (toolbar
-with back, forward, refresh and stop buttons, status bar etc.).
-</p>
-
-<h3>Running the example</h3>
-<p>
-Follow the <a href="../../org.eclipse.swt.examples/doc-html/swt_manual_setup.html">SWT standalone examples setup</a>
-instructions to install and run the example from your workspace.
-</p>
-<p>
-The "Main" class is <code>org.eclipse.swt.examples.browserexample.BrowserExample</code>.
-</p>
-<p>
-This example can also be run using the <a href="../../org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html">Example Launcher</a>.
-Select the <strong>Browser</strong> item from the <strong>Workbench Views</strong> category and click <strong>Run</strong>.
-</p>
-
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation and others 2000, 2003. All Rights Reserved." BORDER=0 height=14 width=324></a></p>
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.browser/icons/browser_example.gif b/examples/org.eclipse.swt.examples.browser/icons/browser_example.gif
deleted file mode 100644
index cbdee97066..0000000000
--- a/examples/org.eclipse.swt.examples.browser/icons/browser_example.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.browser/plugin.properties b/examples/org.eclipse.swt.examples.browser/plugin.properties
deleted file mode 100644
index 971bb84434..0000000000
--- a/examples/org.eclipse.swt.examples.browser/plugin.properties
+++ /dev/null
@@ -1,26 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-providerName = Eclipse.org
-plugin.SWTBrowserExample.name = SWT Browser Example Plugin
-category.SWTExamples.name = SWT Examples
-view.BrowserExample.name = SWT Browser
-
-launchcategory.SWTViewExamples.name = Workbench Views
-launchcategory.SWTViewExamples.description = \
- A collection of Standard Widget Toolkit examples that run as Views inside the Workbench. \
- These examples will create a new View in the current Perspective.
-
-launchitem.BrowserExample.name = Browser
-launchitem.BrowserExample.description = \
- This example is a simple demonstration of the SWT Browser widget.\n\n\
- It consists of a composite containing a Browser widget to render HTML. \
- Additional widgets allow the user to perform typical browser actions (for example, navigate to a particular URL, go back, forward, refresh and stop).
-
diff --git a/examples/org.eclipse.swt.examples.browser/plugin.xml b/examples/org.eclipse.swt.examples.browser/plugin.xml
deleted file mode 100644
index 89e3bb04a8..0000000000
--- a/examples/org.eclipse.swt.examples.browser/plugin.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin
- id="org.eclipse.swt.examples.browser"
- name="%plugin.SWTBrowserExample.name"
- version="3.0.0"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.browserexample.BrowserPlugin">
-
-<!-- Runtime -->
- <runtime>
- <library name="browserexample.jar">
- <packages prefixes="org.eclipse.swt.examples.browserexample"/>
- </library>
- </runtime>
-<!-- Required plugins -->
- <requires>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
- <import plugin="org.eclipse.swt.examples"/>
- </requires>
-
-
-<!-- Extension points -->
-<!-- Extensions -->
- <extension
- point="org.eclipse.ui.views">
- <view
- name="%view.BrowserExample.name"
- icon="icons/browser_example.gif"
- category="org.eclipse.swt.examples.category"
- class="org.eclipse.swt.examples.browserexample.BrowserView"
- id="org.eclipse.swt.examples.browserexample.view">
- </view>
- </extension>
- <extension
- point="org.eclipse.swt.examples.launcher.launchItems">
- <category
- name="%launchcategory.SWTViewExamples.name"
- description="%launchcategory.SWTViewExamples.description"
- id="org.eclipse.swt.examples.launchViewCategory">
- </category>
- <item
- name="%launchitem.BrowserExample.name"
- icon="icons/browser_example.gif"
- category="org.eclipse.swt.examples.launchViewCategory"
- description="%launchitem.BrowserExample.description"
- id="org.eclipse.swt.examples.browserexample.viewlauncher">
- <view
- viewId="org.eclipse.swt.examples.browserexample.view">
- </view>
- </item>
- </extension>
-
-</plugin>
diff --git a/examples/org.eclipse.swt.examples.browser/src/import.properties b/examples/org.eclipse.swt.examples.browser/src/import.properties
deleted file mode 100644
index 58344f0d3e..0000000000
--- a/examples/org.eclipse.swt.examples.browser/src/import.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# Persist project settings for later import
-natures = org.eclipse.jdt.core.javanature; org.eclipse.pde.PluginNature
-builders = org.eclipse.jdt.core.javabuilder; org.eclipse.pde.ManifestBuilder; org.eclipse.pde.SchemaBuilder
-var.ECLIPSE_PLUGINS = <<ECLIPSE_PLUGINS>>
diff --git a/examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserPlugin.java b/examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserPlugin.java
deleted file mode 100644
index 5e8245566c..0000000000
--- a/examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserPlugin.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.browserexample;
-
-
-import org.eclipse.core.runtime.*;
-import org.eclipse.ui.plugin.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class BrowserPlugin extends AbstractUIPlugin {
- /**
- * The constructor.
- */
- public BrowserPlugin(IPluginDescriptor descriptor) {
- super(descriptor);
- }
-
- /**
- * Clean up
- */
- public void shutdown() throws CoreException {
- super.shutdown();
- }
-}
diff --git a/examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserView.java b/examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserView.java
deleted file mode 100644
index 84337cb847..0000000000
--- a/examples/org.eclipse.swt.examples.browser/src/org/eclipse/swt/examples/browserexample/BrowserView.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.browserexample;
-
-import org.eclipse.swt.widgets.*;
-import org.eclipse.ui.part.*;
-
-/**
- * <code>BrowserView</code> is a simple demonstration
- * of the SWT Browser widget. It consists of a workbench
- * view and tab folder where each tab in the folder allows the
- * user to interact with a control.
- *
- * @see ViewPart
- */
-public class BrowserView extends ViewPart {
- BrowserExample instance = null;
-
- /**
- * Create the example
- *
- * @see ViewPart#createPartControl
- */
- public void createPartControl(Composite frame) {
- instance = new BrowserExample(frame);
- }
-
- /**
- * Called when we must grab focus.
- *
- * @see org.eclipse.ui.part.ViewPart#setFocus
- */
- public void setFocus() {
- instance.setFocus();
- }
-
- /**
- * Called when the View is to be disposed
- */
- public void dispose() {
- instance.dispose();
- instance = null;
- super.dispose();
- }
-}
diff --git a/examples/org.eclipse.swt.examples.controls/.classpath b/examples/org.eclipse.swt.examples.controls/.classpath
deleted file mode 100755
index 065ac06e19..0000000000
--- a/examples/org.eclipse.swt.examples.controls/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/examples/org.eclipse.swt.examples.controls/.cvsignore b/examples/org.eclipse.swt.examples.controls/.cvsignore
deleted file mode 100755
index c5e82d7458..0000000000
--- a/examples/org.eclipse.swt.examples.controls/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.controls/.project b/examples/org.eclipse.swt.examples.controls/.project
deleted file mode 100644
index 6dd25a0fdf..0000000000
--- a/examples/org.eclipse.swt.examples.controls/.project
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.swt.examples.controls</name>
- <comment></comment>
- <projects>
- <project>org.eclipse.swt</project>
- <project>org.eclipse.swt.examples</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/examples/org.eclipse.swt.examples.controls/about.html b/examples/org.eclipse.swt.examples.controls/about.html
deleted file mode 100644
index 9db411aab9..0000000000
--- a/examples/org.eclipse.swt.examples.controls/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 (&quot;CPL&quot;). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, &quot;Program&quot; will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL (&quot;Other License&quot;), any modifications, enhancements and/or
-other code and/or documentation (&quot;Modifications&quot;) uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.controls/build.properties b/examples/org.eclipse.swt.examples.controls/build.properties
deleted file mode 100755
index ca7f7ae865..0000000000
--- a/examples/org.eclipse.swt.examples.controls/build.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = doc-html/,\
- icons/,\
- plugin.properties,\
- plugin.xml,\
- about.html,\
- *.jar
-
-src.includes = about.html
-
-source.controls.jar = src/
diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.controls/doc-html/hglegal.htm
deleted file mode 100755
index f5871b79e0..0000000000
--- a/examples/org.eclipse.swt.examples.controls/doc-html/hglegal.htm
+++ /dev/null
@@ -1,14 +0,0 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <LINK REL="stylesheet" HREF="../../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
- <title>Legal Notices</title>
-</head>
-<body>
-
-<h3>
-<a NAME="Notices"></a>Notices</h3>
-(c) Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gif
deleted file mode 100755
index c786e43e1f..0000000000
--- a/examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html b/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html
deleted file mode 100755
index 1d0347cc89..0000000000
--- a/examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!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 - Controls Overview</title>
-</head>
-<body>
-
-<h2>SWT example - Controls</h2>
-
-<p>
-The Controls Example is a simple demonstration of common SWT controls.
-It consists of a tab folder where each tab in the folder allows the user
-to interact with a different control.
-The user can change styles and settings and view how this affects each control.
-</p>
-
-<h3>Running the example</h3>
-<p>
-Follow the <a href="../../org.eclipse.swt.examples/doc-html/swt_manual_setup.html">SWT standalone examples setup</a>
-instructions to install and run the example from your workspace.
-</p>
-<p>
-The "Main" class is <code>org.eclipse.swt.examples.controlexample.ControlExample</code>.
-</p>
-<p>
-This example can also be run using the <a href="../../org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html">Example Launcher</a>.
-Select the <strong>Controls</strong> item from the <strong>Workbench Views</strong> category and click <strong>Run</strong>.
-</p>
-
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation and others 2000, 2003. All Rights Reserved." BORDER=0 height=14 width=324></a></p>
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.controls/doc-html/swt_customcontrols_ex.html b/examples/org.eclipse.swt.examples.controls/doc-html/swt_customcontrols_ex.html
deleted file mode 100644
index ba717a278a..0000000000
--- a/examples/org.eclipse.swt.examples.controls/doc-html/swt_customcontrols_ex.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!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 - Controls Overview</title>
-</head>
-<body>
-
-<h2>SWT example - Custom Controls</h2>
-
-<p>
-The Custom Controls example is a simple demonstration of emulated SWT controls.
-It consists of a tab folder where each tab in the folder allows the user
-to interact with a different emulated control.
-The user can change styles and settings and view how this affects each control.
-</p>
-
-<h3>Running the example</h3>
-<p>
-Follow the <a href="../../org.eclipse.swt.examples/doc-html/swt_manual_setup.html">SWT standalone examples setup</a>
-instructions to install and run the example from your workspace.
-</p>
-<p>
-The "Main" class is <code>org.eclipse.swt.examples.controlexample.CustomControlExample</code>.
-</p>
-<p>
-This example can also be run using the <a href="../../org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html">Example Launcher</a>.
-Select the <strong>Custom Controls</strong> item from the <strong>Workbench Views</strong> category and click <strong>Run</strong>.
-</p>
-
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation and others 2000, 2003. All Rights Reserved." BORDER=0 height=14 width=324></a></p>
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.controls/icons/controls_example.gif b/examples/org.eclipse.swt.examples.controls/icons/controls_example.gif
deleted file mode 100755
index cbdee97066..0000000000
--- a/examples/org.eclipse.swt.examples.controls/icons/controls_example.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.controls/plugin.properties b/examples/org.eclipse.swt.examples.controls/plugin.properties
deleted file mode 100755
index ee2fea23ad..0000000000
--- a/examples/org.eclipse.swt.examples.controls/plugin.properties
+++ /dev/null
@@ -1,34 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-providerName = Eclipse.org
-plugin.SWTControlsExample.name = SWT Controls Example Plugin
-category.SWTExamples.name = SWT Examples
-view.ControlsExample.name = SWT Controls
-view.CustomControlsExample.name = SWT Custom Controls
-
-launchcategory.SWTViewExamples.name = Workbench Views
-launchcategory.SWTViewExamples.description = \
- A collection of Standard Widget Toolkit examples that run as Views inside the Workbench. \
- These examples will create a new View in the current Perspective.
-
-launchitem.ControlsExample.name = Controls
-launchitem.ControlsExample.description = \
- This example is a simple demonstration of native SWT controls.\n\n\
- It consists of a tab folder where each tab allows the user \
- to interact with a different SWT control. \
- The user can change styles and settings and view how this affects the control.
-
-launchitem.CustomControlsExample.name = Custom Controls
-launchitem.CustomControlsExample.description = \
- This example is a simple demonstration of custom SWT controls.\n\n\
- It consists of a tab folder where each tab allows the user \
- to interact with a different SWT custom control. \
- The user can change styles and settings and view how this affects the control.
diff --git a/examples/org.eclipse.swt.examples.controls/plugin.xml b/examples/org.eclipse.swt.examples.controls/plugin.xml
deleted file mode 100755
index 532ea8a3d3..0000000000
--- a/examples/org.eclipse.swt.examples.controls/plugin.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin
- id="org.eclipse.swt.examples.controls"
- name="%plugin.SWTControlsExample.name"
- version="3.0.0"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.controls.ControlPlugin">
-
-<!-- Runtime -->
-<!-- Runtime -->
- <runtime>
- <library name="controls.jar">
- <packages prefixes="org.eclipse.swt.examples.controls"/>
- </library>
- </runtime>
-<!-- Required plugins -->
- <requires>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
- <import plugin="org.eclipse.swt.examples"/>
- </requires>
-
-
-<!-- Extension points -->
-<!-- Extensions -->
- <extension
- point="org.eclipse.ui.views">
- <view
- name="%view.ControlsExample.name"
- icon="icons/controls_example.gif"
- category="org.eclipse.swt.examples.category"
- class="org.eclipse.swt.examples.controls.ControlView"
- id="org.eclipse.swt.examples.controls.view">
- </view>
- <view
- name="%view.CustomControlsExample.name"
- icon="icons/controls_example.gif"
- category="org.eclipse.swt.examples.category"
- class="org.eclipse.swt.examples.controls.CustomControlView"
- id="org.eclipse.swt.examples.customcontrols.view">
- </view>
- </extension>
- <extension
- point="org.eclipse.swt.examples.launcher.launchItems">
- <category
- name="%launchcategory.SWTViewExamples.name"
- description="%launchcategory.SWTViewExamples.description"
- id="org.eclipse.swt.examples.launchViewCategory">
- </category>
- <item
- name="%launchitem.ControlsExample.name"
- icon="icons/controls_example.gif"
- description="%launchitem.ControlsExample.description"
- category="org.eclipse.swt.examples.launchViewCategory"
- id="org.eclipse.swt.examples.controls.viewlauncher">
- <view
- viewId="org.eclipse.swt.examples.controls.view">
- </view>
- </item>
- <item
- name="%launchitem.CustomControlsExample.name"
- icon="icons/controls_example.gif"
- description="%launchitem.CustomControlsExample.description"
- category="org.eclipse.swt.examples.launchViewCategory"
- id="org.eclipse.swt.examples.customcontrols.viewlauncher">
- <view
- viewId="org.eclipse.swt.examples.customcontrols.view">
- </view>
- </item>
- </extension>
-
-</plugin>
diff --git a/examples/org.eclipse.swt.examples.controls/src/import.properties b/examples/org.eclipse.swt.examples.controls/src/import.properties
deleted file mode 100644
index 58344f0d3e..0000000000
--- a/examples/org.eclipse.swt.examples.controls/src/import.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# Persist project settings for later import
-natures = org.eclipse.jdt.core.javanature; org.eclipse.pde.PluginNature
-builders = org.eclipse.jdt.core.javabuilder; org.eclipse.pde.ManifestBuilder; org.eclipse.pde.SchemaBuilder
-var.ECLIPSE_PLUGINS = <<ECLIPSE_PLUGINS>>
diff --git a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlPlugin.java b/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlPlugin.java
deleted file mode 100755
index 11469ba3ab..0000000000
--- a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlPlugin.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.controls;
-
-
-import org.eclipse.core.runtime.*;
-import org.eclipse.ui.plugin.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class ControlPlugin extends AbstractUIPlugin {
- /**
- * The constructor.
- */
- public ControlPlugin(IPluginDescriptor descriptor) {
- super(descriptor);
- }
-
- /**
- * Clean up
- */
- public void shutdown() throws CoreException {
- super.shutdown();
- }
-}
diff --git a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlView.java b/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlView.java
deleted file mode 100755
index 502464174f..0000000000
--- a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlView.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.controls;
-
-
-import org.eclipse.swt.examples.controlexample.*;
-import org.eclipse.swt.widgets.*;
-import org.eclipse.ui.part.*;
-
-/**
- * <code>Controls</code> is a simple demonstration
- * of the native controls defined by SWT. It consists of a workbench
- * view and tab folder where each tab in the folder allows the
- * user to interact with a control.
- *
- * @see ViewPart
- */
-public class ControlView extends ViewPart {
- ControlExample instance = null;
-
- /**
- * Create the example
- *
- * @see ViewPart#createPartControl
- */
- public void createPartControl(Composite frame) {
- instance = new ControlExample(frame);
- }
-
- /**
- * Called when we must grab focus.
- *
- * @see org.eclipse.ui.part.ViewPart#setFocus
- */
- public void setFocus() {
- instance.setFocus();
- }
-
- /**
- * Called when the View is to be disposed
- */
- public void dispose() {
- instance.dispose();
- instance = null;
- super.dispose();
- }
-}
diff --git a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/CustomControlView.java b/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/CustomControlView.java
deleted file mode 100644
index ec66fd4686..0000000000
--- a/examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/CustomControlView.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.controls;
-
-
-import org.eclipse.swt.examples.controlexample.*;
-import org.eclipse.swt.widgets.*;
-
-/**
- * <code>CustomControls</code> is a simple demonstration
- * of the custom controls defined by SWT. It consists of a workbench
- * view and tab folder where each tab in the folder allows the
- * user to interact with a control.
- *
- * @see ViewPart
- */
-public class CustomControlView extends ControlView {
-
- /**
- * Create the example
- *
- * @see ViewPart#createPartControl
- */
- public void createPartControl(Composite frame) {
- instance = new CustomControlExample(frame);
- }
-}
diff --git a/examples/org.eclipse.swt.examples.launcher/.classpath b/examples/org.eclipse.swt.examples.launcher/.classpath
deleted file mode 100755
index 065ac06e19..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/examples/org.eclipse.swt.examples.launcher/.cvsignore b/examples/org.eclipse.swt.examples.launcher/.cvsignore
deleted file mode 100755
index c5e82d7458..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.launcher/.project b/examples/org.eclipse.swt.examples.launcher/.project
deleted file mode 100644
index bcb6941eaa..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/.project
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.swt.examples.launcher</name>
- <comment></comment>
- <projects>
- <project>org.eclipse.swt</project>
- <project>org.eclipse.swt.examples</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/examples/org.eclipse.swt.examples.launcher/about.html b/examples/org.eclipse.swt.examples.launcher/about.html
deleted file mode 100644
index 9db411aab9..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 (&quot;CPL&quot;). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, &quot;Program&quot; will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL (&quot;Other License&quot;), any modifications, enhancements and/or
-other code and/or documentation (&quot;Modifications&quot;) uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.launcher/build.properties b/examples/org.eclipse.swt.examples.launcher/build.properties
deleted file mode 100755
index 2ca3829db3..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/build.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = doc/,\
- doc-html/,\
- icons/,\
- schema/,\
- plugin.properties,\
- plugin.xml,\
- about.html,\
- *.jar
-
-src.includes = about.html
-
-source.launcher.jar = src/
diff --git a/examples/org.eclipse.swt.examples.launcher/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.launcher/doc-html/hglegal.htm
deleted file mode 100755
index f5871b79e0..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/doc-html/hglegal.htm
+++ /dev/null
@@ -1,14 +0,0 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <LINK REL="stylesheet" HREF="../../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
- <title>Legal Notices</title>
-</head>
-<body>
-
-<h3>
-<a NAME="Notices"></a>Notices</h3>
-(c) Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gif
deleted file mode 100755
index c786e43e1f..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html b/examples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html
deleted file mode 100755
index 99697ac922..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!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 - Example Launcher</title>
-</head>
-<body>
-
-<h2>SWT Example Launcher</h2>
-
-<p>
-The Example Launcher is used to launch SWT examples, which can either be Workbench views
-or standalone applications.
-</p>
-
-<ul>
-<li>Workbench views are examples that are integrated into Eclipse. When the launcher
-starts a Workbench view, it is opened in the currently active perspective.
-<li>Standalone applications are launched in a separate window.
-</ul>
-
-<p>
-For information on how to run the standalone examples without the SWT Example Launcher,
-refer to <a href="../../org.eclipse.swt.examples/doc-html/swt_manual_setup.html">SWT standalone examples setup</a>.
-</p>
-<p>
-The SWT Workbench view examples can also be launched directly without using the SWT Example
-Launcher. SWT Workbench view examples can be found under the <strong>SWT Examples</strong> category of the
-<strong>Show Views</strong> dialog.
-</p>
-
-<h3>Running the Example Launcher</h3>
-
-<p>
-From Eclipse's <strong>Window</strong> menu, select <strong>Show View &gt; Other</strong>.
-In the <strong>Show View</strong> dialog, expand <strong>SWT Examples</strong> and select the <strong>SWT Example Launcher</strong> view.
-A view containing a list of examples will appear in your current perspective.
-When you select an example from the list a brief description of the example is displayed.
-Click on the <strong>Run</strong> button to launch the example.
-</p>
-
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation and others 2000, 2003. All Rights Reserved." BORDER=0 height=14 width=324></a></p>
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.launcher/doc/org.eclipse.swt.examples.launcher.launchItems.html b/examples/org.eclipse.swt.examples.launcher/doc/org.eclipse.swt.examples.launcher.launchItems.html
deleted file mode 100755
index 3edf91876a..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/doc/org.eclipse.swt.examples.launcher.launchItems.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HEAD>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-</HEAD>
-<HTML>
-<BODY>
-<H1><CENTER>Launch Items</CENTER></H1>
-<H2>Identifier</H2>
-org.eclipse.swt.examples.launcher.launchItems<H2>Description</H2>
-This extension point is used to add 'standalone program' and
-'Workbench view'
-launch items to the Launcher, optionally grouping them into
-categories so as to form a multi-tiered hierarchy.
-Standalone programs are executed using the platform's event loop.
-Workbench views are created within the active Workbench Perspective.<H2>Markup</H2>
-<p><samp>&nbsp;&nbsp; &lt;!ELEMENT extension EMPTY&gt;</samp>
-<br><samp>&nbsp;&nbsp; &lt;!ATTLIST extension</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;point&nbsp;CDATA #REQUIRED</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;CDATA #IMPLIED</samp>
-<br><samp>&nbsp;&nbsp; &gt;</samp>
-<ul>
-<li><b>point</b> - </li><li><b>id</b> - </li><li><b>name</b> - </li></ul>
-<p><samp>&nbsp;&nbsp; &lt;!ELEMENT program EMPTY&gt;</samp>
-<br><samp>&nbsp;&nbsp; &lt;!ATTLIST program</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mainClass&nbsp;CDATA #REQUIRED</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pluginId&nbsp;&nbsp;CDATA #REQUIRED</samp>
-<br><samp>&nbsp;&nbsp; &gt;</samp>
-<ul>
-<li><b>mainClass</b> - The fully-qualified name of the class whose main() method is to be launched.</li><li><b>pluginId</b> - The unique id of the Eclipse Platform plugin containing the program.</li></ul>
-<p><samp>&nbsp;&nbsp; &lt;!ELEMENT view EMPTY&gt;</samp>
-<br><samp>&nbsp;&nbsp; &lt;!ATTLIST view</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;viewId&nbsp;CDATA #REQUIRED</samp>
-<br><samp>&nbsp;&nbsp; &gt;</samp>
-<ul>
-<li><b>viewId</b> - The unique id of the Workbench View to be activated when the item is launched.</li></ul>
-<p><samp>&nbsp;&nbsp; &lt;!ELEMENT category EMPTY&gt;</samp>
-<br><samp>&nbsp;&nbsp; &lt;!ATTLIST category</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;category&nbsp;CDATA #IMPLIED</samp>
-<br><samp>&nbsp;&nbsp; &gt;</samp>
-<ul>
-<li><b>name</b> - The localized name of this category.</li><li><b>id</b> - The unique id of this category. Categories with duplicate id's will be discarded.</li><li><b>category</b> - The unique id of the parent category.</li></ul>
-<p><samp>&nbsp;&nbsp; &lt;!ELEMENT item EMPTY&gt;</samp>
-<br><samp>&nbsp;&nbsp; &lt;!ATTLIST item</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;category&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;icon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(true | false) "false""true"</samp>
-<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description&nbsp;CDATA #IMPLIED</samp>
-<br><samp>&nbsp;&nbsp; &gt;</samp>
-<ul>
-<li><b>name</b> - The localized name of this launch item.</li><li><b>id</b> - The unique id of this launch item. Launch items with duplicate id's will be discarded.</li><li><b>category</b> - The unique id of the category this launch item belongs to.</li><li><b>icon</b> - The declaring plugin relative path of an icon to display with this launch item in the Launcher.</li><li><b>enabled</b> - Set to "false" to disable this launch item, or to "true" to enable it (default).</li><li><b>description</b> - The localized plain-text description of this launch item.</li></ul>
-<H2>Example</H2>
-<H2>API Information</H2>
-<H2>Supplied Implementation</H2>
-</BODY>
-</HTML>
diff --git a/examples/org.eclipse.swt.examples.launcher/icons/closedFolder.gif b/examples/org.eclipse.swt.examples.launcher/icons/closedFolder.gif
deleted file mode 100755
index beb6ed134c..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/icons/closedFolder.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.launcher/icons/generic_example.gif b/examples/org.eclipse.swt.examples.launcher/icons/generic_example.gif
deleted file mode 100755
index f9fb6b0cab..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/icons/generic_example.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.launcher/icons/launcher_example.gif b/examples/org.eclipse.swt.examples.launcher/icons/launcher_example.gif
deleted file mode 100755
index 3ab4d32c05..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/icons/launcher_example.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.launcher/icons/openFolder.gif b/examples/org.eclipse.swt.examples.launcher/icons/openFolder.gif
deleted file mode 100755
index a9c777343c..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/icons/openFolder.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.launcher/plugin.properties b/examples/org.eclipse.swt.examples.launcher/plugin.properties
deleted file mode 100755
index 7b0f95c5de..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/plugin.properties
+++ /dev/null
@@ -1,49 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-providerName = Eclipse.org
-plugin.SWTLauncherExample.name = SWT Launcher Example Plugin
-category.SWTExamples.name = SWT Examples
-view.LauncherExample.name = SWT Example Launcher
-
-extension-point.launchItems.name = Launch Items
-
-launchcategory.SWTViewExamples.name = Workbench Views
-launchcategory.SWTViewExamples.description = \
- A collection of Standard Widget Toolkit examples that run as Views inside the Workbench. \
- These examples will create a new View in the current Perspective.
-
-launchitem.LauncherExample.name = Launcher
-launchitem.LauncherExample.description = \
- The Example Launcher is used to launch SWT examples which can either be \
- Workbench Views, or Standalone applications.\n\n\
- Workbench Views are examples that are integrated into Eclipse. When the Launcher \
- starts a Workbench View, it is opened in the currently active perspective.\n\n\
- Standalone applications are launched in a separate window.
-
-error.CouldNotLoadResources = Unable to load resources
-error.CouldNotFindRegisteredExtensions = Could Not Find Registered Extensions
-error.IncompleteProgramLaunchItem = Incomplete XML ProgramLaunchItem definition, id = {0}
-error.IncompleteViewLaunchItem = Incomplete XML ViewLaunchItem definition, id = {0}
-error.IncompleteLaunchItem = Incomplete or unrecognized XML LaunchItem definition, id = {0}
-
-launchitem.Null.description = <<no item selected>>
-
-launchitem.Missing.name = <<unnamed>>
-launchitem.Missing.description = <<no description available>>
-
-view.launchGroup.text = Examples
-view.launchButton.text = Run
-view.descriptionGroup.text = Description
-
-run.error.Invocation = A fatal error occurred while launching the program.
-run.error.DoesNotImplementMethod = The class does not implement the open() method.
-run.error.CouldNotFindClass = Could not find the class to run.
-run.error.CouldNotInstantiateClass = Could not instantiate the class to run.
diff --git a/examples/org.eclipse.swt.examples.launcher/plugin.xml b/examples/org.eclipse.swt.examples.launcher/plugin.xml
deleted file mode 100755
index 2c9f43690b..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/plugin.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin
- id="org.eclipse.swt.examples.launcher"
- name="%plugin.SWTLauncherExample.name"
- version="3.0.0"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.launcher.LauncherPlugin">
-
-<!-- Runtime -->
-<!-- Runtime -->
-<!-- Runtime -->
-<!-- Runtime -->
- <runtime>
- <library name="launcher.jar">
- <packages prefixes="org.eclipse.swt.examples.launcher"/>
- </library>
- </runtime>
-<!-- Required plugins -->
- <requires>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
- <import plugin="org.eclipse.jdt.launching"/>
- <import plugin="org.eclipse.debug.core"/>
- <import plugin="org.eclipse.core.boot"/>
- <import plugin="org.eclipse.jdt.core"/>
- </requires>
-
-
-<!-- Extension points -->
- <extension-point id="launchItems" name="%extension-point.launchItems.name" schema="schema/org.eclipse.swt.examples.launcher.launchItems.exsd"/>
-
-<!-- Extensions -->
- <extension
- id="application"
- point="org.eclipse.core.runtime.applications">
- </extension>
- <extension
- point="org.eclipse.ui.views">
- <category
- name="%category.SWTExamples.name"
- id="org.eclipse.swt.examples.category">
- </category>
- <view
- name="%view.LauncherExample.name"
- icon="icons/launcher_example.gif"
- category="org.eclipse.swt.examples.category"
- class="org.eclipse.swt.examples.launcher.LauncherView"
- id="org.eclipse.swt.examples.launcher.view">
- </view>
- </extension>
- <extension
- point="org.eclipse.swt.examples.launcher.launchItems">
- <category
- name="%launchcategory.SWTViewExamples.name"
- description="%launchcategory.SWTViewExamples.description"
- id="org.eclipse.swt.examples.launchViewCategory">
- </category>
- <item
- name="%launchitem.LauncherExample.name"
- enabled="false"
- icon="icons/launcher_example.gif"
- description="%launchitem.LauncherExample.description"
- category="org.eclipse.swt.examples.launchViewCategory"
- id="org.eclipse.swt.examples.launcher.viewlauncher">
- <view
- viewId="org.eclipse.swt.examples.launcher.view">
- </view>
- </item>
- </extension>
-
-</plugin>
diff --git a/examples/org.eclipse.swt.examples.launcher/schema/org.eclipse.swt.examples.launcher.launchItems.exsd b/examples/org.eclipse.swt.examples.launcher/schema/org.eclipse.swt.examples.launcher.launchItems.exsd
deleted file mode 100644
index 3813c9d3fe..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/schema/org.eclipse.swt.examples.launcher.launchItems.exsd
+++ /dev/null
@@ -1,210 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.swt.examples.launcher">
-<annotation>
- <appInfo>
- <meta.schema plugin="org.eclipse.swt.examples.launcher" id="launchItems" name="Launch Items"/>
- </appInfo>
- <documentation>
- This extension point is used to add &apos;standalone program&apos; and
-&apos;Workbench view&apos;
-launch items to the Launcher, optionally grouping them into
-categories so as to form a multi-tiered hierarchy.
-Standalone programs are executed using the platform&apos;s event loop.
-Workbench views are created within the active Workbench Perspective.
- </documentation>
- </annotation>
-
- <element name="extension">
- <complexType>
- <choice minOccurs="0" maxOccurs="unbounded">
- <element ref="category"/>
- <element ref="item"/>
- </choice>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="program">
- <annotation>
- <documentation>
- Specifies a &quot;Standalone Program&quot; for a launch item to run.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="mainClass" type="string" use="required">
- <annotation>
- <documentation>
- The fully-qualified name of the class whose main() method is to be launched.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="pluginId" type="string" use="required">
- <annotation>
- <documentation>
- The unique id of the Eclipse Platform plugin containing the program.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="view">
- <annotation>
- <documentation>
- Specifies a &quot;Workbench View&quot; for a launch item to activate.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="viewId" type="string" use="required">
- <annotation>
- <documentation>
- The unique id of the Workbench View to be activated when the item is launched.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="category">
- <annotation>
- <documentation>
- Specifies a launch item category heading.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- The localized name of this category.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- The unique id of this category. Categories with duplicate id&apos;s will be discarded.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="category" type="string">
- <annotation>
- <documentation>
- The unique id of the parent category.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="description" type="string">
- <annotation>
- <documentation>
- Specifies a launch item category description.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="item">
- <annotation>
- <documentation>
- Specifies a launch item.
- </documentation>
- </annotation>
- <complexType>
- <choice>
- <element ref="view"/>
- <element ref="program"/>
- </choice>
- <attribute name="name" type="string" use="required">
- <annotation>
- <documentation>
- The localized name of this launch item.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- The unique id of this launch item. Launch items with duplicate id&apos;s will be discarded.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="category" type="string">
- <annotation>
- <documentation>
- The unique id of the category this launch item belongs to.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="icon" type="string">
- <annotation>
- <documentation>
- The declaring plugin relative path of an icon to display with this launch item in the Launcher.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="enabled" type="boolean" use="default" value="true">
- <annotation>
- <documentation>
- Set to &quot;false&quot; to disable this launch item, or to &quot;true&quot; to enable it (default).
- </documentation>
- </annotation>
- </attribute>
- <attribute name="description" type="string">
- <annotation>
- <documentation>
- The localized plain-text description of this launch item.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
-</schema>
diff --git a/examples/org.eclipse.swt.examples.launcher/src/import.properties b/examples/org.eclipse.swt.examples.launcher/src/import.properties
deleted file mode 100644
index 58344f0d3e..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/src/import.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# Persist project settings for later import
-natures = org.eclipse.jdt.core.javanature; org.eclipse.pde.PluginNature
-builders = org.eclipse.jdt.core.javabuilder; org.eclipse.pde.ManifestBuilder; org.eclipse.pde.SchemaBuilder
-var.ECLIPSE_PLUGINS = <<ECLIPSE_PLUGINS>>
diff --git a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemDescriptor.java b/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemDescriptor.java
deleted file mode 100755
index 7ec10195b8..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemDescriptor.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.launcher;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * ItemDescriptor collects information about a launch item.
- */
-class ItemDescriptor {
- private String id;
- private String name;
- private String description;
- private Image icon;
- private String view;
- private String mainType;
- private String pluginId;
-
-
- /**
- * Constructs an ItemDescriptor.
- *
- * @param id the id
- * @param name the name
- * @param description the description
- * @param icon the icon
- * @param view the host view may be null if it is a standalone application
- * @param mainType the fully qualified class name to run may be null if it is a view
- * @param pluginId the name of the plugin which contains the main class
- */
- public ItemDescriptor(String id, String name, String description,
- Image icon, String view, String mainType, String pluginId) {
- this.id = id;
- this.name = name;
- this.description = description;
- this.icon = icon;
- this.view = view;
- this.mainType = mainType;
- this.pluginId = pluginId;
- }
-
- /**
- * Returns the ID for this program.
- *
- * @return the user-specified ID for this program
- */
- public String getId() {
- return id;
- }
-
- /**
- * Returns the translated name for the program.
- *
- * @return the name of the program
- */
- public String getName() {
- return name;
- }
-
- /**
- * Returns a short description for the program.
- *
- * @return a newline-delimited string describing the program, null if no description is available
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * Returns an icon for this descriptor
- *
- * @returns an icon, null if the item is a folder
- */
- public Image getIcon() {
- return icon;
- }
-
- /**
- * Returns the host view for the program.
- *
- * @return the host view, null if the item is a standalone program.
- */
- public String getView () {
- return view;
- }
-
- /**
- * Returns the fully qualified class to run
- * for the program.
- *
- * @return the class to run for the program.
- */
- public String getMainType () {
- return mainType;
- }
-
- /**
- * Returns the name of the plugin that contains the program.
- *
- * @return the name of the plugin that contains the program.
- */
- public String getPluginId () {
- return pluginId;
- }
-
- /**
- * Determines if an item is a folder.
- *
- * @return true if the item is a folder
- */
- public boolean isFolder() {
- return (mainType == null && view == null);
- }
-
- /**
- * Determines the equality of descriptors.
- *
- * @return true if this.getId().equalsIgnoreCase(other.getId())
- */
- public boolean equals(Object other) {
- if (other instanceof ItemDescriptor) {
- ItemDescriptor otherDescriptor = (ItemDescriptor) other;
- return getId().equalsIgnoreCase(otherDescriptor.getId());
- }
- return false;
- }
-
- /**
- * Produces a hashcode.
- *
- * @return the hashcode
- */
- public int hashCode() {
- return id.toUpperCase().hashCode();
- }
-}
diff --git a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemTreeNode.java b/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemTreeNode.java
deleted file mode 100755
index 6088090e96..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemTreeNode.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.launcher;
-
-
-/**
- * Internal class used to store tree structures of ItemDescriptors
- */
-class ItemTreeNode {
- private ItemTreeNode nextSibling;
- private ItemTreeNode firstChild;
- private ItemDescriptor descriptor;
-
- /**
- * Constructs a leaf ItemTreeNode with a given descriptor.
- *
- * @param descriptor the descriptor
- */
- public ItemTreeNode(ItemDescriptor descriptor) {
- this.descriptor = descriptor;
- }
-
- /**
- * Adds a node to the Tree in sorted order by name.
- *
- * @param node the node to add. Note that node.nextSibling must be null
- */
- public void addSortedNode(ItemTreeNode node) {
- if (firstChild == null) {
- firstChild = node;
- } else if (firstChild.descriptor.getName().compareTo(node.descriptor.getName()) > 0) {
- node.nextSibling = firstChild;
- firstChild = node;
- } else {
- ItemTreeNode cursor;
- for (cursor = firstChild; cursor.nextSibling != null; cursor = cursor.nextSibling) {
- ItemTreeNode sibling = cursor.nextSibling;
- if (sibling.descriptor.getName().compareTo(node.descriptor.getName()) > 0) break;
- }
- node.nextSibling = cursor.nextSibling;
- cursor.nextSibling = node;
- }
- }
-
- /**
- * Returns the descriptor for this node.
- *
- * @return the descriptor
- */
- public ItemDescriptor getDescriptor() {
- return descriptor;
- }
-
- /**
- * Returns the next sibling of this node.
- *
- * @return the next sibling, or null if none
- */
- public ItemTreeNode getNextSibling() {
- return nextSibling;
- }
-
- /**
- * Returns the first child of this node.
- *
- * @return the first child, or null if none
- */
- public ItemTreeNode getFirstChild() {
- return firstChild;
- }
-}
diff --git a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherPlugin.java b/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherPlugin.java
deleted file mode 100755
index 2d6abb35f5..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherPlugin.java
+++ /dev/null
@@ -1,390 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.launcher;
-
-
-import java.io.*;
-import java.net.*;
-import java.text.*;
-import java.util.*;
-
-import org.eclipse.core.runtime.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.ui.plugin.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class LauncherPlugin extends AbstractUIPlugin {
- //The shared instance.
- private static LauncherPlugin plugin;
- private static ResourceBundle resourceBundle;
-
- private static final String
- LAUNCH_ITEMS_POINT_ID = "org.eclipse.swt.examples.launcher.launchItems",
- LAUNCH_ITEMS_XML_CATEGORY = "category",
- LAUNCH_ITEMS_XML_ITEM = "item",
- LAUNCH_ITEMS_XML_ITEM_ICON = "icon",
- LAUNCH_ITEMS_XML_ITEM_DESCRIPTION = "description",
- LAUNCH_ITEMS_XML_PROGRAM = "program",
- LAUNCH_ITEMS_XML_PROGRAM_PLUGIN = "pluginId",
- LAUNCH_ITEMS_XML_PROGRAM_CLASS = "mainClass",
- LAUNCH_ITEMS_XML_VIEW = "view",
- LAUNCH_ITEMS_XML_VIEW_VIEWID = "viewId",
- LAUNCH_ITEMS_XML_ATTRIB_ID = "id",
- LAUNCH_ITEMS_XML_ATTRIB_NAME = "name",
- LAUNCH_ITEMS_XML_ATTRIB_ENABLED = "enabled",
- LAUNCH_ITEMS_XML_ATTRIB_CATEGORY = "category",
- LAUNCH_ITEMS_XML_VALUE_TRUE = "true",
- LAUNCH_ITEMS_XML_VALUE_FALSE = "false";
-
- static final int
- liClosedFolder = 0,
- liOpenFolder = 1,
- liGenericExample = 2;
- static final String[] imageLocations = {
- "icons/closedFolder.gif",
- "icons/openFolder.gif",
- "icons/generic_example.gif" };
- static Image images[];
-
- /**
- * Constructs the LauncherPlugin.
- */
- public LauncherPlugin(IPluginDescriptor descriptor) {
- super(descriptor);
- plugin = this;
- resourceBundle = descriptor.getResourceBundle();
- }
-
- /**
- * Clean up
- */
- public void shutdown() throws CoreException {
- super.shutdown();
- freeResources();
- }
-
- /**
- * Returns the shared instance.
- */
- public static LauncherPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Loads the resources
- */
- public static void initResources() {
- if (images == null) {
- images = new Image[imageLocations.length];
-
- for (int i = 0; i < imageLocations.length; ++i) {
- images[i] = getImageFromPlugin(plugin.getDescriptor(), imageLocations[i]);
- if (images[i] == null) {
- freeResources();
- logError(getResourceString("error.CouldNotLoadResources"), null);
- throw new IllegalStateException();
- }
- }
- }
- }
-
- /**
- * Frees the resources
- */
- public static void freeResources() {
- if (images != null) {
- for (int i = 0; i < images.length; ++i) {
- final Image image = images[i];
- if (image != null) image.dispose();
- }
- images = null;
- }
- }
-
- /**
- * Log an error to the ILog for this plugin
- *
- * @param message the localized error message text
- * @param exception the associated exception, or null
- */
- public static void logError(String message, Throwable exception) {
- plugin.getLog().log(new Status(IStatus.ERROR, plugin.getDescriptor().getUniqueIdentifier(),
- 0, message, exception));
- }
-
- /**
- * Returns a string from the resource bundle.
- * We don't want to crash because of a missing String.
- * Returns the key if not found.
- */
- public static String getResourceString(String key) {
- try {
- return resourceBundle.getString(key);
- } catch (MissingResourceException e) {
- return key;
- } catch (NullPointerException e) {
- return "!" + key + "!";
- }
- }
-
- /**
- * Returns a string from the resource bundle and binds it
- * with the given arguments. If the key is not found,
- * return the key.
- */
- public static String getResourceString(String key, Object[] args) {
- try {
- return MessageFormat.format(getResourceString(key), args);
- } catch (MissingResourceException e) {
- return key;
- } catch (NullPointerException e) {
- return "!" + key + "!";
- }
- }
-
- /**
- * Constructs a list of available programs from registered extensions.
- *
- * @return an ItemTreeNode representing the root of a tree of items (the root is not to be displayed)
- */
- public static ItemTreeNode getLaunchItemTree() {
- ItemTreeNode categoryTree =
- new ItemTreeNode(new ItemDescriptor("<<Root>>", "<<Root>>", null, null, null, null, null));
-
- // get the platform's public plugin registry
- IPluginRegistry pluginRegistry = Platform.getPluginRegistry();
- // retrieve all configuration elements registered at our launchItems extension-point
- IConfigurationElement[] configurationElements =
- pluginRegistry.getConfigurationElementsFor(LAUNCH_ITEMS_POINT_ID);
-
- if (configurationElements == null || configurationElements.length == 0) {
- logError(getResourceString("error.CouldNotFindRegisteredExtensions"), null);
- return categoryTree;
- }
-
- /* Collect all launch categories -- coalesce those with same ID */
- HashMap idMap = new HashMap();
- for (int i = 0; i < configurationElements.length; ++i) {
- final IConfigurationElement ce = configurationElements[i];
- final String ceName = ce.getName();
- final String attribId = getItemAttribute(ce, LAUNCH_ITEMS_XML_ATTRIB_ID, null);
-
- if (idMap.containsKey(attribId)) continue;
- if (ceName.equalsIgnoreCase(LAUNCH_ITEMS_XML_CATEGORY)) {
- final String attribName = getItemName(ce);
- ItemDescriptor theDescriptor = new ItemDescriptor(attribId, attribName,
- getItemDescription(ce), null, null, null, null);
- idMap.put(attribId, new ItemTreeNode(theDescriptor));
- }
- }
-
- /* Generate launch category hierarchy */
- Set tempIdSet = new HashSet(); // used to prevent duplicates from being entered into the tree
- for (int i = 0; i < configurationElements.length; ++i) {
- final IConfigurationElement ce = configurationElements[i];
- final String ceName = ce.getName();
- final String attribId = getItemAttribute(ce, LAUNCH_ITEMS_XML_ATTRIB_ID, null);
-
- if (tempIdSet.contains(attribId)) continue;
- if (ceName.equalsIgnoreCase(LAUNCH_ITEMS_XML_CATEGORY)) {
- final ItemTreeNode theNode = (ItemTreeNode) idMap.get(attribId);
- addItemByCategory(ce, categoryTree, theNode, idMap);
- tempIdSet.add(attribId);
- }
- }
-
- /* Generate program tree */
- for (int i = 0; i < configurationElements.length; ++i) {
- final IConfigurationElement ce = configurationElements[i];
- final String ceName = ce.getName();
- final String attribId = getItemAttribute(ce, LAUNCH_ITEMS_XML_ATTRIB_ID, null);
-
- if (idMap.containsKey(attribId)) continue;
- if (ceName.equalsIgnoreCase(LAUNCH_ITEMS_XML_CATEGORY)) {
- // ignore
- } else if (ceName.equalsIgnoreCase(LAUNCH_ITEMS_XML_ITEM)) {
- final String enabled = getItemAttribute(ce, LAUNCH_ITEMS_XML_ATTRIB_ENABLED,
- LAUNCH_ITEMS_XML_VALUE_TRUE);
- if (enabled.equalsIgnoreCase(LAUNCH_ITEMS_XML_VALUE_FALSE)) continue;
- ItemDescriptor theDescriptor = createItemDescriptor(ce, attribId);
-
- if (theDescriptor != null) {
- final ItemTreeNode theNode = new ItemTreeNode(theDescriptor);
- addItemByCategory(ce, categoryTree, theNode, idMap);
- idMap.put(attribId, theNode);
- }
- }
- }
- return categoryTree;
- }
-
-
- /**
- * Adds an item to the category tree.
- */
- private static void addItemByCategory(IConfigurationElement ce, ItemTreeNode root,
- ItemTreeNode theNode, HashMap idMap) {
- final String attribCategory = getItemAttribute(ce, LAUNCH_ITEMS_XML_ATTRIB_CATEGORY, null);
-
- // locate the parent node
- ItemTreeNode parentNode = null;
- if (attribCategory != null) {
- parentNode = (ItemTreeNode) idMap.get(attribCategory);
- }
- if (parentNode == null) parentNode = root;
-
- // add the item
- parentNode.addSortedNode(theNode);
- }
-
- /**
- * Creates an ItemDescriptor from an XML definition.
- *
- * @param ce the IConfigurationElement describing the item
- * @param attribId the attribute id
- * @return a new ItemDescriptor, or null if an error occurs
- */
- private static ItemDescriptor createItemDescriptor(IConfigurationElement ce, String attribId) {
- final String attribName = getItemName(ce);
- final Image attribIcon = getItemIcon(ce);
- final String attribDescription = getItemDescription(ce);
-
- IConfigurationElement viewCE = getItemElement(ce, LAUNCH_ITEMS_XML_VIEW);
- if (viewCE != null) {
- //Item is a view
- final String attribView = getItemAttribute(viewCE, LAUNCH_ITEMS_XML_VIEW_VIEWID, null);
- if (attribView == null) {
- logError(getResourceString("error.IncompleteViewLaunchItem",
- new Object[] { attribId } ), null);
- return null;
- }
- return new ItemDescriptor(attribId, attribName, attribDescription,
- attribIcon, attribView, null, null);
- } else {
- //Item is a standalone
- IConfigurationElement programCE = getItemElement(ce, LAUNCH_ITEMS_XML_PROGRAM);
- if (programCE != null) {
- final String attribPluginId = getItemAttribute(programCE, LAUNCH_ITEMS_XML_PROGRAM_PLUGIN, null);
- final String attribClass = getItemAttribute(programCE, LAUNCH_ITEMS_XML_PROGRAM_CLASS, null);
- if (attribClass == null || attribPluginId == null) {
- logError(getResourceString("error.IncompleteProgramLaunchItem",
- new Object[] { attribId } ), null);
- return null;
- }
- return new ItemDescriptor(attribId, attribName, attribDescription,
- attribIcon, null, attribClass, attribPluginId);
- } else {
- logError(getResourceString("error.IncompleteLaunchItem",
- new Object[] { attribId } ), null);
- return null;
- }
- }
- }
-
- /**
- * Returns the first instance of a particular child XML element.
- *
- * @param ce the IConfigurationElement parent
- * @param element the name of the element to fetch
- * @return the element's IConfigurationElement, or null if not found
- */
- private static IConfigurationElement getItemElement(IConfigurationElement ce, String element) {
- IConfigurationElement[] elementCEs = ce.getChildren(element);
- return (elementCEs != null && elementCEs.length != 0) ? elementCEs[0] : null;
- }
-
- /**
- * Returns the value of an XML attribute for an item.
- *
- * @param ce the IConfigurationElement describing the item
- * @param attribute the attribute to fetch
- * @param defaultValue the value to return if the attribute is not found
- * @return the attribute value
- */
- private static String getItemAttribute(IConfigurationElement ce, String attribute, String defaultValue) {
- String value = ce.getAttribute(attribute);
- return (value != null) ? value : defaultValue;
- }
-
- /**
- * Returns the description string given the IConfigurationElement for an item.
- *
- * @param ce the IConfigurationElement describing the item
- * @return a newline-delimited string that describes this item, or null if none
- */
- private static String getItemDescription(IConfigurationElement ce) {
- String description = getItemAttribute(ce, LAUNCH_ITEMS_XML_ITEM_DESCRIPTION, "");
- return (description.length() == 0) ? null : description;
- }
-
- /**
- * Returns the name of an item.
- *
- * @param ce the IConfigurationElement describing the item
- * @return the attribute value
- */
- private static String getItemName(IConfigurationElement ce) {
- return getItemAttribute(ce, LAUNCH_ITEMS_XML_ATTRIB_NAME,
- getResourceString("launchitem.Missing.name"));
- }
-
-
- /**
- * Returns the icon for an item.
- *
- * @param ce the IConfigurationElement describing the item
- * @return an icon
- */
- private static Image getItemIcon(IConfigurationElement ce) {
- String iconPath = getItemAttribute(ce, LAUNCH_ITEMS_XML_ITEM_ICON, "");
- if (iconPath.length() != 0) {
- Image icon = getImageFromPlugin(ce.getDeclaringExtension().getDeclaringPluginDescriptor(),
- iconPath);
- if (icon != null) {
- Image[] newImages = new Image[images.length + 1];
- System.arraycopy(images, 0, newImages, 0, images.length);
- newImages[images.length] = icon;
- images = newImages;
- return icon;
- }
- }
- return images[liGenericExample];
- }
-
- /**
- * Gets an image from a path relative to the plugin install directory.
- *
- * @param pd the plugin descriptor for the plugin with the image
- * @param iconPath the path relative to the install directory
- * @return the image, or null if not found
- */
- private static Image getImageFromPlugin(IPluginDescriptor pd, String iconPath) {
- InputStream is = null;
- try {
- URL installUrl = pd.getInstallURL();
- URL url = new URL(installUrl, iconPath);
- is = url.openConnection().getInputStream();
- ImageData source = new ImageData(is);
- ImageData mask = source.getTransparencyMask();
- Image image = new Image(null, source, mask);
- return image;
- } catch (Throwable ex) {
- return null;
- } finally {
- try {
- if (is != null) is.close();
- } catch (IOException e) {
- }
- }
- }
-}
diff --git a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherView.java b/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherView.java
deleted file mode 100755
index 663dfd6415..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherView.java
+++ /dev/null
@@ -1,233 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.launcher;
-
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.widgets.*;
-import org.eclipse.ui.*;
-import org.eclipse.ui.part.*;
-import java.lang.reflect.*;
-
-/**
- * Launcher uses <code>org.eclipse.swt</code>
- * to launch the other registered examples.
- *
- * @see ViewPart
- */
-public class LauncherView extends ViewPart {
- private Shell workbenchShell;
-
- private Tree launchTree;
- private Text descriptionText;
- private Button runButton;
-
- /**
- * Constructs a LauncherView.
- */
- public LauncherView() {
- LauncherPlugin.initResources();
- }
-
- /**
- * Creates the example.
- *
- * @see ViewPart#createPartControl
- */
- public void createPartControl(Composite parent) {
- workbenchShell = getSite().getShell();
- parent.setLayout(new SplitLayout());
-
- Group launchGroup = new Group(parent, SWT.NULL);
- launchGroup.setText(LauncherPlugin.getResourceString("view.launchGroup.text"));
-
- GridLayout gridLayout = new GridLayout();
- gridLayout.numColumns = 2;
- launchGroup.setLayout(gridLayout);
-
- launchTree = new Tree(launchGroup, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
- GridData gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
- gridData.horizontalSpan = 2;
- launchTree.setLayoutData(gridData);
- launchTree.addSelectionListener(new SelectionListener() {
- public void widgetSelected(SelectionEvent event) {
- final ItemDescriptor item = getSelectedItem();
- setDescriptionByItem(item);
- }
- public void widgetDefaultSelected(SelectionEvent event) {
- final ItemDescriptor item = getSelectedItem();
- setDescriptionByItem(item);
- launchItem(getSelectedItem());
- }
- });
- launchTree.addTreeListener(new TreeListener() {
- public void treeCollapsed(TreeEvent event) {
- final TreeItem item = (TreeItem) event.item;
- if (item == null) return;
- item.setImage(LauncherPlugin.images[LauncherPlugin.liClosedFolder]);
- }
- public void treeExpanded(TreeEvent event) {
- final TreeItem item = (TreeItem) event.item;
- if (item == null) return;
- item.setImage(LauncherPlugin.images[LauncherPlugin.liOpenFolder]);
- }
- });
-
- runButton = new Button(launchGroup, SWT.PUSH);
- runButton.setText(LauncherPlugin.getResourceString("view.launchButton.text"));
- runButton.addSelectionListener(new SelectionListener() {
- public void widgetSelected(SelectionEvent event) {
- launchItem(getSelectedItem());
- }
- public void widgetDefaultSelected(SelectionEvent event) {
- }
- });
-
- Group descriptionGroup = new Group(parent, SWT.NULL);
- descriptionGroup.setText(LauncherPlugin.getResourceString("view.descriptionGroup.text"));
- descriptionGroup.setLayout(new FillLayout());
-
- descriptionText = new Text(descriptionGroup, SWT.MULTI | SWT.BORDER |
- SWT.WRAP | SWT.V_SCROLL | SWT.READ_ONLY);
-
- setDescriptionByItem(null);
- setItemDescriptors(LauncherPlugin.getLaunchItemTree());
- }
-
- /**
- * Called when we must grab focus.
- *
- * @see org.eclipse.ui.part.ViewPart#setFocus
- */
- public void setFocus() {
- launchTree.setFocus();
- runButton.getShell().setDefaultButton(runButton);
- }
-
- /**
- * Called when the View is to be disposed
- */
- public void dispose() {
- workbenchShell = null;
- launchTree = null;
- descriptionText = null;
- runButton = null;
- super.dispose();
- }
-
- /**
- * Installs a new launch list.
- *
- * @param newRoot the new tree of launch items for the UI
- */
- public void setItemDescriptors(final ItemTreeNode newRoot) {
- if (workbenchShell == null) return;
- workbenchShell.getDisplay().syncExec(new Runnable() {
- public void run() {
- if ((launchTree == null) || (launchTree.isDisposed())) return;
- launchTree.removeAll();
-
- for (ItemTreeNode node = newRoot.getFirstChild(); node != null;
- node = node.getNextSibling()) {
- doNode(node, new TreeItem(launchTree, SWT.NONE)); // top-level TreeItem
- }
- }
- private void addGroup(TreeItem parent, ItemTreeNode node) {
- for (;node != null; node = node.getNextSibling()) {
- doNode(node, new TreeItem(parent, SWT.NONE)); // TreeItem at depth > 0
- }
- }
- private void doNode(ItemTreeNode node, TreeItem treeItem) {
- final ItemDescriptor item = node.getDescriptor();
- treeItem.setText(item.getName());
- treeItem.setData(item);
- if (node.getDescriptor().isFolder()) {
- treeItem.setExpanded(false);
- treeItem.setImage(LauncherPlugin.images[LauncherPlugin.liClosedFolder]);
- } else {
- treeItem.setImage(node.getDescriptor().getIcon());
- }
- addGroup(treeItem, node.getFirstChild());
- }
- });
- }
-
- /**
- * Runs the specified launch item.
- *
- * @param itemDescriptor the launch item to execute
- */
- private void launchItem(ItemDescriptor itemDescriptor) {
- /* Case 1: The launch item is a view */
- String pluginViewId = itemDescriptor.getView ();
- if (pluginViewId != null) {
- final IWorkbenchPart workbenchPart = this;
- final IWorkbenchPartSite workbenchPartSite = workbenchPart.getSite();
- final IWorkbenchPage workbenchPage = workbenchPartSite.getPage();
- try {
- workbenchPage.showView(pluginViewId);
- } catch (PartInitException e) {
- LauncherPlugin.logError(LauncherPlugin.getResourceString("run.error.Invocation"), e);
- }
- return;
- }
- /* Case 2: The launch item is a standalone program */
- if (workbenchShell == null) return;
- try {
- Class cl = Class.forName(itemDescriptor.getMainType());
- Display display = workbenchShell.getDisplay();
- Object exampleInstance = cl.newInstance();
- Method openMethod = cl.getDeclaredMethod("open", new Class[] {Display.class});
- openMethod.invoke(exampleInstance, new Object[] {display});
- } catch (NoSuchMethodException e) {
- LauncherPlugin.logError(LauncherPlugin.getResourceString("run.error.DoesNotImplementMethod"), null);
- } catch (ClassNotFoundException e) {
- LauncherPlugin.logError(LauncherPlugin.getResourceString("run.error.CouldNotFindClass"), e);
- } catch (Exception e) {
- LauncherPlugin.logError(LauncherPlugin.getResourceString("run.error.CouldNotInstantiateClass"), e);
- }
- }
-
- /**
- * Obtains the selected launch item.
- *
- * @return the currently selected ItemDescriptor
- */
- private ItemDescriptor getSelectedItem() {
- final TreeItem[] selections = launchTree.getSelection();
- if (selections.length == 0) return null;
- final ItemDescriptor itemDescriptor = (ItemDescriptor) selections[0].getData();
- return itemDescriptor;
- }
-
- /**
- * Sets the currently visible description text to reflect that of a particular ItemDescriptor.
- *
- * @param itemDescriptor the launch item whose description is to be displayed, or null if none
- */
- private void setDescriptionByItem(ItemDescriptor itemDescriptor) {
- String description;
- if (itemDescriptor == null) {
- description = LauncherPlugin.getResourceString("launchitem.Null.description");
- if (runButton != null) runButton.setEnabled(false);
- } else {
- description = itemDescriptor.getDescription();
- if (description == null)
- description = LauncherPlugin.getResourceString("launchitem.Missing.description");
- if (runButton != null) {
- runButton.setEnabled(itemDescriptor.getView() != null || itemDescriptor.getMainType() != null);
- }
- }
- descriptionText.setText(description);
- }
-}
diff --git a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/SplitLayout.java b/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/SplitLayout.java
deleted file mode 100755
index 47dbfddd89..0000000000
--- a/examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/SplitLayout.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.launcher;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.widgets.*;
-
-/**
- * A Layout class that automatically switches from a horizontal split to a vertical
- * split layout to accomodate changing size conditions.
- *
- * Later on we might improve this class to take into account the "preferred" size of
- * the widgets.
- */
-public class SplitLayout extends Layout {
- private static final int
- splitHorizontally = 0,
- splitVertically = 1;
- private int splitDirection = splitHorizontally;
-
- public int spacing = 3;
- public int marginTop = 3;
- public int marginLeft = 3;
- public int marginRight = 3;
- public int marginBottom = 3;
-
- /**
- * Creates a new layout
- */
- public SplitLayout() {
- }
-
- /**
- * @see Layout#computeSize(Composite, int, int, boolean)
- */
- protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache) {
- if (wHint == SWT.DEFAULT) {
- if (hHint == SWT.DEFAULT) {
- Point hSplitSize = computeHSplitSize(composite, wHint, hHint, flushCache);
- Point vSplitSize = computeVSplitSize(composite, wHint, hHint, false);
- int hSplitArea = hSplitSize.x * hSplitSize.y;
- int vSplitArea = vSplitSize.x * vSplitSize.y;
- // Choose direction consuming least area
- if (hSplitArea < vSplitArea) {
- splitDirection = splitHorizontally;
- return hSplitSize;
- } else {
- splitDirection = splitVertically;
- return vSplitSize;
- }
- } else {
- // Constrained in height: split vertically
- splitDirection = splitVertically;
- return computeVSplitSize(composite, wHint, hHint, flushCache);
- }
- } else {
- if (hHint == SWT.DEFAULT) {
- // Constrained in width: split horizontally
- splitDirection = splitHorizontally;
- return computeHSplitSize(composite, wHint, hHint, flushCache);
- } else {
- if (hHint < wHint) {
- splitDirection = splitVertically;
- return computeVSplitSize(composite, wHint, hHint, flushCache);
- } else {
- splitDirection = splitHorizontally;
- return computeHSplitSize(composite, wHint, hHint, flushCache);
- }
- }
- }
- }
- /**
- * @see Layout#layout(Composite, boolean)
- */
- protected void layout(Composite composite, boolean flushCache) {
- Rectangle clientArea = composite.getClientArea();
- computeSize(composite, clientArea.width, clientArea.height, false);
-
- Control[] children = composite.getChildren();
- clientArea.x += marginLeft;
- clientArea.y += marginTop;
- clientArea.width -= marginRight + marginLeft;
- clientArea.height -= marginBottom + marginTop;
- Point position = new Point(clientArea.x, clientArea.y);
-
- for (int i = 0; i < children.length; ++i) {
- final Control child = children[i];
- final Rectangle bounds;
- if (splitDirection == splitHorizontally) {
- int height = clientArea.height / children.length;
- bounds = new Rectangle(position.x, position.y, clientArea.width, height);
- position.y += height + spacing;
- } else {
- int width = clientArea.width / children.length;
- bounds = new Rectangle(position.x, position.y, width, clientArea.height);
- position.x += width + spacing;
- }
- bounds.width = Math.max(bounds.width, 0);
- bounds.height = Math.max(bounds.height, 0);
- child.setBounds(bounds);
- }
- }
-
- private Point computeHSplitSize(Composite composite, int wHint, int hHint, boolean flushCache) {
- Point size = new Point(marginLeft + marginRight, marginTop + marginBottom);
- Control[] children = composite.getChildren();
- for (int i = 0; i < children.length; ++i) {
- final Control child = children[i];
-
- Point childSize = child.computeSize(wHint, hHint, flushCache);
- size.x = Math.max(size.x, childSize.x);
- size.y += childSize.y + spacing;
- }
- return size;
- }
-
- private Point computeVSplitSize(Composite composite, int wHint, int hHint, boolean flushCache) {
- Point size = new Point(marginLeft + marginRight, marginTop + marginBottom);
- Control[] children = composite.getChildren();
- for (int i = 0; i < children.length; ++i) {
- final Control child = children[i];
-
- Point childSize = child.computeSize(wHint, hHint, flushCache);
- size.x += childSize.x + spacing;
- size.y = Math.max(size.y, childSize.y);
- }
- return size;
- }
-}
diff --git a/examples/org.eclipse.swt.examples.layouts/.classpath b/examples/org.eclipse.swt.examples.layouts/.classpath
deleted file mode 100644
index 065ac06e19..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/examples/org.eclipse.swt.examples.layouts/.cvsignore b/examples/org.eclipse.swt.examples.layouts/.cvsignore
deleted file mode 100644
index c5e82d7458..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.layouts/.project b/examples/org.eclipse.swt.examples.layouts/.project
deleted file mode 100644
index e5d7079d5d..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/.project
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.swt.examples.layouts</name>
- <comment></comment>
- <projects>
- <project>org.eclipse.swt</project>
- <project>org.eclipse.swt.examples</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/examples/org.eclipse.swt.examples.layouts/about.html b/examples/org.eclipse.swt.examples.layouts/about.html
deleted file mode 100644
index 9db411aab9..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 (&quot;CPL&quot;). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, &quot;Program&quot; will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL (&quot;Other License&quot;), any modifications, enhancements and/or
-other code and/or documentation (&quot;Modifications&quot;) uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.layouts/build.properties b/examples/org.eclipse.swt.examples.layouts/build.properties
deleted file mode 100644
index 1c236e8ba2..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/build.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = doc-html/,\
- icons/,\
- plugin.properties,\
- plugin.xml,\
- about.html,\
- *.jar
-
-src.includes = about.html
-
-source.layouts.jar = src/
diff --git a/examples/org.eclipse.swt.examples.layouts/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.layouts/doc-html/hglegal.htm
deleted file mode 100644
index f5871b79e0..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/doc-html/hglegal.htm
+++ /dev/null
@@ -1,14 +0,0 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <LINK REL="stylesheet" HREF="../../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
- <title>Legal Notices</title>
-</head>
-<body>
-
-<h3>
-<a NAME="Notices"></a>Notices</h3>
-(c) Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy.gif
deleted file mode 100644
index c786e43e1f..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.layouts/doc-html/swt_layout_ex.html b/examples/org.eclipse.swt.examples.layouts/doc-html/swt_layout_ex.html
deleted file mode 100644
index 2eb39e4c99..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/doc-html/swt_layout_ex.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!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 - Layout Example</title>
-</head>
-<body>
-
-<h2>SWT example - Layouts</h2>
-
-<p>
-This example is a simple demonstration of common SWT layouts.
-It consists of a tab folder where each tab in the folder allows the
-user to interact with a different SWT layout.
-The user can insert widgets into a layout and set the values of the layout data
-using a property sheet. When the user has a suitable arrangement, the underlying
-code can be generated by clicking on the <strong>Code</strong> button.
-</p>
-
-<h3>Running the example</h3>
-<p>
-Follow the <a href="../../org.eclipse.swt.examples/doc-html/swt_manual_setup.html">SWT standalone examples setup</a>
-instructions to install and run the example from your workspace.
-</p>
-<p>
-The "Main" class is <code>org.eclipse.swt.examples.layoutexample.LayoutExample</code>.
-</p>
-<p>
-This example can also be run using the <a href="../../org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html">Example Launcher</a>.
-Select the <strong>Layouts</strong> item from the <strong>Workbench Views</strong> category and click <strong>Run</strong>.
-</p>
-
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation and others 2000, 2003. All Rights Reserved." BORDER=0 height=14 width=324></a></p>
-</body>
-</html> \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.layouts/icons/layouts_example.gif b/examples/org.eclipse.swt.examples.layouts/icons/layouts_example.gif
deleted file mode 100644
index d945dde53b..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/icons/layouts_example.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.layouts/plugin.properties b/examples/org.eclipse.swt.examples.layouts/plugin.properties
deleted file mode 100644
index 59ffc928d5..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/plugin.properties
+++ /dev/null
@@ -1,28 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-providerName = Eclipse.org
-plugin.SWTLayoutExample.name = SWT Layout Example Plugin
-category.SWTExamples.name = SWT Examples
-view.LayoutExample.name = SWT Layouts
-
-launchcategory.SWTViewExamples.name = Workbench Views
-launchcategory.SWTViewExamples.description = \
- A collection of Standard Widget Toolkit examples that run as Views inside the Workbench. \
- These examples will create a new View in the current Perspective.
-
-launchitem.LayoutExample.name = Layouts
-launchitem.LayoutExample.description = \
- This example is a simple demonstration of common SWT layouts. \n\n\
- It consists of a tab folder where each tab allows the \
- user to interact with a different SWT layout.\
- The user can insert widgets into a layout and set the values of the layout data \
- using a property sheet. When the user has a suitable arrangement, code can be \
- generated by clicking on the Code button.
diff --git a/examples/org.eclipse.swt.examples.layouts/plugin.xml b/examples/org.eclipse.swt.examples.layouts/plugin.xml
deleted file mode 100644
index 5f300c51bb..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/plugin.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin
- id="org.eclipse.swt.examples.layouts"
- name="%plugin.SWTLayoutExample.name"
- version="3.0.0"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.layouts.LayoutPlugin">
-
-<!-- Runtime -->
-<!-- Runtime -->
- <runtime>
- <library name="layouts.jar">
- <packages prefixes="org.eclipse.swt.examples.layouts"/>
- </library>
- </runtime>
-<!-- Required plugins -->
- <requires>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
- <import plugin="org.eclipse.swt.examples"/>
- </requires>
-
-
-<!-- Extension points -->
-<!-- Extensions -->
- <extension
- point="org.eclipse.ui.views">
- <view
- name="%view.LayoutExample.name"
- icon="icons/layouts_example.gif"
- category="org.eclipse.swt.examples.category"
- class="org.eclipse.swt.examples.layouts.LayoutView"
- id="org.eclipse.swt.examples.layouts.view">
- </view>
- </extension>
- <extension
- point="org.eclipse.swt.examples.launcher.launchItems">
- <category
- name="%launchcategory.SWTViewExamples.name"
- description="%launchcategory.SWTViewExamples.description"
- id="org.eclipse.swt.examples.launchViewCategory">
- </category>
- <item
- name="%launchitem.LayoutExample.name"
- icon="icons/layouts_example.gif"
- description="%launchitem.LayoutExample.description"
- category="org.eclipse.swt.examples.launchViewCategory"
- id="org.eclipse.swt.examples.layouts.viewlauncher">
- <view
- viewId="org.eclipse.swt.examples.layouts.view">
- </view>
- </item>
- </extension>
-
-</plugin>
diff --git a/examples/org.eclipse.swt.examples.layouts/src/import.properties b/examples/org.eclipse.swt.examples.layouts/src/import.properties
deleted file mode 100644
index 58344f0d3e..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/src/import.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# Persist project settings for later import
-natures = org.eclipse.jdt.core.javanature; org.eclipse.pde.PluginNature
-builders = org.eclipse.jdt.core.javabuilder; org.eclipse.pde.ManifestBuilder; org.eclipse.pde.SchemaBuilder
-var.ECLIPSE_PLUGINS = <<ECLIPSE_PLUGINS>>
diff --git a/examples/org.eclipse.swt.examples.layouts/src/org/eclipse/swt/examples/layouts/LayoutPlugin.java b/examples/org.eclipse.swt.examples.layouts/src/org/eclipse/swt/examples/layouts/LayoutPlugin.java
deleted file mode 100644
index d207dfdfc0..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/src/org/eclipse/swt/examples/layouts/LayoutPlugin.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.layouts;
-
-
-import org.eclipse.core.runtime.*;
-import org.eclipse.ui.plugin.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class LayoutPlugin extends AbstractUIPlugin {
- /**
- * The constructor.
- */
- public LayoutPlugin(IPluginDescriptor descriptor) {
- super(descriptor);
- }
-
- /**
- * Clean up
- */
- public void shutdown() throws CoreException {
- super.shutdown();
- }
-}
diff --git a/examples/org.eclipse.swt.examples.layouts/src/org/eclipse/swt/examples/layouts/LayoutView.java b/examples/org.eclipse.swt.examples.layouts/src/org/eclipse/swt/examples/layouts/LayoutView.java
deleted file mode 100644
index a765800c3e..0000000000
--- a/examples/org.eclipse.swt.examples.layouts/src/org/eclipse/swt/examples/layouts/LayoutView.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.layouts;
-
-
-import org.eclipse.swt.examples.layoutexample.*;
-import org.eclipse.swt.widgets.*;
-import org.eclipse.ui.part.*;
-
-/**
- * <code>Layouts</code> is a simple demonstration
- * of the layouts defined by SWT. It consists of a workbench
- * view and tab folder where each tab in the folder allows the
- * user to interact with a layout.
- *
- * @see ViewPart
- */
-public class LayoutView extends ViewPart {
- LayoutExample instance = null;
-
- /**
- * Create the example
- *
- * @see ViewPart#createPartControl
- */
- public void createPartControl(Composite frame) {
- instance = new LayoutExample(frame);
- }
-
- /**
- * Called when we must grab focus.
- *
- * @see org.eclipse.ui.part.ViewPart#setFocus
- */
- public void setFocus() {
- instance.setFocus();
- }
-
- /**
- * Called when the View is to be disposed
- */
- public void dispose() {
- instance.dispose();
- instance = null;
- super.dispose();
- }
-}
diff --git a/examples/org.eclipse.swt.examples.ole.win32/.classpath b/examples/org.eclipse.swt.examples.ole.win32/.classpath
deleted file mode 100755
index 065ac06e19..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/examples/org.eclipse.swt.examples.ole.win32/.cvsignore b/examples/org.eclipse.swt.examples.ole.win32/.cvsignore
deleted file mode 100755
index c5e82d7458..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.ole.win32/.project b/examples/org.eclipse.swt.examples.ole.win32/.project
deleted file mode 100644
index 9ea059d7d5..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/.project
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.swt.examples.ole.win32</name>
- <comment></comment>
- <projects>
- <project>org.eclipse.swt</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/examples/org.eclipse.swt.examples.ole.win32/about.html b/examples/org.eclipse.swt.examples.ole.win32/about.html
deleted file mode 100644
index 9db411aab9..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 (&quot;CPL&quot;). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, &quot;Program&quot; will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL (&quot;Other License&quot;), any modifications, enhancements and/or
-other code and/or documentation (&quot;Modifications&quot;) uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.ole.win32/build.properties b/examples/org.eclipse.swt.examples.ole.win32/build.properties
deleted file mode 100755
index c30cc18464..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/build.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = doc-html/,\
- icons/,\
- plugin.properties,\
- plugin.xml,\
- about.html,\
- *.jar
-
-src.includes = about.html
-
-source.olewin32.jar = src/
diff --git a/examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal.htm
deleted file mode 100755
index f5871b79e0..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal.htm
+++ /dev/null
@@ -1,14 +0,0 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <LINK REL="stylesheet" HREF="../../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
- <title>Legal Notices</title>
-</head>
-<body>
-
-<h3>
-<a NAME="Notices"></a>Notices</h3>
-(c) Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy.gif
deleted file mode 100755
index c786e43e1f..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.ole.win32/doc-html/swt_ole_ex.html b/examples/org.eclipse.swt.examples.ole.win32/doc-html/swt_ole_ex.html
deleted file mode 100755
index 834035cb29..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/doc-html/swt_ole_ex.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!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 - OLE Web Browser</title>
-</head>
-<body>
-
-<h2>SWT example - OLE Web Browser</h2>
-
-<p>
-This example shows how to embed an Active X control into an SWT application or an Eclipse view.
-<p>
-</p>
-When the view is opened, it will create an instance of the Windows Internet Explorer
-control. The OLE web browser has
-<strong>Back</strong> and <strong>Forward</strong> buttons to take you to recently visited pages. The browser also contains
-a <strong>Home</strong> button to take you to the web browser's home page, a <strong>Stop</strong> button which stops the
-current transfer, a <strong>Search</strong> button which will search for text typed in the <strong>Address</strong> text field, and
-a <strong>Refresh</strong> button which re-draws the contents of the currently displayed page. There is also a
-<strong>Go</strong> button which, when clicked, will attempt to load the page specified in the <strong>Address</strong> field.
-</p>
-
-<h3>Running the example</h3>
-
-<p>
-From Eclipse's <strong>Window</strong> menu select <strong>Show View</strong> &gt; <strong>Other</strong>.
-In the <strong>Show View</strong> dialog, expand <strong>SWT Examples</strong> and select
-the view named <strong>OLE Web Browser (win32)</strong>. A view containing a web browser will appear.
-</p>
-<p>
-This example can also be run using the <a href="../../org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html">Example Launcher</a>.
-Select the <strong>OLE Web Browser</strong> item from the <strong>Win32 only</strong> category and click <strong>Run</strong>.
-</p>
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation and others 2000, 2003. All Rights Reserved." BORDER=0 height=14 width=324></a></p>
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.ole.win32/icons/backward_nav.gif b/examples/org.eclipse.swt.examples.ole.win32/icons/backward_nav.gif
deleted file mode 100755
index 5fcf41b783..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/icons/backward_nav.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.ole.win32/icons/forward_nav.gif b/examples/org.eclipse.swt.examples.ole.win32/icons/forward_nav.gif
deleted file mode 100755
index 3b9b6af9b1..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/icons/forward_nav.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.ole.win32/icons/home_nav.gif b/examples/org.eclipse.swt.examples.ole.win32/icons/home_nav.gif
deleted file mode 100755
index 77a2306ed2..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/icons/home_nav.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.ole.win32/icons/refresh_nav.gif b/examples/org.eclipse.swt.examples.ole.win32/icons/refresh_nav.gif
deleted file mode 100755
index e270e18bde..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/icons/refresh_nav.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.ole.win32/icons/search_nav.gif b/examples/org.eclipse.swt.examples.ole.win32/icons/search_nav.gif
deleted file mode 100755
index 73ac91bddb..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/icons/search_nav.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.ole.win32/icons/stop_nav.gif b/examples/org.eclipse.swt.examples.ole.win32/icons/stop_nav.gif
deleted file mode 100755
index 653d347b57..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/icons/stop_nav.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.ole.win32/icons/webbrowser_example.gif b/examples/org.eclipse.swt.examples.ole.win32/icons/webbrowser_example.gif
deleted file mode 100755
index 895e22110d..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/icons/webbrowser_example.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.ole.win32/plugin.properties b/examples/org.eclipse.swt.examples.ole.win32/plugin.properties
deleted file mode 100755
index f7fa735f62..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/plugin.properties
+++ /dev/null
@@ -1,60 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-providerName = Eclipse.org
-plugin.SWTOLEExample.name = SWT OLE Example Plugin (Win32)
-category.SWTExamples.name = SWT Examples
-view.OLEWebBrowserExample.name = OLE Web Browser (Win32)
-
-launchcategory.SWTWin32OnlyExamples.name = Win32 only
-launchcategory.SWTWin32OnlyExamples.description = \
- A collection of Standard Widget Toolkit examples for Windows systems only.
-
-launchitem.OLEWebBrowserExample.name = OLE Web Browser
-launchitem.OLEWebBrowserExample.description = \
- This example demonstrates how to embed an Active X control into an SWT application or an Eclipse view.\n\n\
- When the view is opened, it will create an instance of the Windows Internet Explorer \
- control. The OLE Web Browser has \
- Back and Forward buttons to take you to recently visited pages. The browser also contains \
- a Home button to take you to the web browser's home page, a Stop button which stops the \
- current transfer, a Search button which will search for text typed in the Address text field, and \
- a Refresh button which re-draws the contents of the currently displayed page. There is also a \
- Go button which, when clicked, will attempt to load the page specified in the Address field.
-
-browser.Back.text = Backward
-browser.Back.tooltip = Go to previous Web site in the history list
-
-browser.Forward.text = Forward
-browser.Forward.tooltip = Go to next Web site in the history list
-
-browser.Home.text = Home
-browser.Home.tooltip = Go to home Web site
-
-browser.Stop.text = Stop
-browser.Stop.tooltip = Stop loading current Web site
-
-browser.Refresh.text = Refresh
-browser.Refresh.tooltip = Refresh current Web site
-
-browser.Search.text = Search
-browser.Search.tooltip = Search the Web
-
-browser.Address.label = Address :
-
-browser.Go.text = Go
-
-browser.State.Uninitialized.text = Not ready.
-browser.State.Loading.text = Loading Web site...
-browser.State.Loaded.text = Ready.
-browser.State.Interactive.text = Loading Web site...
-browser.State.Complete.text = Done.
-
-error.CouldNotLoadResources = Unable to load resources
-error.CouldNotCreateBrowserControl = Unable to create <<Browser Control>>
diff --git a/examples/org.eclipse.swt.examples.ole.win32/plugin.xml b/examples/org.eclipse.swt.examples.ole.win32/plugin.xml
deleted file mode 100755
index 81f70a1157..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/plugin.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- File written by PDE 1.0 -->
-<plugin
- id="org.eclipse.swt.examples.ole.win32"
- name="%plugin.SWTOLEExample.name"
- version="3.0.0"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.ole.win32.OlePlugin">
-<!-- Required plugins -->
-<requires>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
-</requires>
-
-<!-- Runtime -->
-<!-- Runtime -->
-<runtime>
- <library name="olewin32.jar">
- <packages prefixes="org.eclipse.swt.examples.ole"/>
- </library>
-</runtime>
-
-<!-- Extensions -->
-<!-- Extension points -->
-<extension
- point="org.eclipse.ui.views">
- <view
- name="%view.OLEWebBrowserExample.name"
- icon="icons/webbrowser_example.gif"
- category="org.eclipse.swt.examples.category"
- class="org.eclipse.swt.examples.ole.win32.OleBrowserView"
- id="org.eclipse.swt.examples.ole.win32.browserView">
- </view>
-</extension>
-<extension
- point="org.eclipse.swt.examples.launcher.launchItems">
- <category
- name="%launchcategory.SWTWin32OnlyExamples.name"
- description="%launchcategory.SWTWin32OnlyExamples.description"
- id="org.eclipse.swt.examples.launchWin32OnlyCategory">
- </category>
- <item
- name="%launchitem.OLEWebBrowserExample.name"
- icon="icons/webbrowser_example.gif"
- description="%launchitem.OLEWebBrowserExample.description"
- category="org.eclipse.swt.examples.launchWin32OnlyCategory"
- id="org.eclipse.swt.examples.ole.win32.viewlauncher">
- <view
- viewId="org.eclipse.swt.examples.ole.win32.browserView">
- </view>
- </item>
-</extension>
-</plugin>
diff --git a/examples/org.eclipse.swt.examples.ole.win32/src/import.properties b/examples/org.eclipse.swt.examples.ole.win32/src/import.properties
deleted file mode 100644
index 58344f0d3e..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/src/import.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# Persist project settings for later import
-natures = org.eclipse.jdt.core.javanature; org.eclipse.pde.PluginNature
-builders = org.eclipse.jdt.core.javabuilder; org.eclipse.pde.ManifestBuilder; org.eclipse.pde.SchemaBuilder
-var.ECLIPSE_PLUGINS = <<ECLIPSE_PLUGINS>>
diff --git a/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleBrowserView.java b/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleBrowserView.java
deleted file mode 100755
index 84323f84e6..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleBrowserView.java
+++ /dev/null
@@ -1,370 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.ole.win32;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.events.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.ole.win32.*;
-import org.eclipse.swt.widgets.*;
-import org.eclipse.ui.part.*;
-
-/**
- * Ole uses <code>org.eclipse.swt</code> to demonstrate Win32 OLE / ActiveX
- * integration.
- *
- * @see ViewPart
- */
-public class OleBrowserView extends ViewPart {
-
- private Composite displayArea;
-
- private OleFrame webFrame;
- private OleWebBrowser webBrowser;
- private Text webUrl;
- private OleControlSite webControlSite;
- private ProgressBar webProgress;
- private Label webStatus;
- private Button webNavigateButton;
-
- private ToolItem webCommandBackward;
- private ToolItem webCommandForward;
- private ToolItem webCommandHome;
- private ToolItem webCommandStop;
- private ToolItem webCommandRefresh;
- private ToolItem webCommandSearch;
-
- private boolean activated = false;
-
- private static final int DISPID_AMBIENT_DLCONTROL = -5512;
- private static final int DLCTL_NO_SCRIPTS = 0x80;
-
- /**
- * Constructs the OLE browser view.
- */
- public OleBrowserView() {
- OlePlugin.initResources();
- }
-
- /**
- * Creates the example.
- *
- * @see ViewPart#createPartControl
- */
- public void createPartControl(Composite parent) {
- displayArea = new Composite(parent, SWT.NONE);
-
- GridLayout gridLayout = new GridLayout();
- gridLayout.numColumns = 3;
- displayArea.setLayout(gridLayout);
-
- createToolbar();
- createBrowserFrame();
- createStatusArea();
- createBrowserControl();
- }
-
- /**
- * Cleanup
- */
- public void dispose() {
- if (activated) {
- webControlSite.deactivateInPlaceClient();
- activated = false;
- }
- if (webBrowser != null) webBrowser.dispose();
- webBrowser = null;
- super.dispose();
- }
-
- /**
- * Called when we must grab focus.
- *
- * @see org.eclipse.ui.part.ViewPart#setFocus
- */
- public void setFocus() {
- webUrl.setFocus();
- }
-
- /**
- * Creates the Web browser toolbar.
- */
- private void createToolbar() {
- // Add a toolbar
- ToolBar bar = new ToolBar(displayArea, SWT.NONE);
- GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
- gridData.horizontalSpan = 3;
- bar.setLayoutData(gridData);
-
- // Add a button to navigate backwards through previously visited web sites
- webCommandBackward = new ToolItem(bar, SWT.NONE);
- webCommandBackward.setToolTipText(OlePlugin.getResourceString("browser.Back.tooltip"));
- webCommandBackward.setText(OlePlugin.getResourceString("browser.Back.text"));
- webCommandBackward.setImage(OlePlugin.images[OlePlugin.biBack]);
- webCommandBackward.setEnabled(false);
- webCommandBackward.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (webBrowser == null) return;
- webBrowser.GoBack();
- }
- });
-
- // Add a button to navigate forward through previously visited web sites
- webCommandForward = new ToolItem(bar, SWT.NONE);
- webCommandForward.setToolTipText(OlePlugin.getResourceString("browser.Forward.tooltip"));
- webCommandForward.setText(OlePlugin.getResourceString("browser.Forward.text"));
- webCommandForward.setImage(OlePlugin.images[OlePlugin.biForward]);
- webCommandForward.setEnabled(false);
- webCommandForward.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (webBrowser == null) return;
- webBrowser.GoForward();
- }
- });
-
- // Add a separator
- new ToolItem(bar, SWT.SEPARATOR);
-
- // Add a button to navigate to the Home page
- webCommandHome = new ToolItem(bar, SWT.NONE);
- webCommandHome.setToolTipText(OlePlugin.getResourceString("browser.Home.tooltip"));
- webCommandHome.setText(OlePlugin.getResourceString("browser.Home.text"));
- webCommandHome.setImage(OlePlugin.images[OlePlugin.biHome]);
- webCommandHome.setEnabled(false);
- webCommandHome.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (webBrowser == null) return;
- webBrowser.GoHome();
- }
- });
-
- // Add a button to abort web page loading
- webCommandStop = new ToolItem(bar, SWT.NONE);
- webCommandStop.setToolTipText(OlePlugin.getResourceString("browser.Stop.tooltip"));
- webCommandStop.setText(OlePlugin.getResourceString("browser.Stop.text"));
- webCommandStop.setImage(OlePlugin.images[OlePlugin.biStop]);
- webCommandStop.setEnabled(false);
- webCommandStop.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (webBrowser == null) return;
- webBrowser.Stop();
- }
- });
-
- // Add a button to refresh the current web page
- webCommandRefresh = new ToolItem(bar, SWT.NONE);
- webCommandRefresh.setToolTipText(OlePlugin.getResourceString("browser.Refresh.tooltip"));
- webCommandRefresh.setText(OlePlugin.getResourceString("browser.Refresh.text"));
- webCommandRefresh.setImage(OlePlugin.images[OlePlugin.biRefresh]);
- webCommandRefresh.setEnabled(false);
- webCommandRefresh.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (webBrowser == null) return;
- webBrowser.Refresh();
- }
- });
-
- // Add a separator
- new ToolItem(bar, SWT.SEPARATOR);
-
- // Add a button to search the web
- webCommandSearch = new ToolItem(bar, SWT.NONE);
- webCommandSearch.setToolTipText(OlePlugin.getResourceString("browser.Search.tooltip"));
- webCommandSearch.setText(OlePlugin.getResourceString("browser.Search.text"));
- webCommandSearch.setImage(OlePlugin.images[OlePlugin.biSearch]);
- webCommandSearch.setEnabled(false);
- webCommandSearch.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (webBrowser == null) return;
- webBrowser.GoSearch();
- }
- });
-
- // Add a text area for Users to enter a url
- Composite addressBar = new Composite(displayArea, SWT.NONE);
- gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL);
- gridData.horizontalSpan = 3;
- addressBar.setLayoutData(gridData);
- GridLayout gridLayout = new GridLayout();
- gridLayout.numColumns = 3;
- addressBar.setLayout(gridLayout);
-
- Label addressLabel = new Label(addressBar, SWT.NONE);
- gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_FILL);
- addressLabel.setLayoutData(gridData);
- addressLabel.setText(OlePlugin.getResourceString("browser.Address.label"));
- addressLabel.setFont(OlePlugin.browserFont);
-
- webUrl = new Text(addressBar, SWT.SINGLE | SWT.BORDER);
- webUrl.setFont(OlePlugin.browserFont);
- gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL);
- webUrl.setLayoutData(gridData);
- webUrl.addFocusListener(new FocusAdapter() {
- public void focusGained(FocusEvent e) {
- webNavigateButton.getShell().setDefaultButton(webNavigateButton);
- }
- });
-
- // Add a button to navigate to the web site specified in the Text area defined above
- webNavigateButton = new Button(addressBar, SWT.PUSH);
- gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_FILL);
- webNavigateButton.setLayoutData(gridData);
- webNavigateButton.setText(OlePlugin.getResourceString("browser.Go.text"));
- webNavigateButton.setFont(OlePlugin.browserFont);
- webNavigateButton.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event event) {
- if (webBrowser == null) return;
- webBrowser.Navigate(webUrl.getText());
- }
- });
- }
-
- /**
- * Creates the Web browser OleFrame.
- */
- private void createBrowserFrame() {
- // Every control must have an associated OleFrame:
- webFrame = new OleFrame(displayArea, SWT.NONE);
- GridData gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
- gridData.horizontalSpan = 3;
- webFrame.setLayoutData(gridData);
- }
-
- /**
- * Creates the Web browser status area.
- */
- private void createStatusArea() {
- // Add a progress bar to display downloading progress information
- webProgress = new ProgressBar(displayArea, SWT.BORDER);
- GridData gridData = new GridData();
- gridData.horizontalAlignment = GridData.BEGINNING;
- gridData.verticalAlignment = GridData.FILL;
- webProgress.setLayoutData(gridData);
-
- // Add a label for displaying status messages as they are received from the control
- webStatus = new Label(displayArea, SWT.SINGLE | SWT.READ_ONLY | SWT.BORDER);
- gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL);
- gridData.horizontalSpan = 2;
- webStatus.setLayoutData(gridData);
- webStatus.setFont(OlePlugin.browserFont);
- }
-
- /**
- * Creates Web browser control.
- */
- private void createBrowserControl() {
- try {
- // Create an Automation object for access to extended capabilities
- webControlSite = new OleControlSite(webFrame, SWT.NONE, "Shell.Explorer");
- Variant download = new Variant(DLCTL_NO_SCRIPTS);
- webControlSite.setSiteProperty(DISPID_AMBIENT_DLCONTROL, download);
- OleAutomation oleAutomation = new OleAutomation(webControlSite);
- webBrowser = new OleWebBrowser(oleAutomation);
- } catch (SWTException ex) {
- // Creation may have failed because control is not installed on machine
- Label label = new Label(webFrame, SWT.BORDER);
- OlePlugin.logError(OlePlugin.getResourceString("error.CouldNotCreateBrowserControl"), ex);
- label.setText(OlePlugin.getResourceString("error.CouldNotCreateBrowserControl"));
- return;
- }
-
- // Respond to ProgressChange events by updating the Progress bar
- webControlSite.addEventListener(OleWebBrowser.ProgressChange, new OleListener() {
- public void handleEvent(OleEvent event) {
- Variant progress = event.arguments[0];
- Variant maxProgress = event.arguments[1];
- if (progress == null || maxProgress == null)
- return;
- webProgress.setMaximum(maxProgress.getInt());
- webProgress.setSelection(progress.getInt());
- }
- });
-
- // Respond to StatusTextChange events by updating the Status Text label
- webControlSite.addEventListener(OleWebBrowser.StatusTextChange, new OleListener() {
- public void handleEvent(OleEvent event) {
- Variant statusText = event.arguments[0];
- if (statusText == null) return;
- String text = statusText.getString();
- if (text != null)
- webStatus.setText(text);
- }
- });
-
- // Listen for changes to the ready state and print out the current state
- webControlSite.addPropertyListener(OleWebBrowser.DISPID_READYSTATE, new OleListener() {
- public void handleEvent(OleEvent event) {
- if (event.detail == OLE.PROPERTY_CHANGING) return;
- int state = webBrowser.getReadyState();
- switch (state) {
- case OleWebBrowser.READYSTATE_UNINITIALIZED:
- webStatus.setText(
- OlePlugin.getResourceString("browser.State.Uninitialized.text"));
- webCommandBackward.setEnabled(false);
- webCommandForward.setEnabled(false);
- webCommandHome.setEnabled(false);
- webCommandRefresh.setEnabled(false);
- webCommandStop.setEnabled(false);
- webCommandSearch.setEnabled(false);
- break;
- case OleWebBrowser.READYSTATE_LOADING:
- webStatus.setText(
- OlePlugin.getResourceString("browser.State.Loading.text"));
- webCommandHome.setEnabled(true);
- webCommandRefresh.setEnabled(true);
- webCommandStop.setEnabled(true);
- webCommandSearch.setEnabled(true);
- break;
- case OleWebBrowser.READYSTATE_LOADED:
- webStatus.setText(
- OlePlugin.getResourceString("browser.State.Loaded.text"));
- webCommandStop.setEnabled(true);
- break;
- case OleWebBrowser.READYSTATE_INTERACTIVE:
- webStatus.setText(
- OlePlugin.getResourceString("browser.State.Interactive.text"));
- webCommandStop.setEnabled(true);
- break;
- case OleWebBrowser.READYSTATE_COMPLETE:
- webStatus.setText(
- OlePlugin.getResourceString("browser.State.Complete.text"));
- webCommandStop.setEnabled(false);
- break;
- }
- }
- });
-
- // Listen for changes to the active command states
- webControlSite.addEventListener(OleWebBrowser.CommandStateChange, new OleListener() {
- public void handleEvent(OleEvent event) {
- if (event.type != OleWebBrowser.CommandStateChange) return;
- final int commandID =
- (event.arguments[0] != null) ? event.arguments[0].getInt() : 0;
- final boolean commandEnabled =
- (event.arguments[1] != null) ? event.arguments[1].getBoolean() : false;
-
- switch (commandID) {
- case OleWebBrowser.CSC_NAVIGATEBACK:
- webCommandBackward.setEnabled(commandEnabled);
- break;
- case OleWebBrowser.CSC_NAVIGATEFORWARD:
- webCommandForward.setEnabled(commandEnabled);
- break;
- }
- }
- });
-
- // in place activate the ActiveX control
- activated = (webControlSite.doVerb(OLE.OLEIVERB_INPLACEACTIVATE) == OLE.S_OK);
- if (activated) webBrowser.GoHome();
- }
-}
diff --git a/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OlePlugin.java b/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OlePlugin.java
deleted file mode 100755
index e70dc54d00..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OlePlugin.java
+++ /dev/null
@@ -1,184 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.ole.win32;
-
-
-import java.io.*;
-import java.net.*;
-import java.text.*;
-import java.util.*;
-
-import org.eclipse.core.runtime.*;
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.ui.plugin.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class OlePlugin extends AbstractUIPlugin {
- //The shared instance.
- private static OlePlugin plugin;
- private static ResourceBundle resourceBundle;
-
- static final int
- biBack = 0,
- biForward = 1,
- biHome = 2,
- biStop = 3,
- biRefresh = 4,
- biSearch = 5;
- static final String[] imageLocations = {
- "icons/backward_nav.gif",
- "icons/forward_nav.gif",
- "icons/home_nav.gif",
- "icons/stop_nav.gif",
- "icons/refresh_nav.gif",
- "icons/search_nav.gif" };
- static Image images[];
- static Font browserFont;
-
- /**
- * Constructs an OLE plugin.
- */
- public OlePlugin(IPluginDescriptor descriptor) {
- super(descriptor);
- plugin = this;
- resourceBundle = descriptor.getResourceBundle();
- }
-
- /**
- * Clean up
- */
- public void shutdown() throws CoreException {
- super.shutdown();
- freeResources();
- }
-
- /**
- * Returns the shared instance.
- */
- public static OlePlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns a string from the resource bundle.
- * We don't want to crash because of a missing String.
- * Returns the key if not found.
- */
- public static String getResourceString(String key) {
- try {
- return resourceBundle.getString(key);
- } catch (MissingResourceException e) {
- return key;
- } catch (NullPointerException e) {
- return "!" + key + "!";
- }
- }
-
- /**
- * Returns a string from the resource bundle and binds it
- * with the given arguments. If the key is not found,
- * return the key.
- */
- public static String getResourceString(String key, Object[] args) {
- try {
- return MessageFormat.format(getResourceString(key), args);
- } catch (MissingResourceException e) {
- return key;
- } catch (NullPointerException e) {
- return "!" + key + "!";
- }
- }
-
- /**
- * Log an error to the ILog for this plugin
- *
- * @param message the localized error message text
- * @param exception the associated exception, or null
- */
- public static void logError(String message, Throwable exception) {
- plugin.getLog().log(new Status(IStatus.ERROR, plugin.getDescriptor().getUniqueIdentifier(),
- 0, message, exception));
- }
-
- /**
- * Loads the resources.
- */
- public static void initResources() {
- if (images == null) {
- images = new Image[imageLocations.length];
-
- for (int i = 0; i < imageLocations.length; ++i) {
- images[i] = getImageFromPlugin(plugin.getDescriptor(), imageLocations[i]);
- if (images[i] == null) {
- freeResources();
- logError(getResourceString("error.CouldNotLoadResources"), null);
- throw new IllegalStateException();
- }
- }
- }
- if (browserFont == null) {
- try {
- browserFont = new Font (null, "MS Sans Serif", 8, SWT.NULL);
- } catch (Throwable ex) {
- }
- }
- if (images == null || browserFont == null) {
- freeResources();
- logError(getResourceString("error.CouldNotLoadResources"), null);
- throw new IllegalStateException();
- }
- }
-
- /**
- * Frees the resources
- */
- public static void freeResources() {
- if (images != null) {
- for (int i = 0; i < images.length; ++i) {
- final Image image = images[i];
- if (image != null) image.dispose();
- }
- images = null;
- }
- if (browserFont != null) browserFont.dispose ();
- browserFont = null;
- }
-
- /**
- * Gets an image from a path relative to the plugin install directory.
- *
- * @param pd the plugin descriptor for the plugin with the image
- * @param iconPath the path relative to the install directory
- * @return the image, or null if not found
- */
- private static Image getImageFromPlugin(IPluginDescriptor pd, String iconPath) {
- InputStream is = null;
- try {
- URL installUrl = pd.getInstallURL();
- URL url = new URL(installUrl, iconPath);
- is = url.openConnection().getInputStream();
- ImageData source = new ImageData(is);
- ImageData mask = source.getTransparencyMask();
- Image image = new Image(null, source, mask);
- return image;
- } catch (Throwable ex) {
- return null;
- } finally {
- try {
- if (is != null) is.close();
- } catch (IOException e) {
- }
- }
- }
-}
diff --git a/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleWebBrowser.java b/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleWebBrowser.java
deleted file mode 100755
index 38d3534e6b..0000000000
--- a/examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleWebBrowser.java
+++ /dev/null
@@ -1,228 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.ole.win32;
-
-
-import org.eclipse.swt.ole.win32.*;
-
-/**
- * Wrapper for an OleAutomation object used to send commands
- * to a Win32 "Shell.Explorer" OLE control.
- *
- * Instances of this class manage the setup, typical use and teardown of
- * a simple web browser.
- */
-class OleWebBrowser {
- /* See the Windows Platform SDK documentation for more information about the
- * OLE control used here and its usage.
- */
- // Generated from typelib filename: shdocvw.dll
-
- // Constants for WebBrowser CommandStateChange
- public static final int CSC_UPDATECOMMANDS = -1;
- public static final int CSC_NAVIGATEFORWARD = 1;
- public static final int CSC_NAVIGATEBACK = 2;
-
- // COnstants for Web Browser ReadyState
- public static final int READYSTATE_UNINITIALIZED = 0;
- public static final int READYSTATE_LOADING = 1;
- public static final int READYSTATE_LOADED = 2;
- public static final int READYSTATE_INTERACTIVE = 3;
- public static final int READYSTATE_COMPLETE = 4;
-
- // Web Browser Control Events
- public static final int BeforeNavigate = 100; // Fired when a new hyperlink is being navigated to.
- public static final int NavigateComplete = 101; // Fired when the document being navigated to becomes visible and enters the navigation stack.
- public static final int StatusTextChange = 102; // Statusbar text changed.
- public static final int ProgressChange = 108; // Fired when download progress is updated.
- public static final int DownloadComplete = 104; // Download of page complete.
- public static final int CommandStateChange = 105; // The enabled state of a command changed
- public static final int DownloadBegin = 106; // Download of a page started.
- public static final int NewWindow = 107; // Fired when a new window should be created.
- public static final int TitleChange = 113; // Document title changed.
- public static final int FrameBeforeNavigate = 200; // Fired when a new hyperlink is being navigated to in a frame.
- public static final int FrameNavigateComplete = 201; // Fired when a new hyperlink is being navigated to in a frame.
- public static final int FrameNewWindow = 204; // Fired when a new window should be created.
- public static final int Quit = 103; // Fired when application is quiting.
- public static final int WindowMove = 109; // Fired when window has been moved.
- public static final int WindowResize = 110; // Fired when window has been sized.
- public static final int WindowActivate = 111; // Fired when window has been activated.
- public static final int PropertyChange = 112; // Fired when the PutProperty method has been called.
-
- // Web Browser properties
- public static final int DISPID_READYSTATE = -525;
-
- private OleAutomation oleAutomation;
-
- /**
- * Creates a Web browser control.
- * <p>
- * Typical use:<br>
- * <code>
- * OleControlSite oleControlSite = new OleControlSite(oleFrame, style, "Shell.Explorer");<br>
- * OleAutomation oleAutomation = new OleAutomation(oleControlSite);<br>
- * OleWebBrowser webBrowser = new OleWebBrowser(oleControlSite, oleAutomation);<br>
- * </code>
- *
- * @param oleAutomation the OleAutomation object for this control.
- * @param oleControlSite the OleControlSite object for this control.
- */
- public OleWebBrowser(OleAutomation oleAutomation) {
- this.oleAutomation = oleAutomation;
- }
-
-
- /**
- * Disposes of the Web browser control.
- */
- public void dispose() {
- if (oleAutomation != null) oleAutomation.dispose();
- oleAutomation = null;
- }
-
- /*
- * Interact with the Control via OLE Automation
- *
- * Note: You can hard code the DISPIDs if you know them beforehand
- * this is of course the fastest way, but you increase coupling
- * to the control.
- */
-
- /**
- * Returns the current web page title.
- *
- * @return the current web page title String
- */
- public String getLocationName() {
- // dispid=210, type=PROPGET, name="LocationName"
- int[] rgdispid = oleAutomation.getIDsOfNames(new String[]{"LocationName"});
- int dispIdMember = rgdispid[0];
- Variant pVarResult = oleAutomation.getProperty(dispIdMember);
- if (pVarResult == null || pVarResult.getType() != OLE.VT_BSTR) return null;
- return pVarResult.getString();
- }
-
- /**
- * Returns the current URL.
- *
- * @return the current URL String
- */
- public String getLocationURL() {
- // dispid=211, type=PROPGET, name="LocationURL"
- int[] rgdispid = oleAutomation.getIDsOfNames(new String[]{"LocationURL"});
- int dispIdMember = rgdispid[0];
-
- Variant pVarResult = oleAutomation.getProperty(dispIdMember);
- if (pVarResult == null || pVarResult.getType() != OLE.VT_BSTR) return null;
- return pVarResult.getString();
- }
-
- /**
- * Returns the current state of the control.
- *
- * @return the current state of the control, one of:
- * READYSTATE_UNINITIALIZED;
- * READYSTATE_LOADING;
- * READYSTATE_LOADED;
- * READYSTATE_INTERACTIVE;
- * READYSTATE_COMPLETE.
- */
- public int getReadyState() {
- // dispid=4294966771, type=PROPGET, name="ReadyState"
- int[] rgdispid = oleAutomation.getIDsOfNames(new String[]{"ReadyState"});
- int dispIdMember = rgdispid[0];
-
- Variant pVarResult = oleAutomation.getProperty(dispIdMember);
- if (pVarResult == null || pVarResult.getType() != OLE.VT_I4) return -1;
- return pVarResult.getInt();
- }
-
- /**
- * Navigates backwards through previously visited web sites.
- */
- public void GoBack() {
-
- // dispid=100, type=METHOD, name="GoBack"
- int[] rgdispid = oleAutomation.getIDsOfNames(new String[]{"GoBack"});
- int dispIdMember = rgdispid[0];
- oleAutomation.invoke(dispIdMember);
- }
-
- /**
- * Navigates backwards through previously visited web sites.
- */
- public void GoForward() {
-
- // dispid=101, type=METHOD, name="GoForward"
- int[] rgdispid = oleAutomation.getIDsOfNames(new String[]{"GoForward"});
- int dispIdMember = rgdispid[0];
- oleAutomation.invoke(dispIdMember);
- }
-
- /**
- * Navigates to home page.
- */
- public void GoHome() {
- // dispid=102, type=METHOD, name="GoHome"
- int[] rgdispid = oleAutomation.getIDsOfNames(new String[]{"GoHome"});
- int dispIdMember = rgdispid[0];
- oleAutomation.invoke(dispIdMember);
- }
-
- /**
- * Navigates to user-specified Web search gateway.
- */
- public void GoSearch() {
- // dispid=103, type=METHOD, name="GoSearch"
- int[] rgdispid = oleAutomation.getIDsOfNames(new String[]{"GoSearch"});
- int dispIdMember = rgdispid[0];
- oleAutomation.invoke(dispIdMember);
- }
-
- /**
- * Navigates to a particular URL.
- */
- public void Navigate(String url) {
- // dispid=104, type=METHOD, name="Navigate"
- int[] rgdispid = oleAutomation.getIDsOfNames(new String[]{"Navigate", "URL"});
- int dispIdMember = rgdispid[0];
-
- Variant[] rgvarg = new Variant[1];
- rgvarg[0] = new Variant(url);
- int[] rgdispidNamedArgs = new int[1];
- rgdispidNamedArgs[0] = rgdispid[1]; // identifier of argument
- oleAutomation.invoke(dispIdMember, rgvarg, rgdispidNamedArgs);
- }
-
- /**
- * Refreshes the currently viewed page.
- *
- * @return the platform-defined result code for the "Refresh" method invocation
- */
- public void Refresh(){
- // dispid= 4294966746, type=METHOD, name="Refresh"
- int[] rgdispid = oleAutomation.getIDsOfNames(new String[]{"Refresh"});
- int dispIdMember = rgdispid[0];
- oleAutomation.invokeNoReply(dispIdMember);
- }
-
- /**
- * Aborts loading of the currnet page.
- *
- * @return the platform-defined result code for the "Stop" method invocation
- */
- public void Stop() {
- // dispid=106, type=METHOD, name="Stop"
- int[] rgdispid = oleAutomation.getIDsOfNames(new String[]{"Stop"});
- int dispIdMember = rgdispid[0];
- oleAutomation.invoke(dispIdMember);
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/.classpath b/examples/org.eclipse.swt.examples.paint/.classpath
deleted file mode 100755
index 065ac06e19..0000000000
--- a/examples/org.eclipse.swt.examples.paint/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/examples/org.eclipse.swt.examples.paint/.cvsignore b/examples/org.eclipse.swt.examples.paint/.cvsignore
deleted file mode 100755
index c5e82d7458..0000000000
--- a/examples/org.eclipse.swt.examples.paint/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.paint/.project b/examples/org.eclipse.swt.examples.paint/.project
deleted file mode 100644
index be659d3d57..0000000000
--- a/examples/org.eclipse.swt.examples.paint/.project
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.swt.examples.paint</name>
- <comment></comment>
- <projects>
- <project>org.eclipse.swt</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- </natures>
-</projectDescription>
diff --git a/examples/org.eclipse.swt.examples.paint/about.html b/examples/org.eclipse.swt.examples.paint/about.html
deleted file mode 100644
index 9db411aab9..0000000000
--- a/examples/org.eclipse.swt.examples.paint/about.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>20th June, 2002</p>
-<h3>License</h3>
-<p>Eclipse.org makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
-Common Public License Version 1.0 (&quot;CPL&quot;). A copy of the CPL is available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>.
-For purposes of the CPL, &quot;Program&quot; will mean the Content.</p>
-
-<h3>Contributions</h3>
-
-<p>If this Content is licensed to you under the terms and conditions of the CPL, any Contributions, as defined in the CPL, uploaded, submitted, or otherwise
-made available to Eclipse.org, members of Eclipse.org and/or the host of Eclipse.org web site, by you that relate to such
-Content are provided under the terms and conditions of the CPL and can be made available to others under the terms of the CPL.</p>
-
-<p>If this Content is licensed to you under license terms and conditions other than the CPL (&quot;Other License&quot;), any modifications, enhancements and/or
-other code and/or documentation (&quot;Modifications&quot;) uploaded, submitted, or otherwise made available to Eclipse.org, members of Eclipse.org and/or the
-host of Eclipse.org, by you that relate to such Content are provided under terms and conditions of the Other License and can be made available
-to others under the terms of the Other License. In addition, with regard to Modifications for which you are the copyright holder, you are also
-providing the Modifications under the terms and conditions of the CPL and such Modifications can be made available to others under the terms of
-the CPL.</p>
-
-</body>
-</html> \ No newline at end of file
diff --git a/examples/org.eclipse.swt.examples.paint/build.properties b/examples/org.eclipse.swt.examples.paint/build.properties
deleted file mode 100755
index c899ccc30a..0000000000
--- a/examples/org.eclipse.swt.examples.paint/build.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-bin.includes = doc-html/,\
- icons/,\
- plugin.properties,\
- plugin.xml,\
- about.html,\
- *.jar
-
-src.includes = about.html
-
-source.paint.jar = src/
diff --git a/examples/org.eclipse.swt.examples.paint/doc-html/hglegal.htm b/examples/org.eclipse.swt.examples.paint/doc-html/hglegal.htm
deleted file mode 100755
index f5871b79e0..0000000000
--- a/examples/org.eclipse.swt.examples.paint/doc-html/hglegal.htm
+++ /dev/null
@@ -1,14 +0,0 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <LINK REL="stylesheet" HREF="../../../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
- <title>Legal Notices</title>
-</head>
-<body>
-
-<h3>
-<a NAME="Notices"></a>Notices</h3>
-(c) Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy.gif b/examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy.gif
deleted file mode 100755
index c786e43e1f..0000000000
--- a/examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy.gif
+++ /dev/null
Binary files differ
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
deleted file mode 100755
index ea6311b8d8..0000000000
--- a/examples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!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 Tool</title>
-</head>
-<body>
-
-<h2>SWT example - Paint Tool</h2>
-
-<p>
-This example demonstrates the use of SWT graphics operations in the form of a
-rudimentary bitmap painting program. The Paint Tool implementation also
-demonstrates a mechanism for managing timed GUI operations in the background
-that are triggered by user input.
-</p>
-<p>
-Select a tool with which to draw in the drawing area. There are a number of tools
-to choose from on the toolbar. To change the color selection, click on a color in the
-palette below the drawing area; left-click to set the foreground color, right-click to set the
-background color.
-</p>
-
-<h3>Running the example</h3>
-
-<p>
-From Eclipse's <strong>Window</strong> menu select <strong>Show View</strong> &gt; <strong>Other</strong>.
-In the <strong>Show View</strong> dialog, expand <strong>SWT Examples</strong> and select
-the view named <strong>Paint</strong>. A view containing the paint program will appear.
-</p>
-<p>
-This example can also be run using the <a href="../../org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html">Example Launcher</a>.
-Select the <strong>Paint</strong> item from the <strong>Workbench Views</strong> category and click <strong>Run</strong>.
-</p>
-
-<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation and others 2000, 2003. All Rights Reserved." BORDER=0 height=14 width=324></a></p>
-</body>
-</html>
diff --git a/examples/org.eclipse.swt.examples.paint/icons/fill_none.gif b/examples/org.eclipse.swt.examples.paint/icons/fill_none.gif
deleted file mode 100755
index d26dd584e7..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/fill_none.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/fill_outline.gif b/examples/org.eclipse.swt.examples.paint/icons/fill_outline.gif
deleted file mode 100755
index c6ccfee10e..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/fill_outline.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/fill_solid.gif b/examples/org.eclipse.swt.examples.paint/icons/fill_solid.gif
deleted file mode 100755
index cb34e64a30..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/fill_solid.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/linestyle_dash.gif b/examples/org.eclipse.swt.examples.paint/icons/linestyle_dash.gif
deleted file mode 100644
index fb57bb38b7..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/linestyle_dash.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/linestyle_dashdot.gif b/examples/org.eclipse.swt.examples.paint/icons/linestyle_dashdot.gif
deleted file mode 100644
index 322968c30b..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/linestyle_dashdot.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/linestyle_dot.gif b/examples/org.eclipse.swt.examples.paint/icons/linestyle_dot.gif
deleted file mode 100644
index 4937ccb06d..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/linestyle_dot.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/linestyle_solid.gif b/examples/org.eclipse.swt.examples.paint/icons/linestyle_solid.gif
deleted file mode 100644
index 70a57ce2c4..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/linestyle_solid.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/options_font.gif b/examples/org.eclipse.swt.examples.paint/icons/options_font.gif
deleted file mode 100755
index 965fe08560..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/options_font.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/paint_example.gif b/examples/org.eclipse.swt.examples.paint/icons/paint_example.gif
deleted file mode 100755
index c48d9a9567..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/paint_example.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/tool_airbrush.gif b/examples/org.eclipse.swt.examples.paint/icons/tool_airbrush.gif
deleted file mode 100755
index a310edddb2..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/tool_airbrush.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/tool_ellipse.gif b/examples/org.eclipse.swt.examples.paint/icons/tool_ellipse.gif
deleted file mode 100755
index dc2142f8e2..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/tool_ellipse.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/tool_line.gif b/examples/org.eclipse.swt.examples.paint/icons/tool_line.gif
deleted file mode 100755
index 2ff819f129..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/tool_line.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/tool_pencil.gif b/examples/org.eclipse.swt.examples.paint/icons/tool_pencil.gif
deleted file mode 100755
index f16a234c13..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/tool_pencil.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/tool_polyline.gif b/examples/org.eclipse.swt.examples.paint/icons/tool_polyline.gif
deleted file mode 100755
index aa384e9b30..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/tool_polyline.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/tool_rectangle.gif b/examples/org.eclipse.swt.examples.paint/icons/tool_rectangle.gif
deleted file mode 100755
index d26dd584e7..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/tool_rectangle.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/tool_roundedrectangle.gif b/examples/org.eclipse.swt.examples.paint/icons/tool_roundedrectangle.gif
deleted file mode 100755
index bf845d7602..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/tool_roundedrectangle.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/icons/tool_text.gif b/examples/org.eclipse.swt.examples.paint/icons/tool_text.gif
deleted file mode 100755
index 0d7457ffa3..0000000000
--- a/examples/org.eclipse.swt.examples.paint/icons/tool_text.gif
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.examples.paint/plugin.properties b/examples/org.eclipse.swt.examples.paint/plugin.properties
deleted file mode 100755
index 4e0a80b60f..0000000000
--- a/examples/org.eclipse.swt.examples.paint/plugin.properties
+++ /dev/null
@@ -1,134 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-providerName = Eclipse.org
-plugin.SWTPaintExample.name = SWT Paint Example Plugin
-category.SWTExamples.name = SWT Examples
-view.PaintExample.name = Paint
-
-launchcategory.SWTViewExamples.name = Workbench Views
-launchcategory.SWTViewExamples.description = \
- A collection of Standard Widget Toolkit examples that run as Views inside the Workbench. \
- These examples will create a new View in the current Perspective.
-
-launchitem.PaintExample.name = Paint
-launchitem.PaintExample.description = \
- This example demonstrates the use of SWT graphics operations in the form of a \
- rudimentary bitmap painting program. The Airbrush Tool implementation also \
- demonstrates a mechanism for managing timed GUI operations in the background \
- that are triggered by user input.\n\n\
- Select a tool with which to draw in the drawing area. There are a number of tools \
- to choose from on the toolbar. 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.\n\n\
- Uses SWT's GC and FontDialog, and JFace's InputDialog and action set support.
-
-menu.Tools.label = Tools
-menu.Options.label = Options
-
-tool.Pencil.label = Pencil
-tool.Pencil.tooltip = Pencil tool
-tool.Pencil.image = icons/tool_pencil.gif
-tool.Pencil.description = Selects the Pencil tool.
-
-tool.Airbrush.label = Airbrush
-tool.Airbrush.tooltip = Airbrush tool
-tool.Airbrush.image = icons/tool_airbrush.gif
-tool.Airbrush.description = Selects the Airbrush tool.
-
-tool.Line.label = Line
-tool.Line.tooltip = Line tool
-tool.Line.image = icons/tool_line.gif
-tool.Line.description = Selects the Line tool.
-
-tool.PolyLine.label = Polygon
-tool.PolyLine.tooltip = Polygon tool
-tool.PolyLine.image = icons/tool_polyline.gif
-tool.PolyLine.description = Selects the PolyLine tool.
-
-tool.Rectangle.label = Rectangle
-tool.Rectangle.tooltip = Rectangle tool
-tool.Rectangle.image = icons/tool_rectangle.gif
-tool.Rectangle.description = Selects the Rectangle tool.
-
-tool.Ellipse.label = Ellipse
-tool.Ellipse.tooltip = Ellipse tool
-tool.Ellipse.image = icons/tool_ellipse.gif
-tool.Ellipse.description = Selects the Ellipse tool.
-
-tool.RoundedRectangle.label = Rounded Rectangle
-tool.RoundedRectangle.tooltip = Rounded Rectangle
-tool.RoundedRectangle.image = icons/tool_roundedrectangle.gif
-tool.RoundedRectangle.description = Selects the Rounded Rectangle tool.
-
-tool.Text.label = Text
-tool.Text.tooltip = Text tool
-tool.Text.image = icons/tool_text.gif
-tool.Text.description = Selects the Text tool.
-tool.Text.settings.defaulttext = Hello!
-tool.Text.dialog.title = Text Tool Settings
-tool.Text.dialog.message = Please enter the new text string to be painted.
-
-tool.Null.label = <none>
-
-fill.None.label = No Fill
-fill.None.tooltip = No fill mode
-fill.None.image = icons/fill_none.gif
-fill.None.description = Selects No Fill mode.
-
-fill.Outline.label = Outline Fill
-fill.Outline.tooltip = Outline fill mode
-fill.Outline.image = icons/fill_outline.gif
-fill.Outline.description = Selects Outline Fill mode.
-
-fill.Solid.label = Solid Fill
-fill.Solid.tooltip = Solid fill mode
-fill.Solid.image = icons/fill_solid.gif
-fill.Solid.description = Selects Solid Fill mode.
-
-linestyle.Solid.label = Solid Line
-linestyle.Solid.tooltip = Solid line style
-linestyle.Solid.image = icons/linestyle_solid.gif
-linestyle.Solid.description = Select Solid Line style.
-
-linestyle.Dot.label = Dotted Line
-linestyle.Dot.tooltip = Dotted line style
-linestyle.Dot.image = icons/linestyle_dot.gif
-linestyle.Dot.description = Select Dotted Line style.
-
-linestyle.Dash.label = Dashed Line
-linestyle.Dash.tooltip = Dashed line style
-linestyle.Dash.image = icons/linestyle_dash.gif
-linestyle.Dash.description = Select Dashed Line style.
-
-linestyle.DashDot.label = Dash-Dot Line
-linestyle.DashDot.tooltip = Dash-Dot line style
-linestyle.DashDot.image = icons/linestyle_dashdot.gif
-linestyle.DashDot.description = Select Dash-Dot Line style.
-
-options.Font.label = Text Tool Font
-options.Font.tooltip = Select Text Tool font
-options.Font.image = icons/options_font.gif
-options.Font.description = Selects Text Tool font.
-options.Font.dialog.title = Text Tool Font
-
-settings.AirbrushRadius.text = Airbrush Radius
-settings.AirbrushIntensity.text = Airbrush Intensity
-
-session.Null.message = Select a tool...
-session.ContinuousPaint.message = Click and drag to draw...
-session.DragInteractivePaint.message = Click and drag to preview, release to draw, right-click to cancel...
-session.SegmentedInteractivePaint.message.anchorMode = Click to set anchor...
-session.SegmentedInteractivePaint.message.interactiveMode = Click to draw, double-click to close figure, right-click to cancel...
-session.Text.message = Click to draw text, right-click to edit text...
-
-status.Coord.format = ({0}, {1})
-status.CoordRange.format = ({0}, {1}) - ({2}, {3})
-status.Bar.format = {0} : {1} {2}
diff --git a/examples/org.eclipse.swt.examples.paint/plugin.xml b/examples/org.eclipse.swt.examples.paint/plugin.xml
deleted file mode 100755
index eac5ebcf32..0000000000
--- a/examples/org.eclipse.swt.examples.paint/plugin.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin
- id="org.eclipse.swt.examples.paint"
- name="%plugin.SWTPaintExample.name"
- version="3.0.0"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.paint.PaintPlugin">
-
-<!-- Runtime -->
- <runtime>
- <library name="paint.jar">
- <packages prefixes="org.eclipse.swt.examples.paint"/>
- </library>
- </runtime>
-<!-- Required plugins -->
- <requires>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
- </requires>
-
-
-<!-- Extension points -->
-<!-- Extensions -->
- <extension
- point="org.eclipse.ui.views">
- <view
- name="%view.PaintExample.name"
- icon="icons/paint_example.gif"
- category="org.eclipse.swt.examples.category"
- class="org.eclipse.swt.examples.paint.PaintView"
- id="org.eclipse.swt.examples.paint.view">
- </view>
- </extension>
- <extension
- point="org.eclipse.swt.examples.launcher.launchItems">
- <category
- name="%launchcategory.SWTViewExamples.name"
- description="%launchcategory.SWTViewExamples.description"
- id="org.eclipse.swt.examples.launchViewCategory">
- </category>
- <item
- name="%launchitem.PaintExample.name"
- icon="icons/paint_example.gif"
- description="%launchitem.PaintExample.description"
- category="org.eclipse.swt.examples.launchViewCategory"
- id="org.eclipse.swt.examples.paint.viewlauncher">
- <view
- viewId="org.eclipse.swt.examples.paint.view">
- </view>
- </item>
- </extension>
-
-</plugin>
diff --git a/examples/org.eclipse.swt.examples.paint/src/import.properties b/examples/org.eclipse.swt.examples.paint/src/import.properties
deleted file mode 100644
index 58344f0d3e..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/import.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# Copyright (c) 2000, 2003 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Common Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/cpl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# Persist project settings for later import
-natures = org.eclipse.jdt.core.javanature; org.eclipse.pde.PluginNature
-builders = org.eclipse.jdt.core.javabuilder; org.eclipse.pde.ManifestBuilder; org.eclipse.pde.SchemaBuilder
-var.ECLIPSE_PLUGINS = <<ECLIPSE_PLUGINS>>
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/AirbrushTool.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/AirbrushTool.java
deleted file mode 100755
index 5730b4dc13..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/AirbrushTool.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import java.util.Random;
-import org.eclipse.swt.graphics.*;
-
-/**
- * An airbrush tool.
- */
-public class AirbrushTool extends ContinuousPaintSession implements PaintTool {
- private ToolSettings settings;
- private Random random;
- private int cachedRadiusSquared;
- private int cachedNumPoints;
-
- /**
- * Constructs a Tool.
- *
- * @param toolSettings the new tool settings
- * @param paintSurface the PaintSurface we will render on.
- */
- public AirbrushTool(ToolSettings toolSettings, PaintSurface paintSurface) {
- super(paintSurface);
- random = new Random();
- setRetriggerTimer(10);
- set(toolSettings);
- }
-
- /**
- * Sets the tool's settings.
- *
- * @param toolSettings the new tool settings
- */
- public void set(ToolSettings toolSettings) {
- // compute things we need to know for drawing
- settings = toolSettings;
- cachedRadiusSquared = settings.airbrushRadius * settings.airbrushRadius;
- cachedNumPoints = 314 * settings.airbrushIntensity * cachedRadiusSquared / 250000;
- if (cachedNumPoints == 0 && settings.airbrushIntensity != 0)
- cachedNumPoints = 1;
- }
-
- /**
- * Returns the name associated with this tool.
- *
- * @return the localized name of this tool
- */
- public String getDisplayName() {
- return PaintPlugin.getResourceString("tool.Airbrush.label");
- }
-
- /*
- * Template method for drawing
- */
- protected void render(Point point) {
- // Draws a bunch (cachedNumPoints) of random pixels within a specified circle (cachedRadiusSquared).
- ContainerFigure cfig = new ContainerFigure();
-
- for (int i = 0; i < cachedNumPoints; ++i) {
- int randX, randY;
- do {
- randX = (int) ((random.nextDouble() - 0.5) * settings.airbrushRadius * 2.0);
- randY = (int) ((random.nextDouble() - 0.5) * settings.airbrushRadius * 2.0);
- } while (randX * randX + randY * randY > cachedRadiusSquared);
- cfig.add(new PointFigure(settings.commonForegroundColor, point.x + randX, point.y + randY));
- }
- getPaintSurface().drawFigure(cfig);
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/BasicPaintSession.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/BasicPaintSession.java
deleted file mode 100755
index 9732189930..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/BasicPaintSession.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-public abstract class BasicPaintSession implements PaintSession {
- /**
- * The paint surface
- */
- private PaintSurface paintSurface;
-
- /**
- * Constructs a PaintSession.
- *
- * @param paintSurface the drawing surface to use
- */
- protected BasicPaintSession(PaintSurface paintSurface) {
- this.paintSurface = paintSurface;
- }
-
- /**
- * Returns the paint surface associated with this paint session.
- *
- * @return the associated PaintSurface
- */
- public PaintSurface getPaintSurface() {
- return paintSurface;
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ContainerFigure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ContainerFigure.java
deleted file mode 100755
index 135067cf4b..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ContainerFigure.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * Container for Figure objects with stacking preview mechanism.
- */
-public class ContainerFigure extends Figure {
- private static final int INITIAL_ARRAY_SIZE = 16;
-
- Figure[] objectStack = null;
- int nextIndex = 0;
-
- /**
- * Constructs an empty Container
- */
- public ContainerFigure() {
- }
- /**
- * Adds an object to the container for later drawing.
- *
- * @param object the object to add to the drawing list
- */
- public void add(Figure object) {
- if (objectStack == null) {
- objectStack = new Figure[INITIAL_ARRAY_SIZE];
- } else if (objectStack.length <= nextIndex) {
- Figure[] newObjectStack = new Figure[objectStack.length * 2];
- System.arraycopy(objectStack, 0, newObjectStack, 0, objectStack.length);
- objectStack = newObjectStack;
- }
- objectStack[nextIndex] = object;
- ++nextIndex;
- }
- /**
- * Determines if the container is empty.
- * @return true if the container is empty
- */
- public boolean isEmpty() {
- return nextIndex == 0;
- }
- /**
- * Adds an object to the container and draws its preview then updates the supplied preview state.
- *
- * @param object the object to add to the drawing list
- * @param gc the GC to draw on
- * @param offset the offset to add to virtual coordinates to get display coordinates
- * @param rememberedState the state returned by a previous drawPreview() or addAndPreview()
- * using this Container, may be null if there was no such previous call
- * @return object state that must be passed to erasePreview() later to erase this object
- */
-// public Object addAndPreview(Figure object, GC gc, Point offset, Object rememberedState) {
-// Object[] stateStack = (Object[]) rememberedState;
-// if (stateStack == null) {
-// stateStack = new Object[INITIAL_ARRAY_SIZE];
-// } else if (stateStack.length <= nextIndex) {
-// Object[] newStateStack = new Object[stateStack.length * 2];
-// System.arraycopy(stateStack, 0, newStateStack, 0, stateStack.length);
-// stateStack = newStateStack;
-// }
-// add(object);
-// stateStack[nextIndex - 1] = object.drawPreview(gc, offset);
-// return stateStack;
-// }
- /**
- * Clears the container.
- * <p>
- * Note that erasePreview() cannot be called after this point to erase any previous
- * drawPreview()'s.
- * </p>
- */
- public void clear() {
- while (--nextIndex > 0) objectStack[nextIndex] = null;
- nextIndex = 0;
- }
- public void draw(FigureDrawContext fdc) {
- for (int i = 0; i < nextIndex; ++i) objectStack[i].draw(fdc);
- }
- public void addDamagedRegion(FigureDrawContext fdc, Region region) {
- for (int i = 0; i < nextIndex; ++i) objectStack[i].addDamagedRegion(fdc, region);
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ContinuousPaintSession.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ContinuousPaintSession.java
deleted file mode 100755
index 49a724ca02..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ContinuousPaintSession.java
+++ /dev/null
@@ -1,234 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.events.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.widgets.*;
-
-/**
- * The superclass for paint tools that draw continuously along the path
- * traced by the mouse's movement while the button is depressed
- */
-public abstract class ContinuousPaintSession extends BasicPaintSession {
- /**
- * True if a click-drag is in progress.
- */
- private boolean dragInProgress = false;
-
- /**
- * A cached Point array for drawing.
- */
- private Point[] points = new Point[] { new Point(-1, -1), new Point(-1, -1) };
-
- /**
- * The time to wait between retriggers in milliseconds.
- */
- private int retriggerInterval = 0;
-
- /**
- * The currently valid RetriggerHandler
- */
- protected Runnable retriggerHandler = null;
-
- /**
- * Constructs a ContinuousPaintSession.
- *
- * @param paintSurface the drawing surface to use
- */
- protected ContinuousPaintSession(PaintSurface paintSurface) {
- super(paintSurface);
- }
-
- /**
- * Sets the retrigger timer.
- * <p>
- * After the timer elapses, if the mouse is still hovering over the same point with the
- * drag button pressed, a new render order is issued and the timer is restarted.
- * </p>
- * @param interval the time in milliseconds to wait between retriggers, 0 to disable
- */
- public void setRetriggerTimer(int interval) {
- retriggerInterval = interval;
- }
-
- /**
- * Activates the tool.
- */
- public void beginSession() {
- getPaintSurface().
- setStatusMessage(PaintPlugin.getResourceString("session.ContinuousPaint.message"));
- dragInProgress = false;
- }
-
- /**
- * Deactivates the tool.
- */
- public void endSession() {
- abortRetrigger();
- }
-
- /**
- * Aborts the current operation.
- */
- public void resetSession() {
- abortRetrigger();
- }
-
- /**
- * Handles a mouseDown event.
- *
- * @param event the mouse event detail information
- */
- public final void mouseDown(MouseEvent event) {
- if (event.button != 1) return;
- if (dragInProgress) return; // spurious event
- dragInProgress = true;
-
- points[0].x = event.x;
- points[0].y = event.y;
- render(points[0]);
- prepareRetrigger();
- }
-
- /**
- * Handles a mouseDoubleClick event.
- *
- * @param event the mouse event detail information
- */
- public final void mouseDoubleClick(MouseEvent event) {
- }
-
- /**
- * Handles a mouseUp event.
- *
- * @param event the mouse event detail information
- */
- public final void mouseUp(MouseEvent event) {
- if (event.button != 1) return;
- if (! dragInProgress) return; // spurious event
- abortRetrigger();
- mouseSegmentFinished(event);
- dragInProgress = false;
- }
-
- /**
- * Handles a mouseMove event.
- *
- * @param event the mouse event detail information
- */
- public final void mouseMove(MouseEvent event) {
- final PaintSurface ps = getPaintSurface();
- ps.setStatusCoord(ps.getCurrentPosition());
- if (! dragInProgress) return;
- mouseSegmentFinished(event);
- prepareRetrigger();
- }
-
- /**
- * Handle a rendering segment
- *
- * @param event the mouse event detail information
- */
- private final void mouseSegmentFinished(MouseEvent event) {
- if (points[0].x == -1) return; // spurious event
- if (points[0].x != event.x || points[0].y != event.y) {
- // draw new segment
- points[1].x = event.x;
- points[1].y = event.y;
- renderContinuousSegment();
- }
- }
-
- /**
- * Draws a continuous segment from points[0] to points[1].
- * Assumes points[0] has been drawn already.
- *
- * @post points[0] will refer to the same point as points[1]
- */
- protected void renderContinuousSegment() {
- /* A lazy but effective line drawing algorithm */
- final int dX = points[1].x - points[0].x;
- final int dY = points[1].y - points[0].y;
- int absdX = Math.abs(dX);
- int absdY = Math.abs(dY);
-
- if ((dX == 0) && (dY == 0)) return;
-
- if (absdY > absdX) {
- final int incfpX = (dX << 16) / absdY;
- final int incY = (dY > 0) ? 1 : -1;
- int fpX = points[0].x << 16; // X in fixedpoint format
-
- while (--absdY >= 0) {
- points[0].y += incY;
- points[0].x = (fpX += incfpX) >> 16;
- render(points[0]);
- }
- if (points[0].x == points[1].x) return;
- points[0].x = points[1].x;
- } else {
- final int incfpY = (dY << 16) / absdX;
- final int incX = (dX > 0) ? 1 : -1;
- int fpY = points[0].y << 16; // Y in fixedpoint format
-
- while (--absdX >= 0) {
- points[0].x += incX;
- points[0].y = (fpY += incfpY) >> 16;
- render(points[0]);
- }
- if (points[0].y == points[1].y) return;
- points[0].y = points[1].y;
- }
- render(points[0]);
- }
-
- /**
- * Prepare the retrigger timer
- */
- private final void prepareRetrigger() {
- if (retriggerInterval > 0) {
- /*
- * timerExec() provides a lightweight mechanism for running code at intervals from within
- * the event loop when timing accuracy is not important.
- *
- * Since it is not possible to cancel a timerExec(), we remember the Runnable that is
- * active in order to distinguish the valid one from the stale ones. In practice,
- * if the interval is 1/100th of a second, then creating a few hundred new RetriggerHandlers
- * each second will not cause a significant performance hit.
- */
- Display display = getPaintSurface().getDisplay();
- retriggerHandler = new Runnable() {
- public void run() {
- if (retriggerHandler == this) {
- render(points[0]);
- prepareRetrigger();
- }
- }
- };
- display.timerExec(retriggerInterval, retriggerHandler);
- }
- }
-
- /**
- * Aborts the retrigger timer
- */
- private final void abortRetrigger() {
- retriggerHandler = null;
- }
-
- /**
- * Template method: Renders a point.
- * @param point, the point to render
- */
- protected abstract void render(Point point);
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/DragPaintSession.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/DragPaintSession.java
deleted file mode 100755
index 539c3b567c..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/DragPaintSession.java
+++ /dev/null
@@ -1,136 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.events.MouseEvent;
-import org.eclipse.swt.graphics.*;
-
-/**
- * The superclass for paint tools that use click-drag-release motions to
- * draw objects.
- */
-public abstract class DragPaintSession extends BasicPaintSession {
- /**
- * True if a click-drag is in progress
- */
- private boolean dragInProgress = false;
-
- /**
- * The position of the first click in a click-drag
- */
- private Point anchorPosition = new Point(-1, -1);
-
- /**
- * A temporary point
- */
- private Point tempPosition = new Point(-1, -1);
-
- /**
- * Constructs a PaintSession.
- *
- * @param getPaintSurface() the drawing surface to use
- */
- protected DragPaintSession(PaintSurface paintSurface) {
- super(paintSurface);
- }
-
- /**
- * Activates the tool.
- */
- public void beginSession() {
- getPaintSurface().
- setStatusMessage(PaintPlugin.getResourceString("session.DragInteractivePaint.message"));
- anchorPosition.x = -1;
- dragInProgress = false;
- }
-
- /**
- * Deactivates the tool.
- */
- public void endSession() {
- }
-
- /**
- * Resets the tool.
- * Aborts any operation in progress.
- */
- public void resetSession() {
- getPaintSurface().clearRubberbandSelection();
- anchorPosition.x = -1;
- dragInProgress = false;
- }
-
- /**
- * Handles a mouseDown event.
- *
- * @param event the mouse event detail information
- */
- public void mouseDown(MouseEvent event) {
- if (event.button != 1) return;
- if (dragInProgress) return; // spurious event
- dragInProgress = true;
-
- anchorPosition.x = event.x;
- anchorPosition.y = event.y;
- }
-
- /**
- * Handles a mouseDoubleClick event.
- *
- * @param event the mouse event detail information
- */
- public void mouseDoubleClick(MouseEvent event) {
- }
-
- /**
- * Handles a mouseUp event.
- *
- * @param event the mouse event detail information
- */
- public void mouseUp(MouseEvent event) {
- if (event.button != 1) {
- resetSession(); // abort if right or middle mouse button pressed
- return;
- }
- if (! dragInProgress) return; // spurious event
- dragInProgress = false;
- if (anchorPosition.x == -1) return; // spurious event
-
- getPaintSurface().commitRubberbandSelection();
- }
-
- /**
- * Handles a mouseMove event.
- *
- * @param event the mouse event detail information
- */
- public void mouseMove(MouseEvent event) {
- final PaintSurface ps = getPaintSurface();
- if (! dragInProgress) {
- ps.setStatusCoord(ps.getCurrentPosition());
- return;
- }
- ps.setStatusCoordRange(anchorPosition, ps.getCurrentPosition());
- ps.clearRubberbandSelection();
- tempPosition.x = event.x;
- tempPosition.y = event.y;
- ps.addRubberbandSelection(createFigure(anchorPosition, tempPosition));
- }
-
- /**
- * Template Method: Creates a Figure for drawing rubberband entities and the final product
- *
- * @param anchor the anchor point
- * @param cursor the point marking the current pointer location
- */
- protected abstract Figure createFigure(Point anchor, Point cursor);
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/EllipseFigure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/EllipseFigure.java
deleted file mode 100755
index e6a5907b8d..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/EllipseFigure.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-
-/**
- * 2D Ellipse object
- */
-public class EllipseFigure extends Figure {
- private Color foregroundColor, backgroundColor;
- private int lineStyle, x1, y1, x2, y2;
- /**
- * Constructs an Ellipse
- * These objects are defined by any two diametrically opposing corners of a box
- * bounding the ellipse.
- *
- * @param color the color for this object
- * @param lineStyle the line style for this object
- * @param x1 the virtual X coordinate of the first corner
- * @param y1 the virtual Y coordinate of the first corner
- * @param x2 the virtual X coordinate of the second corner
- * @param y2 the virtual Y coordinate of the second corner
- */
- public EllipseFigure(Color foregroundColor, Color backgroundColor, int lineStyle, int x1, int y1, int x2, int y2) {
- this.foregroundColor = foregroundColor;
- this.backgroundColor = backgroundColor;
- this.lineStyle = lineStyle;
- this.x1 = x1; this.y1 = y1; this.x2 = x2; this.y2 = y2;
- }
- public void draw(FigureDrawContext fdc) {
- Rectangle r = fdc.toClientRectangle(x1, y1, x2, y2);
- fdc.gc.setForeground(foregroundColor);
- fdc.gc.setBackground(backgroundColor);
- fdc.gc.setLineStyle(lineStyle);
- fdc.gc.drawOval(r.x, r.y, r.width - 1, r.height - 1);
- fdc.gc.setLineStyle(SWT.LINE_SOLID);
- }
- public void addDamagedRegion(FigureDrawContext fdc, Region region) {
- region.add(fdc.toClientRectangle(x1, y1, x2, y2));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/EllipseTool.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/EllipseTool.java
deleted file mode 100755
index 785879cdeb..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/EllipseTool.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * A drawing tool.
- */
-public class EllipseTool extends DragPaintSession implements PaintTool {
- private ToolSettings settings;
-
- /**
- * Constructs a EllipseTool.
- *
- * @param toolSettings the new tool settings
- * @param paintSurface the PaintSurface we will render on.
- */
- public EllipseTool(ToolSettings toolSettings, PaintSurface paintSurface) {
- super(paintSurface);
- set(toolSettings);
- }
-
- /**
- * Sets the tool's settings.
- *
- * @param toolSettings the new tool settings
- */
- public void set(ToolSettings toolSettings) {
- settings = toolSettings;
- }
-
- /**
- * Returns name associated with this tool.
- *
- * @return the localized name of this tool
- */
- public String getDisplayName() {
- return PaintPlugin.getResourceString("tool.Ellipse.label");
- }
-
- /*
- * Template methods for drawing
- */
- protected Figure createFigure(Point a, Point b) {
- ContainerFigure container = new ContainerFigure();
- if (settings.commonFillType != ToolSettings.ftNone)
- container.add(new SolidEllipseFigure(settings.commonBackgroundColor, a.x, a.y, b.x, b.y));
- if (settings.commonFillType != ToolSettings.ftSolid)
- container.add(new EllipseFigure(settings.commonForegroundColor, settings.commonBackgroundColor, settings.commonLineStyle,
- a.x, a.y, b.x, b.y));
- return container;
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/Figure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/Figure.java
deleted file mode 100755
index 6eb305b77f..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/Figure.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * Superinterface for all drawing objects.
- * All drawing objects know how to render themselved to the screen and can draw a
- * temporary version of themselves for previewing the general appearance of the
- * object onscreen before it gets committed.
- */
-public abstract class Figure {
- /**
- * Draws this object.
- *
- * @param fdc a parameter block specifying drawing-related information
- */
- public abstract void draw(FigureDrawContext fdc);
-
- /**
- * Computes the damaged screen region caused by drawing this object (imprecise), then
- * appends it to the supplied region.
- *
- * @param fdc a parameter block specifying drawing-related information
- * @param region a region to which additional damage areas will be added
- */
- public abstract void addDamagedRegion(FigureDrawContext fdc, Region region);
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/FigureDrawContext.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/FigureDrawContext.java
deleted file mode 100644
index b020ff4902..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/FigureDrawContext.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-public class FigureDrawContext {
- /*
- * <p>
- * The GC must be set up as follows
- * (it will be returned to this state upon completion of drawing operations)
- * <ul>
- * <li>setXORMode(false)
- * </ul>
- * </p>
- */
- public GC gc = null;
- public int xOffset = 0, yOffset = 0; // substract to get GC coords
- public int xScale = 1, yScale = 1;
-
- public Rectangle toClientRectangle(int x1, int y1, int x2, int y2) {
- return new Rectangle(
- Math.min(x1, x2) * xScale - xOffset,
- Math.min(y1, y2) * yScale - yOffset,
- (Math.abs(x2 - x1) + 1) * xScale,
- (Math.abs(y2 - y1) + 1) * yScale);
- }
- public Point toClientPoint(int x, int y) {
- return new Point(x * xScale - xOffset, y * yScale - yOffset);
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/LineFigure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/LineFigure.java
deleted file mode 100755
index ab07a8a676..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/LineFigure.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-
-/**
- * 2D Line object
- */
-public class LineFigure extends Figure {
- private Color foregroundColor, backgroundColor;
- private int lineStyle, x1, y1, x2, y2;
- /**
- * Constructs a Line
- * These objects are defined by their two end-points.
- *
- * @param color the color for this object
- * @param lineStyle the line style for this object
- * @param x1 the virtual X coordinate of the first end-point
- * @param y1 the virtual Y coordinate of the first end-point
- * @param x2 the virtual X coordinate of the second end-point
- * @param y2 the virtual Y coordinate of the second end-point
- */
- public LineFigure(Color foregroundColor, Color backgroundColor, int lineStyle, int x1, int y1, int x2, int y2) {
- this.foregroundColor = foregroundColor;
- this.backgroundColor = backgroundColor;
- this.lineStyle = lineStyle;
- this.x1 = x1; this.y1 = y1; this.x2 = x2; this.y2 = y2;
- }
- public void draw(FigureDrawContext fdc) {
- Point p1 = fdc.toClientPoint(x1, y1);
- Point p2 = fdc.toClientPoint(x2, y2);
- fdc.gc.setForeground(foregroundColor);
- fdc.gc.setBackground(backgroundColor);
- fdc.gc.setLineStyle(lineStyle);
- fdc.gc.drawLine(p1.x, p1.y, p2.x, p2.y);
- fdc.gc.setLineStyle(SWT.LINE_SOLID);
- }
- public void addDamagedRegion(FigureDrawContext fdc, Region region) {
- region.add(fdc.toClientRectangle(x1, y1, x2, y2));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/LineTool.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/LineTool.java
deleted file mode 100755
index 32d0399d51..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/LineTool.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * A line drawing tool
- */
-public class LineTool extends DragPaintSession implements PaintTool {
- private ToolSettings settings;
-
- /**
- * Constructs a LineTool.
- *
- * @param toolSettings the new tool settings
- * @param paintSurface the PaintSurface we will render on.
- */
- public LineTool(ToolSettings toolSettings, PaintSurface paintSurface) {
- super(paintSurface);
- set(toolSettings);
- }
-
- /**
- * Sets the tool's settings.
- *
- * @param toolSettings the new tool settings
- */
- public void set(ToolSettings toolSettings) {
- settings = toolSettings;
- }
-
- /**
- * Returns name associated with this tool.
- *
- * @return the localized name of this tool
- */
- public String getDisplayName() {
- return PaintPlugin.getResourceString("tool.Line.label");
- }
-
- /*
- * Template methods for drawing
- */
- protected Figure createFigure(Point a, Point b) {
- return new LineFigure(settings.commonForegroundColor, settings.commonBackgroundColor, settings.commonLineStyle,
- a.x, a.y, b.x, b.y);
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintPlugin.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintPlugin.java
deleted file mode 100755
index d2f314ef74..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintPlugin.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.core.runtime.*;
-import org.eclipse.ui.plugin.*;
-
-import java.text.*;
-import java.util.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class PaintPlugin extends AbstractUIPlugin {
- //The shared instance.
- private static PaintPlugin plugin;
- private static ResourceBundle resourceBundle;
-
- /**
- * Constructs the Paint plugin.
- */
- public PaintPlugin(IPluginDescriptor descriptor) {
- super(descriptor);
- plugin = this;
- resourceBundle = descriptor.getResourceBundle();
- }
-
- /**
- * Returns the shared instance.
- */
- public static PaintPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Log an error to the ILog for this plugin
- *
- * @param message the localized error message text
- * @param exception the associated exception, or null
- */
- public static void logError(String message, Throwable exception) {
- plugin.getLog().log(new Status(IStatus.ERROR, plugin.getDescriptor().getUniqueIdentifier(),
- 0, message, exception));
- }
-
- /**
- * Returns a string from the resource bundle.
- * We don't want to crash because of a missing String.
- * Returns the key if not found.
- */
- public static String getResourceString(String key) {
- try {
- return resourceBundle.getString(key);
- } catch (MissingResourceException e) {
- return key;
- } catch (NullPointerException e) {
- return "!" + key + "!";
- }
- }
-
- /**
- * Returns a string from the resource bundle and binds it
- * with the given arguments. If the key is not found,
- * return the key.
- */
- public static String getResourceString(String key, Object[] args) {
- try {
- return MessageFormat.format(getResourceString(key), args);
- } catch (MissingResourceException e) {
- return key;
- } catch (NullPointerException e) {
- return "!" + key + "!";
- }
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintSession.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintSession.java
deleted file mode 100755
index 1d6eda21bf..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintSession.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.events.*;
-
-/**
- * Manages an interactive paint session.
- * Note that the coordinates received via the listener interfaces are virtualized to zero-origin
- * relative to the painting surface.
- */
-public interface PaintSession extends MouseListener, MouseMoveListener {
- /**
- * Returns the paint surface associated with this paint session
- *
- * @return the associated PaintSurface
- */
- public PaintSurface getPaintSurface();
-
- /**
- * Activates the session.
- *
- * Note: When overriding this method, call super.beginSession() at method start.
- */
- public abstract void beginSession();
-
- /**
- * Deactivates the session.
- *
- * Note: When overriding this method, call super.endSession() at method exit.
- */
- public abstract void endSession();
-
- /**
- * Resets the session.
- * Aborts any operation in progress.
- *
- * Note: When overriding this method, call super.resetSession() at method exit.
- */
- public abstract void resetSession();
-
-
- /**
- * Returns the name associated with this tool.
- *
- * @return the localized name of this tool
- */
- public String getDisplayName();
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintSurface.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintSurface.java
deleted file mode 100755
index a58af26f9f..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintSurface.java
+++ /dev/null
@@ -1,523 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-import org.eclipse.swt.events.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.widgets.*;
-
-/**
- * Manages a simple drawing surface.
- */
-public class PaintSurface {
- private Point currentPosition = new Point(0, 0);
- private Canvas paintCanvas;
-
- private PaintSession paintSession;
- private Image image;
- private Image paintImage; // buffer for refresh blits
- private int imageWidth, imageHeight;
- private int visibleWidth, visibleHeight;
-
- private FigureDrawContext displayFDC = new FigureDrawContext();
- private FigureDrawContext imageFDC = new FigureDrawContext();
- private FigureDrawContext paintFDC = new FigureDrawContext();
-
- /* Rubberband */
- private ContainerFigure rubberband = new ContainerFigure();
- // the active rubberband selection
- private int rubberbandHiddenNestingCount = 0;
- // always >= 0, if > 0 rubberband has been hidden
-
- /* Status */
- private Text statusText;
- private String statusActionInfo, statusMessageInfo, statusCoordInfo;
-
- /**
- * Constructs a PaintSurface.
- * <p>
- * paintCanvas must have SWT.NO_REDRAW_RESIZE and SWT.NO_BACKGROUND styles,
- * and may have SWT.V_SCROLL and/or SWT.H_SCROLL.
- * </p>
- * @param paintCanvas the Canvas object in which to render
- * @param paintStatus the PaintStatus object to use for providing user feedback
- * @param fillColor the color to fill the canvas with initially
- */
- public PaintSurface(Canvas paintCanvas, Text statusText, Color fillColor) {
- this.paintCanvas = paintCanvas;
- this.statusText = statusText;
- clearStatus();
-
- /* Set up the drawing surface */
- Rectangle displayRect = paintCanvas.getDisplay().getClientArea();
- imageWidth = displayRect.width;
- imageHeight = displayRect.height;
- image = new Image(paintCanvas.getDisplay(), imageWidth, imageHeight);
-
- imageFDC.gc = new GC(image);
- imageFDC.gc.setBackground(fillColor);
- imageFDC.gc.fillRectangle(0, 0, imageWidth, imageHeight);
- displayFDC.gc = new GC(paintCanvas);
-
- /* Initialize the session */
- setPaintSession(null);
-
- /* Add our listeners */
- paintCanvas.addDisposeListener(new DisposeListener() {
- public void widgetDisposed(DisposeEvent e) {
- displayFDC.gc.dispose();
- }
- });
- paintCanvas.addMouseListener(new MouseAdapter() {
- public void mouseDown(MouseEvent event) {
- processMouseEventCoordinates(event);
- if (paintSession != null) paintSession.mouseDown(event);
- }
- public void mouseUp(MouseEvent event) {
- processMouseEventCoordinates(event);
- if (paintSession != null) paintSession.mouseUp(event);
- }
- public void mouseDoubleClick(MouseEvent event) {
- processMouseEventCoordinates(event);
- if (paintSession != null) paintSession.mouseDoubleClick(event);
- }
- });
- paintCanvas.addMouseMoveListener(new MouseMoveListener() {
- public void mouseMove(MouseEvent event) {
- processMouseEventCoordinates(event);
- if (paintSession != null) paintSession.mouseMove(event);
- }
- });
- paintCanvas.addPaintListener(new PaintListener() {
- public void paintControl(PaintEvent event) {
- if (rubberband.isEmpty()) {
- // Nothing to merge, so we just refresh
- event.gc.drawImage(image,
- displayFDC.xOffset + event.x, displayFDC.yOffset + event.y, event.width, event.height,
- event.x, event.y, event.width, event.height);
- } else {
- /*
- * Avoid flicker when merging overlayed objects by constructing the image on
- * a backbuffer first, then blitting it to the screen.
- */
- // Check that the backbuffer is large enough
- if (paintImage != null) {
- Rectangle rect = paintImage.getBounds();
- if ((event.width + event.x > rect.width) ||
- (event.height + event.y > rect.height)) {
- paintFDC.gc.dispose();
- paintImage.dispose();
- paintImage = null;
- }
- }
- if (paintImage == null) {
- Display display = getDisplay();
- Rectangle rect = display.getClientArea();
- paintImage = new Image(display,
- Math.max(rect.width, event.width + event.x),
- Math.max(rect.height, event.height + event.y));
- paintFDC.gc = new GC(paintImage);
- }
- // Setup clipping and the FDC
- Region clipRegion = new Region();
- event.gc.getClipping(clipRegion);
- paintFDC.gc.setClipping(clipRegion);
- clipRegion.dispose();
-
- paintFDC.xOffset = displayFDC.xOffset;
- paintFDC.yOffset = displayFDC.yOffset;
- paintFDC.xScale = displayFDC.xScale;
- paintFDC.yScale = displayFDC.yScale;
-
- // Merge the overlayed objects into the image, then blit
- paintFDC.gc.drawImage(image,
- displayFDC.xOffset + event.x, displayFDC.yOffset + event.y, event.width, event.height,
- event.x, event.y, event.width, event.height);
- rubberband.draw(paintFDC);
- event.gc.drawImage(paintImage,
- event.x, event.y, event.width, event.height,
- event.x, event.y, event.width, event.height);
- }
- }
- });
- paintCanvas.addControlListener(new ControlAdapter() {
- public void controlResized(ControlEvent event) {
- handleResize();
- }
- });
-
- /* Set up the paint canvas scroll bars */
- ScrollBar horizontal = paintCanvas.getHorizontalBar();
- horizontal.setVisible(true);
- horizontal.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent event) {
- scrollHorizontally((ScrollBar)event.widget);
- }
- });
- ScrollBar vertical = paintCanvas.getVerticalBar();
- vertical.setVisible(true);
- vertical.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent event) {
- scrollVertically((ScrollBar)event.widget);
- }
- });
- handleResize();
- }
-
- /**
- * Disposes of the PaintSurface's resources.
- */
- public void dispose() {
- imageFDC.gc.dispose();
- image.dispose();
- if (paintImage != null) {
- paintImage.dispose();
- paintFDC.gc.dispose();
- }
-
- currentPosition = null;
- paintCanvas = null;
- paintSession = null;
- image = null;
- paintImage = null;
- displayFDC = null;
- imageFDC = null;
- paintFDC = null;
- rubberband = null;
- statusText = null;
- statusActionInfo = null;
- statusMessageInfo = null;
- statusCoordInfo = null;
- }
-
- /**
- * Called when we must grab focus.
- */
- public void setFocus() {
- paintCanvas.setFocus();
- }
-
- /**
- * Returns the Display on which the PaintSurface resides.
- * @return the Display
- */
- public Display getDisplay() {
- return paintCanvas.getDisplay();
- }
-
- /**
- * Returns the Shell in which the PaintSurface resides.
- * @return the Shell
- */
- public Shell getShell() {
- return paintCanvas.getShell();
- }
-
- /**
- * Sets the current paint session.
- * <p>
- * If oldPaintSession != paintSession calls oldPaintSession.end()
- * and paintSession.begin()
- * </p>
- *
- * @param paintSession the paint session to activate; null to disable all sessions
- */
- public void setPaintSession(PaintSession paintSession) {
- if (this.paintSession != null) {
- if (this.paintSession == paintSession) return;
- this.paintSession.endSession();
- }
- this.paintSession = paintSession;
- clearStatus();
- if (paintSession != null) {
- setStatusAction(paintSession.getDisplayName());
- paintSession.beginSession();
- } else {
- setStatusAction(PaintPlugin.getResourceString("tool.Null.label"));
- setStatusMessage(PaintPlugin.getResourceString("session.Null.message"));
- }
- }
-
- /**
- * Returns the current paint session.
- *
- * @return the current paint session, null if none is active
- */
- public PaintSession getPaintSession() {
- return paintSession;
- }
-
- /**
- * Returns the current paint tool.
- *
- * @return the current paint tool, null if none is active (though some other session
- * might be)
- */
- public PaintTool getPaintTool() {
- return (paintSession != null && paintSession instanceof PaintTool) ?
- (PaintTool)paintSession : null;
- }
-
- /**
- * Returns the current position in an interactive operation.
- *
- * @return the last known position of the pointer
- */
- public Point getCurrentPosition() {
- return currentPosition;
- }
-
- /**
- * Draws a Figure object to the screen and to the backing store permanently.
- *
- * @param object the object to draw onscreen
- */
- public void drawFigure(Figure object) {
- object.draw(imageFDC);
- object.draw(displayFDC);
- }
-
- /**
- * Adds a Figure object to the active rubberband selection.
- * <p>
- * This object will be drawn to the screen as a preview and refreshed appropriately
- * until the selection is either cleared or committed.
- * </p>
- *
- * @param object the object to add to the selection
- */
- public void addRubberbandSelection(Figure object) {
- rubberband.add(object);
- if (! isRubberbandHidden()) object.draw(displayFDC);
- }
-
- /**
- * Clears the active rubberband selection.
- * <p>
- * Erases any rubberband objects on the screen then clears the selection.
- * </p>
- */
- public void clearRubberbandSelection() {
- if (! isRubberbandHidden()) {
- Region region = new Region();
- rubberband.addDamagedRegion(displayFDC, region);
- Rectangle r = region.getBounds();
- paintCanvas.redraw(r.x, r.y, r.width, r.height, true);
- region.dispose();
- }
- rubberband.clear();
-
- }
-
- /**
- * Commits the active rubberband selection.
- * <p>
- * Redraws any rubberband objects on the screen as permanent objects then clears the selection.
- * </p>
- */
- public void commitRubberbandSelection() {
- rubberband.draw(imageFDC);
- if (isRubberbandHidden()) rubberband.draw(displayFDC);
- rubberband.clear();
- }
-
- /**
- * Hides the rubberband (but does not eliminate it).
- * <p>
- * Increments by one the rubberband "hide" nesting count. The rubberband
- * is hidden from view (but remains active) if it wasn't already hidden.
- * </p>
- */
- public void hideRubberband() {
- if (rubberbandHiddenNestingCount++ <= 0) {
- Region region = new Region();
- rubberband.addDamagedRegion(displayFDC, region);
- Rectangle r = region.getBounds();
- paintCanvas.redraw(r.x, r.y, r.width, r.height, true);
- region.dispose();
- }
- }
-
- /**
- * Shows (un-hides) the rubberband.
- * <p>
- * Decrements by one the rubberband "hide" nesting count. The rubberband
- * is only made visible when showRubberband() has been called once for each
- * previous hideRubberband(). It is not permitted to call showRubberband() if
- * the rubber band is not presently hidden.
- * </p>
- */
- public void showRubberband() {
- if (rubberbandHiddenNestingCount <= 0)
- throw new IllegalStateException("rubberbandHiddenNestingCount > 0");
- if (--rubberbandHiddenNestingCount == 0) {
- rubberband.draw(displayFDC);
- }
- }
-
- /**
- * Determines if the rubberband is hidden.
- *
- * @return true iff the rubber is hidden
- */
- public boolean isRubberbandHidden() {
- return rubberbandHiddenNestingCount > 0;
- }
-
- /**
- * Handles a horizontal scroll event
- *
- * @param scrollbar the horizontal scroll bar that posted this event
- */
- public void scrollHorizontally(ScrollBar scrollBar) {
- if (image == null) return;
- if (imageWidth > visibleWidth) {
- final int oldOffset = displayFDC.xOffset;
- final int newOffset = Math.min(scrollBar.getSelection(), imageWidth - visibleWidth);
- if (oldOffset != newOffset) {
- paintCanvas.update();
- displayFDC.xOffset = newOffset;
- paintCanvas.scroll(Math.max(oldOffset - newOffset, 0), 0, Math.max(newOffset - oldOffset, 0), 0,
- visibleWidth, visibleHeight, false);
- }
- }
- }
-
- /**
- * Handles a vertical scroll event
- *
- * @param scrollbar the vertical scroll bar that posted this event
- */
- public void scrollVertically(ScrollBar scrollBar) {
- if (image == null) return;
- if (imageHeight > visibleHeight) {
- final int oldOffset = displayFDC.yOffset;
- final int newOffset = Math.min(scrollBar.getSelection(), imageHeight - visibleHeight);
- if (oldOffset != newOffset) {
- paintCanvas.update();
- displayFDC.yOffset = newOffset;
- paintCanvas.scroll(0, Math.max(oldOffset - newOffset, 0), 0, Math.max(newOffset - oldOffset, 0),
- visibleWidth, visibleHeight, false);
- }
- }
- }
-
- /**
- * Handles resize events
- */
- private void handleResize() {
- paintCanvas.update();
-
- Rectangle visibleRect = paintCanvas.getClientArea();
- visibleWidth = visibleRect.width;
- visibleHeight = visibleRect.height;
-
- ScrollBar horizontal = paintCanvas.getHorizontalBar();
- if (horizontal != null) {
- displayFDC.xOffset = Math.min(horizontal.getSelection(), imageWidth - visibleWidth);
- if (imageWidth <= visibleWidth) {
- horizontal.setEnabled(false);
- horizontal.setSelection(0);
- } else {
- final int max = imageWidth - visibleWidth;
- horizontal.setEnabled(true);
- horizontal.setValues(displayFDC.xOffset, 0, imageWidth, visibleWidth,
- 8, visibleWidth);
- }
- }
-
- ScrollBar vertical = paintCanvas.getVerticalBar();
- if (vertical != null) {
- displayFDC.yOffset = Math.min(vertical.getSelection(), imageHeight - visibleHeight);
- if (imageHeight <= visibleHeight) {
- vertical.setEnabled(false);
- vertical.setSelection(0);
- } else {
- final int max = imageHeight - visibleHeight;
- vertical.setEnabled(true);
- vertical.setValues(displayFDC.yOffset, 0, imageHeight, visibleHeight,
- 8, visibleHeight);
- }
- }
- }
-
- /**
- * Virtualizes MouseEvent coordinates and stores the current position.
- */
- private void processMouseEventCoordinates(MouseEvent event) {
- currentPosition.x = event.x =
- Math.min(Math.max(event.x, 0), visibleWidth - 1) + displayFDC.xOffset;
- currentPosition.y = event.y =
- Math.min(Math.max(event.y, 0), visibleHeight - 1) + displayFDC.yOffset;
- }
-
- /**
- * Clears the status bar.
- */
- public void clearStatus() {
- statusActionInfo = "";
- statusMessageInfo = "";
- statusCoordInfo = "";
- updateStatus();
- }
-
- /**
- * Sets the status bar action text.
- *
- * @param action the action in progress, null to clear
- */
- public void setStatusAction(String action) {
- statusActionInfo = (action != null) ? action : "";
- updateStatus();
- }
-
- /**
- * Sets the status bar message text.
- *
- * @param message the message to display, null to clear
- */
- public void setStatusMessage(String message) {
- statusMessageInfo = (message != null) ? message : "";
- updateStatus();
- }
-
- /**
- * Sets the coordinates in the status bar.
- *
- * @param coord the coordinates to display, null to clear
- */
- public void setStatusCoord(Point coord) {
- statusCoordInfo = (coord != null) ? PaintPlugin.getResourceString("status.Coord.format", new Object[]
- { new Integer(coord.x), new Integer(coord.y)}) : "";
- updateStatus();
- }
-
- /**
- * Sets the coordinate range in the status bar.
- *
- * @param a the "from" coordinate, must not be null
- * @param b the "to" coordinate, must not be null
- */
- public void setStatusCoordRange(Point a, Point b) {
- statusCoordInfo = PaintPlugin.getResourceString("status.CoordRange.format", new Object[]
- { new Integer(a.x), new Integer(a.y), new Integer(b.x), new Integer(b.y)});
- updateStatus();
- }
-
- /**
- * Updates the display.
- */
- private void updateStatus() {
- statusText.setText(
- PaintPlugin.getResourceString("status.Bar.format", new Object[]
- { statusActionInfo, statusMessageInfo, statusCoordInfo }));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintTool.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintTool.java
deleted file mode 100755
index 7ec50d9dbe..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintTool.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-public interface PaintTool extends PaintSession {
- /**
- * Sets the tool's settings.
- *
- * @param toolSettings the new tool settings
- */
- public void set(ToolSettings toolSettings);
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintView.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintView.java
deleted file mode 100755
index 5fb8970b6f..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintView.java
+++ /dev/null
@@ -1,500 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.jface.action.*;
-import org.eclipse.jface.resource.*;
-import org.eclipse.swt.*;
-import org.eclipse.swt.events.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.widgets.*;
-import org.eclipse.ui.*;
-import org.eclipse.ui.part.*;
-
-import java.net.*;
-import java.util.*;
-
-/**
- * The view for the paint application.
- * All rendering happens inside the area created by createPartControl().
- *
- * @see ViewPart
- */
-public class PaintView extends ViewPart {
- private Display workbenchDisplay;
-
- // current active settings
- private ToolSettings toolSettings;
-
- // paint surface for drawing
- private PaintSurface paintSurface;
-
- // map action ids to useful data
- private HashMap /* of String to PaintTool */ paintToolMap;
- private HashMap /* of String to Integer */ paintFillTypeMap;
- private HashMap /* of String to Integer */ paintLineStyleMap;
-
- /** UI data **/
- // handle of currently active tool IAction on the UI
- private IAction activeToolAction;
- // handle of currently active filltype IAction on the UI
- private IAction activeFillTypeAction;
- // handle of currently active linetype IAction on the UI
- private IAction activeLineStyleAction;
-
- // handle of active foreground color box Canvas widget
- private Canvas activeForegroundColorCanvas;
- // handle of active background color box Canvas widget
- private Canvas activeBackgroundColorCanvas;
-
- private static final int numPaletteRows = 3;
- private static final int numPaletteCols = 50;
-
- // shared data
- private Color paintColorBlack, paintColorWhite; // alias for paintColors[0] and [1]
- private Color[] paintColors;
- private Font paintDefaultFont; // do not free
-
- /**
- * Constructs a Paint view.
- */
- public PaintView() {
- }
-
- /**
- * Cleanup
- */
- public void dispose() {
- if (paintSurface != null) paintSurface.dispose();
- if (paintColors != null) {
- for (int i = 0; i < paintColors.length; ++i) {
- final Color color = paintColors[i];
- if (color != null) color.dispose();
- }
- }
- paintDefaultFont = null;
- paintColors = null;
- paintSurface = null;
- super.dispose();
- }
-
- /**
- * Called when we must grab focus.
- *
- * @see org.eclipse.ui.part.ViewPart#setFocus
- */
- public void setFocus() {
- paintSurface.setFocus();
- }
-
- /**
- * Creates the example.
- *
- * @see ViewPart#createPartControl
- */
- public void createPartControl(Composite parent) {
- /*** Initialize shared data ***/
- workbenchDisplay = parent.getDisplay();
-
- paintColorWhite = new Color(workbenchDisplay, 255, 255, 255);
- paintColorBlack = new Color(workbenchDisplay, 0, 0, 0);
-
- paintDefaultFont = workbenchDisplay.getSystemFont();
-
- paintColors = new Color[numPaletteCols * numPaletteRows];
- paintColors[0] = paintColorBlack;
- paintColors[1] = paintColorWhite;
- for (int i = 2; i < paintColors.length; i++) {
- paintColors[i] = new Color(workbenchDisplay,
- ((i*7)%255),((i*23)%255), ((i*51)%255));
- }
-
- toolSettings = new ToolSettings();
- toolSettings.commonForegroundColor = paintColorBlack;
- toolSettings.commonBackgroundColor = paintColorWhite;
- toolSettings.commonFont = paintDefaultFont;
-
- /*** Add toolbar contributions ***/
- final IActionBars actionBars = getViewSite().getActionBars();
- IToolBarManager toolbarManager = actionBars.getToolBarManager();
-
- toolbarManager.add(new GroupMarker("group.tools"));
- toolbarManager.appendToGroup("group.tools", new SelectPaintToolAction("tool.Pencil"));
- toolbarManager.appendToGroup("group.tools", new SelectPaintToolAction("tool.Airbrush"));
- toolbarManager.appendToGroup("group.tools", new SelectPaintToolAction("tool.Line"));
- toolbarManager.appendToGroup("group.tools", new SelectPaintToolAction("tool.PolyLine"));
- toolbarManager.appendToGroup("group.tools", new SelectPaintToolAction("tool.Rectangle"));
- toolbarManager.appendToGroup("group.tools", new SelectPaintToolAction("tool.RoundedRectangle"));
- toolbarManager.appendToGroup("group.tools", new SelectPaintToolAction("tool.Ellipse"));
- toolbarManager.appendToGroup("group.tools", new SelectPaintToolAction("tool.Text"));
- toolbarManager.add(new Separator());
- toolbarManager.add(new GroupMarker("group.options.fill"));
- toolbarManager.appendToGroup("group.options.fill", new SelectFillTypeAction("fill.None"));
- toolbarManager.appendToGroup("group.options.fill", new SelectFillTypeAction("fill.Outline"));
- toolbarManager.appendToGroup("group.options.fill", new SelectFillTypeAction("fill.Solid"));
- toolbarManager.add(new Separator());
- toolbarManager.add(new GroupMarker("group.options.linestyle"));
- toolbarManager.appendToGroup("group.options.linestyle", new SelectLineStyleAction("linestyle.Solid"));
- toolbarManager.appendToGroup("group.options.linestyle", new SelectLineStyleAction("linestyle.Dash"));
- toolbarManager.appendToGroup("group.options.linestyle", new SelectLineStyleAction("linestyle.Dot"));
- toolbarManager.appendToGroup("group.options.linestyle", new SelectLineStyleAction("linestyle.DashDot"));
- toolbarManager.add(new Separator());
- toolbarManager.add(new GroupMarker("group.options"));
- toolbarManager.appendToGroup("group.options", new SelectFontAction("options.Font"));
- actionBars.updateActionBars();
-
- /*** Build GUI ***/
- createGUI(parent);
-
- /*** Set defaults ***/
- setPaintToolByID("tool.Pencil");
- setFillTypeByID("fill.None");
- setLineStyleByID("linestyle.Solid");
- setForegroundColor(paintColorBlack);
- setBackgroundColor(paintColorWhite);
- }
-
- /**
- * Creates the GUI.
- */
- private void createGUI(Composite parent) {
- GridLayout gridLayout;
- GridData gridData;
-
- /*** Create principal GUI layout elements ***/
- Composite displayArea = new Composite(parent, SWT.NONE);
- gridLayout = new GridLayout();
- gridLayout.numColumns = 1;
- displayArea.setLayout(gridLayout);
-
- // Creating these elements here avoids the need to instantiate the GUI elements
- // in strict layout order. The natural layout ordering is an artifact of using
- // SWT layouts, but unfortunately it is not the same order as that required to
- // instantiate all of the non-GUI application elements to satisfy referential
- // dependencies. It is possible to reorder the initialization to some extent, but
- // this can be very tedious.
-
- // paint canvas
- final Canvas paintCanvas = new Canvas(displayArea, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL |
- SWT.NO_REDRAW_RESIZE | SWT.NO_BACKGROUND);
- gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
- paintCanvas.setLayoutData(gridData);
- paintCanvas.setBackground(paintColorWhite);
-
- // color selector frame
- final Composite colorFrame = new Composite(displayArea, SWT.NONE);
- gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL);
- colorFrame.setLayoutData(gridData);
-
- // tool settings frame
- final Composite toolSettingsFrame = new Composite(displayArea, SWT.NONE);
- gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL);
- toolSettingsFrame.setLayoutData(gridData);
-
- // status text
- final Text statusText = new Text(displayArea, SWT.BORDER | SWT.SINGLE | SWT.READ_ONLY);
- gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL);
- statusText.setLayoutData(gridData);
-
- /*** Create the remaining application elements inside the principal GUI layout elements ***/
- // paintSurface
- paintSurface = new PaintSurface(paintCanvas, statusText, paintColorWhite);
-
- // paintToolMap
- paintToolMap = new HashMap();
- paintToolMap.put("tool.Pencil", new PencilTool(toolSettings, paintSurface));
- paintToolMap.put("tool.Airbrush", new AirbrushTool(toolSettings, paintSurface));
- paintToolMap.put("tool.Line", new LineTool(toolSettings, paintSurface));
- paintToolMap.put("tool.PolyLine", new PolyLineTool(toolSettings, paintSurface));
- paintToolMap.put("tool.Rectangle", new RectangleTool(toolSettings, paintSurface));
- paintToolMap.put("tool.RoundedRectangle", new RoundedRectangleTool(toolSettings, paintSurface));
- paintToolMap.put("tool.Ellipse", new EllipseTool(toolSettings, paintSurface));
- paintToolMap.put("tool.Text", new TextTool(toolSettings, paintSurface));
- paintToolMap.put("tool.Null", null);
-
- // paintFillTypeMap
- paintFillTypeMap = new HashMap();
- paintFillTypeMap.put("fill.None", new Integer(ToolSettings.ftNone));
- paintFillTypeMap.put("fill.Outline", new Integer(ToolSettings.ftOutline));
- paintFillTypeMap.put("fill.Solid", new Integer(ToolSettings.ftSolid));
-
- // paintLineStyleMap
- paintLineStyleMap = new HashMap();
- paintLineStyleMap.put("linestyle.Solid", new Integer(SWT.LINE_SOLID));
- paintLineStyleMap.put("linestyle.Dash", new Integer(SWT.LINE_DASH));
- paintLineStyleMap.put("linestyle.Dot", new Integer(SWT.LINE_DOT));
- paintLineStyleMap.put("linestyle.DashDot", new Integer(SWT.LINE_DASHDOT));
-
- // colorFrame
- gridLayout = new GridLayout();
- gridLayout.numColumns = 3;
- gridLayout.marginHeight = 0;
- gridLayout.marginWidth = 0;
- colorFrame.setLayout(gridLayout);
-
- // activeForegroundColorCanvas, activeBackgroundColorCanvas
- activeForegroundColorCanvas = new Canvas(colorFrame, SWT.BORDER);
- gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- gridData.heightHint = 24;
- gridData.widthHint = 24;
- activeForegroundColorCanvas.setLayoutData(gridData);
-
- activeBackgroundColorCanvas = new Canvas(colorFrame, SWT.BORDER);
- gridData = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- gridData.heightHint = 24;
- gridData.widthHint = 24;
- activeBackgroundColorCanvas.setLayoutData(gridData);
-
- // paletteCanvas
- final Canvas paletteCanvas = new Canvas(colorFrame, SWT.BORDER | SWT.NO_BACKGROUND);
- gridData = new GridData(GridData.FILL_HORIZONTAL);
- gridData.heightHint = 24;
- paletteCanvas.setLayoutData(gridData);
- paletteCanvas.addListener(SWT.MouseDown, new Listener() {
- public void handleEvent(Event e) {
- Rectangle bounds = paletteCanvas.getClientArea();
- Color color = getColorAt(bounds, e.x, e.y);
-
- if (e.button == 1) setForegroundColor(color);
- else setBackgroundColor(color);
- }
- private Color getColorAt(Rectangle bounds, int x, int y) {
- if (bounds.height <= 1 && bounds.width <= 1) return paintColorWhite;
- final int row = (y - bounds.y) * numPaletteRows / bounds.height;
- final int col = (x - bounds.x) * numPaletteCols / bounds.width;
- return paintColors[Math.min(Math.max(row * numPaletteCols + col, 0), paintColors.length - 1)];
- }
- });
- Listener refreshListener = new Listener() {
- public void handleEvent(Event e) {
- if (e.gc == null) return;
- Rectangle bounds = paletteCanvas.getClientArea();
- for (int row = 0; row < numPaletteRows; ++row) {
- for (int col = 0; col < numPaletteCols; ++col) {
- final int x = bounds.width * col / numPaletteCols;
- final int y = bounds.height * row / numPaletteRows;
- final int width = Math.max(bounds.width * (col + 1) / numPaletteCols - x, 1);
- final int height = Math.max(bounds.height * (row + 1) / numPaletteRows - y, 1);
- e.gc.setBackground(paintColors[row * numPaletteCols + col]);
- e.gc.fillRectangle(bounds.x + x, bounds.y + y, width, height);
- }
- }
- }
- };
- paletteCanvas.addListener(SWT.Resize, refreshListener);
- paletteCanvas.addListener(SWT.Paint, refreshListener);
- //paletteCanvas.redraw();
-
- // toolSettingsFrame
- gridLayout = new GridLayout();
- gridLayout.numColumns = 4;
- gridLayout.marginHeight = 0;
- gridLayout.marginWidth = 0;
- toolSettingsFrame.setLayout(gridLayout);
-
- Label label = new Label(toolSettingsFrame, SWT.NONE);
- label.setText(PaintPlugin.getResourceString("settings.AirbrushRadius.text"));
-
- final Scale airbrushRadiusScale = new Scale(toolSettingsFrame, SWT.HORIZONTAL);
- airbrushRadiusScale.setMinimum(5);
- airbrushRadiusScale.setMaximum(50);
- airbrushRadiusScale.setSelection(toolSettings.airbrushRadius);
- airbrushRadiusScale.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL));
- airbrushRadiusScale.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent e) {
- toolSettings.airbrushRadius = airbrushRadiusScale.getSelection();
- updateToolSettings();
- }
- });
-
- label = new Label(toolSettingsFrame, SWT.NONE);
- label.setText(PaintPlugin.getResourceString("settings.AirbrushIntensity.text"));
-
- final Scale airbrushIntensityScale = new Scale(toolSettingsFrame, SWT.HORIZONTAL);
- airbrushIntensityScale.setMinimum(1);
- airbrushIntensityScale.setMaximum(100);
- airbrushIntensityScale.setSelection(toolSettings.airbrushIntensity);
- airbrushIntensityScale.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL));
- airbrushIntensityScale.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent e) {
- toolSettings.airbrushIntensity = airbrushIntensityScale.getSelection();
- updateToolSettings();
- }
- });
- }
-
- /**
- * Notifies the tool that its settings have changed.
- */
- private void updateToolSettings() {
- final PaintTool activePaintTool = paintSurface.getPaintTool();
- if (activePaintTool == null) return;
-
- activePaintTool.endSession();
- activePaintTool.set(toolSettings);
- activePaintTool.beginSession();
- }
-
- /**
- * Sets the tool foreground color.
- *
- * @param color the new color to use
- */
- public void setForegroundColor(Color color) {
- if (activeForegroundColorCanvas != null)
- activeForegroundColorCanvas.setBackground(color);
- toolSettings.commonForegroundColor = color;
- updateToolSettings();
- }
-
- /**
- * Set the tool background color.
- *
- * @param color the new color to use
- */
- public void setBackgroundColor(Color color) {
- if (activeBackgroundColorCanvas != null)
- activeBackgroundColorCanvas.setBackground(color);
- toolSettings.commonBackgroundColor = color;
- updateToolSettings();
- }
-
- /**
- * Selects a tool given its ID.
- */
- public void setPaintToolByID(String id) {
- activeToolAction = handleRadioAction(activeToolAction, id);
-
- final PaintTool paintTool = (PaintTool) paintToolMap.get(id);
- paintSurface.setPaintSession(paintTool);
- updateToolSettings();
- }
-
- /**
- * Selects a filltype given its ID.
- */
- public void setFillTypeByID(String id) {
- activeFillTypeAction = handleRadioAction(activeFillTypeAction, id);
-
- final Integer fillType = (Integer) paintFillTypeMap.get(id);
- toolSettings.commonFillType = fillType.intValue();
- updateToolSettings();
- }
-
- /**
- * Selects line type given its ID.
- */
- public void setLineStyleByID(String id) {
- activeLineStyleAction = handleRadioAction(activeLineStyleAction, id);
-
- final Integer lineType = (Integer) paintLineStyleMap.get(id);
- toolSettings.commonLineStyle = lineType.intValue();
- updateToolSettings();
- }
-
- /**
- * Gets the IAction for an ID belonging to a set of mutually exclusive actions, and
- * toggles the old action off if necessary.
- */
- private IAction handleRadioAction(IAction oldAction, String id) {
- IAction action = getActionByID(id);
- if (action != null) {
- if (oldAction != null) oldAction.setChecked(false);
- if (! action.isChecked()) action.setChecked(true);
- return action;
- }
- return oldAction;
- }
-
- /**
- * Gets the IAction representing the UI toolbar button with the specified ID.
- */
- private IAction getActionByID(String id) {
- final IActionBars actionBars = getViewSite().getActionBars();
- IToolBarManager toolbarManager = actionBars.getToolBarManager();
- ActionContributionItem contributionItem = (ActionContributionItem) toolbarManager.find(id);
- if (contributionItem == null) return null;
- return contributionItem.getAction();
- }
-
- /**
- * Returns the Display.
- *
- * @return the display we're using
- */
- public Display getDisplay() {
- return workbenchDisplay;
- }
-
- /**
- * Action set glue.
- */
- abstract class PaintAction extends Action {
- public PaintAction(String id) {
- super();
- setId(id);
-
- try {
- final URL installUrl = PaintPlugin.getDefault().getDescriptor().getInstallURL();
- final URL imageUrl = new URL(installUrl, PaintPlugin.getResourceString(id + ".image"));
- setImageDescriptor(ImageDescriptor.createFromURL(imageUrl));
- } catch (MalformedURLException e) {
- PaintPlugin.logError("", e);
- }
-
- setText(PaintPlugin.getResourceString(id + ".label"));
- setToolTipText(PaintPlugin.getResourceString(id + ".tooltip"));
- setDescription(PaintPlugin.getResourceString(id + ".description"));
- }
- }
- class SelectPaintToolAction extends PaintAction {
- public SelectPaintToolAction(String id) { super(id); }
- public int getStyle() { return IAction.AS_CHECK_BOX; }
- public void run() { setPaintToolByID(getId()); }
-
- }
- class SelectFillTypeAction extends PaintAction {
- public SelectFillTypeAction(String id) { super(id); }
- public int getStyle() { return IAction.AS_CHECK_BOX; }
- public void run() { setFillTypeByID(getId()); }
- }
- class SelectLineStyleAction extends PaintAction {
- public SelectLineStyleAction(String id) { super(id); }
- public int getStyle() { return IAction.AS_CHECK_BOX; }
- public void run() { setLineStyleByID(getId()); }
- }
- class SelectFontAction extends PaintAction {
- public SelectFontAction(String id) { super(id); }
- public int getStyle() { return IAction.AS_PUSH_BUTTON; }
- public void run() {
- FontDialog fontDialog = new FontDialog(paintSurface.getShell(), SWT.PRIMARY_MODAL);
- FontData[] fontDatum = toolSettings.commonFont.getFontData();
- if (fontDatum != null && fontDatum.length > 0) {
- fontDialog.setFontList(fontDatum);
- }
- fontDialog.setText(PaintPlugin.getResourceString("options.Font.dialog.title"));
-
- paintSurface.hideRubberband();
- FontData fontData = fontDialog.open();
- paintSurface.showRubberband();
- if (fontData != null) {
- try {
- Font font = new Font(workbenchDisplay, fontData);
- toolSettings.commonFont = font;
- updateToolSettings();
- } catch (SWTException e) {
- }
- }
- }
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PencilTool.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PencilTool.java
deleted file mode 100755
index 08d1dab9e3..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PencilTool.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * A pencil tool.
- */
-public class PencilTool extends ContinuousPaintSession implements PaintTool {
- private ToolSettings settings;
-
- /**
- * Constructs a pencil tool.
- *
- * @param toolSettings the new tool settings
- * @param getPaintSurface() the PaintSurface we will render on.
- */
- public PencilTool(ToolSettings toolSettings, PaintSurface paintSurface) {
- super(paintSurface);
- set(toolSettings);
- }
-
- /**
- * Sets the tool's settings.
- *
- * @param toolSettings the new tool settings
- */
- public void set(ToolSettings toolSettings) {
- settings = toolSettings;
- }
-
- /**
- * Returns the name associated with this tool.
- *
- * @return the localized name of this tool
- */
- public String getDisplayName() {
- return PaintPlugin.getResourceString("tool.Pencil.label");
- }
-
- /*
- * Template method for drawing
- */
- public void render(final Point point) {
- final PaintSurface ps = getPaintSurface();
- ps.drawFigure(new PointFigure(settings.commonForegroundColor, point.x, point.y));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PointFigure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PointFigure.java
deleted file mode 100644
index 4b853693d2..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PointFigure.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * 2D Point object
- */
-public class PointFigure extends Figure {
- private Color color;
- private int x, y;
- /**
- * Constructs a Point
- *
- * @param color the color for this object
- * @param x the virtual X coordinate of the first end-point
- * @param y the virtual Y coordinate of the first end-point
- */
- public PointFigure(Color color, int x, int y) {
- this.color = color; this.x = x; this.y = y;
- }
- public void draw(FigureDrawContext fdc) {
- Point p = fdc.toClientPoint(x, y);
- fdc.gc.setBackground(color);
- fdc.gc.fillRectangle(p.x, p.y, 1, 1);
- }
- public void addDamagedRegion(FigureDrawContext fdc, Region region) {
- region.add(fdc.toClientRectangle(x, y, x, y));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PolyLineTool.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PolyLineTool.java
deleted file mode 100755
index 03d1583e43..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PolyLineTool.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * A polyline drawing tool.
- */
-public class PolyLineTool extends SegmentedPaintSession implements PaintTool {
- private ToolSettings settings;
-
- /**
- * Constructs a PolyLineTool.
- *
- * @param toolSettings the new tool settings
- * @param paintSurface the PaintSurface we will render on.
- */
- public PolyLineTool(ToolSettings toolSettings, PaintSurface paintSurface) {
- super(paintSurface);
- set(toolSettings);
- }
-
- /**
- * Sets the tool's settings.
- *
- * @param toolSettings the new tool settings
- */
- public void set(ToolSettings toolSettings) {
- settings = toolSettings;
- }
-
- /**
- * Returns the name associated with this tool.
- *
- * @return the localized name of this tool
- */
- public String getDisplayName() {
- return PaintPlugin.getResourceString("tool.PolyLine.label");
- }
-
- /*
- * Template methods for drawing
- */
- protected Figure createFigure(Point[] points, int numPoints, boolean closed) {
- ContainerFigure container = new ContainerFigure();
- if (closed && settings.commonFillType != ToolSettings.ftNone && numPoints >= 3) {
- container.add(new SolidPolygonFigure(settings.commonBackgroundColor, points, numPoints));
- }
- if (! closed || settings.commonFillType != ToolSettings.ftSolid || numPoints < 3) {
- for (int i = 0; i < numPoints - 1; ++i) {
- final Point a = points[i];
- final Point b = points[i + 1];
- container.add(new LineFigure(settings.commonForegroundColor, settings.commonBackgroundColor, settings.commonLineStyle,
- a.x, a.y, b.x, b.y));
- }
- if (closed) {
- final Point a = points[points.length - 1];
- final Point b = points[0];
- container.add(new LineFigure(settings.commonForegroundColor, settings.commonBackgroundColor, settings.commonLineStyle,
- a.x, a.y, b.x, b.y));
- }
- }
- return container;
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RectangleFigure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RectangleFigure.java
deleted file mode 100755
index 1f416f8094..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RectangleFigure.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-
-/**
- * 2D Rectangle object
- */
-public class RectangleFigure extends Figure {
- private Color foregroundColor, backgroundColor;
- private int lineStyle, x1, y1, x2, y2;
- /**
- * Constructs a Rectangle
- * These objects are defined by any two diametrically opposing corners.
- *
- * @param color the color for this object
- * @param lineStyle the line style for this object
- * @param x1 the virtual X coordinate of the first corner
- * @param y1 the virtual Y coordinate of the first corner
- * @param x2 the virtual X coordinate of the second corner
- * @param y2 the virtual Y coordinate of the second corner
- */
- public RectangleFigure(Color foregroundColor, Color backgroundColor, int lineStyle, int x1, int y1, int x2, int y2) {
- this.foregroundColor = foregroundColor;
- this.backgroundColor = backgroundColor;
- this.lineStyle = lineStyle;
- this.x1 = x1; this.y1 = y1; this.x2 = x2; this.y2 = y2;
- }
- public void draw(FigureDrawContext fdc) {
- Rectangle r = fdc.toClientRectangle(x1, y1, x2, y2);
- fdc.gc.setForeground(foregroundColor);
- fdc.gc.setBackground(backgroundColor);
- fdc.gc.setLineStyle(lineStyle);
- fdc.gc.drawRectangle(r.x, r.y, r.width - 1, r.height - 1);
- fdc.gc.setLineStyle(SWT.LINE_SOLID);
- }
- public void addDamagedRegion(FigureDrawContext fdc, Region region) {
- region.add(fdc.toClientRectangle(x1, y1, x2, y2));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RectangleTool.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RectangleTool.java
deleted file mode 100755
index d9d6329eff..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RectangleTool.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * A drawing tool.
- */
-public class RectangleTool extends DragPaintSession implements PaintTool {
- private ToolSettings settings;
-
- /**
- * Constructs a RectangleTool.
- *
- * @param toolSettings the new tool settings
- * @param paintSurface the PaintSurface we will render on.
- */
- public RectangleTool(ToolSettings toolSettings, PaintSurface paintSurface) {
- super(paintSurface);
- set(toolSettings);
- }
-
- /**
- * Sets the tool's settings.
- *
- * @param toolSettings the new tool settings
- */
- public void set(ToolSettings toolSettings) {
- settings = toolSettings;
- }
-
- /**
- * Returns name associated with this tool.
- *
- * @return the localized name of this tool
- */
- public String getDisplayName() {
- return PaintPlugin.getResourceString("tool.Rectangle.label");
- }
-
- /*
- * Template method for drawing
- */
- protected Figure createFigure(Point a, Point b) {
- switch (settings.commonFillType) {
- default:
- case ToolSettings.ftNone:
- return new RectangleFigure(settings.commonForegroundColor, settings.commonBackgroundColor, settings.commonLineStyle,
- a.x, a.y, b.x, b.y);
- case ToolSettings.ftSolid:
- return new SolidRectangleFigure(settings.commonBackgroundColor, a.x, a.y, b.x, b.y);
- case ToolSettings.ftOutline: {
- ContainerFigure container = new ContainerFigure();
- container.add(new SolidRectangleFigure(settings.commonBackgroundColor, a.x, a.y, b.x, b.y));
- container.add(new RectangleFigure(settings.commonForegroundColor, settings.commonBackgroundColor, settings.commonLineStyle,
- a.x, a.y, b.x, b.y));
- return container;
- }
- }
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RoundedRectangleFigure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RoundedRectangleFigure.java
deleted file mode 100755
index 8b62e49e13..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RoundedRectangleFigure.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-
-/**
- * 2D Rectangle object
- */
-public class RoundedRectangleFigure extends Figure {
- private Color foregroundColor, backgroundColor;
- private int lineStyle, x1, y1, x2, y2, diameter;
- /**
- * Constructs a Rectangle
- * These objects are defined by any two diametrically opposing corners.
- *
- * @param color the color for this object
- * @param lineStyle the line style for this object
- * @param x1 the virtual X coordinate of the first corner
- * @param y1 the virtual Y coordinate of the first corner
- * @param x2 the virtual X coordinate of the second corner
- * @param y2 the virtual Y coordinate of the second corner
- * @param diameter the diameter of curvature of all four corners
- */
- public RoundedRectangleFigure(Color foregroundColor, Color backgroundColor, int lineStyle, int x1, int y1, int x2, int y2, int diameter) {
- this.foregroundColor = foregroundColor;
- this.backgroundColor = backgroundColor;
- this.lineStyle = lineStyle;
- this.x1 = x1; this.y1 = y1; this.x2 = x2; this.y2 = y2;
- this.diameter = diameter;
- }
- public void draw(FigureDrawContext fdc) {
- Rectangle r = fdc.toClientRectangle(x1, y1, x2, y2);
- fdc.gc.setForeground(foregroundColor);
- fdc.gc.setBackground(backgroundColor);
- fdc.gc.setLineStyle(lineStyle);
- fdc.gc.drawRoundRectangle(r.x, r.y, r.width - 1, r.height - 1, diameter, diameter);
- fdc.gc.setLineStyle(SWT.LINE_SOLID);
- }
- public void addDamagedRegion(FigureDrawContext fdc, Region region) {
- region.add(fdc.toClientRectangle(x1, y1, x2, y2));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RoundedRectangleTool.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RoundedRectangleTool.java
deleted file mode 100755
index 052bbb67a6..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RoundedRectangleTool.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * A drawing tool.
- */
-public class RoundedRectangleTool extends DragPaintSession implements PaintTool {
- private ToolSettings settings;
-
- /**
- * Constructs a RoundedRectangleTool.
- *
- * @param toolSettings the new tool settings
- * @param paintSurface the PaintSurface we will render on.
- */
- public RoundedRectangleTool(ToolSettings toolSettings, PaintSurface paintSurface) {
- super(paintSurface);
- set(toolSettings);
- }
-
- /**
- * Sets the tool's settings.
- *
- * @param toolSettings the new tool settings
- */
- public void set(ToolSettings toolSettings) {
- settings = toolSettings;
- }
-
- /**
- * Returns name associated with this tool.
- *
- * @return the localized name of this tool
- */
- public String getDisplayName() {
- return PaintPlugin.getResourceString("tool.RoundedRectangle.label");
- }
-
- /*
- * Template methods for drawing
- */
- protected Figure createFigure(Point a, Point b) {
- ContainerFigure container = new ContainerFigure();
- if (settings.commonFillType != ToolSettings.ftNone)
- container.add(new SolidRoundedRectangleFigure(settings.commonBackgroundColor,
- a.x, a.y, b.x, b.y, settings.roundedRectangleCornerDiameter));
- if (settings.commonFillType != ToolSettings.ftSolid)
- container.add(new RoundedRectangleFigure(settings.commonForegroundColor, settings.commonBackgroundColor,
- settings.commonLineStyle, a.x, a.y, b.x, b.y, settings.roundedRectangleCornerDiameter));
- return container;
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SegmentedPaintSession.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SegmentedPaintSession.java
deleted file mode 100755
index 342edb134c..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SegmentedPaintSession.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.events.*;
-import org.eclipse.swt.graphics.*;
-
-import java.util.*;
-
-/**
- * The superclass for paint tools that contruct objects from individually
- * picked segments.
- */
-public abstract class SegmentedPaintSession extends BasicPaintSession {
- /**
- * The set of control points making up the segmented selection
- */
- private Vector /* of Point */ controlPoints = new Vector();
-
- /**
- * The previous figure (so that we can abort with right-button)
- */
- private Figure previousFigure = null;
-
- /**
- * The current figure (so that we can abort with right-button)
- */
- private Figure currentFigure = null;
-
- /**
- * Constructs a PaintSession.
- *
- * @param paintSurface the drawing surface to use
- */
- protected SegmentedPaintSession(PaintSurface paintSurface) {
- super(paintSurface);
- }
-
- /**
- * Activates the tool.
- */
- public void beginSession() {
- getPaintSurface().setStatusMessage(PaintPlugin.getResourceString(
- "session.SegmentedInteractivePaint.message.anchorMode"));
- previousFigure = null;
- currentFigure = null;
- controlPoints.clear();
- }
-
- /**
- * Deactivates the tool.
- */
- public void endSession() {
- getPaintSurface().clearRubberbandSelection();
- if (previousFigure != null) getPaintSurface().drawFigure(previousFigure);
- }
-
- /**
- * Resets the tool.
- * Aborts any operation in progress.
- */
- public void resetSession() {
- getPaintSurface().clearRubberbandSelection();
- if (previousFigure != null) getPaintSurface().drawFigure(previousFigure);
-
- getPaintSurface().setStatusMessage(PaintPlugin.getResourceString(
- "session.SegmentedInteractivePaint.message.anchorMode"));
- previousFigure = null;
- currentFigure = null;
- controlPoints.clear();
- }
-
- /**
- * Handles a mouseDown event.
- *
- * @param event the mouse event detail information
- */
- public void mouseDown(MouseEvent event) {
- if (event.button != 1) return;
-
- getPaintSurface().setStatusMessage(PaintPlugin.getResourceString(
- "session.SegmentedInteractivePaint.message.interactiveMode"));
- previousFigure = currentFigure;
-
- if (controlPoints.size() > 0) {
- final Point lastPoint = (Point) controlPoints.elementAt(controlPoints.size() - 1);
- if (lastPoint.x == event.x || lastPoint.y == event.y) return; // spurious event
- }
- controlPoints.add(new Point(event.x, event.y));
- }
-
- /**
- * Handles a mouseDoubleClick event.
- *
- * @param event the mouse event detail information
- */
- public void mouseDoubleClick(MouseEvent event) {
- if (event.button != 1) return;
- if (controlPoints.size() >= 2) {
- getPaintSurface().clearRubberbandSelection();
- previousFigure = createFigure(
- (Point[]) controlPoints.toArray(new Point[controlPoints.size()]),
- controlPoints.size(), true);
- }
- resetSession();
- }
-
- /**
- * Handles a mouseUp event.
- *
- * @param event the mouse event detail information
- */
- public void mouseUp(MouseEvent event) {
- if (event.button != 1) {
- resetSession(); // abort if right or middle mouse button pressed
- return;
- }
- }
-
- /**
- * Handles a mouseMove event.
- *
- * @param event the mouse event detail information
- */
- public void mouseMove(MouseEvent event) {
- final PaintSurface ps = getPaintSurface();
- if (controlPoints.size() == 0) {
- ps.setStatusCoord(ps.getCurrentPosition());
- return; // spurious event
- } else {
- ps.setStatusCoordRange((Point) controlPoints.elementAt(controlPoints.size() - 1),
- ps.getCurrentPosition());
- }
-
- ps.clearRubberbandSelection();
- Point[] points = (Point[]) controlPoints.toArray(new Point[controlPoints.size() + 1]);
- points[controlPoints.size()] = ps.getCurrentPosition();
- currentFigure = createFigure(points, points.length, false);
- ps.addRubberbandSelection(currentFigure);
- }
-
- /**
- * Template Method: Creates a Figure for drawing rubberband entities and the final product
- *
- * @param points the array of control points
- * @param numPoints the number of valid points in the array (n >= 2)
- * @param closed true if the user double-clicked on the final control point
- */
- protected abstract Figure createFigure(Point[] points, int numPoints, boolean closed);
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidEllipseFigure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidEllipseFigure.java
deleted file mode 100755
index e23263de4d..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidEllipseFigure.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * 2D Solid Ellipse object
- */
-public class SolidEllipseFigure extends Figure {
- private Color color;
- private int x1, y1, x2, y2;
- /**
- * Constructs a SolidEllipse
- * These objects are defined by any two diametrically opposing corners of a box
- * bounding the ellipse.
- *
- * @param color the color for this object
- * @param x1 the virtual X coordinate of the first corner
- * @param y1 the virtual Y coordinate of the first corner
- * @param x2 the virtual X coordinate of the second corner
- * @param y2 the virtual Y coordinate of the second corner
- */
- public SolidEllipseFigure(Color color, int x1, int y1, int x2, int y2) {
- this.color = color; this.x1 = x1; this.y1 = y1; this.x2 = x2; this.y2 = y2;
- }
- public void draw(FigureDrawContext fdc) {
- Rectangle r = fdc.toClientRectangle(x1, y1, x2, y2);
- fdc.gc.setBackground(color);
- fdc.gc.fillOval(r.x, r.y, r.width, r.height);
- }
- public void addDamagedRegion(FigureDrawContext fdc, Region region) {
- region.add(fdc.toClientRectangle(x1, y1, x2, y2));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidPolygonFigure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidPolygonFigure.java
deleted file mode 100755
index a5aca3dd11..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidPolygonFigure.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * 2D Line object
- */
-public class SolidPolygonFigure extends Figure {
- private Color color;
- private int[] points;
- /**
- * Constructs a SolidPolygon
- * These objects are defined by a sequence of vertices.
- *
- * @param color the color for this object
- * @param vertices the array of vertices making up the polygon
- * @param numPoint the number of valid points in the array (n >= 3)
- */
- public SolidPolygonFigure(Color color, Point[] vertices, int numPoints) {
- this.color = color;
- this.points = new int[numPoints * 2];
- for (int i = 0; i < numPoints; ++i) {
- points[i * 2] = vertices[i].x;
- points[i * 2 + 1] = vertices[i].y;
- }
- }
- public void draw(FigureDrawContext fdc) {
- int[] drawPoints = new int[points.length];
- for (int i = 0; i < points.length; i += 2) {
- drawPoints[i] = points[i] * fdc.xScale - fdc.xOffset;
- drawPoints[i + 1] = points[i + 1] * fdc.yScale - fdc.yOffset;
- }
- fdc.gc.setBackground(color);
- fdc.gc.fillPolygon(drawPoints);
- }
- public void addDamagedRegion(FigureDrawContext fdc, Region region) {
- int xmin = Integer.MAX_VALUE, ymin = Integer.MAX_VALUE;
- int xmax = Integer.MIN_VALUE, ymax = Integer.MIN_VALUE;
-
- for (int i = 0; i < points.length; i += 2) {
- if (points[i] < xmin) xmin = points[i];
- if (points[i] > xmax) xmax = points[i];
- if (points[i+1] < ymin) ymin = points[i+1];
- if (points[i+1] > ymax) ymax = points[i+1];
- }
- region.add(fdc.toClientRectangle(xmin, ymin, xmax, ymax));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidRectangleFigure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidRectangleFigure.java
deleted file mode 100755
index 608a58c4ed..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidRectangleFigure.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * 2D SolidRectangle object
- */
-public class SolidRectangleFigure extends Figure {
- private Color color;
- private int x1, y1, x2, y2;
- /**
- * Constructs a SolidRectangle
- * These objects are defined by any two diametrically opposing corners.
- *
- * @param color the color for this object
- * @param x1 the virtual X coordinate of the first corner
- * @param y1 the virtual Y coordinate of the first corner
- * @param x2 the virtual X coordinate of the second corner
- * @param y2 the virtual Y coordinate of the second corner
- */
- public SolidRectangleFigure(Color color, int x1, int y1, int x2, int y2) {
- this.color = color; this.x1 = x1; this.y1 = y1; this.x2 = x2; this.y2 = y2;
- }
- public void draw(FigureDrawContext fdc) {
- Rectangle r = fdc.toClientRectangle(x1, y1, x2, y2);
- fdc.gc.setBackground(color);
- fdc.gc.fillRectangle(r.x, r.y, r.width, r.height);
- }
- public void addDamagedRegion(FigureDrawContext fdc, Region region) {
- region.add(fdc.toClientRectangle(x1, y1, x2, y2));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidRoundedRectangleFigure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidRoundedRectangleFigure.java
deleted file mode 100755
index 7b4146a342..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidRoundedRectangleFigure.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * 2D SolidRectangle object
- */
-public class SolidRoundedRectangleFigure extends Figure {
- private Color color;
- private int x1, y1, x2, y2, diameter;
- /**
- * Constructs a SolidRectangle
- * These objects are defined by any two diametrically opposing corners.
- *
- * @param color the color for this object
- * @param x1 the virtual X coordinate of the first corner
- * @param y1 the virtual Y coordinate of the first corner
- * @param x2 the virtual X coordinate of the second corner
- * @param y2 the virtual Y coordinate of the second corner
- * @param diameter the diameter of curvature of all four corners
- */
- public SolidRoundedRectangleFigure(Color color, int x1, int y1, int x2, int y2, int diameter) {
- this.color = color; this.x1 = x1; this.y1 = y1; this.x2 = x2; this.y2 = y2;
- this.diameter = diameter;
- }
- public void draw(FigureDrawContext fdc) {
- Rectangle r = fdc.toClientRectangle(x1, y1, x2, y2);
- fdc.gc.setBackground(color);
- fdc.gc.fillRoundRectangle(r.x, r.y, r.width, r.height, diameter, diameter);
- }
- public void addDamagedRegion(FigureDrawContext fdc, Region region) {
- region.add(fdc.toClientRectangle(x1, y1, x2, y2));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/TextFigure.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/TextFigure.java
deleted file mode 100755
index cdb8929ac3..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/TextFigure.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.swt.graphics.*;
-
-/**
- * 2D Rectangle object
- */
-public class TextFigure extends Figure {
- private Color color;
- private Font font;
- private String text;
- private int x, y;
- /**
- * Constructs a TextFigure
- *
- * @param color the color for this object
- * @param font the font for this object
- * @param text the text to draw, tab and new-line expansion is performed
- * @param x the virtual X coordinate of the top-left corner of the text bounding box
- * @param y the virtual Y coordinate of the top-left corner of the text bounding box
- */
- public TextFigure(Color color, Font font, String text, int x, int y) {
- this.color = color; this.font = font; this.text = text; this.x = x; this.y = y;
- }
- public void draw(FigureDrawContext fdc) {
- Point p = fdc.toClientPoint(x, y);
- fdc.gc.setFont(font);
- fdc.gc.setForeground(color);
- fdc.gc.drawText(text, p.x, p.y, true);
- }
- public void addDamagedRegion(FigureDrawContext fdc, Region region) {
- Font oldFont = fdc.gc.getFont();
- fdc.gc.setFont(font);
- Point textExtent = fdc.gc.textExtent(text);
- fdc.gc.setFont(oldFont);
- region.add(fdc.toClientRectangle(x, y, x + textExtent.x, y + textExtent.y));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/TextTool.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/TextTool.java
deleted file mode 100755
index b5807969fe..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/TextTool.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-
-import org.eclipse.jface.dialogs.*;
-import org.eclipse.swt.events.*;
-
-/**
- * A text drawing tool.
- */
-public class TextTool extends BasicPaintSession implements PaintTool {
- private ToolSettings settings;
- private String drawText = PaintPlugin.getResourceString("tool.Text.settings.defaulttext");
-
- /**
- * Constructs a PaintTool.
- *
- * @param toolSettings the new tool settings
- * @param paintSurface the PaintSurface we will render on.
- */
- public TextTool(ToolSettings toolSettings, PaintSurface paintSurface) {
- super(paintSurface);
- set(toolSettings);
- }
-
- /**
- * Sets the tool's settings.
- *
- * @param toolSettings the new tool settings
- */
- public void set(ToolSettings toolSettings) {
- settings = toolSettings;
- }
-
- /**
- * Returns name associated with this tool.
- *
- * @return the localized name of this tool
- */
- public String getDisplayName() {
- return PaintPlugin.getResourceString("tool.Text.label");
- }
-
- /**
- * Activates the tool.
- */
- public void beginSession() {
- getPaintSurface().setStatusMessage(PaintPlugin.getResourceString(
- "session.Text.message"));
- }
-
- /**
- * Deactivates the tool.
- */
- public void endSession() {
- getPaintSurface().clearRubberbandSelection();
- }
-
- /**
- * Aborts the current operation.
- */
- public void resetSession() {
- getPaintSurface().clearRubberbandSelection();
- }
-
- /**
- * Handles a mouseDown event.
- *
- * @param event the mouse event detail information
- */
- public void mouseDown(MouseEvent event) {
- if (event.button == 1) {
- // draw with left mouse button
- getPaintSurface().commitRubberbandSelection();
- } else {
- // set text with right mouse button
- getPaintSurface().clearRubberbandSelection();
- InputDialog inputDialog = new InputDialog(getPaintSurface().getShell(),
- PaintPlugin.getResourceString("tool.Text.dialog.title"),
- PaintPlugin.getResourceString("tool.Text.dialog.message"),
- drawText, null);
- inputDialog.setBlockOnOpen(true);
- inputDialog.open();
- if (inputDialog.getReturnCode() == InputDialog.OK) drawText = inputDialog.getValue();
- inputDialog.close();
- }
- }
-
- /**
- * Handles a mouseDoubleClick event.
- *
- * @param event the mouse event detail information
- */
- public void mouseDoubleClick(MouseEvent event) {
- }
-
- /**
- * Handles a mouseUp event.
- *
- * @param event the mouse event detail information
- */
- public void mouseUp(MouseEvent event) {
- }
-
- /**
- * Handles a mouseMove event.
- *
- * @param event the mouse event detail information
- */
- public void mouseMove(MouseEvent event) {
- final PaintSurface ps = getPaintSurface();
- ps.setStatusCoord(ps.getCurrentPosition());
- ps.clearRubberbandSelection();
- ps.addRubberbandSelection(
- new TextFigure(settings.commonForegroundColor, settings.commonFont,
- drawText, event.x, event.y));
- }
-}
diff --git a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ToolSettings.java b/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ToolSettings.java
deleted file mode 100755
index 02fb877693..0000000000
--- a/examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ToolSettings.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.examples.paint;
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-
-/**
- * Tool Settings objects group tool-related configuration information.
- */
-public class ToolSettings {
- public static final int ftNone = 0, ftOutline = 1, ftSolid = 2;
-
- /**
- * commonForegroundColor: current tool foreground colour
- */
- public Color commonForegroundColor;
-
- /**
- * commonBackgroundColor: current tool background colour
- */
- public Color commonBackgroundColor;
-
- /**
- * commonFont: current font
- */
- public Font commonFont;
-
- /**
- * commonFillType: current fill type
- * <p>One of ftNone, ftOutline, ftSolid.</p>
- */
- public int commonFillType = ftNone;
-
- /**
- * commonLineStyle: current line type
- */
- public int commonLineStyle = SWT.LINE_SOLID;
-
- /**
- * airbrushRadius: coverage radius in pixels
- */
- public int airbrushRadius = 10;
-
- /**
- * airbrushIntensity: average surface area coverage in region defined by radius per "jot"
- */
- public int airbrushIntensity = 30;
-
- /**
- * roundedRectangleCornerDiameter: the diameter of curvature of corners in a rounded rectangle
- */
- public int roundedRectangleCornerDiameter = 16;
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/.classpath b/examples/org.eclipse.swt.opengl.examples/.classpath
deleted file mode 100644
index 8437e3bb55..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="src" path="/org.eclipse.swt.opengl"/>
- <classpathentry kind="src" path="/org.eclipse.swt"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/examples/org.eclipse.swt.opengl.examples/.project b/examples/org.eclipse.swt.opengl.examples/.project
deleted file mode 100644
index 9112e8e738..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/.project
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.swt.opengl.examples</name>
- <comment></comment>
- <projects>
- <project>org.eclipse.swt</project>
- <project>org.eclipse.swt.opengl</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/AntialiasingTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/AntialiasingTab.java
deleted file mode 100644
index 78a1fbb4a9..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/AntialiasingTab.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.RGB;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class AntialiasingTab extends OpenGLTab {
- private Button antiAliasButton;
- private float xPos = 0.0f, yPos = 0.0f, zPos = -6.0f;
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(Composite composite) {
- Group movementGroup = new Group(composite, SWT.NONE);
- movementGroup.setText("Translation");
- movementGroup.setLayout(new GridLayout(2, false));
-
- new Label(movementGroup, SWT.NONE).setText("X:");
- final Slider xMove = new Slider(movementGroup, SWT.NONE);
- xMove.setIncrement(1);
- xMove.setMaximum(12);
- xMove.setMinimum(0);
- xMove.setThumb(2);
- xMove.setPageIncrement(2);
- xMove.setSelection(5);
- xMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xPos = xMove.getSelection() - 5;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Y:");
- final Slider yMove = new Slider(movementGroup, SWT.NONE);
- yMove.setIncrement(1);
- yMove.setMaximum(12);
- yMove.setMinimum(0);
- yMove.setThumb(2);
- yMove.setPageIncrement(2);
- yMove.setSelection(5);
- yMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yPos = yMove.getSelection() - 5;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Z:");
- final Slider zMove = new Slider(movementGroup, SWT.NONE);
- zMove.setIncrement(1);
- zMove.setMaximum(12);
- zMove.setMinimum(0);
- zMove.setThumb(2);
- zMove.setPageIncrement(2);
- zMove.setSelection(5);
- zMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zPos = zMove.getSelection() - 11;
- }
- });
-
- antiAliasButton = new Button(composite, SWT.CHECK);
- antiAliasButton.setText("Anti-Aliasing");
- antiAliasButton.setSelection(true);
- antiAliasButton.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (antiAliasButton.getSelection()) {
- GL.glEnable(GL.GL_LINE_SMOOTH);
- } else {
- GL.glDisable(GL.GL_LINE_SMOOTH);
- }
- }
- });
-
- ColorSelectionGroup colorGroup =
- new ColorSelectionGroup(composite, SWT.NONE);
- colorGroup.setText("Foreground color");
- colorGroup.addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- GL.glColor3ub((byte) rgb.red, (byte) rgb.green, (byte) rgb.blue);
- }
- });
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GL.glDeleteLists(1, 1);
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Anti-aliasing";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- final float[] BEZIER_POINTS = {
- -1.5f, -1.5f, 4.0f, -0.5f, -1.5f, 2.0f, 0.5f, -1.5f,
- -1.0f, 1.5f, -1.5f, 2.0f, -1.5f, -0.5f, 1.0f, -0.5f,
- -0.5f, 3.0f, 0.5f, -0.5f, 0.0f, 1.5f, -0.5f, -1.0f,
- -1.5f, 0.5f, 4.0f, -0.5f, 0.5f, 0.0f, 0.5f, 0.5f,
- 3.0f, 1.5f, 0.5f, 4.0f, -1.5f, 1.5f, -2.0f, -0.5f,
- 1.5f, -2.0f, 0.5f, 1.5f, 0.0f, 1.5f, 1.5f, -1.0f,
- };
- GL.glHint(GL.GL_LINE_SMOOTH_HINT, GL.GL_NICEST);
- GL.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);
- GL.glMap2f(GL.GL_MAP2_VERTEX_3, 0, 1, 3, 4, 0, 1, 12, 4, BEZIER_POINTS);
- GL.glMapGrid2f(30, 0.0f, 1.0f, 30, 0.0f, 1.0f);
-
- GL.glEnable(GL.GL_AUTO_NORMAL);
- GL.glEnable(GL.GL_LINE_SMOOTH);
- GL.glEnable(GL.GL_LINE_STIPPLE);
- GL.glEnable(GL.GL_BLEND);
- GL.glEnable(GL.GL_MAP2_VERTEX_3);
-
- // create display lists
- GL.glNewList(1, GL.GL_COMPILE);
- GL.glEvalMesh2(GL.GL_LINE, 0, 30, 0, 30);
- GL.glEndList();
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(GL.GL_COLOR_BUFFER_BIT);
- GL.glLoadIdentity();
- GL.glTranslatef(xPos, yPos, zPos);
- GL.glCallList(1); // draw the beizer surface
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/AreaTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/AreaTab.java
deleted file mode 100644
index 5c6ffab751..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/AreaTab.java
+++ /dev/null
@@ -1,434 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class AreaTab extends OpenGLTab {
- abstract class Shape {
- abstract void draw();
- }
- class State {
- private String name;
- private int index;
- /**
- * Constructor.
- *
- * @param name the display name of this state
- * @param index the display list index corresponding to this state
- */
- State (String name, int index) {
- super();
- this.index = index;
- this.name = name;
- }
- void display() {
- GL.glCallList(index);
- }
- void dispose() {
- GL.glDeleteLists(index, 1);
- }
- String getName() {
- return name;
- }
- }
-
- private State[] states;
- private State currentState;
- private float xPos = 0.0f, yPos = 0.0f, zPos = -30.0f;
- private float xRot = 90.0f, yRot = 0.0f, zRot = 0.0f;
- private int quadratic, disk;
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(Composite composite) {
- Group movementGroup = new Group(composite, SWT.NONE);
- movementGroup.setText("Translation");
- movementGroup.setLayout(new GridLayout(2, false));
-
- new Label(movementGroup, SWT.NONE).setText("X:");
- final Slider xMove = new Slider(movementGroup, SWT.NONE);
- xMove.setIncrement(1);
- xMove.setMaximum(22);
- xMove.setMinimum(0);
- xMove.setThumb(2);
- xMove.setPageIncrement(2);
- xMove.setSelection(10);
- xMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xPos = xMove.getSelection() - 10;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Y:");
- final Slider yMove = new Slider(movementGroup, SWT.NONE);
- yMove.setIncrement(1);
- yMove.setMaximum(22);
- yMove.setMinimum(0);
- yMove.setThumb(2);
- yMove.setPageIncrement(2);
- yMove.setSelection(10);
- yMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yPos = yMove.getSelection() - 10;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Z:");
- final Slider zMove = new Slider(movementGroup, SWT.NONE);
- zMove.setIncrement(1);
- zMove.setMaximum(22);
- zMove.setMinimum(0);
- zMove.setThumb(2);
- zMove.setPageIncrement(2);
- zMove.setSelection(10);
- zMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zPos = zMove.getSelection() - 40;
- }
- });
-
- Group rotationGroup = new Group(composite, SWT.NONE);
- rotationGroup.setText("Rotation");
- rotationGroup.setLayout(new GridLayout(2, false));
-
- new Label(rotationGroup, SWT.NONE).setText("X:");
- final Slider xRotation = new Slider(rotationGroup, SWT.NONE);
- xRotation.setIncrement(10);
- xRotation.setMaximum(362);
- xRotation.setMinimum(0);
- xRotation.setThumb(2);
- xRotation.setPageIncrement(20);
- xRotation.setSelection(90);
- xRotation.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xRot = xRotation.getSelection();
- }
- });
-
- new Label(rotationGroup, SWT.NONE).setText("Y:");
- final Slider yRotation = new Slider(rotationGroup, SWT.NONE);
- yRotation.setIncrement(10);
- yRotation.setMaximum(362);
- yRotation.setMinimum(0);
- yRotation.setThumb(2);
- yRotation.setPageIncrement(20);
- yRotation.setSelection(0);
- yRotation.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yRot = yRotation.getSelection();
- }
- });
-
- new Label(rotationGroup, SWT.NONE).setText("Z:");
- final Slider zRotation = new Slider(rotationGroup, SWT.NONE);
- zRotation.setIncrement(10);
- zRotation.setMaximum(362);
- zRotation.setMinimum(0);
- zRotation.setThumb(2);
- zRotation.setPageIncrement(20);
- zRotation.setSelection(0);
- zRotation.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zRot = zRotation.getSelection();
- }
- });
-
- Composite optionsGroup = new Composite(composite, SWT.NONE);
- GridLayout layout = new GridLayout(2, false);
- layout.marginWidth = 0;
- optionsGroup.setLayout(layout);
-
- new Label(optionsGroup, SWT.NONE).setText("Shape:");
-
- final Combo statesCombo = new Combo(optionsGroup, SWT.READ_ONLY);
- for (int i = 0; i < states.length; i++) {
- statesCombo.add(states[i].getName());
- }
- statesCombo.select(0);
- statesCombo.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- currentState = states[statesCombo.getSelectionIndex()];
- }
- });
-
- final Button lightsButton = new Button(composite, SWT.CHECK);
- lightsButton.setText("Lights");
- lightsButton.setSelection(true);
- lightsButton.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (lightsButton.getSelection()) {
- GL.glEnable(GL.GL_LIGHTING);
- } else {
- GL.glDisable(GL.GL_LIGHTING);
- }
- }
- });
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GLU.gluDeleteQuadric(quadratic);
- GLU.gluDeleteQuadric(disk);
- if (states != null) {
- for (int i = 0; i < states.length; i++) {
- states [i].dispose();
- }
- }
- }
-
- /**
- * Draws the logical AND of two shapes.
- *
- * @param a shape A
- * @param b shape B
- */
- void drawAandB(Shape a, Shape b) {
- // draw parts of B that are inside A
- drawAinsideB(a, b, GL.GL_BACK, GL.GL_NOTEQUAL);
- // we do not want the following to show up
- GL.glColorMask(false, false, false, false);
- // turn on depth testing
- GL.glEnable(GL.GL_DEPTH_TEST);
- GL.glDepthFunc(GL.GL_ALWAYS);
- // render the front face of B
- b.draw();
- // reset the depth function
- GL.glDepthFunc(GL.GL_LESS);
- // draw parts of A that are inside B
- drawAinsideB(b, a, GL.GL_BACK, GL.GL_NOTEQUAL);
- }
-
- /**
- * Draws the contents of one shape that appear within another.
- *
- * @param a the shape to draw
- * @param b the constraining shape
- * @param face
- * @param test
- */
- void drawAinsideB(Shape a, Shape b, int face, int test) {
- // turn off the color buffer
- GL.glColorMask(false, false, false, false);
- // clear the stencil buffer
- GL.glClearStencil(0);
- GL.glEnable(GL.GL_DEPTH_TEST);
- // set to proper Culling
- GL.glCullFace(face);
- // render shape A
- a.draw();
- // set depth mask
- GL.glDepthMask(false);
- // enable stencil test
- GL.glEnable(GL.GL_STENCIL_TEST);
- GL.glStencilFunc(GL.GL_ALWAYS, 0, 0);
- // set the stencil buffer to increment if the depth test passes
- GL.glStencilOp(GL.GL_KEEP, GL.GL_KEEP, GL.GL_INCR);
- // turn on back face culling
- GL.glCullFace(GL.GL_BACK);
- // render B
- b.draw();
- // set the stencil buffer to decrement if the depth test passes
- GL.glStencilOp(GL.GL_KEEP, GL.GL_KEEP, GL.GL_DECR);
- // cull the front face
- GL.glCullFace(GL.GL_FRONT);
- // render B again
- b.draw();
- // set depth mask
- GL.glDepthMask(true);
- GL.glColorMask(true, true, true, true);
- // set the stencil buffer
- GL.glStencilFunc(test, 0, 1);
- // turn off depth testing
- GL.glDisable(GL.GL_DEPTH_TEST);
- // set to proper culling
- GL.glCullFace(face);
- // render A
- a.draw();
- // disable stencil test
- GL.glDisable(GL.GL_STENCIL_TEST);
- }
-
- /**
- * Draws the logical OR of two shapes.
- *
- * @param a shape A
- * @param b shape B
- */
- void drawAorB(Shape a, Shape b) {
- GL.glEnable(GL.GL_DEPTH_TEST);
- a.draw();
- b.draw();
- GL.glDisable(GL.GL_DEPTH_TEST);
- }
-
- /**
- * Draws one shape subtracted from another.
- *
- * @param a the base shape
- * @param b the shape to subtract
- */
- void drawAsubB(Shape a, Shape b) {
- // draw back parts of B inside A
- drawAinsideB(b, a, GL.GL_FRONT, GL.GL_NOTEQUAL);
- // we do not want the following to show up
- GL.glColorMask(false, false, false, false);
- GL.glEnable(GL.GL_DEPTH_TEST);
- // change the depth test to GL_ALWAYS
- GL.glDepthFunc(GL.GL_ALWAYS);
- // render the front face of B
- a.draw();
- // reset the depth function
- GL.glDepthFunc(GL.GL_LESS);
- // draw front parts of A outside B
- drawAinsideB(a, b, GL.GL_BACK, GL.GL_EQUAL);
- }
-
- /**
- * Draws the specifed shape.
- *
- * @param shape the shape to draw
- */
- void drawShape(Shape shape) {
- GL.glEnable(GL.GL_DEPTH_TEST);
- shape.draw();
- GL.glDisable(GL.GL_DEPTH_TEST);
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Area";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- if (!hasStencilSupport()) return;
-
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- float[] lightPos = { 0.0f, 5.0f, -10.0f, 1.0f };
- GL.glLightfv(GL.GL_LIGHT0, GL.GL_POSITION, lightPos);
- quadratic = GLU.gluNewQuadric();
- disk = GLU.gluNewQuadric();
-
- GL.glEnable(GL.GL_CULL_FACE);
- GL.glEnable(GL.GL_LIST_MODE);
- GL.glEnable(GL.GL_LIGHT0);
- GL.glEnable(GL.GL_LIGHTING);
- GL.glLightModeli(GL.GL_LIGHT_MODEL_TWO_SIDE, GL.GL_TRUE);
-
- final float[] sphereMaterial = { 0.0f, 1.0f, 0.0f, 1.0f };
- final float[] cylinderMaterial = { 1.0f, 0.0f, 0.0f, 1.0f };
-
- Shape sphere = new Shape() {
- public void draw() {
- GL.glMaterialfv(
- GL.GL_FRONT_AND_BACK,
- GL.GL_AMBIENT_AND_DIFFUSE,
- sphereMaterial);
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GLU.gluSphere(quadratic, 3, 32, 32);
- }
- };
- Shape cylinder = new Shape() {
- public void draw() {
- GL.glMaterialfv(
- GL.GL_FRONT_AND_BACK,
- GL.GL_AMBIENT_AND_DIFFUSE,
- cylinderMaterial);
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GLU.gluQuadricOrientation(disk, GLU.GLU_INSIDE);
- GL.glPushMatrix();
- GL.glTranslatef(1.0f, 1.0f, 0.0f);
- GLU.gluDisk(disk, 0, 3, 32, 32);
- GLU.gluCylinder(quadratic, 3, 3, 6, 32, 32);
- GL.glPushMatrix();
- GL.glTranslatef(0.0f, 0.0f, 6.0f);
- GLU.gluQuadricOrientation(disk, GLU.GLU_OUTSIDE);
- GLU.gluDisk(disk, 0, 3, 32, 32);
- GL.glPopMatrix();
- GL.glPopMatrix();
- }
- };
-
- // create the display lists and states
- states = new State[6];
- int index = 1;
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawShape(cylinder);
- GL.glEndList();
- states[0] = new State("Cylinder",index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawShape(sphere);
- GL.glEndList();
- states[1] = new State("Sphere",index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawAorB(cylinder, sphere);
- GL.glEndList();
- states[2] = new State("Cylinder OR Sphere",index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawAandB(cylinder, sphere);
- GL.glEndList();
- states[3] = new State("Cylinder AND Sphere",index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawAsubB(cylinder, sphere);
- GL.glEndList();
- states[4] = new State("Cylinder SUB Sphere",index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawAsubB(sphere, cylinder);
- GL.glEndList();
- states[5] = new State("Sphere SUB Cylinder",index++);
-
- currentState = states[0];
- }
-
- /**
- * @see OpenGLTab#isStencilSupportNeeded
- */
- boolean isStencilSupportNeeded() {
- return true;
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(
- GL.GL_COLOR_BUFFER_BIT
- | GL.GL_DEPTH_BUFFER_BIT
- | GL.GL_STENCIL_BUFFER_BIT);
-
- GL.glLoadIdentity();
- GL.glTranslatef(xPos, yPos, zPos);
- GL.glRotatef(xRot, 1.0f, 0.0f, 0.0f);
- GL.glRotatef(yRot, 0.0f, 1.0f, 0.0f);
- GL.glRotatef(zRot, 0.0f, 0.0f, 1.0f);
-
- currentState.display();
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/BezierTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/BezierTab.java
deleted file mode 100644
index e66b8414c8..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/BezierTab.java
+++ /dev/null
@@ -1,211 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.events.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class BezierTab extends SelectionTab {
- private boolean showCtrlPoints = true;
- private Point offset;
- private int currentPoint = -1;
- private int lineDivisions = 30;
- private double[][] ctrlPts = {
- { 1.5, 0.5, 0.0, 0.6, 0.9, 0.0, 0.85, 0.12,
- 0.0, 1.1, 1.0, 0.0, 0.53, 1.4, 0.0
- },
- { 0.53, 1.4, 0.0, 1.03, 1.87, 0.0, 1.52, 0.26,
- 0.0, 1.86, 0.43, 0.0, 1.5, 0.5, 0.0
- }
- };
- private static final int LENGTH = 5;
- private static final int[][] PICK_NAMES = {
- { 1, 2, 3, 4, 5 },
- { 6, 7, 8, 9, 10 }
- };
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(Composite composite) {
- new Label(composite, SWT.NONE).setText("Click and drag points to adjust shape.");
- new Label(composite, SWT.NONE).setText("Line division count:");
- final Slider divisions = new Slider(composite, SWT.NONE);
- divisions.setIncrement(1);
- divisions.setMaximum(52);
- divisions.setMinimum(1);
- divisions.setThumb(2);
- divisions.setPageIncrement(2);
- divisions.setSelection(30);
- divisions.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- lineDivisions = divisions.getSelection();
- }
- });
-
- final Button showPointsButton = new Button(composite, SWT.CHECK);
- showPointsButton.setText("Show Points");
- showPointsButton.setSelection(true);
- showPointsButton.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- showCtrlPoints = showPointsButton.getSelection();
- }
- });
-
- final Button blendButton = new Button(composite, SWT.CHECK);
- blendButton.setText("Blend");
- blendButton.setSelection(true);
- blendButton.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (blendButton.getSelection()) {
- GL.glEnable(GL.GL_BLEND);
- } else {
- GL.glDisable(GL.GL_BLEND);
- }
- }
- });
-
- final Button smoothLineButton = new Button(composite, SWT.CHECK);
- smoothLineButton.setText("Smooth Line");
- smoothLineButton.setSelection(true);
- smoothLineButton.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (smoothLineButton.getSelection()) {
- GL.glEnable(GL.GL_LINE_SMOOTH);
- } else {
- GL.glDisable(GL.GL_LINE_SMOOTH);
- }
- }
- });
-
- final Canvas glCanvas = getGlCanvas();
- glCanvas.addMouseListener(new MouseAdapter() {
- public void mouseUp(MouseEvent e) {
- offset = null;
- }
-
- });
-
- glCanvas.addListener(SWT.MouseDown, new Listener() {
- public void handleEvent(Event e) {
- e.y = glCanvas.getClientArea().height - e.y;
- if (e.button == 1) {
- if (processSelection(e.x, e.y, 10) > 0) {
- offset = new Point(e.x, e.y);
- } else {
- currentPoint = 0;
- }
- }
- }
- });
-
- glCanvas.addListener(SWT.MouseMove, new Listener() {
- public void handleEvent(Event e) {
- if (offset == null) return;
- int currentSegment = (currentPoint - 1) / LENGTH;
- int current = (currentPoint - 1) * 3;
- if (currentPoint > LENGTH) {
- current = (currentPoint - 6) * 3;
- }
- Rectangle rect = glCanvas.getClientArea();
- e.y = rect.height - e.y;
- if (0 < e.x && e.x < rect.width && 0 < e.y && e.y < rect.height && currentPoint > 0) {
- ctrlPts[currentSegment][current] = (float) e.x / (float) 200;
- ctrlPts[currentSegment][current + 1] = (float) e.y / (float) 200;
- switch (currentPoint) {
- case 10 :
- ctrlPts[0][0] = (float) e.x / (float) 200;
- ctrlPts[0][1] = (float) e.y / (float) 200;
- break;
- case 6 :
- ctrlPts[0][12] = (float) e.x / (float) 200;
- ctrlPts[0][13] = (float) e.y / (float) 200;
- break;
- }
- }
- }
- });
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Bezier";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glHint(GL.GL_LINE_SMOOTH_HINT, GL.GL_NICEST);
- GL.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);
- GL.glPointSize(7.0f);
- GL.glLineWidth(4.0f);
-
- GL.glEnable(GL.GL_AUTO_NORMAL);
- GL.glEnable(GL.GL_MAP1_VERTEX_3);
- GL.glEnable(GL.GL_LINE_SMOOTH);
- GL.glEnable(GL.GL_BLEND);
- }
-
- /**
- * @see SelectionTab.processPick (int[], int)
- */
- void processPick(int[] pSelectBuff, int hits) {
- int counter = 0;
- currentPoint = 0;
- for (int i = 0; i < hits; i++) {
- int count = pSelectBuff[counter];
- counter += 3;
- for (int j = 0; j < count; j++) {
- currentPoint = pSelectBuff[counter];
- counter++;
- }
- }
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
- GL.glLoadIdentity();
- GL.glTranslatef(-1.0f, -1.0f, -2.45f);
- GL.glColor3f(0.0f, 0.0f, 1.0f);
- for (int i = 0; i < ctrlPts.length; i++) {
- GL.glMapGrid1d(lineDivisions, 0.0f, 1f);
- GL.glMap1d(GL.GL_MAP1_VERTEX_3, 0, 1, 3, LENGTH, ctrlPts[i]);
- GL.glEvalMesh1(GL.GL_LINE, 0, lineDivisions);
- }
- if (showCtrlPoints) {
- GL.glPushName(0);
- for (int j = 0; j < ctrlPts.length; j++) {
- for (int i = 0; i < LENGTH * 3; i += 3) {
- GL.glLoadName(PICK_NAMES[j][i / 3]);
- GL.glBegin(GL.GL_POINTS);
- if (PICK_NAMES[j][i / 3] == currentPoint) {
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- } else {
- GL.glColor3f(0.0f, 0.0f, 0.0f);
- }
- GL.glVertex3d(ctrlPts[j][i], ctrlPts[j][i + 1], ctrlPts[j][i + 2]);
- GL.glEnd();
- }
- }
- }
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/BitmapTextTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/BitmapTextTab.java
deleted file mode 100644
index 084f45a213..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/BitmapTextTab.java
+++ /dev/null
@@ -1,203 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class BitmapTextTab extends OpenGLTab {
- private Text messageText;
- private FontData fontData;
- private float[] textColor = { 1.0f, 0.0f, 0.0f };
- private float xPos = -130.0f, yPos = 0.0f;
- private int listIndexBase;
- private final static int LIST_INDEX_SIZE = 256;
- private final static int DEFAULT_FONT_SIZE = 24;
- private final static String DEFAULT_FONT_NAME = "Courier";
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(Composite composite) {
- Group movementGroup = new Group(composite, SWT.NONE);
- movementGroup.setText("Translation");
- movementGroup.setLayout(new GridLayout(2, false));
-
- new Label(movementGroup, SWT.NONE).setText("X:");
- final Slider xMove = new Slider(movementGroup, SWT.NONE);
- xMove.setIncrement(1);
- xMove.setMaximum(42);
- xMove.setMinimum(0);
- xMove.setThumb(2);
- xMove.setPageIncrement(2);
- xMove.setSelection(7);
- xMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xPos = (xMove.getSelection() * 10) - 200;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Y:");
- final Slider yMove = new Slider(movementGroup, SWT.NONE);
- yMove.setIncrement(1);
- yMove.setMaximum(42);
- yMove.setMinimum(0);
- yMove.setThumb(2);
- yMove.setPageIncrement(2);
- yMove.setSelection(20);
- yMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yPos = (yMove.getSelection() * 10) - 200;
- }
- });
-
- Composite textGroup = new Composite(composite,SWT.NONE);
- GridLayout layout = new GridLayout(2,false);
- layout.marginHeight = 0;
- layout.marginWidth = 0;
- textGroup.setLayout(layout);
- textGroup.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
-
- new Label(textGroup, SWT.NONE).setText("Text:");
- messageText = new Text(textGroup, SWT.BORDER);
- GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- data.grabExcessHorizontalSpace = true;
- messageText.setLayoutData(data);
- messageText.setText("OpenGL - SWT");
-
- final Button fontSelectButton = new Button(composite, SWT.NONE);
- fontSelectButton.setText("Set Font");
-
- final ColorSelectionGroup colorGroup =
- new ColorSelectionGroup(composite, SWT.NONE);
- colorGroup.setText("Text color");
- colorGroup.addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- GL.glColor3ub((byte) rgb.red, (byte) rgb.green, (byte) rgb.blue);
- }
- });
-
- fontSelectButton.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- FontDialog fontDialog = new FontDialog(fontSelectButton.getShell());
- fontDialog.setText("Choose Font Options");
- double[] currentColor = new double[4];
- GL.glGetDoublev(GL.GL_CURRENT_COLOR, currentColor);
- fontDialog.setRGB(
- new RGB(
- (int) currentColor[0] * 255,
- (int) currentColor[1] * 255,
- (int) currentColor[2] * 255));
- fontDialog.setFontData(fontData);
- FontData result = fontDialog.open();
- if (result != null) {
- fontData = result;
- RGB rgb = fontDialog.getRGB();
- GL.glColor3ub((byte) rgb.red, (byte) rgb.green, (byte) rgb.blue);
- colorGroup.setRGB(rgb);
- getContext().loadBitmapFont(fontData, null, listIndexBase, 32, 96);
- }
- }
- });
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GL.glDeleteLists(listIndexBase, LIST_INDEX_SIZE);
- }
-
- /**
- * Draws the text to the screen
- *
- * @param string the text to draw
- */
- void drawText(String string) {
- char[] stringChars = string.toCharArray();
- int[] text = new int[stringChars.length];
- for (int i = 0; i < text.length; i++) {
- text[i] = (int) stringChars[i];
- }
- // pushes the display list bits
- GL.glPushAttrib(GL.GL_LIST_BIT);
- // sets the base character to 32
- GL.glListBase(listIndexBase - 32);
- GL.glCallLists(text.length, GL.GL_UNSIGNED_INT, text);
- // pops the display list bits
- GL.glPopAttrib();
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Bitmap Text";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glColor3fv(textColor);
- GL.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);
- GL.glEnable(GL.GL_DEPTH_TEST);
- GL.glEnable(GL.GL_BLEND);
- // build the initial font
- listIndexBase = GL.glGenLists(LIST_INDEX_SIZE);
- fontData = new FontData();
- fontData.setHeight(DEFAULT_FONT_SIZE);
- fontData.setName(DEFAULT_FONT_NAME);
- getContext().loadBitmapFont(fontData, null, listIndexBase, 32, LIST_INDEX_SIZE);
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
- GL.glLoadIdentity();
- GL.glRasterPos2f(xPos, yPos);
- drawText(messageText.getText());
- }
-
- /**
- * @see OpenGLTab#setupViewingArea()
- */
- void setupViewingArea() {
- // use ortho view since this tab does not need any depth
- Rectangle rect = getGlCanvas().getClientArea();
- int width = rect.width;
- int height = rect.height;
- width = Math.max(width, 1);
- GL.glViewport(0, 0, width, height);
- float nRange = 200.0f;
- GL.glMatrixMode(GL.GL_PROJECTION);
- GL.glLoadIdentity();
- if (width <= height) {
- GL.glOrtho(
- -nRange, nRange, -nRange * height / width,
- nRange * height / width, -nRange, nRange);
- } else {
- GL.glOrtho(
- -nRange * height / width, nRange * height / width, -nRange,
- nRange, -nRange, nRange);
- }
- GL.glMatrixMode(GL.GL_MODELVIEW);
- GL.glLoadIdentity();
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ColorSelectionGroup.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ColorSelectionGroup.java
deleted file mode 100644
index f0c3cdde9d..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ColorSelectionGroup.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import java.util.Vector;
-import org.eclipse.swt.*;
-import org.eclipse.swt.events.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.GL;
-import org.eclipse.swt.widgets.*;
-
-class ColorSelectionGroup implements Listener {
- private Color color;
- private Label label;
- private Image image;
- private Button button;
- private Vector listeners = new Vector();
-
- /**
- * Constructor.
- *
- * @param parent the parent composite
- * @param style style bits to be applied to the color group
- */
- ColorSelectionGroup(Composite parent, int style) {
- super();
- initColor(parent.getDisplay());
-
- Composite colorGroup = new Composite(parent, style);
- GridLayout layout = new GridLayout(2, false);
- layout.marginWidth = 0;
- layout.marginHeight = 0;
- colorGroup.setLayout(layout);
-// GridData data = new GridData(GridData.FILL_HORIZONTAL);
-// data.grabExcessHorizontalSpace = true;
-// colorGroup.setLayoutData(data);
-
- button = new Button(colorGroup, SWT.NONE);
- button.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));
- image = new Image(button.getDisplay(), 12, 12);
- drawButtonImage();
- button.setImage(image);
- button.addListener(SWT.Selection, this);
- button.addDisposeListener(new DisposeListener() {
- public void widgetDisposed(DisposeEvent event) {
- if (image != null) image.dispose();
- if (color != null) color.dispose();
- }
- });
-
- label = new Label(colorGroup, SWT.NONE);
- label.setText("Color");
-// data = new GridData(GridData.FILL_HORIZONTAL);
-// data.grabExcessHorizontalSpace = true;
-// label.setLayoutData(data);
- }
-
- /**
- * Adds the argument to this group's collection of
- * color selection listeners.
- *
- * @param listener
- */
- void addColorSelectionListener(IColorSelectionListener listener) {
- listeners.addElement(listener);
- }
-
- /**
- * Draws the colored square on the selection button.
- */
- void drawButtonImage() {
- GC gc = new GC(image);
- gc.setBackground(color);
- Rectangle bounds = image.getBounds();
- gc.fillRectangle(0, 0, bounds.width, bounds.height);
- gc.drawRectangle(0, 0, bounds.width - 1, bounds.height - 1);
- gc.dispose();
- }
-
- /**
- * @see org.eclipse.swt.widgets.Listener#handleEvent(Event)
- */
- public void handleEvent(Event e) {
- Shell shell = button.getShell();
- ColorDialog colorDialog = new ColorDialog(shell);
- colorDialog.setRGB(
- new RGB(color.getRed(), color.getGreen(), color.getBlue()));
- RGB rgb = colorDialog.open();
- if (rgb == null) return;
- setRGB(rgb);
- notifyListeners(rgb);
- }
-
- /**
- * Initializes the color by querying for the current color.
- *
- * @param display
- */
- void initColor(Display display) {
- double[] currentColor = new double[4];
- GL.glGetDoublev(GL.GL_CURRENT_COLOR, currentColor);
- RGB rgb =
- new RGB(
- (int) currentColor[0] * 255,
- (int) currentColor[1] * 255,
- (int) currentColor[2] * 255);
- color = new Color(display, rgb);
- }
-
- /**
- * Notifies all registered color selection listeners.
- *
- * @param value
- */
- void notifyListeners(RGB rgb) {
- IColorSelectionListener[] listenersArr =
- new IColorSelectionListener[listeners.size()];
- listeners.copyInto(listenersArr);
- for (int i = 0; i < listenersArr.length; i++) {
- listenersArr [i].handleColorSelection(rgb);
- }
- }
-
- /**
- * Removes the argument from this group's collection of color selection
- * listeners. If the argument is not a registered listener then does
- * nothing.
- *
- * @param listener
- */
- void removeColorSelectionListener(IColorSelectionListener listener) {
- listeners.removeElement(listener);
- }
-
- /**
- * Sets the text for the group's label.
- *
- * @param text the new label text
- */
- void setText(String text) {
- label.setText(text);
- }
-
- /**
- * Sets the current color.
- *
- * @param rgb the rgb of the new color
- */
- void setRGB(RGB rgb) {
- Color oldColor = color;
- color = new Color(button.getDisplay(), rgb);
- drawButtonImage();
- button.setImage(image);
- if (oldColor != null) oldColor.dispose();
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/FogTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/FogTab.java
deleted file mode 100644
index da017ed1db..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/FogTab.java
+++ /dev/null
@@ -1,254 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class FogTab extends OpenGLTab {
-
- private float rotY = 0.0f;
- private float yPos = 0.0f, xPos = 0.0f, zPos = -15.0f;
- private int cubeListIndexBase;
- private final static int[] FOG_TYPES = { GL.GL_LINEAR, GL.GL_EXP, GL.GL_EXP2 };
- private final static String[] FOG_NAMES = { "LINEAR", "GL_EXP", "GL_EXP2" };
- private final static int SLEEP_LENGTH = 0;
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(Composite composite) {
- Group movementGroup = new Group(composite, SWT.NONE);
- movementGroup.setText("Translation");
- movementGroup.setLayout(new GridLayout(2, false));
-
- new Label(movementGroup, SWT.NONE).setText("X:");
- final Slider xMove = new Slider(movementGroup, SWT.NONE);
- xMove.setIncrement(1);
- xMove.setMaximum(12);
- xMove.setMinimum(0);
- xMove.setThumb(2);
- xMove.setPageIncrement(2);
- xMove.setSelection(5);
- xMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xPos = xMove.getSelection() - 5;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Y:");
- final Slider yMove = new Slider(movementGroup, SWT.NONE);
- yMove.setIncrement(1);
- yMove.setMaximum(12);
- yMove.setMinimum(0);
- yMove.setThumb(2);
- yMove.setPageIncrement(2);
- yMove.setSelection(5);
- yMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yPos = yMove.getSelection() - 5;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Z:");
- final Slider zMove = new Slider(movementGroup, SWT.NONE);
- zMove.setIncrement(1);
- zMove.setMaximum(24);
- zMove.setMinimum(0);
- zMove.setThumb(4);
- zMove.setPageIncrement(2);
- zMove.setSelection(10);
- zMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zPos = zMove.getSelection() - 25;
- }
- });
-
- Composite fogTypesGroup = new Composite(composite,SWT.NONE);
- GridLayout layout = new GridLayout(2,false);
- layout.marginHeight = 0;
- layout.marginWidth = 0;
- fogTypesGroup.setLayout(layout);
- fogTypesGroup.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
-
- new Label(fogTypesGroup, SWT.NONE).setText("Fog Types:");
- final Combo fogTypeCombo = new Combo(fogTypesGroup, SWT.READ_ONLY);
- GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- data.grabExcessHorizontalSpace = true;
- fogTypeCombo.setLayoutData(data);
- fogTypeCombo.setItems(FOG_NAMES);
- fogTypeCombo.select(0);
-
- new Label(composite, SWT.NONE).setText("Fog Density:");
- final Slider fogDensitySlider = new Slider(composite, SWT.NONE);
- fogDensitySlider.setIncrement(1);
- fogDensitySlider.setMaximum(32);
- fogDensitySlider.setMinimum(0);
- fogDensitySlider.setThumb(2);
- fogDensitySlider.setPageIncrement(5);
- fogDensitySlider.setSelection(0);
- fogDensitySlider.setEnabled(false);
- fogDensitySlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- float fogDensity = ((float)fogDensitySlider.getSelection()) / 100;
- GL.glFogf(GL.GL_FOG_DENSITY, fogDensity);
- }
- });
- fogTypeCombo.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- int currentSelection = fogTypeCombo.getSelectionIndex();
- // fog type GL.GL_LINEAR does not utilize fogDensity, but the other fog types do
- fogDensitySlider.setEnabled(currentSelection != 0);
- GL.glFogf(GL.GL_FOG_MODE, FOG_TYPES[currentSelection]);
- }
- });
- }
-
- /**
- * Creates a cube at 0,0 in the viewport.
- */
- void createCube() {
- GL.glNewList(cubeListIndexBase, GL.GL_COMPILE);
- GL.glBegin(GL.GL_QUADS);
- // front
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GL.glVertex3f(-0.5f, -0.5f, 0.5f); // bottom left
- GL.glColor3f(0.0f, 0.0f, 1.0f);
- GL.glVertex3f(0.5f, -0.5f, 0.5f); // bottom right
- GL.glColor3f(1.0f, 1.0f, 0.0f);
- GL.glVertex3f(0.5f, 0.5f, 0.5f); // top right
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glVertex3f(-0.5f, 0.5f, 0.5f); // top left
- // back
- GL.glColor3f(0.0f, 0.0f, 1.0f);
- GL.glVertex3f(-0.5f, -0.5f, -0.5f); // bottom left
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GL.glVertex3f(0.5f, -0.5f, -0.5f); // bottom right
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glVertex3f(0.5f, 0.5f, -0.5f); // top right
- GL.glColor3f(1.0f, 1.0f, 0.0f);
- GL.glVertex3f(-0.5f, 0.5f, -0.5f); // top left
- // left
- GL.glColor3f(0.0f, 0.0f, 1.0f);
- GL.glVertex3f(-0.5f, -0.5f, -0.5f); // bottom left
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GL.glVertex3f(-0.5f, -0.5f, 0.5f); // bottom right
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glVertex3f(-0.5f, 0.5f, 0.5f); // top right
- GL.glColor3f(1.0f, 1.0f, 0.0f);
- GL.glVertex3f(-0.5f, 0.5f, -0.5f); // top left
- // right
- GL.glColor3f(0.0f, 0.0f, 1.0f);
- GL.glVertex3f(0.5f, -0.5f, 0.5f); // bottom left
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GL.glVertex3f(0.5f, -0.5f, -0.5f); // bottom right
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glVertex3f(0.5f, 0.5f, -0.5f); // top right
- GL.glColor3f(1.0f, 1.0f, 0.0f);
- GL.glVertex3f(0.5f, 0.5f, 0.5f); // top left
- // top
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glVertex3f(0.5f, 0.5f, -0.5f);
- GL.glColor3f(1.0f, 1.0f, 0.0f);
- GL.glVertex3f(-0.5f, 0.5f, -0.5f);
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glVertex3f(-0.5f, 0.5f, 0.5f);
- GL.glColor3f(1.0f, 1.0f, 0.0f);
- GL.glVertex3f(0.5f, 0.5f, 0.5f);
- // bottom
- GL.glColor3f(0.0f, 0.0f, 1.0f);
- GL.glVertex3f(0.5f, -0.5f, 0.5f);
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GL.glVertex3f(-0.5f, -0.5f, 0.5f);
- GL.glColor3f(0.0f, 0.0f, 1.0f);
- GL.glVertex3f(-0.5f, -0.5f, -0.5f);
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GL.glVertex3f(0.5f, -0.5f, -0.5f);
- GL.glEnd();
- GL.glEndList();
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GL.glDeleteLists(cubeListIndexBase, 1);
- }
-
- /**
- * @see OpenGLTab#getSleepLength()
- */
- int getSleepLength() {
- return SLEEP_LENGTH;
- }
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Fog";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- // fog color should be the same as the clear color
- // to look appropriate
- float[] fogColor = { 1.0f, 1.0f, 1.0f, 1.0f };
- GL.glFogfv(GL.GL_FOG_COLOR, fogColor);
- GL.glHint(GL.GL_FOG_HINT, GL.GL_DONT_CARE);
- GL.glFogf(GL.GL_FOG_START, 0);
- GL.glFogf(GL.GL_FOG_DENSITY, 0.0f);
- // set the end of the start distance; anything > 15
- // units from the camera will be covered in fog
- GL.glFogf(GL.GL_FOG_END, 15);
- GL.glFogf(GL.GL_FOG_MODE, FOG_TYPES[0]);
- GL.glEnable(GL.GL_FOG);
- GL.glEnable(GL.GL_DEPTH_TEST);
-
- cubeListIndexBase = GL.glGenLists(1);
- createCube();
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
- GL.glLoadIdentity();
- GL.glTranslatef(xPos, yPos, zPos);
- GL.glRotatef(rotY, 0.0f, 1.0f, 0.0f);
-
- GL.glCallList(cubeListIndexBase);
-
- GL.glPushMatrix();
- GL.glTranslatef(3, 0, -3);
- GL.glCallList(cubeListIndexBase);
- GL.glPopMatrix();
-
- GL.glPushMatrix();
- GL.glTranslatef(-3, 0, -3);
- GL.glCallList(cubeListIndexBase);
- GL.glPopMatrix();
-
- GL.glPushMatrix();
- GL.glTranslatef(0, 0, 4);
- GL.glCallList(cubeListIndexBase);
- GL.glPopMatrix();
-
- rotY += 0.6f;
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/GradientTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/GradientTab.java
deleted file mode 100644
index 61e93097d5..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/GradientTab.java
+++ /dev/null
@@ -1,233 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class GradientTab extends OpenGLTab {
- private float xPos = 0.0f, yPos = 0.0f, zPos = -7.0f;
- private float xRot = 180.0f, yRot = 180.0f, zRot = 180.0f;
- private int currentSelection = 1;
- private final static float[] BEZIER_COLORS = {
- 0.0f, 1.0f, 0.0f, 0.0f, 0.3f, 0.6f, 0.1f, 0.0f,
- 0.8f, 0.2f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f,
- 0.0f, 0.0f, 1.0f, 0.0f, 0.8f, 0.8f, 0.8f, 0.0f
- };
- private final static float[] BEZIER_POINTS = {
- -1.5f, -1.5f, 4.0f, -0.5f, -1.5f, 2.0f, 0.5f, -1.5f,
- -1.0f, 1.5f, -1.5f, 2.0f, -1.5f, -0.5f, 1.0f, -0.5f,
- -0.5f, 3.0f, 0.5f, -0.5f, 0.0f, 1.5f, -0.5f, -1.0f,
- -1.5f, 0.5f, 4.0f, -0.5f, 0.5f, 0.0f, 0.5f, 0.5f,
- 3.0f, 1.5f, 0.5f, 4.0f, -1.5f, 1.5f, -2.0f, -0.5f,
- 1.5f, -2.0f, 0.5f, 1.5f, 0.0f, 1.5f, 1.5f, -1.0f,
- };
- private final static String[] OBJECT_NAMES = { "Bezier", "Square" };
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(Composite composite) {
- Group movementGroup = new Group(composite, SWT.NONE);
- movementGroup.setText("Translation");
- movementGroup.setLayout(new GridLayout(2, false));
-
- new Label(movementGroup, SWT.NONE).setText("X:");
- final Slider xMove = new Slider(movementGroup, SWT.NONE);
- xMove.setIncrement(1);
- xMove.setMaximum(12);
- xMove.setMinimum(0);
- xMove.setThumb(2);
- xMove.setPageIncrement(2);
- xMove.setSelection(5);
- xMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xPos = xMove.getSelection() - 5;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Y:");
- final Slider yMove = new Slider(movementGroup, SWT.NONE);
- yMove.setIncrement(1);
- yMove.setMaximum(12);
- yMove.setMinimum(0);
- yMove.setThumb(2);
- yMove.setPageIncrement(2);
- yMove.setSelection(5);
- yMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yPos = yMove.getSelection() - 5;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Z:");
- final Slider zMove = new Slider(movementGroup, SWT.NONE);
- zMove.setIncrement(1);
- zMove.setMaximum(12);
- zMove.setMinimum(0);
- zMove.setThumb(2);
- zMove.setPageIncrement(2);
- zMove.setSelection(5);
- zMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zPos = zMove.getSelection() - 12;
- }
- });
-
- Group rotationGroup = new Group(composite, SWT.NONE);
- rotationGroup.setText("Rotation");
- rotationGroup.setLayout(new GridLayout(2, false));
-
- new Label(rotationGroup, SWT.NONE).setText("X:");
- final Slider xRotation = new Slider(rotationGroup, SWT.NONE);
- xRotation.setIncrement(10);
- xRotation.setMaximum(362);
- xRotation.setMinimum(0);
- xRotation.setThumb(2);
- xRotation.setPageIncrement(20);
- xRotation.setSelection(180);
- xRotation.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xRot = xRotation.getSelection();
- }
- });
-
- new Label(rotationGroup, SWT.NONE).setText("Y:");
- final Slider yRotation = new Slider(rotationGroup, SWT.NONE);
- yRotation.setIncrement(10);
- yRotation.setMaximum(362);
- yRotation.setMinimum(0);
- yRotation.setThumb(2);
- yRotation.setPageIncrement(20);
- yRotation.setSelection(180);
- yRotation.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yRot = yRotation.getSelection();
- }
- });
-
- new Label(rotationGroup, SWT.NONE).setText("Z:");
- final Slider zRotation = new Slider(rotationGroup, SWT.NONE);
- zRotation.setIncrement(10);
- zRotation.setMaximum(362);
- zRotation.setMinimum(0);
- zRotation.setThumb(2);
- zRotation.setPageIncrement(20);
- zRotation.setSelection(180);
- zRotation.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zRot = zRotation.getSelection();
- }
- });
-
- Composite objectGroup = new Composite(composite,SWT.NONE);
- GridLayout layout = new GridLayout(2,false);
- layout.marginHeight = 0;
- layout.marginWidth = 0;
- objectGroup.setLayout(layout);
- objectGroup.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
-
- new Label(objectGroup, SWT.NONE).setText("Object:");
- final Combo objectCombo = new Combo(objectGroup, SWT.READ_ONLY);
- GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- data.grabExcessHorizontalSpace = true;
- objectCombo.setLayoutData(data);
- objectCombo.setItems(OBJECT_NAMES);
- objectCombo.select(0);
- objectCombo.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- currentSelection = objectCombo.getSelectionIndex() + 1;
- }
- });
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GL.glDeleteLists(1, 2);
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Gradients";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glHint(GL.GL_LINE_SMOOTH_HINT, GL.GL_NICEST);
- GL.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);
- GL.glPolygonMode(GL.GL_FRONT_AND_BACK, GL.GL_FILL);
- GL.glMap2f(GL.GL_MAP2_VERTEX_3, 0, 1, 3, 4, 0, 1, 12, 4, BEZIER_POINTS);
- GL.glMap2f(GL.GL_MAP2_COLOR_4, 0, 1, 4, 1, 0, 1, 4, 6, BEZIER_COLORS);
- GL.glMapGrid2f(20, 0.0f, 1.0f, 20, 0.0f, 1.0f);
- GL.glShadeModel(GL.GL_SMOOTH);
- GL.glEnable(GL.GL_LINE_SMOOTH);
- GL.glEnable(GL.GL_LINE_STIPPLE);
- GL.glEnable(GL.GL_BLEND);
- GL.glEnable(GL.GL_MAP2_COLOR_4);
- GL.glEnable(GL.GL_MAP2_VERTEX_3);
- GL.glEnable(GL.GL_DEPTH_TEST);
-
- // create display lists
- GL.glNewList(1, GL.GL_COMPILE);
- GL.glEvalMesh2(GL.GL_FILL, 0, 20, 0, 20);
- GL.glEndList();
- GL.glNewList(2, GL.GL_COMPILE);
- GL.glBegin(GL.GL_TRIANGLE_FAN);
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GL.glVertex3f(0.0f, 0.0f, 0.0f);
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glVertex3f(0.0f, 2.0f, 0.0f);
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GL.glVertex3f(-2.0f, 2.0f, 0.0f);
- GL.glColor3f(0.0f, 0.0f, 1.0f);
- GL.glVertex3f(-2.0f, 0.0f, 0.0f);
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GL.glVertex3f(-2.0f, -2.0f, 0.0f);
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glVertex3f(0.0f, -2.0f, 0.0f);
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GL.glVertex3f(2.0f, -2.0f, 0.0f);
- GL.glColor3f(0.0f, 0.0f, 1.0f);
- GL.glVertex3f(2.0f, 0.0f, 0.0f);
- GL.glColor3f(0.0f, 1.0f, 0.0f);
- GL.glVertex3f(2.0f, 2.0f, 0.0f);
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glVertex3f(0.0f, 2.0f, 0.0f);
- GL.glEnd();
- GL.glEndList();
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(GL.GL_COLOR_BUFFER_BIT);
- GL.glLoadIdentity();
- GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
- GL.glTranslatef(xPos, yPos, zPos);
- GL.glRotatef(xRot, 1.0f, 0.0f, 0.0f);
- GL.glRotatef(yRot, 0.0f, 1.0f, 0.0f);
- GL.glRotatef(zRot, 0.0f, 0.0f, 1.0f);
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glCallList(currentSelection);
- }
-} \ No newline at end of file
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/IColorSelectionListener.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/IColorSelectionListener.java
deleted file mode 100644
index 346b5639dc..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/IColorSelectionListener.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-import org.eclipse.swt.graphics.RGB;
-
-
-public interface IColorSelectionListener {
- public void handleColorSelection(RGB rgb);
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/LightTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/LightTab.java
deleted file mode 100644
index 701eb9cefa..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/LightTab.java
+++ /dev/null
@@ -1,354 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class LightTab extends OpenGLTab {
- private float[] materialShininess = { 25.0f };
- private float[] lightPosition = { 0.0f, 0.0f, 0.0f, 1.0f };
- private float[][] colorValues = {
- { 1.0f, 1.0f, 1.0f, 1.0f }, // light diffuse
- { 1.0f, 1.0f, 1.0f, 1.0f }, // light ambient
- { 1.0f, 1.0f, 1.0f, 1.0f }, // light specular
- { 0.5f, 0.5f, 0.5f, 1.0f }, // light main ambient
- { 0.0f, 0.0f, 1.0f, 1.0f }, // material diffuse
- { 0.3f, 0.3f, 0.3f, 1.0f }, // material ambient
- { 1.0f, 1.0f, 1.0f, 1.0f } // material specular
- };
- private float yPos = 0.0f, xPos = 0.0f, zPos = -20.0f;
- private int quadratic, sphere;
- // sourceType values: 0 = light, 1 = material
- private int sourceType;
- // lightType values: 0 = diffuse, 1 = ambient, 2 = specular, 3 = main ambient
- private int lightType = 0;
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(Composite composite) {
- Group movementGroup = new Group(composite, SWT.NONE);
- movementGroup.setText("Translation");
- movementGroup.setLayout(new GridLayout(2, false));
-
- new Label(movementGroup, SWT.NONE).setText("X:");
- final Slider xMove = new Slider(movementGroup, SWT.NONE);
- xMove.setIncrement(1);
- xMove.setMaximum(22);
- xMove.setMinimum(0);
- xMove.setThumb(2);
- xMove.setPageIncrement(2);
- xMove.setSelection(10);
- xMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xPos = xMove.getSelection() - 10;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Y:");
- final Slider yMove = new Slider(movementGroup, SWT.NONE);
- yMove.setIncrement(1);
- yMove.setMaximum(22);
- yMove.setMinimum(0);
- yMove.setThumb(2);
- yMove.setPageIncrement(2);
- yMove.setSelection(10);
- yMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yPos = yMove.getSelection() - 10;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Z:");
- final Slider zMove = new Slider(movementGroup, SWT.NONE);
- zMove.setIncrement(1);
- zMove.setMaximum(22);
- zMove.setMinimum(0);
- zMove.setThumb(2);
- zMove.setPageIncrement(2);
- zMove.setSelection(10);
- zMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zPos = zMove.getSelection() - 30;
- }
- });
-
- Group positionGroup = new Group(composite, SWT.NONE);
- positionGroup.setText("Light Position");
- positionGroup.setLayout(new GridLayout(2, false));
-
- new Label(positionGroup, SWT.NONE).setText("X:");
- final Slider lightX = new Slider(positionGroup, SWT.NONE);
- lightX.setIncrement(1);
- lightX.setMaximum(22);
- lightX.setMinimum(0);
- lightX.setThumb(2);
- lightX.setPageIncrement(2);
- lightX.setSelection(10);
- lightX.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- lightPosition[0] = ((float) lightX.getSelection() * 10) - 100;
- }
- });
-
- new Label(positionGroup, SWT.NONE).setText("Y:");
- final Slider lightY = new Slider(positionGroup, SWT.NONE);
- lightY.setIncrement(1);
- lightY.setMaximum(22);
- lightY.setMinimum(0);
- lightY.setThumb(2);
- lightY.setPageIncrement(2);
- lightY.setSelection(10);
- lightY.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- lightPosition[1] = ((float) lightY.getSelection() * 10) - 100;
- }
- });
-
- new Label(positionGroup, SWT.NONE).setText("Z:");
- final Slider lightZ = new Slider(positionGroup, SWT.NONE);
- lightZ.setIncrement(1);
- lightZ.setMaximum(22);
- lightZ.setMinimum(0);
- lightZ.setThumb(2);
- lightZ.setPageIncrement(2);
- lightZ.setSelection(10);
- lightZ.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- lightPosition[2] = ((float) lightZ.getSelection() * 10) - 20;
- }
- });
-
- Group lightColorsGroup = new Group(composite, SWT.NONE);
- lightColorsGroup.setText("Light Colors");
- lightColorsGroup.setLayout(new GridLayout());
- GridData data = new GridData(GridData.FILL_BOTH);
- lightColorsGroup.setLayoutData(data);
-
- ColorSelectionGroup lightDiffuseButton =
- new ColorSelectionGroup(lightColorsGroup, SWT.NONE);
- lightDiffuseButton.setText("Diffuse");
- lightDiffuseButton.setRGB(
- new RGB(
- (int) (colorValues[0][0] * 255),
- (int) (colorValues[0][1] * 255),
- (int) (colorValues[0][2] * 255)));
- lightDiffuseButton
- .addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- colorValues[0][0] = ((float) rgb.red) / 255;
- colorValues[0][1] = ((float) rgb.green) / 255;
- colorValues[0][2] = ((float) rgb.blue) / 255;
- setColorValues();
- }
- });
-
- ColorSelectionGroup lightAmbientButton =
- new ColorSelectionGroup(lightColorsGroup, SWT.NONE);
- lightAmbientButton.setText("Ambient");
- lightAmbientButton.setRGB(
- new RGB(
- (int) (colorValues[1][0] * 255),
- (int) (colorValues[1][1] * 255),
- (int) (colorValues[1][2] * 255)));
- lightAmbientButton
- .addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- colorValues[1][0] = ((float) rgb.red) / 255;
- colorValues[1][1] = ((float) rgb.green) / 255;
- colorValues[1][2] = ((float) rgb.blue) / 255;
- setColorValues();
- }
- });
-
- ColorSelectionGroup lightSpecularButton =
- new ColorSelectionGroup(lightColorsGroup, SWT.NONE);
- lightSpecularButton.setText("Specular");
- lightSpecularButton.setRGB(
- new RGB(
- (int) (colorValues[2][0] * 255),
- (int) (colorValues[2][1] * 255),
- (int) (colorValues[2][2] * 255)));
- lightSpecularButton
- .addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- colorValues[2][0] = ((float) rgb.red) / 255;
- colorValues[2][1] = ((float) rgb.green) / 255;
- colorValues[2][2] = ((float) rgb.blue) / 255;
- setColorValues();
- }
- });
-
- ColorSelectionGroup lightMainAmbientButton =
- new ColorSelectionGroup(lightColorsGroup, SWT.NONE);
- lightMainAmbientButton.setText("Main Ambient");
- lightMainAmbientButton.setRGB(
- new RGB(
- (int) (colorValues[3][0] * 255),
- (int) (colorValues[3][1] * 255),
- (int) (colorValues[3][2] * 255)));
- lightMainAmbientButton
- .addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- colorValues[3][0] = ((float) rgb.red) / 255;
- colorValues[3][1] = ((float) rgb.green) / 255;
- colorValues[3][2] = ((float) rgb.blue) / 255;
- setColorValues();
- }
- });
-
- Group materialColorsGroup = new Group(composite, SWT.NONE);
- materialColorsGroup.setText("Material Colors");
- materialColorsGroup.setLayout(new GridLayout());
- data = new GridData(GridData.FILL_BOTH);
- materialColorsGroup.setLayoutData(data);
-
- ColorSelectionGroup materialDiffuseButton =
- new ColorSelectionGroup(materialColorsGroup, SWT.NONE);
- materialDiffuseButton.setText("Diffuse");
- materialDiffuseButton.setRGB(
- new RGB(
- (int) (colorValues[4][0] * 255),
- (int) (colorValues[4][1] * 255),
- (int) (colorValues[4][2] * 255)));
- materialDiffuseButton
- .addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- colorValues[4][0] = ((float) rgb.red) / 255;
- colorValues[4][1] = ((float) rgb.green) / 255;
- colorValues[4][2] = ((float) rgb.blue) / 255;
- setColorValues();
- }
- });
-
- ColorSelectionGroup materialAmbientButton =
- new ColorSelectionGroup(materialColorsGroup, SWT.NONE);
- materialAmbientButton.setText("Ambient");
- materialAmbientButton.setRGB(
- new RGB(
- (int) (colorValues[5][0] * 255),
- (int) (colorValues[5][1] * 255),
- (int) (colorValues[5][2] * 255)));
- materialAmbientButton
- .addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- colorValues[5][0] = ((float) rgb.red) / 255;
- colorValues[5][1] = ((float) rgb.green) / 255;
- colorValues[5][2] = ((float) rgb.blue) / 255;
- setColorValues();
- }
- });
-
- ColorSelectionGroup materialSpecularButton =
- new ColorSelectionGroup(materialColorsGroup, SWT.NONE);
- materialSpecularButton.setText("Specular");
- materialSpecularButton.setRGB(
- new RGB(
- (int) (colorValues[6][0] * 255),
- (int) (colorValues[6][1] * 255),
- (int) (colorValues[6][2] * 255)));
- materialSpecularButton
- .addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- colorValues[6][0] = ((float) rgb.red) / 255;
- colorValues[6][1] = ((float) rgb.green) / 255;
- colorValues[6][2] = ((float) rgb.blue) / 255;
- setColorValues();
- }
- });
-
- new Label(composite, SWT.NONE).setText("Material Shininess:");
- final Slider shineSlider = new Slider(composite, SWT.NONE);
- shineSlider.setIncrement(5);
- shineSlider.setMaximum(102);
- shineSlider.setMinimum(0);
- shineSlider.setThumb(2);
- shineSlider.setPageIncrement(10);
- shineSlider.setSelection(25);
- shineSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- materialShininess[0] = shineSlider.getSelection();
- GL.glMaterialfv(GL.GL_FRONT_AND_BACK,
- GL.GL_SHININESS,
- materialShininess);
- }
- });
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GLU.gluDeleteQuadric(quadratic);
- GL.glDeleteLists(sphere, 1);
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Light";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glClearDepth(1.0);
- setColorValues();
- GL.glMaterialfv(GL.GL_FRONT_AND_BACK, GL.GL_SHININESS, materialShininess);
- quadratic = GLU.gluNewQuadric();
- GLU.gluQuadricNormals(quadratic, GLU.GLU_SMOOTH);
- GL.glHint(GL.GL_LINE_SMOOTH_HINT, GL.GL_NICEST);
- GL.glHint(GL.GL_PERSPECTIVE_CORRECTION_HINT, GL.GL_NICEST);
- GL.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);
- GL.glPointSize(2.0f);
- GL.glEnable(GL.GL_LIGHTING);
- GL.glEnable(GL.GL_LIGHT0);
- GL.glEnable(GL.GL_DEPTH_TEST);
- sphere = GL.glGenLists(1);
- GL.glNewList(sphere, GL.GL_COMPILE);
- GLU.gluSphere(quadratic, 3, 32, 32);
- GL.glEndList();
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
- GL.glLoadIdentity();
- GL.glLightfv(GL.GL_LIGHT0, GL.GL_POSITION, lightPosition);
- GL.glTranslatef(xPos, yPos, zPos);
- GL.glCallList(sphere);
- }
-
- /**
- * Sets the current color values into the rendered display.
- */
- void setColorValues() {
- GL.glLightfv(GL.GL_LIGHT0, GL.GL_DIFFUSE, colorValues[0]);
- GL.glMaterialfv(GL.GL_FRONT_AND_BACK, GL.GL_DIFFUSE, colorValues[4]);
- GL.glMaterialfv(GL.GL_FRONT_AND_BACK, GL.GL_AMBIENT, colorValues[5]);
- GL.glLightfv(GL.GL_LIGHT0, GL.GL_AMBIENT, colorValues[1]);
- GL.glLightfv(GL.GL_LIGHT0, GL.GL_SPECULAR, colorValues[2]);
- GL.glMaterialfv(GL.GL_FRONT_AND_BACK, GL.GL_SPECULAR, colorValues[6]);
- GL.glLightModelfv(GL.GL_LIGHT_MODEL_AMBIENT, colorValues[3]);
- GL.glMaterialfv(GL.GL_FRONT_AND_BACK, GL.GL_SHININESS, materialShininess);
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/NurbTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/NurbTab.java
deleted file mode 100644
index c25e8c6647..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/NurbTab.java
+++ /dev/null
@@ -1,294 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class NurbTab extends OpenGLTab {
- private float xPos = -5.0f, yPos = -5.0f, zPos = -25.0f;
- private float xRot = 330.0f, yRot = 0.0f, zRot = 0.0f;
- private int nurb;
-
- /**
- * Returns a 3 dimensional array to store vertex points for the nurb
- * surface.
- *
- * @return the array
- */
- float[][][] buildNurb() {
- float[][][] ctrl = new float[4][4][3];
- for (int i = 0; i < 4; i++) {
- for (int j = 0; j < 4; j++) {
- // set the x value
- ctrl[i][j][0] = 2 * (i + (float) Math.cos(i + j));
- // set the y value
- ctrl[i][j][1] = 2 * (j + (float) Math.cos(i + j));
- // set the z value
- if ((i == 1 && j == 1) || (i == 2 && j == 2)) {
- // this makes the hill
- ctrl[i][j][2] = 6.0f;
- } else {
- ctrl[i][j][2] = 0.0f;
- }
- }
- }
- // sets this particular z value to a large number to make a high
- // hill
- ctrl[2][2][2] = 8.0f;
-
- return ctrl;
- }
-
- /**
- * Returns a 1 dimensional array representing the 3 dimensional
- * argument. This result can be passed to the nurb renderer
- *
- * @param ctrl source 3D array
- * @return 1D array
- */
- float[] convert(float[][][] ctrl) {
- float[] pts =
- new float[ctrl.length * ctrl[0].length * ctrl[0][0].length];
- int row = 0;
- int col = 0;
- // set rowIncr to number of columns * depth
- int rowIncr = ctrl[0].length * ctrl[0][0].length;
- // set colIncr to depth
- int colIncr = ctrl[0][0].length;
- // loop through rows
- for (int i = 0; i < ctrl.length; i++) {
- col = 0;
- // loop through columns
- for (int j = 0; j < ctrl[0].length; j++) {
- // loop through to get the depth values
- for (int k = 0; k < ctrl[0][0].length; k++) {
- pts[row + col + k] = ctrl[i][j][k];
- }
- col += colIncr;
- }
- row += rowIncr;
- }
- return pts;
- }
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(final Composite composite) {
- Group movementGroup = new Group(composite, SWT.NONE);
- movementGroup.setText("Translation");
- movementGroup.setLayout(new GridLayout(2, false));
-
- new Label(movementGroup, SWT.NONE).setText("X:");
- final Slider xMove = new Slider(movementGroup, SWT.NONE);
- xMove.setIncrement(1);
- xMove.setMaximum(12);
- xMove.setMinimum(0);
- xMove.setThumb(2);
- xMove.setPageIncrement(2);
- xMove.setSelection(5);
- xMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xPos = xMove.getSelection() - 10;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Y:");
- final Slider yMove = new Slider(movementGroup, SWT.NONE);
- yMove.setIncrement(1);
- yMove.setMaximum(12);
- yMove.setMinimum(0);
- yMove.setThumb(2);
- yMove.setPageIncrement(2);
- yMove.setSelection(5);
- yMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yPos = yMove.getSelection() - 10;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Z:");
- final Slider zMove = new Slider(movementGroup, SWT.NONE);
- zMove.setIncrement(1);
- zMove.setMaximum(12);
- zMove.setMinimum(0);
- zMove.setThumb(2);
- zMove.setPageIncrement(2);
- zMove.setSelection(5);
- zMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zPos = zMove.getSelection() - 30;
- }
- });
-
- Group rotationGroup = new Group(composite, SWT.NONE);
- rotationGroup.setText("Rotation");
- rotationGroup.setLayout(new GridLayout(2, false));
-
- new Label(rotationGroup, SWT.NONE).setText("X:");
- final Slider xRotation = new Slider(rotationGroup, SWT.NONE);
- xRotation.setIncrement(10);
- xRotation.setMaximum(362);
- xRotation.setMinimum(0);
- xRotation.setThumb(2);
- xRotation.setPageIncrement(20);
- xRotation.setSelection(330);
- xRotation.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xRot = xRotation.getSelection();
- }
- });
-
- new Label(rotationGroup, SWT.NONE).setText("Y:");
- final Slider yRotation = new Slider(rotationGroup, SWT.NONE);
- yRotation.setIncrement(10);
- yRotation.setMaximum(362);
- yRotation.setMinimum(0);
- yRotation.setThumb(2);
- yRotation.setPageIncrement(20);
- yRotation.setSelection(0);
- yRotation.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yRot = yRotation.getSelection();
- }
- });
-
- new Label(rotationGroup, SWT.NONE).setText("Z:");
- final Slider zRotation = new Slider(rotationGroup, SWT.NONE);
- zRotation.setIncrement(10);
- zRotation.setMaximum(362);
- zRotation.setMinimum(0);
- zRotation.setThumb(2);
- zRotation.setPageIncrement(20);
- zRotation.setSelection(0);
- zRotation.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zRot = zRotation.getSelection();
- }
- });
-
- new Label(composite, SWT.NONE).setText("Sampling Tolerance:");
- final Slider sSlider = new Slider(composite, SWT.NONE);
- sSlider.setIncrement(1);
- sSlider.setMaximum(101);
- sSlider.setMinimum(0);
- sSlider.setThumb(2);
- sSlider.setPageIncrement(2);
- sSlider.setSelection(75);
- sSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- GLU.gluNurbsProperty(
- nurb,
- GLU.GLU_SAMPLING_TOLERANCE,
- sSlider.getSelection() + 1);
- }
- });
-
- final Button fillButton = new Button(composite, SWT.CHECK);
- fillButton.setText("Fill");
- fillButton.setSelection(true);
- fillButton.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- if (fillButton.getSelection()) {
- GLU.gluNurbsProperty(
- nurb,
- GLU.GLU_DISPLAY_MODE,
- GLU.GLU_FILL);
- } else {
- GLU.gluNurbsProperty(
- nurb,
- GLU.GLU_DISPLAY_MODE,
- GLU.GLU_OUTLINE_POLYGON);
- }
- }
- });
-
- ColorSelectionGroup colorGroup =
- new ColorSelectionGroup(composite, SWT.NONE);
- colorGroup.setText("Foreground color");
- colorGroup.addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- GL.glColor3ub((byte) rgb.red, (byte) rgb.green, (byte) rgb.blue);
- }
- });
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GLU.gluDeleteNurbsRenderer(nurb);
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Nurb";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- // set up material color which helps show curves
- float mat_specular[] = { 1.0f, 1.0f, 1.0f, 1.0f };
- float mat_shininess[] = { 100.0f };
- GL.glMaterialfv(GL.GL_FRONT_AND_BACK, GL.GL_SPECULAR, mat_specular);
- GL.glMaterialfv(GL.GL_FRONT_AND_BACK, GL.GL_SHININESS, mat_shininess);
- GL.glColorMaterial(GL.GL_FRONT_AND_BACK, GL.GL_AMBIENT_AND_DIFFUSE);
-
- GL.glEnable(GL.GL_LIGHTING);
- GL.glEnable(GL.GL_LIGHT0);
- GL.glEnable(GL.GL_COLOR_MATERIAL);
- GL.glEnable(GL.GL_DEPTH_TEST);
- GL.glEnable(GL.GL_AUTO_NORMAL);
- GL.glEnable(GL.GL_NORMALIZE);
-
- nurb = GLU.gluNewNurbsRenderer();
-
- GLU.gluNurbsProperty(
- nurb,
- GLU.GLU_SAMPLING_METHOD,
- GLU.GLU_PATH_LENGTH);
- // sampling tolerance is specific for GLU.GLU_PATH_LENGTH
- GLU.gluNurbsProperty(nurb, GLU.GLU_SAMPLING_TOLERANCE, 75.0f);
- GLU.gluNurbsProperty(nurb, GLU.GLU_DISPLAY_MODE, GLU.GLU_FILL);
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
- GL.glLoadIdentity();
- // do translation and rotation
- GL.glTranslatef(xPos, yPos, zPos);
- GL.glRotatef(xRot, 1.0f, 0.0f, 0.0f);
- GL.glRotatef(yRot, 0.0f, 1.0f, 0.0f);
- GL.glRotatef(zRot, 0.0f, 0.0f, 1.0f);
- // define nurbs surface
- float[] knots = { 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f, 1.0f, 1.0f };
- GLU.gluBeginSurface(nurb);
- GLU.gluNurbsSurface(
- nurb, 8, knots, 8, knots, 12, 3,
- convert(buildNurb()), 4, 4, GL.GL_MAP2_VERTEX_3);
- GLU.gluEndSurface(nurb);
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ObjectsTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ObjectsTab.java
deleted file mode 100644
index 3ef288e451..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ObjectsTab.java
+++ /dev/null
@@ -1,376 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class ObjectsTab extends OpenGLTab {
- private class Shape {
- private String name;
- private int index;
- /**
- * Constructor.
- *
- * @param name the display name of this shape
- * @param index the display list index corresponding to this shape
- */
- Shape(String name, int index) {
- super();
- this.index = index;
- this.name = name;
- }
- void dispose() {
- GL.glDeleteLists(index, 1);
- }
- void draw() {
- GL.glCallList(index);
- }
- String getName() {
- return name;
- }
- }
-
- private Shape[] shapes;
- private Shape currentShape;
- private float xRot = 0.0f, yRot = 0.0f;
- private boolean fill = true;
- private int quadratic;
- private final static int SLEEP_LENGTH = 50;
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(final Composite composite) {
- GridLayout layout = new GridLayout(2, false);
- layout.marginWidth = 0;
- Composite controls = new Composite(composite, SWT.NONE);
- controls.setLayout(layout);
-
- new Label(controls, SWT.NONE).setText("Object:");
- final Combo objectsCombo = new Combo(controls, SWT.READ_ONLY);
- for (int i = 0; i < shapes.length; i++) {
- objectsCombo.add(shapes[i].getName());
- }
- objectsCombo.select(0);
- objectsCombo.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- currentShape = shapes[objectsCombo.getSelectionIndex()];
- }
- });
-
- final Button fillToggleButton = new Button(controls, SWT.CHECK);
- fillToggleButton.setText("Fill");
- fillToggleButton.setSelection(true);
- fillToggleButton.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- fill = fillToggleButton.getSelection();
- }
- });
-
- ColorSelectionGroup colorGroup =
- new ColorSelectionGroup(composite, SWT.NONE);
- colorGroup.setText("Foreground color");
- colorGroup.addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- GL.glColor3ub((byte) rgb.red, (byte) rgb.green, (byte) rgb.blue);
- }
- });
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GLU.gluDeleteQuadric(quadratic);
- for (int i = 0; i < shapes.length; i++) {
- shapes [i].dispose();
- }
- }
-
- /**
- * Creates a circle centered at 0,0 in the viewport.
- *
- * @param radius
- * @param xShrink
- * @param yShrink
- */
- void drawCircle(float radius, float xShrink, float yShrink) {
- GL.glBegin(GL.GL_POLYGON);
- float dia = (float) 2.0 * (float) Math.PI;
- for (float angle = 0.0f; angle <= dia; angle += 0.1f) {
- GL.glVertex2d(radius * Math.cos(angle), radius * Math.sin(angle));
- }
- GL.glEnd();
- }
-
- /**
- * Creates a cube centered at 0,0 in the viewport.
- *
- * @param width
- * @param height
- * @param depth
- */
- void drawCube(float width, float height, float depth) {
- GL.glBegin(GL.GL_QUADS);
- // front
- GL.glVertex3f(-width, -height, depth); // bottom left
- GL.glVertex3f(width, -height, depth); // bottom right
- GL.glVertex3f(width, height, depth); // top right
- GL.glVertex3f(-width, height, depth); // top left
- // back
- GL.glVertex3f(-width, -height, -depth); // bottom left
- GL.glVertex3f(width, -height, -depth); // bottom right
- GL.glVertex3f(width, height, -depth); // top right
- GL.glVertex3f(-width, height, -depth); // top left
- // left
- GL.glVertex3f(-width, -height, -depth); // bottom left
- GL.glVertex3f(-width, -height, depth); // bottom right
- GL.glVertex3f(-width, height, depth); // top right
- GL.glVertex3f(-width, height, -depth); // top left
- // right
- GL.glVertex3f(width, -height, depth); // bottom left
- GL.glVertex3f(width, -height, -depth); // bottom right
- GL.glVertex3f(width, height, -depth); // top right
- GL.glVertex3f(width, height, depth); // top left
- // top
- GL.glVertex3f(width, height, -depth); // back right
- GL.glVertex3f(-width, height, -depth); // back left
- GL.glVertex3f(-width, height, depth); // front left
- GL.glVertex3f(width, height, depth); // front right
- // bottom
- GL.glVertex3f(width, -height, depth); // front right
- GL.glVertex3f(-width, -height, depth); // front left
- GL.glVertex3f(-width, -height, -depth); // back left
- GL.glVertex3f(width, -height, -depth); // back right
- GL.glEnd();
- }
-
- /**
- * Creates a pyramid centered at 0,0 in the viewport.
- *
- * @param width
- * @param height
- * @param depth
- */
- void drawPyramid(float width, float height, float depth) {
- GL.glBegin(GL.GL_TRIANGLES);
- // front
- GL.glVertex3f(0.0f, height, 0.0f); // top
- GL.glVertex3f(-width, -height, depth); // left
- GL.glVertex3f(width, -height, depth); // right
- // left
- GL.glVertex3f(0.0f, height, 0.0f); // top
- GL.glVertex3f(-width, -height, -depth); // left
- GL.glVertex3f(-width, -height, depth); // right
- // front
- GL.glVertex3f(-width, -height, -depth); // left
- GL.glVertex3f(0.0f, height, 0.0f); // top
- GL.glVertex3f(width, -height, -depth); // right
- // right
- GL.glVertex3f(0.0f, height, 0.0f); // top
- GL.glVertex3f(width, -height, depth); // left
- GL.glVertex3f(width, -height, -depth); // right
- GL.glEnd();
- GL.glBegin(GL.GL_QUADS);
- // bottom
- GL.glVertex3f(-width, -height, depth); // front left
- GL.glVertex3f(-width, -height, -depth); // back left
- GL.glVertex3f(width, -height, -depth); // back right
- GL.glVertex3f(width, -height, depth); // front right
- GL.glEnd();
- }
-
- /**
- * Creates a square centered at 0,0 in the viewport.
- *
- * @param width
- * @param height
- */
- void drawSquare(float width, float height) {
- GL.glBegin(GL.GL_QUADS);
- GL.glVertex3f(-width, -height, 0.0f); // bottom left
- GL.glVertex3f(width, -height, 0.0f); // bottom right
- GL.glVertex3f(width, height, 0.0f); // top right
- GL.glVertex3f(-width, height, 0.0f); // top left
- GL.glEnd();
- }
-
- /**
- * This method is from glut_shapes.c .
- *
- * @param r
- * @param R
- * @param nsides
- * @param rings
- */
- void drawTorus(float r, float R, int nsides, int rings) {
- float ringDelta = 2.0f * (float) Math.PI / rings;
- float sideDelta = 2.0f * (float) Math.PI / nsides;
- float theta = 0.0f;
- float cosTheta = 1.0f;
- float sinTheta = 0.0f;
-
- for (int i = rings - 1; i >= 0; i--) {
- float theta1 = theta + ringDelta;
- float cosTheta1 = (float) Math.cos(theta1);
- float sinTheta1 = (float) Math.sin(theta1);
- GL.glBegin(GL.GL_QUAD_STRIP);
- float phi = 0.0f;
-
- for (int j = nsides; j >= 0; j--) {
- phi += sideDelta;
- float cosPhi = (float) Math.cos(phi);
- float sinPhi = (float) Math.sin(phi);
- float dist = R + r * cosPhi;
- GL.glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi);
- GL.glVertex3f(cosTheta1 * dist, -sinTheta1 * dist, r * sinPhi);
- GL.glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi);
- GL.glVertex3f(cosTheta * dist, -sinTheta * dist, r * sinPhi);
- }
-
- GL.glEnd();
- theta = theta1;
- cosTheta = cosTheta1;
- sinTheta = sinTheta1;
- }
- }
-
- /**
- * Creates a triangle centered at 0,0 in the viewport.
- *
- * @param width
- * @param height
- */
- void drawTriangle(float width, float height) {
- GL.glBegin(GL.GL_TRIANGLES);
- GL.glVertex3f(0.0f, height, 0.0f); // middle
- GL.glVertex3f(-width, -height, 0.0f); // left
- GL.glVertex3f(width, -height, 0.0f); // right
- GL.glEnd();
- }
-
- /**
- * @see OpenGLTab#getSleepLength()
- */
- int getSleepLength() {
- return SLEEP_LENGTH;
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Objects";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glHint(GL.GL_PERSPECTIVE_CORRECTION_HINT, GL.GL_NICEST);
- GL.glClearDepth(1.0);
- quadratic = GLU.gluNewQuadric();
- GLU.gluQuadricNormals(quadratic, GLU.GLU_SMOOTH);
- GL.glLineWidth(2);
-
- GL.glEnable(GL.GL_DEPTH_TEST);
-
- // create the display lists and shapes
- shapes = new Shape[11];
- int index = 1;
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawTriangle(2.0f, 2.0f);
- GL.glEndList();
- shapes[0] = new Shape("Triangle", index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawPyramid(2.0f, 2.0f, 2.0f);
- GL.glEndList();
- shapes[1] = new Shape("Pyramid", index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawSquare(2.0f, 2.0f);
- GL.glEndList();
- shapes[2] = new Shape("Square", index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawCube(2.0f, 2.0f, 2.0f);
- GL.glEndList();
- shapes[3] = new Shape("Cube", index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawCircle(2.0f, 0.0f, 0.0f);
- GL.glEndList();
- shapes[4] = new Shape("Circle", index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- GLU.gluPartialDisk(quadratic, 0.5, 2.0, 18, 18, 90, 125);
- GL.glEndList();
- shapes[5] = new Shape("Partial Disk", index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- GLU.gluDisk(quadratic, 0.5, 2.0, 18, 18);
- GL.glEndList();
- shapes[6] = new Shape("Disk", index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- drawTorus(1, 2, 18, 18);
- GL.glEndList();
- shapes[7] = new Shape("Torus", index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- GLU.gluSphere(quadratic, 2.0, 18, 18);
- GL.glEndList();
- shapes[8] = new Shape("Sphere", index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- GLU.gluCylinder(quadratic, 2.0, 2.0, 4, 18, 18);
- GL.glEndList();
- shapes[9] = new Shape("Cylinder", index++);
-
- GL.glNewList(index, GL.GL_COMPILE);
- GLU.gluCylinder(quadratic, 0, 2.0, 4, 18, 18);
- GL.glEndList();
- shapes[10] = new Shape("Cone", index++);
-
- currentShape = shapes[0];
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
- GL.glLoadIdentity();
- GL.glTranslatef(0.0f, 0.0f, -14.0f);
- // rotate around X and Y axis
- GL.glRotatef(yRot, 0.0f, 1.0f, 0.0f);
- GL.glRotatef(xRot, 1.0f, 0.0f, 0.0f);
- // sets polygon fill mode
- if (fill) {
- GL.glPolygonMode(GL.GL_FRONT_AND_BACK, GL.GL_FILL);
- } else {
- GL.glPolygonMode(GL.GL_FRONT_AND_BACK, GL.GL_LINE);
- }
- currentShape.draw();
- yRot += 1.5;
- xRot += 1.5;
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OpenGLExample.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OpenGLExample.java
deleted file mode 100644
index 9e7e10d53f..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OpenGLExample.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.widgets.*;
-
-public class OpenGLExample {
- private TabFolder tabFolder;
- private OpenGLTab[] tabs;
- private int sleep;
-
- /**
- * Renders the scene of the current tab.
- */
- void display() {
- int index = tabFolder.getSelectionIndex();
- tabs[index].render();
- tabs[index].swap();
- }
-
- /**
- * Disposes of all contained tabs.
- */
- void dispose() {
- tabFolder = null;
- for (int i = 0; i < tabs.length; i++) {
- tabs[i].dispose();
- }
- }
-
- /**
- * Runs the OpenGL example
- */
- void run() {
- final Display display = new Display();
- final Shell shell =
- new Shell(display, SWT.SHELL_TRIM | SWT.NO_BACKGROUND);
- shell.setLayout(new FillLayout());
-
- tabFolder = new TabFolder(shell, SWT.NONE);
- tabs =
- new OpenGLTab[] {
- new AntialiasingTab(),
- new AreaTab(),
- new BezierTab(),
- new BitmapTextTab(),
- new FogTab(),
- new GradientTab(),
- new LightTab(),
- new NurbTab(),
- new ObjectsTab(),
- // outline tab is windows specific
- new OutlineTextTab (),
- new ReflectionTab(),
- new StencilTab(),
- new TextureTab(),
- new TransparencyTab()};
-
- for (int i = 0; i < tabs.length; i++) {
- TabItem item = new TabItem(tabFolder, SWT.NONE);
- item.setText(tabs[i].getTabText());
- item.setControl(tabs[i].createTabFolderPage(tabFolder));
- }
-
- tabFolder.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- OpenGLTab tab = tabs[tabFolder.getSelectionIndex()];
- tab.setCurrent();
- sleep = tab.getSleepLength();
- }
- });
- if (tabs.length > 0) {
- tabs[0].setCurrent();
- sleep = tabs[0].getSleepLength();
- }
-
- shell.setText("OpenGL Example");
- Runnable timer = new Runnable() {
- public void run() {
- if (shell.isDisposed()) return;
- display();
- display.timerExec(sleep, this);
- }
- };
- timer.run();
- shell.addListener(SWT.Dispose, new Listener() {
- public void handleEvent(Event e) {
- dispose();
- }
- });
- shell.open();
- while (!shell.isDisposed()) {
- if (!display.readAndDispatch()) {
- display.sleep();
- }
- }
- }
-
- /**
- * Invokes as a standalone program.
- */
- public static void main(String[] args) {
- new OpenGLExample().run();
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OpenGLTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OpenGLTab.java
deleted file mode 100644
index d8523b9e0c..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OpenGLTab.java
+++ /dev/null
@@ -1,243 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.widgets.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-
-/**
- * <code>OpenGLTab</code> is the abstract superclass of every page
- * in the example's tab folder. Each page in the tab folder
- * displays a different example.
- *
- * An OpenGLTab itself is not a control but instead provides a hierarchy
- * with which to share code that is common to every page in the folder.
- */
-abstract class OpenGLTab {
- private Canvas glCanvas;
- private Composite tabFolderPage;
- private GLContext context;
- private boolean stencilSupport;
- private final static int DEFAULT_SLEEP_LENGTH = 100;
-
- /**
- * Creates this tab's controls. Subclasses must override.
- *
- * @param composite the parent composite
- */
- abstract void createControls(Composite composite);
-
- /**
- * Creates the OpenGL canvas on which all drawing is done.
- */
- void createOpenGLContext() {
- context = new GLContext(glCanvas);
- setCurrent();
- setupViewingArea();
- }
-
- /**
- * Creates the tab folder page.
- *
- * @param tabFolder the parent tab folder
- * @return the new page
- */
- Composite createTabFolderPage(TabFolder tabFolder) {
- tabFolderPage = new Composite(tabFolder, SWT.NONE);
- tabFolderPage.setLayout(new GridLayout(2, false));
-
- GridData gridData = new GridData();
- gridData.heightHint = 400;
- gridData.widthHint = 400;
- gridData.verticalAlignment = GridData.BEGINNING;
- glCanvas = new Canvas(tabFolderPage, SWT.NONE);
- glCanvas.setLayout(new GridLayout());
- glCanvas.setLayoutData(gridData);
- glCanvas.setSize(400, 400); // needed for windows
-
- gridData = new GridData();
- gridData.verticalAlignment = GridData.BEGINNING;
- Composite controlComposite = new Composite(tabFolderPage, SWT.NONE);
- controlComposite.setLayout(new GridLayout());
- controlComposite.setLayoutData(gridData);
-
- // create the OpenGL Screen and controls
- createOpenGLContext();
-
- // determine if native stencil support is available
- int[] param = new int[1];
- GL.glGetIntegerv(GL.GL_STENCIL_BITS, param);
- stencilSupport = param[0] != 0;
-
- init();
-
- if (!isStencilSupportNeeded() || hasStencilSupport()) {
- createControls(controlComposite);
- } else {
- Label label = new Label(controlComposite, SWT.NONE);
- label.setText("This tab requires native stencil support.");
- }
-
- return tabFolderPage;
- }
-
- /**
- * Disposes all resources allocated by this tab.
- */
- void dispose() {
- context.dispose();
- }
-
- /**
- * Returns the context for this tab.
- *
- * @return GLContext
- */
- GLContext getContext() {
- return context;
- }
-
- /**
- * Returns the glCanvas for this tab.
- *
- * @return Canvas
- */
- Canvas getGlCanvas() {
- return glCanvas;
- }
-
- /**
- * Returns the length of time in milliseconds that the example
- * should sleep between animation redraws. As this length
- * increases, user responsiveness increases and the frequency of
- * animation redraws decreases. Subclasses with moving animations
- * may wish to override this default implementation to return a
- * smaller value if their animations do not occur frequently enough.
- *
- * @return the length of time in milliseconds to sleep between redraws
- */
- int getSleepLength() {
- return DEFAULT_SLEEP_LENGTH;
- }
-
- /**
- * Returns the text for this tab. Subclasses must override.
- *
- * @return the text for the tab item
- */
- abstract String getTabText();
-
- /**
- * Returns whether this machine has native stencils support.
- *
- * @return boolean
- */
- boolean hasStencilSupport() {
- return stencilSupport;
- }
-
- /**
- * Initialize OpenGL resources for this tab. Subclasses must override.
- */
- abstract void init();
-
- /**
- * Loads a texture.
- *
- * @param context
- * @param fileName
- * @param index
- * @param texture[]
- */
- static void loadTexture(GLContext context, String fileName, int index, int[] texture) {
- GL.glBindTexture(GL.GL_TEXTURE_2D, texture[index]);
- ImageData source =
- new ImageData(OpenGLTab.class.getResourceAsStream(fileName));
- Image image = new Image(Display.getCurrent(), source);
- Image newImage = new Image(Display.getCurrent(), 256, 256);
- GC gc = new GC(newImage);
- gc.drawImage(image, 0, 0, source.width, source.height, 0, 0, 256, 256);
- source = newImage.getImageData();
- gc.dispose();
- source = context.convertImageData(source);
- newImage.dispose();
- image.dispose();
- GL.glTexImage2D(
- GL.GL_TEXTURE_2D, 0, 3,
- source.width, source.height, 0,
- GL.GL_RGB, GL.GL_UNSIGNED_BYTE, source.data);
- GL.glTexParameteri(GL.GL_TEXTURE_2D, GL.GL_TEXTURE_MIN_FILTER, GL.GL_LINEAR);
- GL.glTexParameteri(GL.GL_TEXTURE_2D, GL.GL_TEXTURE_MAG_FILTER, GL.GL_LINEAR);
- }
-
- /**
- * Renders this tab.
- */
- void render() {
- if (!isStencilSupportNeeded() || hasStencilSupport()) {
- renderScene();
- } else {
- GL.glClear(GL.GL_COLOR_BUFFER_BIT);
- }
- }
-
- /**
- * Renders the scene for this tab. Subclasses must override.
- */
- abstract void renderScene();
-
- /**
- * Returns whether this tab requires stencil support in order to display
- * properly. Subclasses may wish to override this method.
- *
- * @return boolean
- */
- boolean isStencilSupportNeeded() {
- return false;
- }
-
- /**
- * Sets this rendering context to be current.
- */
- void setCurrent() {
- context.setCurrent();
- }
-
- /**
- * Sets up the viewing area for the OpenGL screen. The default
- * behavior is to use a perspective view, but there also exist frustrum
- * and ortho views. Subclasses may wish to override this method.
- */
- void setupViewingArea() {
- Rectangle rect = glCanvas.getClientArea();
- int width = rect.width;
- int height = rect.height;
- height = Math.max(height, 1);
- GL.glViewport(0, 0, width, height);
- GL.glMatrixMode(GL.GL_PROJECTION); // select the projection matrix
- GL.glLoadIdentity(); // reset the projection matrix
- float fAspect = (float) width / (float) height;
- GLU.gluPerspective(45.0f, fAspect, 0.5f, 400.0f);
- GL.glMatrixMode(GL.GL_MODELVIEW); // select the modelview matrix
- GL.glLoadIdentity();
- }
-
- /**
- * Swaps the buffers.
- */
- void swap() {
- context.swapBuffers();
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OutlineTextTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OutlineTextTab.java
deleted file mode 100644
index 0742f0056d..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/OutlineTextTab.java
+++ /dev/null
@@ -1,251 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class OutlineTextTab extends OpenGLTab {
- private Text messageText;
- private FontData fontData;
- private float[] textColor = { 1.0f, 0.0f, 0.0f };
- private boolean fill = true;
- private float extrude = 0.0f;
- private float xPos = 0.0f, yPos = 0.0f, zPos = -10.0f;
- private float xRot = 0.0f;
- private int listIndexBase;
- private final static int LIST_INDEX_SIZE = 256;
- private final static int DEFAULT_FONT_SIZE = 24;
- private final static String DEFAULT_FONT_NAME = "Arial";
- private final static int SLEEP_LENGTH = 50;
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(final Composite composite) {
- if (!SWT.getPlatform().startsWith("win32")) {
- new Label(composite, SWT.NONE).setText("This tab requires win32.");
- return;
- }
-
- Group movementGroup = new Group(composite, SWT.NONE);
- movementGroup.setText("Translation");
- movementGroup.setLayout(new GridLayout(2, false));
-
- new Label(movementGroup, SWT.NONE).setText("X:");
- final Slider xMove = new Slider(movementGroup, SWT.NONE);
- xMove.setIncrement(1);
- xMove.setMaximum(22);
- xMove.setMinimum(0);
- xMove.setThumb(2);
- xMove.setPageIncrement(2);
- xMove.setSelection(10);
- xMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xPos = xMove.getSelection() - 10;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Y:");
- final Slider yMove = new Slider(movementGroup, SWT.NONE);
- yMove.setIncrement(1);
- yMove.setMaximum(22);
- yMove.setMinimum(0);
- yMove.setThumb(2);
- yMove.setPageIncrement(2);
- yMove.setSelection(10);
- yMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yPos = yMove.getSelection() - 10;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Z:");
- final Slider zMove = new Slider(movementGroup, SWT.NONE);
- zMove.setIncrement(1);
- zMove.setMaximum(22);
- zMove.setMinimum(0);
- zMove.setThumb(2);
- zMove.setPageIncrement(2);
- zMove.setSelection(10);
- zMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zPos = zMove.getSelection() - 20;
- }
- });
-
- Composite textGroup = new Composite(composite,SWT.NONE);
- GridLayout layout = new GridLayout(2,false);
- layout.marginHeight = 0;
- layout.marginWidth = 0;
- textGroup.setLayout(layout);
- textGroup.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
-
- new Label(textGroup, SWT.NONE).setText("Text:");
- messageText = new Text(textGroup, SWT.BORDER);
- GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- data.grabExcessHorizontalSpace = true;
- messageText.setLayoutData(data);
- messageText.setText("OpenGL - SWT");
-
- new Label(composite, SWT.NONE).setText("Extrude:");
- final Slider extrudeSlider = new Slider(composite, SWT.NONE);
- extrudeSlider.setIncrement(1);
- extrudeSlider.setMaximum(22);
- extrudeSlider.setMinimum(0);
- extrudeSlider.setThumb(2);
- extrudeSlider.setPageIncrement(2);
- extrudeSlider.setSelection(0);
- extrudeSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- extrude = (float) extrudeSlider.getSelection() / 10;
- getContext().loadOutlineFont(
- fontData, extrudeSlider.getDisplay(),
- listIndexBase, 0, 255, 0.0f, extrude,
- fill ? GL.GL_POLYGON : GL.GL_LINE,
- null);
- }
- });
-
- final Button fontSelectButton = new Button(composite, SWT.NONE);
- fontSelectButton.setText("Set Font");
- final ColorSelectionGroup colorGroup =
- new ColorSelectionGroup(composite, SWT.NONE);
- colorGroup.setText("Text color");
- colorGroup.addColorSelectionListener(new IColorSelectionListener() {
- public void handleColorSelection(RGB rgb) {
- GL.glColor3ub((byte) rgb.red, (byte) rgb.green, (byte) rgb.blue);
- }
- });
-
- fontSelectButton.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- FontDialog fontDialog = new FontDialog(fontSelectButton.getShell());
- fontDialog.setText("Choose Font Options");
- double[] currentColor = new double[4];
- GL.glGetDoublev(GL.GL_CURRENT_COLOR, currentColor);
- fontDialog.setRGB(
- new RGB(
- (int) currentColor[0] * 255,
- (int) currentColor[1] * 255,
- (int) currentColor[2] * 255));
- fontDialog.setFontData(fontData);
- FontData result = fontDialog.open();
- if (result != null) {
- fontData = result;
- RGB rgb = fontDialog.getRGB();
- GL.glColor3ub((byte) rgb.red, (byte) rgb.green, (byte) rgb.blue);
- colorGroup.setRGB(rgb);
- getContext().loadOutlineFont(
- fontData, fontSelectButton.getDisplay(),
- listIndexBase, 0, 255, 0.0f, extrude,
- fill ? GL.GL_POLYGON : GL.GL_LINE,
- null);
- }
- }
- });
-
- final Button fillButton = new Button(composite, SWT.CHECK);
- fillButton.setText("Fill");
- fillButton.setSelection(true);
- fillButton.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- fill = fillButton.getSelection();
- getContext().loadOutlineFont(
- fontData, fillButton.getDisplay(),
- listIndexBase, 0, 255, 0.0f, extrude,
- fill ? GL.GL_POLYGON : GL.GL_LINE,
- null);
- }
- });
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GL.glDeleteLists(listIndexBase, LIST_INDEX_SIZE);
- }
-
- /**
- * Draws the text to the screen
- *
- * @param string the text to draw
- */
- void drawText(String string) {
- char[] stringChars = string.toCharArray();
- int[] text = new int[stringChars.length];
- for (int i = 0; i < text.length; i++) {
- text[i] = (int) stringChars[i];
- }
- GL.glPushAttrib(GL.GL_LIST_BIT);
- GL.glListBase(listIndexBase);
- GL.glCallLists(text.length, GL.GL_UNSIGNED_INT, text);
- GL.glPopAttrib();
- }
-
- /**
- * @see OpenGLTab#getSleepLength()
- */
- int getSleepLength() {
- return SLEEP_LENGTH;
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Outline Text";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glColor3fv(textColor);
- GL.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);
- GL.glEnable(GL.GL_DEPTH_TEST);
- GL.glEnable(GL.GL_BLEND);
- // build the initial font
- listIndexBase = GL.glGenLists(LIST_INDEX_SIZE);
- fontData = new FontData();
- fontData.setHeight(DEFAULT_FONT_SIZE);
- fontData.setName(DEFAULT_FONT_NAME);
- getContext().loadOutlineFont(
- fontData, getGlCanvas().getDisplay(),
- listIndexBase, 0, 255, 0f, extrude,
- fill ? GL.GL_POLYGON : GL.GL_LINE,
- null);
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
- GL.glLoadIdentity();
- GL.glTranslatef(xPos, yPos, zPos);
- GL.glRotatef(xRot, 1.0f, 0.0f, 0.0f); // rotate on X axis
- // use GL.glScalef to change size since outline fonts
- // don't support size
- float size = (float) fontData.getHeight() / 24;
- GL.glScalef(size, size, 1.0f);
- // draw the text, assuming that we're running on win32
- if (messageText != null) drawText(messageText.getText());
- xRot += 1.2f;
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ReflectionTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ReflectionTab.java
deleted file mode 100644
index 883bda00f6..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ReflectionTab.java
+++ /dev/null
@@ -1,556 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class ReflectionTab extends OpenGLTab {
- private float ballY = 0.0f;
- private float ballZ = 1.6666666f;
- private float ballX = 0.0f;
- private float ballRot = 0.0f;
- private float cubeX = 2.5f;
- private float cubeY = -2.0f;
- private float cubeZ = 2.0f;
- private float xPos = 0.0f;
- private float yPos = 0.0f;
- private float zPos = 22.0f;
- private float ballRotSpeed = 0.0f;
- private int quadratic;
- private int[] textures = new int[3];
- private final static int
- LIST_INDEX_BALL = 1,LIST_INDEX_BOX = 2,
- LIST_INDEX_MIRROR = 3, LIST_INDEX_ROOM = 4;
- private final static int
- TEXTURE_INDEX_BALL = 0, TEXTURE_INDEX_FLOOR = 1,
- TEXTURE_INDEX_BOX = 2;
- private final static String[] IMAGES = {
- "images/Ball.jpg", "images/Floor.jpg", "images/Box.bmp" };
- private final static int SLEEP_LENGTH = 50;
-
- /**
- * Draws the ball
- */
- void createBall() {
- GL.glNewList(LIST_INDEX_BALL, GL.GL_COMPILE);
- GL.glColor3f(1.0f, 1.0f, 1.0f);
- GL.glBindTexture(GL.GL_TEXTURE_2D, textures[TEXTURE_INDEX_BALL]);
- GLU.gluSphere(quadratic, 0.35f, 32, 16);
- GL.glDisable(GL.GL_BLEND);
- GL.glEndList();
- }
-
- /**
- * Draws the box
- */
- void createBox() {
- float size = 1.0f;
- GL.glNewList(LIST_INDEX_BOX, GL.GL_COMPILE);
- GL.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glBindTexture(GL.GL_TEXTURE_2D, textures[TEXTURE_INDEX_BOX]);
- GL.glBegin(GL.GL_QUADS);
- // front
- GL.glNormal3f(0.0f, 0.0f, 1.0f);
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(-size, -size, size);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(size, -size, size);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(size, size, size);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(-size, size, size);
- // back
- GL.glNormal3f(0.0f, 0.0f, -1.0f);
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(-size, -size, -size);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(size, -size, -size);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(size, size, -size);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(-size, size, -size);
- // left
- GL.glNormal3f(-1.0f, 0.0f, 0.0f);
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(-size, -size, -size);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(-size, -size, size);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(-size, size, size);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(-size, size, -size);
- // right
- GL.glNormal3f(1.0f, 0.0f, 0.0f);
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(size, -size, -size);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(size, -size, size);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(size, size, size);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(size, size, -size);
- // top
- GL.glNormal3f(0.0f, 1.0f, 0.0f);
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(size, size, -size);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(-size, size, -size);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(-size, size, size);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(size, size, size);
- // bottom
- GL.glNormal3f(0.0f, -1.0f, 0.0f);
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(size, -size, -size);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(-size, -size, -size);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(-size, -size, size);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(size, -size, size);
- GL.glEnd();
- GL.glEndList();
- }
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(Composite composite) {
- Group ballTranslation = new Group(composite, SWT.NONE);
- ballTranslation.setLayout(new GridLayout(2, false));
- ballTranslation.setText("Ball Translation");
-
- new Label(ballTranslation, SWT.NONE).setText("X:");
- final Slider ballXPosSlider = new Slider(ballTranslation, SWT.NONE);
- ballXPosSlider.setIncrement(1);
- ballXPosSlider.setMaximum(38);
- ballXPosSlider.setMinimum(0);
- ballXPosSlider.setThumb(2);
- ballXPosSlider.setPageIncrement(2);
- ballXPosSlider.setSelection(18);
- ballXPosSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- ballX = (float) (ballXPosSlider.getSelection() - 18) / 5;
- }
- });
-
- new Label(ballTranslation, SWT.NONE).setText("Y:");
- final Slider ballYPosSlider = new Slider(ballTranslation, SWT.NONE);
- ballYPosSlider.setIncrement(1);
- ballYPosSlider.setMaximum(38);
- ballYPosSlider.setMinimum(0);
- ballYPosSlider.setThumb(2);
- ballYPosSlider.setPageIncrement(2);
- ballYPosSlider.setSelection(18);
- ballYPosSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- ballY = (float) (ballYPosSlider.getSelection() - 18) / 5;
- }
- });
-
- new Label(ballTranslation, SWT.NONE).setText("Z:");
- final Slider ballZPosSlider = new Slider(ballTranslation, SWT.NONE);
- ballZPosSlider.setIncrement(1);
- ballZPosSlider.setMaximum(24);
- ballZPosSlider.setMinimum(0);
- ballZPosSlider.setThumb(1);
- ballZPosSlider.setPageIncrement(2);
- ballZPosSlider.setSelection(4);
- ballZPosSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- ballZ = (float) (ballZPosSlider.getSelection() + 1) / 3;
- }
- });
-
- Group cubeTranslation = new Group(composite, SWT.NONE);
- cubeTranslation.setLayout(new GridLayout(2, false));
- cubeTranslation.setText("Cube Translation");
-
- new Label(cubeTranslation, SWT.NONE).setText("X:");
- final Slider cubeXPosSlider = new Slider(cubeTranslation, SWT.NONE);
- cubeXPosSlider.setIncrement(1);
- cubeXPosSlider.setMaximum(14);
- cubeXPosSlider.setMinimum(0);
- cubeXPosSlider.setThumb(2);
- cubeXPosSlider.setPageIncrement(2);
- cubeXPosSlider.setSelection(11);
- cubeXPosSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- cubeX = (float) (cubeXPosSlider.getSelection() - 6) / 2;
- }
- });
-
- new Label(cubeTranslation, SWT.NONE).setText("Y:");
- final Slider cubeYPosSlider = new Slider(cubeTranslation, SWT.NONE);
- cubeYPosSlider.setIncrement(1);
- cubeYPosSlider.setMaximum(14);
- cubeYPosSlider.setMinimum(0);
- cubeYPosSlider.setThumb(2);
- cubeYPosSlider.setPageIncrement(2);
- cubeYPosSlider.setSelection(2);
- cubeYPosSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- cubeY = (float) (cubeYPosSlider.getSelection() - 6) / 2;
- }
- });
-
- new Label(cubeTranslation, SWT.NONE).setText("Z:");
- final Slider cubeZPosSlider = new Slider(cubeTranslation, SWT.NONE);
- cubeZPosSlider.setIncrement(1);
- cubeZPosSlider.setMaximum(10);
- cubeZPosSlider.setMinimum(1);
- cubeZPosSlider.setThumb(1);
- cubeZPosSlider.setPageIncrement(2);
- cubeZPosSlider.setSelection(2);
- cubeZPosSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- cubeZ = (float) (cubeZPosSlider.getSelection() + 2) / 2;
- }
- });
-
- Group movementGroup = new Group(composite, SWT.NONE);
- movementGroup.setLayout(new GridLayout(2, false));
- movementGroup.setText("Room Rotation");
-
- new Label(movementGroup, SWT.NONE).setText("X:");
- final Slider screenXPosSlider = new Slider(movementGroup, SWT.NONE);
- screenXPosSlider.setIncrement(1);
- screenXPosSlider.setMaximum(42);
- screenXPosSlider.setMinimum(0);
- screenXPosSlider.setThumb(2);
- screenXPosSlider.setPageIncrement(2);
- screenXPosSlider.setSelection(20);
- screenXPosSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xPos = screenXPosSlider.getSelection() - 20;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Y:");
- final Slider screenYPosSlider = new Slider(movementGroup, SWT.NONE);
- screenYPosSlider.setIncrement(1);
- screenYPosSlider.setMaximum(42);
- screenYPosSlider.setMinimum(0);
- screenYPosSlider.setThumb(2);
- screenYPosSlider.setPageIncrement(2);
- screenYPosSlider.setSelection(20);
- screenYPosSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yPos = screenYPosSlider.getSelection() - 20;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Z:");
- final Slider screenZPosSlider = new Slider(movementGroup, SWT.NONE);
- screenZPosSlider.setIncrement(1);
- screenZPosSlider.setMaximum(42);
- screenZPosSlider.setMinimum(0);
- screenZPosSlider.setThumb(2);
- screenZPosSlider.setPageIncrement(2);
- screenZPosSlider.setSelection(20);
- screenZPosSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zPos = screenZPosSlider.getSelection() + 2;
- }
- });
-
- new Label(composite, SWT.NONE).setText("Ball Rotation Speed:");
- final Slider ballRotSlider = new Slider(composite, SWT.NONE);
- ballRotSlider.setIncrement(1);
- ballRotSlider.setMaximum(22);
- ballRotSlider.setMinimum(0);
- ballRotSlider.setThumb(2);
- ballRotSlider.setPageIncrement(2);
- ballRotSlider.setSelection(0);
- ballRotSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- ballRotSpeed = ballRotSlider.getSelection();
- }
- });
- }
-
- /**
- * Draws the mirror
- */
- void createMirror() {
- GL.glNewList(LIST_INDEX_MIRROR, GL.GL_COMPILE);
- GL.glDisable(GL.GL_TEXTURE_2D);
- GL.glColor4f(1.0f, 1.0f, 1.0f, 0.4f);
- GL.glNormal3f(0.0f, 0.0f, 1.0f);
- GL.glBegin(GL.GL_QUADS);
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(-2.0f, 2.0f, 0.0f);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(-2.0f, -2.0f, 0.0f);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(2.0f, -2.0f, 0.0f);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(2.0f, 2.0f, 0.0f);
- GL.glEnd();
- GL.glEnable(GL.GL_TEXTURE_2D);
- GL.glEndList();
- }
-
- /**
- * Draws the room
- */
- void createRoom() {
- GL.glNewList(LIST_INDEX_ROOM, GL.GL_COMPILE);
- GL.glDisable(GL.GL_TEXTURE_2D);
- GL.glBegin(GL.GL_QUADS);
- // left wall
- GL.glNormal3f(1.0f, 0.0f, 0.0f);
- GL.glVertex3f(-4.0f, 4.0f, 0.0f);
- GL.glVertex3f(-4.0f, 4.0f, 6.0f);
- GL.glVertex3f(-4.0f, -4.0f, 6.0f);
- GL.glVertex3f(-4.0f, -4.0f, 0.0f);
- // right wall
- GL.glNormal3f(-1.0f, 0.0f, 01.0f);
- GL.glVertex3f(4.0f, 4.0f, 0.0f);
- GL.glVertex3f(4.0f, 4.0f, 6.0f);
- GL.glVertex3f(4.0f, -4.0f, 6.0f);
- GL.glVertex3f(4.0f, -4.0f, 0.0f);
- // ceiling
- GL.glNormal3f(0.0f, -1.0f, 0.0f);
- GL.glColor3f(0.9f, 0.9f, 0.9f);
- GL.glVertex3f(-4.0f, 4.0f, 0.0f);
- GL.glVertex3f(-4.0f, 4.0f, 6.0f);
- GL.glVertex3f(4.0f, 4.0f, 6.0f);
- GL.glVertex3f(4.0f, 4.0f, 0.0f);
- GL.glEnd();
- // back wall with triangle strip to illiminate t-intersections
- GL.glBegin(GL.GL_TRIANGLE_STRIP);
- GL.glNormal3f(0.0f, 0.0f, 1.0f);
- GL.glVertex3d(-4.0, -4.0, 0.0);
- GL.glVertex3d(-2.2, -4.0, 0.0);
- GL.glVertex3d(-2.2, -2.2, 0.0);
- GL.glVertex3d(2.2, -4.0, 0.0);
- GL.glVertex3d(2.2, -2.2, 0.0);
- GL.glVertex3d(4.0, -4.0, 0.0);
- GL.glVertex3d(2.2, -2.2, 0.0);
- GL.glVertex3d(4.0, -2.2, 0.0);
- GL.glVertex3d(2.2, 2.2, 0.0);
- GL.glVertex3d(4.0, 2.2, 0.0);
- GL.glVertex3d(2.2, 2.2, 0.0);
- GL.glVertex3d(4.0, 4.0, 0.0);
- GL.glVertex3d(2.2, 2.2, 0.0);
- GL.glVertex3d(2.2, 4.0, 0.0);
- GL.glVertex3d(-2.2, 2.2, 0.0);
- GL.glVertex3d(-2.2, 4.0, 0.0);
- GL.glVertex3d(-4.0, 4.0, 0.0);
- GL.glVertex3d(-2.2, 2.2, 0.0);
- GL.glVertex3d(-4.0, 2.2, 0.0);
- GL.glVertex3d(-2.2, -2.2, 0.0);
- GL.glVertex3d(-4.0, -2.2, 0.0);
- GL.glVertex3d(-4.0, -4.0, 0.0);
- GL.glEnd();
- GL.glEnable(GL.GL_TEXTURE_2D);
- // draw floor
- GL.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glBindTexture(GL.GL_TEXTURE_2D, textures[TEXTURE_INDEX_FLOOR]);
- GL.glNormal3f(0.0f, 1.0f, 0.0f);
- GL.glBegin(GL.GL_QUADS);
- // floor
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(-4.0f, -4.0f, 6.0f);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(-4.0f, -4.0f, 0.0f);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(4.0f, -4.0f, 0.0f);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(4.0f, -4.0f, 6.0f);
- GL.glEnd();
- // draw mirror frame
- GL.glBindTexture(GL.GL_TEXTURE_2D, textures[TEXTURE_INDEX_BOX]);
- GL.glNormal3f(0.0f, 0.0f, 1.0f);
- GL.glBegin(GL.GL_QUADS);
- // top
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(-2.2f, 2.0f, 0.0f);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(2.2f, 2.0f, 0.0f);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(2.2f, 2.2f, 0.0f);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(-2.2f, 2.2f, 0.0f);
- // right
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(2.0f, 2.0f, 0.0f);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(2.0f, -2.0f, 0.0f);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(2.2f, -2.0f, 0.0f);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(2.2f, 2.0f, 0.0f);
- // bottom
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(-2.2f, -2.0f, 0.0f);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(2.2f, -2.0f, 0.0f);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(2.2f, -2.2f, 0.0f);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(-2.2f, -2.2f, 0.0f);
- // left
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(-2.0f, 2.0f, 0.0f);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(-2.0f, -2.0f, 0.0f);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(-2.2f, -2.0f, 0.0f);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(-2.2f, 2.0f, 0.0f);
- GL.glEnd();
- GL.glEndList();
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GLU.gluDeleteQuadric(quadratic);
- GL.glDeleteLists(LIST_INDEX_BALL, 1);
- GL.glDeleteLists(LIST_INDEX_BOX, 1);
- GL.glDeleteLists(LIST_INDEX_MIRROR, 1);
- GL.glDeleteLists(LIST_INDEX_ROOM, 1);
- }
-
- /**
- * @see OpenGLTab#getSleepLength()
- */
- int getSleepLength() {
- return SLEEP_LENGTH;
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Reflection";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- if (!hasStencilSupport()) return;
-
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glClearDepth(1.0f);
- GL.glClearStencil(0);
- GL.glGenTextures(IMAGES.length, textures);
- for (int i = 0; i < IMAGES.length; i++) {
- loadTexture(getContext(), IMAGES[i], i, textures);
- }
-
- GL.glShadeModel(GL.GL_SMOOTH);
- quadratic = GLU.gluNewQuadric();
- GLU.gluQuadricNormals(quadratic, GL.GL_SMOOTH);
- GLU.gluQuadricTexture(quadratic, true);
- GL.glDepthFunc(GL.GL_LEQUAL);
- GL.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);
- GL.glHint(GL.GL_PERSPECTIVE_CORRECTION_HINT, GL.GL_NICEST);
-
- // set up the lights
- float[] LightAmb = { 0.7f, 0.7f, 0.7f, 1.0f };
- float[] LightDif = { 1.0f, 1.0f, 1.0f, 1.0f };
- float[] lightsAmbient = { 0.5f, 0.5f, 0.5f, 1.0f };
- GL.glLightModelfv(GL.GL_LIGHT_MODEL_AMBIENT, lightsAmbient);
- GL.glLightfv(GL.GL_LIGHT0, GL.GL_AMBIENT, LightAmb);
- GL.glLightfv(GL.GL_LIGHT0, GL.GL_DIFFUSE, LightDif);
-
- GL.glEnable(GL.GL_LIGHT0);
- GL.glEnable(GL.GL_LIGHTING);
- GL.glEnable(GL.GL_LINE_SMOOTH);
- GL.glEnable(GL.GL_DEPTH_TEST);
- GL.glEnable(GL.GL_TEXTURE_2D);
- GL.glEnable(GL.GL_BLEND);
-
- createRoom();
- createBall();
- createBox();
- createMirror();
- }
-
- /**
- * @see OpenGLTab#isStencilSupportNeeded
- */
- boolean isStencilSupportNeeded() {
- return true;
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(
- GL.GL_COLOR_BUFFER_BIT
- | GL.GL_DEPTH_BUFFER_BIT
- | GL.GL_STENCIL_BUFFER_BIT);
-
- GL.glLoadIdentity();
- GLU.gluLookAt(xPos, yPos, zPos, 0, 0, 0, 0, 1, 0);
- // clip plane equation
- double clipEquation[] = { 0.0f, 0.0f, -1.0f, 0.0f };
- float[] LightPos = { 0.0f, 2.0f, 7.0f, 1.0f };
- GL.glColorMask(false, false, false, false);
- // enable stencil buffer for "marking" the mirror
- GL.glEnable(GL.GL_STENCIL_TEST);
- // set the stencil buffer to 1 where a polygon is drawn
- GL.glStencilFunc(GL.GL_ALWAYS, 1, 1);
- GL.glStencilOp(GL.GL_KEEP, GL.GL_KEEP, GL.GL_REPLACE);
- GL.glDisable(GL.GL_DEPTH_TEST);
- GL.glCallList(LIST_INDEX_MIRROR);
- GL.glEnable(GL.GL_DEPTH_TEST);
- GL.glColorMask(true, true, true, true);
- GL.glStencilFunc(GL.GL_EQUAL, 1, 1);
- // draw where the stencil is 1
- GL.glStencilOp(GL.GL_KEEP, GL.GL_KEEP, GL.GL_KEEP);
- GL.glEnable(GL.GL_CLIP_PLANE0);
- GL.glClipPlane(GL.GL_CLIP_PLANE0, clipEquation);
- GL.glPushMatrix();
- GL.glScalef(1.0f, 1.0f, -1.0f);
- GL.glLightfv(GL.GL_LIGHT0, GL.GL_POSITION, LightPos);
- GL.glCallList(LIST_INDEX_ROOM); // reflection
- GL.glPushMatrix();
- GL.glTranslatef(cubeX, cubeY, cubeZ);
- GL.glCallList(LIST_INDEX_BOX); // reflection
- GL.glPopMatrix();
- GL.glTranslatef(ballX, ballY, ballZ);
- GL.glRotatef(ballRot, 1.0f, 0.0f, 0.0f);
- GL.glCallList(LIST_INDEX_BALL); // reflection
- GL.glPopMatrix();
- GL.glDisable(GL.GL_CLIP_PLANE0);
- GL.glDisable(GL.GL_STENCIL_TEST);
- GL.glLightfv(GL.GL_LIGHT0, GL.GL_POSITION, LightPos);
- GL.glEnable(GL.GL_BLEND);
- GL.glDisable(GL.GL_LIGHTING);
- GL.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);
- GL.glCallList(LIST_INDEX_MIRROR);
- GL.glEnable(GL.GL_LIGHTING);
- GL.glDisable(GL.GL_BLEND);
- GL.glCallList(LIST_INDEX_ROOM);
- GL.glPushMatrix();
- GL.glTranslatef(cubeX, cubeY, cubeZ);
- GL.glCallList(LIST_INDEX_BOX);
- GL.glPopMatrix();
- GL.glTranslatef(ballX, ballY, ballZ);
- GL.glRotatef(ballRot, 1.0f, 0.0f, 0.0f);
- GL.glCallList(LIST_INDEX_BALL);
- ballRot += ballRotSpeed;
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/SelectionTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/SelectionTab.java
deleted file mode 100644
index e4c8fa8859..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/SelectionTab.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.opengl.*;
-
-abstract class SelectionTab extends OpenGLTab {
- private final static int BUFFER_LENGTH = 64;
-
- /**
- * Sets the selected object. Subclasses must override this method.
- */
- abstract void processPick(int[] pSelectBuff, int hits);
-
- /**
- * Invoke processPick for the object at the specified coordinate.
- */
- int processSelection(int xPos, int yPos, int pointSize) {
- int[] selectBuffer = new int[BUFFER_LENGTH];
- int[] viewport = new int[4];
- // new fix for sun jre
- int ptr = getContext().getSelectBufferPtr(selectBuffer);
-
- GL.glSelectBuffer(BUFFER_LENGTH, ptr);
- GL.glGetIntegerv(GL.GL_VIEWPORT, viewport);
- GL.glRenderMode(GL.GL_SELECT);
- GL.glMatrixMode(GL.GL_PROJECTION);
- GL.glPushMatrix();
- GL.glLoadIdentity();
- GLU.gluPickMatrix(xPos, yPos, pointSize, pointSize, viewport);
- Rectangle rect = getGlCanvas().getClientArea();
- float fAspect = (float) rect.width / (float) rect.height;
- GLU.gluPerspective(45.0f, fAspect, 0.5f, 600.0f);
- GL.glMatrixMode(GL.GL_MODELVIEW);
- GL.glInitNames();
- render();
- int hits = GL.glRenderMode(GL.GL_RENDER);
- // new fix for sun jre
- // must be called after render mode is switched
- getContext().getSelectBuffer(ptr, selectBuffer);
- if (hits != 0) processPick(selectBuffer, hits);
- GL.glMatrixMode(GL.GL_PROJECTION);
- GL.glPopMatrix();
- GL.glMatrixMode(GL.GL_MODELVIEW);
- return hits;
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/StencilTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/StencilTab.java
deleted file mode 100644
index be5f4a4063..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/StencilTab.java
+++ /dev/null
@@ -1,230 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class StencilTab extends OpenGLTab {
- private abstract class Shape {
- private String name;
- /**
- * Constructor
- *
- * @param name the shape's name
- */
- Shape(String name) {
- super();
- this.name = name;
- }
- /**
- * Draws this shape.
- */
- abstract void draw();
- /**
- * Returns the name.
- *
- * @return String
- */
- String getName() {
- return name;
- }
- }
-
- private Shape[] shapes = new Shape[5];
- private Shape currentShape;
- private float xPos = 0, yPos = 0;
- private float size = 0.45f;
- private int texture;
- private int quadratic;
- private final static String IMAGE = "images/splash.bmp";
- private final static int SLEEP_LENGTH = 50;
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(Composite composite) {
- Composite controls = new Composite(composite, SWT.NONE);
- GridLayout layout = new GridLayout(2, false);
- layout.marginHeight = 0;
- layout.marginWidth = 0;
- controls.setLayout(layout);
- new Label(controls, SWT.NONE).setText("Object:");
- final Combo shapeCombo = new Combo(controls, SWT.READ_ONLY);
- for (int i = 0; i < shapes.length; i++) {
- shapeCombo.add(shapes[i].getName());
- }
- shapeCombo.select(0);
- shapeCombo.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- currentShape = shapes[shapeCombo.getSelectionIndex()];
- }
- });
-
- new Label(composite, SWT.NONE).setText("Size:");
- final Slider sizeSlider = new Slider(composite, SWT.HORIZONTAL);
- sizeSlider.setValues(0, 15, 75, 5, 5, 10);
- sizeSlider.setSelection(45);
- sizeSlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- size = ((float) sizeSlider.getSelection()) / 100;
- }
- });
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GLU.gluDeleteQuadric(quadratic);
- }
-
- /**
- * @see OpenGLTab#getSleepLength()
- */
- int getSleepLength() {
- return SLEEP_LENGTH;
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Stencil";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- if (!hasStencilSupport()) return;
-
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glClearDepth(1.0f);
- int[] textureOut = new int[1];
- GL.glGenTextures(1, textureOut);
- loadTexture(getContext(), IMAGE, 0, textureOut);
- this.texture = textureOut[0];
- quadratic = GLU.gluNewQuadric();
- GLU.gluQuadricNormals(quadratic, GLU.GLU_SMOOTH);
- GL.glDepthFunc(GL.GL_LEQUAL);
- GL.glEnable(GL.GL_STENCIL_TEST);
- GL.glEnable(GL.GL_TEXTURE_2D);
- GL.glEnable(GL.GL_DEPTH_TEST);
- // create shapes
- shapes[0] = new Shape("Triangle") {
- public void draw() {
- GL.glBegin(GL.GL_TRIANGLES);
- GL.glVertex3f(0.0f, size, 0.0f);
- GL.glVertex3f(-size, -size, 0.0f);
- GL.glVertex3f(size, -size, 0.0f);
- GL.glEnd();
- }
- };
-
- shapes[1] = new Shape("Disk") {
- public void draw() {
- GLU.gluDisk(quadratic, 0.0f, size, 32, 32);
- }
- };
-
- shapes[2] = new Shape("Square") {
- public void draw() {
- GL.glRectf(-size, -size, size, size);
- }
- };
-
- shapes[3] = new Shape("Hour Glass") {
- public void draw() {
- GL.glBegin(GL.GL_TRIANGLES);
- GL.glVertex3f(0.0f, size, 0.0f);
- GL.glVertex3f(-size, -size, 0.0f);
- GL.glVertex3f(size, -size, 0.0f);
- GL.glVertex3f(0.0f, -size, 0.0f);
- GL.glVertex3f(size, size, 0.0f);
- GL.glVertex3f(-size, size, 0.0f);
- GL.glEnd();
- }
- };
-
- shapes[4] = new Shape("Star") {
- public void draw() {
- GL.glBegin(GL.GL_TRIANGLES);
- GL.glVertex3f(-0.3f, 0, 0.0f);
- GL.glVertex3f(2 * size - 0.3f, 0, 0.0f);
- GL.glVertex3f(size - 0.3f, 2 * size * 0.85f, 0.0f);
- GL.glVertex3f(2 * size - 0.3f, size, 0.0f);
- GL.glVertex3f(0 - 0.3f, size, 0.0f);
- GL.glVertex3f(size - 0.3f, -size * 0.85f, 0.0f);
- GL.glEnd();
- }
- };
-
- currentShape = shapes[0];
- }
-
- /**
- * @see OpenGLTab#isStencilSupportNeeded
- */
- boolean isStencilSupportNeeded() {
- return true;
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(
- GL.GL_COLOR_BUFFER_BIT
- | GL.GL_DEPTH_BUFFER_BIT
- | GL.GL_STENCIL_BUFFER_BIT);
-
- GL.glLoadIdentity();
- GL.glTranslatef(
- (float) (1.5 * Math.cos(xPos)),
- (float) (1.0 * Math.sin(yPos)),
- -3.0f);
- xPos += 0.15f;
- yPos += 0.3f;
-
- GL.glColorMask(false, false, false, false);
- GL.glStencilFunc(GL.GL_ALWAYS, 1, 1);
- GL.glStencilOp(GL.GL_KEEP, GL.GL_KEEP, GL.GL_REPLACE);
- GL.glDisable(GL.GL_DEPTH_TEST);
- GL.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
-
- currentShape.draw();
-
- GL.glEnable(GL.GL_DEPTH_TEST);
- GL.glColorMask(true, true, true, true);
- GL.glStencilFunc(GL.GL_EQUAL, 1, 1);
- GL.glStencilOp(GL.GL_KEEP, GL.GL_KEEP, GL.GL_KEEP);
-
- GL.glLoadIdentity();
- // load the texture behind the stencil object
- GL.glTranslatef(0.0f, 0.0f, -3.1f);
- GL.glBindTexture(GL.GL_TEXTURE_2D, texture);
- GL.glBegin(GL.GL_QUADS);
- GL.glTexCoord2f(0.0f, 0.0f);
- GL.glVertex3f(-0.85f, -0.85f, 1.0f);
- GL.glTexCoord2f(1.0f, 0.0f);
- GL.glVertex3f(0.85f, -0.85f, 1.0f);
- GL.glTexCoord2f(1.0f, 1.0f);
- GL.glVertex3f(0.85f, 0.85f, 1.0f);
- GL.glTexCoord2f(0.0f, 1.0f);
- GL.glVertex3f(-0.85f, 0.85f, 1.0f);
- GL.glEnd();
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/TextureTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/TextureTab.java
deleted file mode 100644
index 1375b6fdca..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/TextureTab.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class TextureTab extends OpenGLTab {
- private float yrot = 0, zrot = 0;
- private float xPos = 0.0f, yPos = 0.0f, zPos = -20;
- private int texture = 0;
- private float[][][] points = new float[45][45][3];
- private final static String IMAGE = "images/splash.bmp";
- private final static int SLEEP_LENGTH = 50;
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(Composite composite) {
- Group movementGroup = new Group(composite, SWT.NONE);
- movementGroup.setText("Translation");
- movementGroup.setLayout(new GridLayout(2, false));
-
- new Label(movementGroup, SWT.NONE).setText("X:");
- final Slider xMove = new Slider(movementGroup, SWT.NONE);
- xMove.setIncrement(1);
- xMove.setMaximum(12);
- xMove.setMinimum(0);
- xMove.setThumb(2);
- xMove.setPageIncrement(2);
- xMove.setSelection(5);
- xMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- xPos = xMove.getSelection() - 5;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Y:");
- final Slider yMove = new Slider(movementGroup, SWT.NONE);
- yMove.setIncrement(1);
- yMove.setMaximum(12);
- yMove.setMinimum(0);
- yMove.setThumb(2);
- yMove.setPageIncrement(2);
- yMove.setSelection(5);
- yMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- yPos = yMove.getSelection() - 5;
- }
- });
-
- new Label(movementGroup, SWT.NONE).setText("Z:");
- final Slider zMove = new Slider(movementGroup, SWT.NONE);
- zMove.setIncrement(1);
- zMove.setMaximum(24);
- zMove.setMinimum(0);
- zMove.setThumb(4);
- zMove.setPageIncrement(2);
- zMove.setSelection(10);
- zMove.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- zPos = zMove.getSelection() - 30;
- }
- });
- }
-
- /**
- * @see OpenGLTab#getSleepLength()
- */
- int getSleepLength() {
- return SLEEP_LENGTH;
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Texture";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- //GL.glClearColor(0.0f, 0.0f, 0.3f, 1.0f);
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glClearDepth(1.0f);
- int[] textureOut = new int[1];
- GL.glGenTextures(1, textureOut);
- loadTexture(getContext(), IMAGE, 0, textureOut);
- texture = textureOut[0];
- GL.glDepthFunc(GL.GL_LEQUAL);
- GL.glPolygonMode(GL.GL_BACK, GL.GL_FILL);
- GL.glPolygonMode(GL.GL_FRONT, GL.GL_LINE);
- GL.glEnable(GL.GL_LIST_MODE);
- GL.glEnable(GL.GL_TEXTURE_2D);
- GL.glEnable(GL.GL_DEPTH_TEST);
- // initialize points
- for (int x = 0; x < 45; x++) {
- for (int y = 0; y < 45; y++) {
- points[x][y][0] = x / 5.0f - 4.5f;
- points[x][y][1] = y / 5.0f - 4.5f;
- points[x][y][2] =
- (float) Math.sin(
- (((x / 5.0f) * 40.0f) / 360.0f) * Math.PI * 2);
- }
- }
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- GL.glClear(
- GL.GL_COLOR_BUFFER_BIT
- | GL.GL_DEPTH_BUFFER_BIT
- | GL.GL_STENCIL_BUFFER_BIT);
- GL.glLoadIdentity();
- GL.glTranslatef(xPos, yPos, zPos);
- GL.glRotatef(yrot, 0.0f, 1.0f, 0.0f);
- GL.glRotatef(zrot, 0.0f, 0.0f, 1.0f);
- GL.glBindTexture(GL.GL_TEXTURE_2D, texture);
-
- GL.glBegin(GL.GL_QUADS);
- for (int x = 0; x < 44; x++) {
- for (int y = 0; y < 44; y++) {
- float fx = x / 44.0f;
- float fy = y / 44.0f;
- float fxb = (x + 1) / 44.0f;
- float fyb = (y + 1) / 44.0f;
- GL.glTexCoord2f(fx, fy);
- GL.glVertex3f(
- points[x][y][0],
- points[x][y][1],
- points[x][y][2]);
- GL.glTexCoord2f(fx, fyb);
- GL.glVertex3f(
- points[x][y + 1][0],
- points[x][y + 1][1],
- points[x][y + 1][2]);
- GL.glTexCoord2f(fxb, fyb);
- GL.glVertex3f(
- points[x + 1][y + 1][0],
- points[x + 1][y + 1][1],
- points[x + 1][y + 1][2]);
- GL.glTexCoord2f(fxb, fy);
- GL.glVertex3f(
- points[x + 1][y][0],
- points[x + 1][y][1],
- points[x + 1][y][2]);
- }
- }
- GL.glEnd();
- // perform wave motion
- for (int y = 0; y < 45; y++) {
- float hold = points[0][y][2];
- for (int x = 0; x < 44; x++) {
- points[x][y][2] = points[x + 1][y][2];
- }
- points[44][y][2] = hold;
- }
- yrot += 0.9f;
- zrot += 0.6f;
- }
-} \ No newline at end of file
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/TransparencyTab.java b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/TransparencyTab.java
deleted file mode 100644
index 11f39fbe63..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/TransparencyTab.java
+++ /dev/null
@@ -1,197 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2003 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.swt.opengl.examples;
-
-
-import org.eclipse.swt.*;
-import org.eclipse.swt.events.*;
-import org.eclipse.swt.graphics.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.opengl.*;
-import org.eclipse.swt.widgets.*;
-
-class TransparencyTab extends SelectionTab {
- private float[] alphas = { 0.3f, 0.5f, 1.0f };
- private int quadratic;
- private int currentSelection = 1;
- private final static int
- INDEX_TRIANGLE = 1, INDEX_SPHERE = 2, INDEX_DISK = 3;
- private final static String[] OBJECTS = {"Triangle", "Sphere", "Disk" };
-
- /**
- * @see OpenGLTab#createControls(Composite)
- */
- void createControls(Composite composite) {
- Composite objectGroup = new Composite(composite, SWT.NONE);
- GridLayout layout = new GridLayout(2, false);
- layout.marginHeight = 0;
- layout.marginWidth = 0;
- objectGroup.setLayout(layout);
- objectGroup.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL));
-
- new Label(objectGroup, SWT.NONE).setText("Object:");
- final Combo objectCombo = new Combo(objectGroup, SWT.READ_ONLY);
- GridData data = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
- data.grabExcessHorizontalSpace = true;
- objectCombo.setLayoutData(data);
- objectCombo.setItems(OBJECTS);
- objectCombo.select(0);
-
- new Label(composite, SWT.NONE).setText("Transparency:");
- final Slider transparencySlider = new Slider(composite, SWT.HORIZONTAL);
- transparencySlider.setValues(0, 0, 11, 1, 1, 2);
- transparencySlider.setSelection(7);
- transparencySlider.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- float alpha = transparencySlider.getSelection();
- alpha = 1.0f - alpha / 10;
- alphas[currentSelection - 1] = alpha;
- }
- });
- objectCombo.addListener(SWT.Selection, new Listener() {
- public void handleEvent(Event e) {
- currentSelection = objectCombo.getSelectionIndex() + 1;
- transparencySlider.setSelection(
- (int) ((1.0f - alphas[currentSelection - 1]) * 10));
- }
- });
-
- final Canvas glCanvas = getGlCanvas();
- glCanvas.addMouseListener(new MouseAdapter() {
- public void mouseUp(MouseEvent e) {
- Rectangle rect = glCanvas.getClientArea();
- e.y = rect.height - e.y;
- if (e.button == 1) {
- processSelection(e.x, e.y, 2);
- transparencySlider.setSelection(
- (int) ((1.0f - alphas[currentSelection - 1]) * 10));
- objectCombo.select(currentSelection - 1);
- }
- }
- });
- }
-
- /**
- * @see OpenGLTab#dispose()
- */
- void dispose() {
- super.dispose();
- GLU.gluDeleteQuadric(quadratic);
- GL.glDeleteLists(INDEX_DISK, 1);
- GL.glDeleteLists(INDEX_SPHERE, 1);
- GL.glDeleteLists(INDEX_TRIANGLE, 1);
- }
-
- /**
- * @see OpenGLTab#getTabText()
- */
- String getTabText() {
- return "Transparency";
- }
-
- /**
- * @see OpenGLTab#init()
- */
- void init() {
- GL.glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
- GL.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA);
- quadratic = GLU.gluNewQuadric();
- GLU.gluQuadricNormals(quadratic, GLU.GLU_SMOOTH);
- GL.glEnable(GL.GL_CULL_FACE);
- GL.glEnable(GL.GL_DEPTH_TEST);
- GL.glEnable(GL.GL_BLEND);
- // create display lists
- GL.glNewList(INDEX_SPHERE, GL.GL_COMPILE);
- GLU.gluQuadricDrawStyle(quadratic, GLU.GLU_FILL);
- GLU.gluSphere(quadratic, 1.5, 32, 32);
- GL.glEndList();
- GL.glNewList(INDEX_DISK, GL.GL_COMPILE);
- GLU.gluQuadricDrawStyle(quadratic, GLU.GLU_FILL);
- GLU.gluDisk(quadratic, 1.0, 3, 32, 32);
- GL.glEndList();
- GL.glNewList(INDEX_TRIANGLE, GL.GL_COMPILE);
- GL.glBegin(GL.GL_TRIANGLES);
- GL.glVertex3f(0.0f, 2.0f, 0.0f);
- GL.glVertex3f(-2.0f, -2.0f, 2.0f);
- GL.glVertex3f(2.0f, -2.0f, 2.0f);
- GL.glEnd();
- GL.glEndList();
- }
-
- /**
- * @see SelectionTab.processPick (int[], int)
- */
- void processPick(int[] pSelectBuff, int hits) {
- int count, zDepth;
- int tempSelection = pSelectBuff[3];
- zDepth = pSelectBuff[2];
- // pick object with largest z value
- for (int i = 4; i <= 4 * (hits - 1); i = i + 4) {
- if (zDepth > pSelectBuff[i + 2]) {
- zDepth = pSelectBuff[i + 2];
- tempSelection = pSelectBuff[i + 3];
- }
- }
- if (tempSelection > 0) currentSelection = tempSelection;
- }
-
- /**
- * @see OpenGLTab#renderScene()
- */
- void renderScene() {
- // draw items with transparent qualities in reverse Z order
- GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
- GL.glLoadIdentity();
- GL.glTranslatef(0.0f, 0.0f, -14.0f);
- GL.glPushName(0);
-
- // draw disk
- GL.glPushMatrix();
- GL.glTranslatef(-1.0f, 0.0f, 1.0f);
- GL.glColor4f(0.0f, 1.0f, 0.0f, alphas[2]);
- GL.glLoadName(INDEX_DISK);
- GL.glCallList(INDEX_DISK);
- if (currentSelection == INDEX_DISK) {
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GLU.gluQuadricDrawStyle(quadratic, GLU.GLU_LINE);
- GLU.gluDisk(quadratic, 0.98, 3.02, 32, 32);
- }
- GL.glPopMatrix();
-
- // draw triangle
- GL.glTranslatef(0.0f, 0.0f, +3.0f);
- GL.glLoadName(INDEX_TRIANGLE);
- GL.glColor4f(1.0f, 0.0f, 0.0f, alphas[0]);
- GL.glCallList(INDEX_TRIANGLE);
- GL.glPointSize(5.0f);
- if (currentSelection == INDEX_TRIANGLE) {
- GL.glBegin(GL.GL_POINTS);
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GL.glVertex3f(0.0f, 2.0f, 0.0f);
- GL.glVertex3f(-2.0f, -2.0f, 2.0f);
- GL.glVertex3f(2.0f, -2.0f, 2.0f);
- GL.glEnd();
- }
-
- // draw sphere
- GL.glPushMatrix();
- GL.glTranslatef(1.0f, 0.0f, +3.0f);
- GL.glColor4f(0.0f, 0.0f, 1.0f, alphas[1]);
- GL.glLoadName(INDEX_SPHERE);
- GL.glCallList(INDEX_SPHERE);
- if (currentSelection == INDEX_SPHERE) {
- GL.glColor3f(1.0f, 0.0f, 0.0f);
- GLU.gluQuadricDrawStyle(quadratic, GLU.GLU_LINE);
- GLU.gluSphere(quadratic, 1.51, 8, 8);
- }
- GL.glPopMatrix();
- }
-}
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Ball.jpg b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Ball.jpg
deleted file mode 100644
index 6890d26807..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Ball.jpg
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Box.bmp b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Box.bmp
deleted file mode 100644
index 5eef6630d3..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Box.bmp
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Floor.jpg b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Floor.jpg
deleted file mode 100644
index 4934c9c82a..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/Floor.jpg
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/splash.bmp b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/splash.bmp
deleted file mode 100644
index 6ec75da1a8..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/splash.bmp
+++ /dev/null
Binary files differ
diff --git a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/untitled.jpg b/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/untitled.jpg
deleted file mode 100644
index f5d6aa11d5..0000000000
--- a/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/images/untitled.jpg
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllBrowserTests.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllBrowserTests.java
index bdd537fe7b..022d539c61 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllBrowserTests.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllBrowserTests.java
@@ -24,8 +24,8 @@ public static void main(String[] args) {
}
public static Test suite() {
TestSuite suite = new TestSuite();
-
- suite.addTest(Test_org_eclipse_swt_browser_Browser.suite());
+//@todo regression caused by Display/Control change on 19/04/2004
+// suite.addTest(Test_org_eclipse_swt_browser_Browser.suite());
suite.addTest(Test_org_eclipse_swt_browser_CloseWindowListener.suite());
suite.addTest(Test_org_eclipse_swt_browser_LocationAdapter.suite());
suite.addTest(Test_org_eclipse_swt_browser_LocationListener.suite());