diff options
author | cvs2svn | 2002-02-01 19:53:33 +0000 |
---|---|---|
committer | cvs2svn | 2002-02-01 19:53:33 +0000 |
commit | 6ba834b4e13ccc5ab55f15fe6f8c23579b789b4d (patch) | |
tree | b9d72d9e0c570e27fa70a8848949ba66f279d0ba /bundles/org.eclipse.swt/Eclipse SWT PI/gtk | |
parent | 794bcaa6a181ec00bb5a00a3dc2039b598f2c99c (diff) | |
download | eclipse.platform.swt-Bug9091-MULTI-margin_scroll_experiment.tar.gz eclipse.platform.swt-Bug9091-MULTI-margin_scroll_experiment.tar.xz eclipse.platform.swt-Bug9091-MULTI-margin_scroll_experiment.zip |
This commit was manufactured by cvs2svn to create branch 'Bug9091-MULTI-Bug9091-MULTI-margin_scroll_experiment
margin_scroll_experiment'.
Sprout from master 2002-02-01 19:53:32 UTC Knut Radloff <knutr> '8273'
Delete:
bundles/org.eclipse.swt/.classpath_gtk
bundles/org.eclipse.swt/.classpath_gtk_j2me
bundles/org.eclipse.swt/.classpath_motif
bundles/org.eclipse.swt/.classpath_motif_j2me
bundles/org.eclipse.swt/.classpath_photon
bundles/org.eclipse.swt/.classpath_photon_j2me
bundles/org.eclipse.swt/.classpath_win32
bundles/org.eclipse.swt/.classpath_win32_j2me
bundles/org.eclipse.swt/.cvsignore
bundles/org.eclipse.swt/.vcm_meta
bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/internal/awt/win32/SWT_AWT.java
bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/internal/awt/win32/package.html
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/AnimatedProgress.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentEvent.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BidiSegmentListener.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BusyIndicator.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CLabel.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderAdapter.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderEvent.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderListener.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ControlEditor.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultContent.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultLineStyler.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ExtendedModifyEvent.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ExtendedModifyListener.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineBackgroundEvent.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineBackgroundListener.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineStyleEvent.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineStyleListener.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/PopupList.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ST.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/SashForm.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ScrolledComposite.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StackLayout.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextBidi.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextContent.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextEvent.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextListener.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextPrinter.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableEditor.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableTree.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableTreeEditor.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableTreeItem.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangeListener.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangedEvent.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TextChangingEvent.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TreeEditor.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/VerifyKeyListener.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ViewForm.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/package.html
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DND.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DNDEvent.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DNDListener.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceAdapter.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceEvent.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceListener.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetAdapter.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEvent.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetListener.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/NoDragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/package.html
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/ByteArrayTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DropTarget.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/FileTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/RTFTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TextTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Transfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TransferData.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk1x/org/eclipse/swt/dnd/ByteArrayTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk1x/org/eclipse/swt/dnd/Clipboard.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk1x/org/eclipse/swt/dnd/DragSource.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk1x/org/eclipse/swt/dnd/DropTarget.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk1x/org/eclipse/swt/dnd/FileTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk1x/org/eclipse/swt/dnd/RTFTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk1x/org/eclipse/swt/dnd/TableDragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk1x/org/eclipse/swt/dnd/TextTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk1x/org/eclipse/swt/dnd/Transfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk1x/org/eclipse/swt/dnd/TransferData.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk1x/org/eclipse/swt/dnd/TreeDragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/ByteArrayTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/Clipboard.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DragSource.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DropTarget.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/FileTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/RTFTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/TableDragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/TextTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/Transfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/TransferData.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/TreeDragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/ByteArrayTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/Clipboard.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/DragSource.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/DropTarget.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/FileTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/RTFTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/TableDragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/TextTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/Transfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/TransferData.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/TreeDragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/ByteArrayTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/DragSource.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/DropTarget.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/FileTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/OleEnumFORMATETC.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/RTFTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TableDragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TextTransfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Transfer.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TransferData.java
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TreeDragUnderEffect.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/internal/ole/win32/COMObject.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OLE.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleAutomation.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleEvent.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleEventSink.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleEventTable.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFile.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFunctionDescription.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleListener.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleParameterDescription.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OlePropertyChangeSink.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OlePropertyDescription.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/Variant.java
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/package.html
bundles/org.eclipse.swt/Eclipse SWT PI/common_j2me/org/eclipse/swt/internal/Library.java
bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/about.html
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/cpl-v05.html
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/lgpl-v21.txt
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.csh
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_gtk.mak
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/pixbuf.c
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/structs.c
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/structs.h
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/swt.c
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDKPIXBUF.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkColor.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventButton.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventExpose.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventKey.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventMotion.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkFont.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkGCValues.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkRectangle.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkVisual.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkAdjustment.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkAllocation.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkBin.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkBox.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCList.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCListColumn.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCListRow.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCTree.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCTreeRow.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCheckMenuItem.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkColorSelectionDialog.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCombo.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkContainer.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkDialog.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkEditable.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFileSelection.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFontSelectionDialog.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFrame.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkHBox.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkItem.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkMenuItem.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkObject.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkRequisition.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkStyle.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkStyleClass.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkText.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkWidget.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkWindow.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/about.html
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/cpl-v05.html
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/lgpl-v21.txt
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/library/build.csh
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/library/make_gtk.mak
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/library/pixbuf.c
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/library/structs.c
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/library/structs.h
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/library/swt.c
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GDKPIXBUF.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkColor.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventButton.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventExpose.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventKey.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkEventMotion.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkFont.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkGCValues.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkRectangle.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GdkVisual.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkAdjustment.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkAllocation.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkBin.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkBox.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCList.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCListColumn.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCListRow.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCTree.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCTreeRow.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCheckMenuItem.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkColorSelectionDialog.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkCombo.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkContainer.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkDialog.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkEditable.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFileSelection.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFontSelectionDialog.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkFrame.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkHBox.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkItem.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkMenuItem.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkObject.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkRequisition.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkStyle.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkStyleClass.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkText.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkWidget.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/GtkWindow.java
bundles/org.eclipse.swt/Eclipse SWT PI/gtk1x/org/eclipse/swt/internal/gtk/OS.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/build.csh
bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/cde.c
bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/gnome.c
bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/kde.cc
bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/make_aix.mak
bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/make_linux.mak
bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/make_solaris.mak
bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/structs.c
bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/structs.h
bundles/org.eclipse.swt/Eclipse SWT PI/motif/library/swt.c
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/CDE.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/GNOME.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/KDE.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/Visual.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XAnyEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XButtonEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XCharStruct.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XColor.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XConfigureEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XCrossingEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XExposeEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XFocusChangeEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XFontStruct.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XGCValues.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XImage.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XInputEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XKeyEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XMotionEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XRectangle.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XSetWindowAttributes.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XWindowAttributes.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XWindowChanges.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XWindowEvent.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XmAnyCallbackStruct.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XmDragProcCallback.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XmDropFinishCallback.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XmDropProcCallback.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XmTextBlockRec.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XmTextVerifyCallbackStruct.java
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XtWidgetGeometry.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/build.sh
bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/make_photon.mak
bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/structs.c
bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/structs.h
bundles/org.eclipse.swt/Eclipse SWT PI/photon/library/swt.c
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/FontDetails.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/FontQueryInfo.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/OS.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PgAlpha_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PgDisplaySettings_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PgMap_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PgVideoModeInfo_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhArea_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhClipHeader.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhCursorDef_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhCursorInfo_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhDim_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhEvent_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhImage_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhKeyEvent_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhPoint_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhPointerEvent_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhRect_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhRegion_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhTile_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PhWindowEvent_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PtCallbackInfo_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PtColorSelectInfo_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PtContainerCallback_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PtFileSelectionInfo_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PtScrollbarCallback_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PtTextCallback_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PtTreeItem_t.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build-ce.bat
bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/build.bat
bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/make_win32.mak
bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/make_wince.mak
bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/structs.c
bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/structs.h
bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/swt.c
bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/swt.rc
bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/swtole.c
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CAUUID.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COM.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/CONTROLINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COSERVERINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/DISPPARAMS.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/DVTARGETDEVICE.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/EXCEPINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FORMATETC.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FUNCDESC1.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/FUNCDESC2.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/GUID.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IClassFactory2.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IConnectionPoint.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IConnectionPointContainer.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IDataObject.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IDispatch.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IEnum.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IEnumFORMATETC.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IEnumSTATSTG.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IFont.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IMoniker.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleCommandTarget.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleControl.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleInPlaceActiveObject.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleInPlaceObject.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleLink.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleObject.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleWindow.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IPersist.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IPersistStorage.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IProvideClassInfo.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IProvideClassInfo2.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/ISpecifyPropertyPages.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IStorage.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IStream.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/ITypeInfo.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IUnknown.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IViewObject2.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/LICINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/OLECMD.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/OLECMDTEXT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/OLEINPLACEFRAMEINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STATSTG.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/STGMEDIUM.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/TYPEATTR.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/VARDESC1.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/VARDESC2.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/package.html
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ACCEL.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BITMAP.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/BROWSEINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSECOLOR.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CHOOSEFONT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/COMPOSITIONFORM.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/CREATESTRUCT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DIBSECTION.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DLLVERSIONINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DOCINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DRAWITEMSTRUCT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/DROPFILES.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/FILETIME.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GCP_RESULTS.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/GRADIENT_RECT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HDITEM.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/HELPINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ICONINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/INITCOMMONCONTROLSEX.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGBRUSH.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGFONT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LOGPEN.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LRESULT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVCOLUMN.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVHITTESTINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/LVITEM.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MEASUREITEMSTRUCT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MENUITEMINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/MSG.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHDR.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMHEADER.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMLISTVIEW.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTOOLBAR.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NMTTDISPINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/NONCLIENTMETRICS.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OPENFILENAME.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PAINTSTRUCT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/POINT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PRINTDLG.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/REBARBANDINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/RECT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SCROLLINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHELLEXECUTEINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHMENUBARINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SIZE.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTON.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TBBUTTONINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCHAR.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TCITEM.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TEXTMETRIC.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TOOLINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRACKMOUSEEVENT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TRIVERTEX.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVHITTESTINFO.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVINSERTSTRUCT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/TVITEM.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPLACEMENT.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WINDOWPOS.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/WNDCLASS.java
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/package.html
bundles/org.eclipse.swt/Eclipse SWT Printing/common/org/eclipse/swt/printing/PrinterData.java
bundles/org.eclipse.swt/Eclipse SWT Printing/common/org/eclipse/swt/printing/package.html
bundles/org.eclipse.swt/Eclipse SWT Printing/gtk/org/eclipse/swt/printing/PrintDialog.java
bundles/org.eclipse.swt/Eclipse SWT Printing/gtk/org/eclipse/swt/printing/Printer.java
bundles/org.eclipse.swt/Eclipse SWT Printing/gtk1x/org/eclipse/swt/printing/PrintDialog.java
bundles/org.eclipse.swt/Eclipse SWT Printing/gtk1x/org/eclipse/swt/printing/Printer.java
bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/PrintDialog.java
bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java
bundles/org.eclipse.swt/Eclipse SWT Printing/photon/org/eclipse/swt/printing/PrintDialog.java
bundles/org.eclipse.swt/Eclipse SWT Printing/photon/org/eclipse/swt/printing/Printer.java
bundles/org.eclipse.swt/Eclipse SWT Printing/win32/org/eclipse/swt/printing/PrintDialog.java
bundles/org.eclipse.swt/Eclipse SWT Printing/win32/org/eclipse/swt/printing/Printer.java
bundles/org.eclipse.swt/Eclipse SWT Program/common/org/eclipse/swt/program/package.html
bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java
bundles/org.eclipse.swt/Eclipse SWT Program/gtk1x/org/eclipse/swt/program/Program.java
bundles/org.eclipse.swt/Eclipse SWT Program/motif/org/eclipse/swt/program/Program.java
bundles/org.eclipse.swt/Eclipse SWT Program/photon/org/eclipse/swt/program/Program.java
bundles/org.eclipse.swt/Eclipse SWT Program/win32/org/eclipse/swt/program/Program.java
bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.c
bundles/org.eclipse.swt/Eclipse SWT/common/library/callback.h
bundles/org.eclipse.swt/Eclipse SWT/common/library/make_common.mak
bundles/org.eclipse.swt/Eclipse SWT/common/library/swt.h
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWTError.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWTException.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/ArmEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/ArmListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/ControlAdapter.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/ControlEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/ControlListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/DisposeEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/DisposeListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/FocusAdapter.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/FocusEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/FocusListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/HelpEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/HelpListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/KeyAdapter.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/KeyEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/KeyListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MenuAdapter.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MenuEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MenuListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/ModifyEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/ModifyListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MouseAdapter.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MouseEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MouseListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MouseMoveListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MouseTrackAdapter.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MouseTrackListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/PaintEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/PaintListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/SelectionAdapter.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/SelectionEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/SelectionListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/ShellAdapter.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/ShellEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/ShellListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/TraverseEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/TraverseListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/TreeAdapter.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/TreeEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/TreeListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/TypedEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/VerifyEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/VerifyListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/package.html
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Drawable.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageLoader.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageLoaderEvent.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageLoaderListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/PaletteData.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Point.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/RGB.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Rectangle.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/package.html
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/Callback.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/FileFormat.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/GIFFileFormat.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGAppn.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGArithmeticConditioningTable.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGComment.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGEndOfImage.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGFileFormat.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGFixedSizeSegment.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGFrameHeader.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGHuffmanTable.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGQuantizationTable.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGRestartInterval.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGScanHeader.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGSegment.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGStartOfImage.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGVariableSizeSegment.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/LEDataInputStream.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/LEDataOutputStream.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/LZWCodec.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/LZWNode.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PNGFileFormat.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngChunk.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngChunkReader.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngDecodingDataStream.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngFileReadState.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngHuffmanTable.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngHuffmanTables.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngIdatChunk.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngIendChunk.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngIhdrChunk.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngLzBlockReader.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngPlteChunk.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngTrnsChunk.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinBMPFileFormat.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinICOFileFormat.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/package.html
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/package.html
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FillLayout.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/GridData.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/GridLayout.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/RowData.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/RowLayout.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/package.html
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/package.html
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Dialog.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Event.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/EventTable.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Item.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Layout.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Listener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/RunnableLock.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/TypedListener.java
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/package.html
bundles/org.eclipse.swt/Eclipse SWT/common/version.txt
bundles/org.eclipse.swt/Eclipse SWT/common_j2me/org/eclipse/swt/internal/CloneableCompatibility.java
bundles/org.eclipse.swt/Eclipse SWT/common_j2me/org/eclipse/swt/internal/Compatibility.java
bundles/org.eclipse.swt/Eclipse SWT/common_j2me/org/eclipse/swt/internal/SWTEventListener.java
bundles/org.eclipse.swt/Eclipse SWT/common_j2me/org/eclipse/swt/internal/SWTEventObject.java
bundles/org.eclipse.swt/Eclipse SWT/common_j2me/org/eclipse/swt/internal/SerializableCompatibility.java
bundles/org.eclipse.swt/Eclipse SWT/common_j2se/org/eclipse/swt/internal/CloneableCompatibility.java
bundles/org.eclipse.swt/Eclipse SWT/common_j2se/org/eclipse/swt/internal/Compatibility.java
bundles/org.eclipse.swt/Eclipse SWT/common_j2se/org/eclipse/swt/internal/SWTEventListener.java
bundles/org.eclipse.swt/Eclipse SWT/common_j2se/org/eclipse/swt/internal/SWTEventObject.java
bundles/org.eclipse.swt/Eclipse SWT/common_j2se/org/eclipse/swt/internal/SWTMessages.properties
bundles/org.eclipse.swt/Eclipse SWT/common_j2se/org/eclipse/swt/internal/SerializableCompatibility.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/bidi/org/eclipse/swt/internal/BidiUtil.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolItem.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/tabfolder/org/eclipse/swt/widgets/TabFolder.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/tabfolder/org/eclipse/swt/widgets/TabItem.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/AbstractTreeItem.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Header.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/SelectableItem.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/SelectableItemWidget.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableColumn.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableItem.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeRoots.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Color.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Cursor.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/DefaultGtkStyle.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/DeviceData.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Font.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/FontData.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/FontMetrics.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GCData.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Pixbuffer.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Region.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/internal/Converter.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Caret.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ColorDialog.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/DirectoryDialog.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FileDialog.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FontDialog.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/GtkFileDialog.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MessageBox.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Scale.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Scrollable.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabItem.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableItem.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolBar.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeItem.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Trim.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/UtilFuncs.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/WidgetTable.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Color.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Cursor.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/DefaultGtkStyle.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Device.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/DeviceData.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Font.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/FontData.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/FontMetrics.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/GC.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/GCData.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Image.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Pixbuffer.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Region.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/internal/Converter.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Button.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Canvas.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Caret.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/ColorDialog.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Combo.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Composite.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Control.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Decorations.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/DirectoryDialog.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Display.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/FileDialog.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/FontDialog.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Group.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/GtkFileDialog.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Label.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/List.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Menu.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/MenuItem.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/MessageBox.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/ProgressBar.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Sash.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Scale.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/ScrollBar.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Scrollable.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Shell.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Slider.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/TabFolder.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/TabItem.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Table.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/TableColumn.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/TableItem.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Text.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/ToolBar.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/ToolItem.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Tracker.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Tree.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/TreeItem.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Trim.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/UtilFuncs.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/Widget.java
bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/widgets/WidgetTable.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Color.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Cursor.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Device.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/DeviceData.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Font.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/FontData.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/FontMetrics.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GCData.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Region.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Button.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Canvas.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Caret.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ColorDialog.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Combo.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Decorations.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/DirectoryDialog.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/FileDialog.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/FontDialog.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/FontExtStyle.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/FontExtStyles.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Group.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Label.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/List.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/MenuItem.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/MessageBox.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ProgressBar.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Sash.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Scale.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ScrollBar.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Scrollable.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Slider.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Text.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ToolBar.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ToolDrawable.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ToolItem.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Tracker.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Widget.java
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/WidgetTable.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Color.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Cursor.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/DeviceData.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Font.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/FontData.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/FontMetrics.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/GC.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/GCData.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Image.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Region.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/Converter.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Canvas.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Caret.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/ColorDialog.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Combo.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Composite.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Control.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Decorations.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/DirectoryDialog.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Display.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/FileDialog.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/FontDialog.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Group.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Label.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/List.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Menu.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/MenuItem.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/MessageBox.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/ProgressBar.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Sash.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scale.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/ScrollBar.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scrollable.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Shell.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Slider.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/TabFolder.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/TabItem.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Text.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/ToolBar.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/ToolItem.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Tracker.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Widget.java
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/WidgetTable.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Color.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/DeviceData.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Font.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontData.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontMetrics.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GCData.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Region.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/Converter.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Caret.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ColorDialog.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolItem.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/DirectoryDialog.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FontDialog.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ImageList.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MessageBox.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Sash.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scale.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ScrollBar.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scrollable.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TabFolder.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TabItem.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tracker.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/WidgetTable.java
bundles/org.eclipse.swt/about.html
bundles/org.eclipse.swt/build.properties
bundles/org.eclipse.swt/build.xml
bundles/org.eclipse.swt/build_j2me.xml
bundles/org.eclipse.swt/buildnotes_swt.html
bundles/org.eclipse.swt/os/linux/x86/about.html
bundles/org.eclipse.swt/os/linux/x86/cpl-v05.html
bundles/org.eclipse.swt/os/linux/x86/lgpl-v21.txt
bundles/org.eclipse.swt/os/linux/x86/libswt-gnome-motif-2024.so
bundles/org.eclipse.swt/os/linux/x86/libswt-gtk-2024.so
bundles/org.eclipse.swt/os/linux/x86/libswt-kde-motif-2024.so
bundles/org.eclipse.swt/os/linux/x86/libswt-motif-2024.so
bundles/org.eclipse.swt/os/linux/x86/libswt-pi-gtk-2024.so
bundles/org.eclipse.swt/os/linux/x86/libswt-pixbuf-gtk-2024.so
bundles/org.eclipse.swt/os/qnx/x86/libswt-photon-2024.so
bundles/org.eclipse.swt/os/solaris/sparc/libswt-cde-motif-2024.so
bundles/org.eclipse.swt/os/solaris/sparc/libswt-motif-2024.so
bundles/org.eclipse.swt/os/win32-ce/arm/swt-win32-2024.dll
bundles/org.eclipse.swt/os/win32/x86/swt-win32-2024.dll
bundles/org.eclipse.swt/plugin.properties
bundles/org.eclipse.swt/plugin.xml
bundles/org.eclipse.swt/readme_swt.html
examples/org.eclipse.swt.examples.controls/.classpath
examples/org.eclipse.swt.examples.controls/.cvsignore
examples/org.eclipse.swt.examples.controls/.vcm_meta
examples/org.eclipse.swt.examples.controls/about.html
examples/org.eclipse.swt.examples.controls/build.properties
examples/org.eclipse.swt.examples.controls/doc-html/hglegal.htm
examples/org.eclipse.swt.examples.controls/doc-html/ngibmcpy.gif
examples/org.eclipse.swt.examples.controls/doc-html/swt_controls_ex.html
examples/org.eclipse.swt.examples.controls/icons/controls_example.gif
examples/org.eclipse.swt.examples.controls/import.properties
examples/org.eclipse.swt.examples.controls/org/eclipse/swt/examples/controls/ControlPlugin.java
examples/org.eclipse.swt.examples.controls/org/eclipse/swt/examples/controls/ControlView.java
examples/org.eclipse.swt.examples.controls/plugin.properties
examples/org.eclipse.swt.examples.controls/plugin.xml
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlPlugin.java
examples/org.eclipse.swt.examples.controls/src/org/eclipse/swt/examples/controls/ControlView.java
examples/org.eclipse.swt.examples.launcher/.classpath
examples/org.eclipse.swt.examples.launcher/.cvsignore
examples/org.eclipse.swt.examples.launcher/.vcm_meta
examples/org.eclipse.swt.examples.launcher/about.html
examples/org.eclipse.swt.examples.launcher/build.properties
examples/org.eclipse.swt.examples.launcher/doc-html/hglegal.htm
examples/org.eclipse.swt.examples.launcher/doc-html/ngibmcpy.gif
examples/org.eclipse.swt.examples.launcher/doc-html/swt_launcher_ex.html
examples/org.eclipse.swt.examples.launcher/doc/org.eclipse.swt.examples.launcher.launchItems.html
examples/org.eclipse.swt.examples.launcher/icons/closedFolder.gif
examples/org.eclipse.swt.examples.launcher/icons/generic_example.gif
examples/org.eclipse.swt.examples.launcher/icons/launcher_example.gif
examples/org.eclipse.swt.examples.launcher/icons/openFolder.gif
examples/org.eclipse.swt.examples.launcher/import.properties
examples/org.eclipse.swt.examples.launcher/org/eclipse/swt/examples/launcher/ApplicationRunner.java
examples/org.eclipse.swt.examples.launcher/org/eclipse/swt/examples/launcher/ImportProjectTask.java
examples/org.eclipse.swt.examples.launcher/org/eclipse/swt/examples/launcher/ItemDescriptor.java
examples/org.eclipse.swt.examples.launcher/org/eclipse/swt/examples/launcher/ItemTreeNode.java
examples/org.eclipse.swt.examples.launcher/org/eclipse/swt/examples/launcher/LaunchDelegate.java
examples/org.eclipse.swt.examples.launcher/org/eclipse/swt/examples/launcher/LauncherApplication.java
examples/org.eclipse.swt.examples.launcher/org/eclipse/swt/examples/launcher/LauncherPlugin.java
examples/org.eclipse.swt.examples.launcher/org/eclipse/swt/examples/launcher/LauncherView.java
examples/org.eclipse.swt.examples.launcher/org/eclipse/swt/examples/launcher/ProgramLaunchDelegate.java
examples/org.eclipse.swt.examples.launcher/org/eclipse/swt/examples/launcher/SplitLayout.java
examples/org.eclipse.swt.examples.launcher/org/eclipse/swt/examples/launcher/ViewLaunchDelegate.java
examples/org.eclipse.swt.examples.launcher/plugin.properties
examples/org.eclipse.swt.examples.launcher/plugin.xml
examples/org.eclipse.swt.examples.launcher/schema/org.eclipse.swt.examples.launcher.launchItems.xsd
examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemDescriptor.java
examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/ItemTreeNode.java
examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherPlugin.java
examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherView.java
examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/SplitLayout.java
examples/org.eclipse.swt.examples.ole.win32/.classpath
examples/org.eclipse.swt.examples.ole.win32/.cvsignore
examples/org.eclipse.swt.examples.ole.win32/.vcm_meta
examples/org.eclipse.swt.examples.ole.win32/about.html
examples/org.eclipse.swt.examples.ole.win32/build.properties
examples/org.eclipse.swt.examples.ole.win32/doc-html/hglegal.htm
examples/org.eclipse.swt.examples.ole.win32/doc-html/ngibmcpy.gif
examples/org.eclipse.swt.examples.ole.win32/doc-html/swt_ole_ex.html
examples/org.eclipse.swt.examples.ole.win32/icons/backward_nav.gif
examples/org.eclipse.swt.examples.ole.win32/icons/forward_nav.gif
examples/org.eclipse.swt.examples.ole.win32/icons/home_nav.gif
examples/org.eclipse.swt.examples.ole.win32/icons/refresh_nav.gif
examples/org.eclipse.swt.examples.ole.win32/icons/search_nav.gif
examples/org.eclipse.swt.examples.ole.win32/icons/stop_nav.gif
examples/org.eclipse.swt.examples.ole.win32/icons/webbrowser_example.gif
examples/org.eclipse.swt.examples.ole.win32/import.properties
examples/org.eclipse.swt.examples.ole.win32/org/eclipse/swt/examples/ole/win32/OleBrowserView.java
examples/org.eclipse.swt.examples.ole.win32/org/eclipse/swt/examples/ole/win32/OlePlugin.java
examples/org.eclipse.swt.examples.ole.win32/org/eclipse/swt/examples/ole/win32/OleWebBrowser.java
examples/org.eclipse.swt.examples.ole.win32/plugin.properties
examples/org.eclipse.swt.examples.ole.win32/plugin.xml
examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleBrowserView.java
examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OlePlugin.java
examples/org.eclipse.swt.examples.ole.win32/src/org/eclipse/swt/examples/ole/win32/OleWebBrowser.java
examples/org.eclipse.swt.examples.paint/.classpath
examples/org.eclipse.swt.examples.paint/.cvsignore
examples/org.eclipse.swt.examples.paint/.vcm_meta
examples/org.eclipse.swt.examples.paint/about.html
examples/org.eclipse.swt.examples.paint/build.properties
examples/org.eclipse.swt.examples.paint/doc-html/hglegal.htm
examples/org.eclipse.swt.examples.paint/doc-html/ngibmcpy.gif
examples/org.eclipse.swt.examples.paint/doc-html/swt_paint_ex.html
examples/org.eclipse.swt.examples.paint/icons/fill_none.gif
examples/org.eclipse.swt.examples.paint/icons/fill_outline.gif
examples/org.eclipse.swt.examples.paint/icons/fill_solid.gif
examples/org.eclipse.swt.examples.paint/icons/linestyle_dash.gif
examples/org.eclipse.swt.examples.paint/icons/linestyle_dashdot.gif
examples/org.eclipse.swt.examples.paint/icons/linestyle_dot.gif
examples/org.eclipse.swt.examples.paint/icons/linestyle_solid.gif
examples/org.eclipse.swt.examples.paint/icons/options_font.gif
examples/org.eclipse.swt.examples.paint/icons/paint_example.gif
examples/org.eclipse.swt.examples.paint/icons/tool_airbrush.gif
examples/org.eclipse.swt.examples.paint/icons/tool_ellipse.gif
examples/org.eclipse.swt.examples.paint/icons/tool_line.gif
examples/org.eclipse.swt.examples.paint/icons/tool_pencil.gif
examples/org.eclipse.swt.examples.paint/icons/tool_polyline.gif
examples/org.eclipse.swt.examples.paint/icons/tool_rectangle.gif
examples/org.eclipse.swt.examples.paint/icons/tool_roundedrectangle.gif
examples/org.eclipse.swt.examples.paint/icons/tool_text.gif
examples/org.eclipse.swt.examples.paint/import.properties
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/AirbrushTool.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/BasicPaintSession.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/ContainerFigure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/ContinuousPaintSession.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/DragPaintSession.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/EllipseFigure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/EllipseTool.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/Figure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/FigureDrawContext.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/LineFigure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/LineTool.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/PaintPlugin.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/PaintSession.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/PaintSurface.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/PaintTool.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/PaintView.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/PencilTool.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/PointFigure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/PolyLineTool.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/RectangleFigure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/RectangleTool.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/RoundedRectangleFigure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/RoundedRectangleTool.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/SegmentedPaintSession.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/SolidEllipseFigure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/SolidPolygonFigure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/SolidRectangleFigure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/SolidRoundedRectangleFigure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/TextFigure.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/TextTool.java
examples/org.eclipse.swt.examples.paint/org/eclipse/swt/examples/paint/ToolSettings.java
examples/org.eclipse.swt.examples.paint/plugin.properties
examples/org.eclipse.swt.examples.paint/plugin.xml
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/AirbrushTool.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/BasicPaintSession.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ContainerFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ContinuousPaintSession.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/DragPaintSession.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/EllipseFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/EllipseTool.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/Figure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/FigureDrawContext.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/LineFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/LineTool.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintPlugin.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintSession.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintSurface.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintTool.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PaintView.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PencilTool.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PointFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/PolyLineTool.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RectangleFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RectangleTool.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RoundedRectangleFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/RoundedRectangleTool.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SegmentedPaintSession.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidEllipseFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidPolygonFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidRectangleFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/SolidRoundedRectangleFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/TextFigure.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/TextTool.java
examples/org.eclipse.swt.examples.paint/src/org/eclipse/swt/examples/paint/ToolSettings.java
examples/org.eclipse.swt.examples/.classpath
examples/org.eclipse.swt.examples/.cvsignore
examples/org.eclipse.swt.examples/.vcm_meta
examples/org.eclipse.swt.examples/about.html
examples/org.eclipse.swt.examples/build.properties
examples/org.eclipse.swt.examples/doc-html/hglegal.htm
examples/org.eclipse.swt.examples/doc-html/ngibmcpy.gif
examples/org.eclipse.swt.examples/doc-html/swt_addressbook_ex.html
examples/org.eclipse.swt.examples/doc-html/swt_control_ex.html
examples/org.eclipse.swt.examples/doc-html/swt_fileviewer_ex.html
examples/org.eclipse.swt.examples/doc-html/swt_helloworld_ex.html
examples/org.eclipse.swt.examples/doc-html/swt_hoverhelp_ex.html
examples/org.eclipse.swt.examples/doc-html/swt_imageanalyzer_ex.html
examples/org.eclipse.swt.examples/doc-html/swt_javaviewer_ex.html
examples/org.eclipse.swt.examples/doc-html/swt_manual_setup.html
examples/org.eclipse.swt.examples/doc-html/swt_texteditor_ex.html
examples/org.eclipse.swt.examples/examples_addressbook.properties
examples/org.eclipse.swt.examples/examples_control.properties
examples/org.eclipse.swt.examples/examples_fileviewer.properties
examples/org.eclipse.swt.examples/examples_helloworld.properties
examples/org.eclipse.swt.examples/examples_hoverhelp.properties
examples/org.eclipse.swt.examples/examples_images.properties
examples/org.eclipse.swt.examples/examples_javaviewer.properties
examples/org.eclipse.swt.examples/examples_texteditor.properties
examples/org.eclipse.swt.examples/import.properties
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/addressbook/AddressBook.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/addressbook/DataEntryDialog.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/addressbook/FindListener.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/addressbook/SearchDialog.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/AlignableTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/ButtonTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/ComboTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/ControlExample.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/CoolBarTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/DialogTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/LabelTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/ListTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/ProgressBarTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/RangeTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/SashTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/ScrollableTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/ShellTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/SliderTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/Tab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/TableTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/TextTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/ToolBarTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/TreeTab.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/closedFolder.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/openFolder.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/controlexample/target.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/FileViewer.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/IconCache.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/cmd_Copy.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/cmd_Cut.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/cmd_Delete.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/cmd_Parent.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/cmd_Paste.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/cmd_Print.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/cmd_Refresh.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/cmd_Rename.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/cmd_Search.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/generic_example.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/icon_ClosedDrive.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/icon_ClosedFolder.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/icon_File.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/icon_OpenDrive.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/fileviewer/icon_OpenFolder.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/helloworld/HelloWorld1.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/helloworld/HelloWorld2.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/helloworld/HelloWorld3.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/helloworld/HelloWorld4.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/helloworld/HelloWorld5.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/hoverhelp/HoverHelp.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/hoverhelp/information.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/hoverhelp/warning.gif
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/imageanalyzer/ImageAnalyzer.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/javaviewer/JavaLineStyler.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/javaviewer/JavaViewer.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/Images.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/TextEditor.java
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/blue.bmp
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/blue_mask.bmp
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/bold.bmp
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/bold_mask.bmp
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/erase.bmp
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/erase_mask.bmp
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/green.bmp
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/green_mask.bmp
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/red.bmp
examples/org.eclipse.swt.examples/org/eclipse/swt/examples/texteditor/red_mask.bmp
examples/org.eclipse.swt.examples/plugin.properties
examples/org.eclipse.swt.examples/plugin.xml
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/addressbook/AddressBook.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/addressbook/DataEntryDialog.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/addressbook/FindListener.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/addressbook/SearchDialog.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/AlignableTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ButtonTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ComboTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ControlExample.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CoolBarTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/DialogTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/LabelTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ListTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ProgressBarTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/RangeTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/SashTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ScrollableTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ShellTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/SliderTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/Tab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/TableTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/TextTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ToolBarTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/TreeTab.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/closedFolder.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/openFolder.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/target.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/FileViewer.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/IconCache.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/cmd_Copy.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/cmd_Cut.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/cmd_Delete.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/cmd_Parent.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/cmd_Paste.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/cmd_Print.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/cmd_Refresh.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/cmd_Rename.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/cmd_Search.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/generic_example.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/icon_ClosedDrive.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/icon_ClosedFolder.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/icon_File.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/icon_OpenDrive.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/icon_OpenFolder.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/helloworld/HelloWorld1.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/helloworld/HelloWorld2.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/helloworld/HelloWorld3.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/helloworld/HelloWorld4.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/helloworld/HelloWorld5.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/hoverhelp/HoverHelp.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/hoverhelp/information.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/hoverhelp/warning.gif
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/imageanalyzer/ImageAnalyzer.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/javaviewer/JavaLineStyler.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/javaviewer/JavaViewer.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/Images.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/TextEditor.java
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/blue.bmp
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/blue_mask.bmp
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/bold.bmp
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/bold_mask.bmp
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/erase.bmp
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/erase_mask.bmp
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/green.bmp
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/green_mask.bmp
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/red.bmp
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/red_mask.bmp
tests/org.eclipse.swt.tests/.classpath
tests/org.eclipse.swt.tests/.cvsignore
tests/org.eclipse.swt.tests/.vcm_meta
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllGraphicsTests.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllTests.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllWidgetTests.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/EmulatedWidgetsTests.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/StyledTextContentSpec.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtJunit.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtTestCase.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWT.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWTError.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_SWTException.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_AnimatedProgress.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BidiSegmentListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_BusyIndicator.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CCombo.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CLabel.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolder.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabFolderListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_CTabItem.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ControlEditor.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ExtendedModifyEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ExtendedModifyListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineBackgroundEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineBackgroundListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineStyleEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_LineStyleListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_PopupList.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ST.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_SashForm.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ScrolledComposite.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StackLayout.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyleRange.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledTextContent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableEditor.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTree.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeEditor.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TableTreeItem.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangeListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangedEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TextChangingEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_TreeEditor.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_VerifyKeyListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_ViewForm.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_ByteArrayTransfer.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_Clipboard.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DND.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSource.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DragSourceListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTarget.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_DropTargetListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_FileTransfer.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_RTFTransfer.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_TextTransfer.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_Transfer.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_dnd_TransferData.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ArmEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ArmListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ControlListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_DisposeEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_DisposeListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_FocusListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_HelpEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_HelpListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_KeyListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MenuListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ModifyEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ModifyListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseMoveListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseTrackAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_MouseTrackListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_PaintEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_PaintListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_SelectionListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_ShellListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TraverseEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TraverseListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeAdapter.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TreeListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_TypedEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_VerifyEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_events_VerifyListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Color.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Cursor.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Device.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_DeviceData.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Drawable.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Font.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontData.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontMetrics.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GC.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_GCData.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Image.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageData.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoader.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoaderEvent.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_ImageLoaderListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_PaletteData.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Point.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_RGB.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Rectangle.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Region.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_FillLayout.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_GridData.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_GridLayout.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_RowData.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_layout_RowLayout.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_PrintDialog.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_Printer.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_printing_PrinterData.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_program_Program.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Button.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Canvas.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Caret.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ColorDialog.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Composite.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_CoolBar.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_CoolItem.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Decorations.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Dialog.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_DirectoryDialog.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Event.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FileDialog.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_FontDialog.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Group.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Item.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Label.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Layout.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_List.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Listener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Menu.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_MenuItem.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_MessageBox.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ProgressBar.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Sash.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Scale.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ScrollBar.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Scrollable.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Slider.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Synchronizer.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TabFolder.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TabItem.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Table.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TableColumn.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TableItem.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ToolBar.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_ToolItem.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tracker.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Tree.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TreeItem.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_TypedListener.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Widget.java
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/check.bmp
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/dot.gif
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/folder.bmp
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/folderOpen.bmp
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/push.bmp
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/radio.bmp
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/target.bmp
tests/org.eclipse.swt.tests/about.html
tests/org.eclipse.swt.tests/build.properties
tests/org.eclipse.swt.tests/plugin.xml
tests/org.eclipse.swt.tests/test.xml
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk')
49 files changed, 0 insertions, 14347 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/about.html b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/about.html deleted file mode 100644 index 84bc06db42..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/about.html +++ /dev/null @@ -1,65 +0,0 @@ -<html>
-<head>
-<title>About</title>
-<style type="text/css">
-p, table, td, th { font-family: arial, helvetica, geneva; font-size: 10pt}
-pre { font-family: "Courier New", Courier, mono; font-size: 10pt}
-h2 { font-family: arial, helvetica, geneva; font-size: 18pt; font-weight: bold ; line-height: 14px}
-code { font-family: "Courier New", Courier, mono; font-size: 10pt}
-sup { font-family: arial,helvetica,geneva; font-size: 10px}
-h3 { font-family: arial, helvetica, geneva; font-size: 14pt; font-weight: bold}
-li { font-family: arial, helvetica, geneva; font-size: 10pt}
-h1 { font-family: arial, helvetica, geneva; font-size: 28px; font-weight: bold}
-body { font-family: arial, helvetica, geneva; font-size: 10pt; clip: rect( ); margin-top: 5mm; margin-left: 3mm}
-</style>
-</head>
-<body lang="EN-US" link="blue" vlink="purple">
-<table border="0" cellspacing="5" cellpadding="2" width="100%" >
- <tr>
- <td align="LEFT" valign="TOP" colspan="2" bgcolor="#0080C0"><b><font color="#FFFFFF">About This Plug-in Sub-directory</font></b></td>
- </tr>
- <tr>
- <td>
-<p>29th January, 2002</p>
-<h3>License</h3>
-<p>All content in this plug-in sub-directory "Content" is made available by Eclipse.org under the following terms and conditions:</p>
-
-<p>The following files shall be defined as the SWT:</p>
-<ul>
- <li>libswt-gtk-2024.so</li>
- <li>libswt-motif-2024.so</li>
- <li>libswt-gnome-motif-2024.so</li>
- <li>libswt-kde-motif-2024.so</li>
- <li>swt.jar</li>
-</ul>
-
-<p>The SWT is licensed to you under the terms and conditions of the <a href="http://www.eclipse.org/legal/cpl-v05.html">Common Public License Version 0.5</a> "CPL".
-For the purposes of the CPL the term "Program" shall mean the SWT.</p>
-
-<h3>Third Party Content</h3>
-
-<p>All other files contained in this sub-directory shall be defined as the GTK+ Binding. The GTK+ Binding contains portions of GTK+ "Library". GTK+ is made available
-by The Free Software Foundation. Use of the Library is governed by the terms and conditions of the
-<a href="http://www.gnu.org/licenses/lgpl.html">GNU Lesser General Public License Version 2.1</a> "LGPL". Use of the GTK+ Binding on a standalone basis, is also governed
-by the terms and conditions of the LGPL. A copy of the LGPL is provided with the Content.</p>
-
-<p>In accordance with Section 6 of the LGPL, you may combine or link a "work that uses the Library" (e.g. the SWT) with the Library to produce a work
-containing portions of the Library (e.g. the GTK+ Binding) and distribute that work under the terms of your choice (e.g. the CPL) provided you comply with all
-other terms and conditions of Section 6 as well as other Sections of the LGPL. Please note, if you modify the GTK+ Binding such modifications shall be
-governed by the terms and conditions of the LGPL. Also note, the terms of the CPL permit you to modify the combined work and the source code of the combined
-work is provided for debugging purposes so there is no need to reverse engineer the combined work.</p>
-
-<h3>Contributions</h3>
-
-<p>If you wish to provide Contributions related to the SWT, such Contributions shall be made under the terms of the CPL. If you wish to make
-Contributions related to the GTK+ Binding such Contributions shall be made under the terms of the LGPL and the CPL (with respect to portions
-of the contribution for which you are the copyright holder).</p>
-</td></tr></table>
-</body>
-</html>
-
-
-
-
-
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/cpl-v05.html b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/cpl-v05.html deleted file mode 100644 index 800c7797bd..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/cpl-v05.html +++ /dev/null @@ -1,239 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- saved from url=(0041)http://www.eclipse.org/legal/cpl-v05.html -->
-<HTML><HEAD><TITLE>Common Public License Version 0.5</TITLE>
-<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
-<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
-<BODY bgColor=#ffffff>
-<DIV align=center>
-<P>
-<TABLE border=0 cellPadding=10 cellSpacing=10 width="90%">
- <TBODY>
- <TR>
- <TD vAlign=top width="75%"><FONT face="Arial, Helvetica, sans serif"
- size=3>
- <H1>Common Public License Version 0.5</H1><TT>
- <P><FONT face="Courier New, Courier, mono">THE ACCOMPANYING PROGRAM IS
- PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY
- USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S
- ACCEPTANCE OF THIS AGREEMENT. </FONT></P>
- <P><FONT face="Courier New, Courier, mono"><B>1. DEFINITIONS
- </B></FONT></P>
- <P><FONT face="Courier New, Courier, mono">"Contribution"
-means:</FONT></P>
- <BLOCKQUOTE>
- <P><FONT face="Courier New, Courier, mono">a) in the case of the initial
- Contributor, the initial code and documentation distributed under this
- Agreement, and </FONT></P>
- <P><FONT face="Courier New, Courier, mono">b) in the case of each
- subsequent Contributor:</FONT></P>
- <P><FONT face="Courier New, Courier, mono">i) changes to the Program,
- and</FONT></P>
- <P><FONT face="Courier New, Courier, mono">ii) additions to the
- Program;</FONT></P>
- <P><FONT face="Courier New, Courier, mono">where such changes and/or
- additions to the Program originate from and are distributed by that
- particular Contributor. A Contribution 'originates' from a Contributor
- if it was added to the Program by such Contributor itself or anyone
- acting on such Contributor's behalf. Contributions do not include
- additions to the Program which: (i) are separate modules of software
- distributed in conjunction with the Program under their own license
- agreement, and (ii) are not derivative works of the
- Program.</FONT></P></BLOCKQUOTE>
- <P><FONT face="Courier New, Courier, mono">"Contributor" means any person
- or entity that distributes the Program. </FONT></P>
- <P><FONT face="Courier New, Courier, mono">"Licensed Patents " mean patent
- claims licensable by a Contributor which are necessarily infringed by the
- use or sale of its Contribution alone or when combined with the
- Program.</FONT></P>
- <P><FONT face="Courier New, Courier, mono">"Program" means the
- Contributions distributed in accordance with this Agreement. </FONT></P>
- <P><FONT face="Courier New, Courier, mono">"Recipient" means anyone who
- receives the Program under this Agreement, including all Contributors.
- </FONT></P>
- <P><FONT face="Courier New, Courier, mono"><B>2. GRANT OF
- RIGHTS</B></FONT></P>
- <BLOCKQUOTE>
- <P><FONT face="Courier New, Courier, mono">a) Subject to the terms of
- this Agreement, each Contributor hereby grants Recipient a
- non-exclusive, worldwide, royalty-free copyright license to reproduce,
- prepare derivative works of, publicly display, publicly perform,
- distribute and sublicense the Contribution of such Contributor, if any,
- and such derivative works, in source code and object code
- form.</FONT></P>
- <P><FONT face="Courier New, Courier, mono">b) Subject to the terms of
- this Agreement, each Contributor hereby grants Recipient a
- non-exclusive, worldwide, royalty-free patent license under Licensed
- Patents to make, use, sell, offer to sell, import and otherwise transfer
- the Contribution of such Contributor, if any, in source code and object
- code form. This patent license shall apply to the combination of the
- Contribution and the Program if, at the time the Contribution is added
- by the Contributor, such addition of the Contribution causes such
- combination to be covered by the Licensed Patents. The patent license
- shall not apply to any other combinations which include the
- Contribution. No hardware per se is licensed hereunder.</FONT></P>
- <P><FONT face="Courier New, Courier, mono">c) Recipient understands that
- although each Contributor grants the licenses to its Contributions set
- forth herein, no assurances are provided by any Contributor that the
- Program does not infringe the patent or other intellectual property
- rights of any other entity. Each Contributor disclaims any liability to
- Recipient for claims brought by any other entity based on infringement
- of intellectual property rights or otherwise. As a condition to
- exercising the rights and licenses granted hereunder, each Recipient
- hereby assumes sole responsibility to secure any other intellectual
- property rights needed, if any. For example, if a third party patent
- license is required to allow Recipient to distribute the Program, it is
- Recipient's responsibility to acquire that license before distributing
- the Program.</FONT></P>
- <P><FONT face="Courier New, Courier, mono">d) Each Contributor
- represents that to its knowledge it has sufficient copyright rights in
- its Contribution, if any, to grant the copyright license set forth in
- this Agreement.</FONT></P></BLOCKQUOTE>
- <P><FONT face="Courier New, Courier, mono"><STRONG>3.
- REQUIREMENTS</STRONG> </FONT></P>
- <P><FONT face="Courier New, Courier, mono">A Contributor may choose to
- distribute the Program in object code form under its own license
- agreement, provided that: </FONT></P>
- <BLOCKQUOTE>
- <P><FONT face="Courier New, Courier, mono">a) it complies with the terms
- and conditions of this Agreement; and</FONT></P>
- <P><FONT face="Courier New, Courier, mono">b) its license
- agreement:</FONT></P>
- <P><FONT face="Courier New, Courier, mono">i) effectively disclaims on
- behalf of all Contributors all warranties and conditions, express and
- implied, including warranties or conditions of title and
- non-infringement, and implied warranties or conditions of
- merchantability and fitness for a particular purpose; </FONT></P>
- <P><FONT face="Courier New, Courier, mono">ii) effectively excludes on
- behalf of all Contributors all liability for damages, including direct,
- indirect, special, incidental and consequential damages, such as lost
- profits; </FONT></P>
- <P><FONT face="Courier New, Courier, mono">iii) states that any
- provisions which differ from this Agreement are offered by that
- Contributor alone and not by any other party; and </FONT></P>
- <P><FONT face="Courier New, Courier, mono">iv) states that source code
- for the Program is available from such Contributor, and informs
- licensees how to obtain it in a reasonable manner on or through a medium
- customarily used for software exchange. </FONT></P></BLOCKQUOTE>
- <P><FONT face="Courier New, Courier, mono">When the Program is made
- available in source code form:</FONT></P>
- <BLOCKQUOTE>
- <P><FONT face="Courier New, Courier, mono">a) it must be made available
- under this Agreement; and</FONT></P>
- <P><FONT face="Courier New, Courier, mono">b) a copy of this Agreement
- must be included with each copy of the Program. </FONT></P></BLOCKQUOTE>
- <P><FONT face="Courier New, Courier, mono">Contributors may not remove or
- alter any copyright notices contained within the Program.</FONT></P>
- <P><FONT face="Courier New, Courier, mono">Each Contributor must identify
- itself as the originator of its Contribution, if any, in a manner that
- reasonably allows subsequent Recipients to identify the originator of the
- Contribution. </FONT></P>
- <P><FONT face="Courier New, Courier, mono"><STRONG>4. COMMERCIAL
- DISTRIBUTION</STRONG> </FONT></P>
- <P><FONT face="Courier New, Courier, mono">Commercial distributors of
- software may accept certain responsibilities with respect to end users,
- business partners and the like. While this license is intended to
- facilitate the commercial use of the Program, the Contributor who includes
- the Program in a commercial product offering should do so in a manner
- which does not create potential liability for other Contributors.
- Therefore, if a Contributor includes the Program in a commercial product
- offering, such Contributor ("Commercial Contributor") hereby agrees to
- defend and indemnify every other Contributor ("Indemnified Contributor")
- against any losses, damages and costs (collectively "Losses") arising from
- claims, lawsuits and other legal actions brought by a third party against
- the Indemnified Contributor to the extent caused by the acts or omissions
- of such Commercial Contributor in connection with its distribution of the
- Program in a commercial product offering. The obligations in this section
- do not apply to any claims or Losses relating to any actual or alleged
- intellectual property infringement. In order to qualify, an Indemnified
- Contributor must: a) promptly notify the Commercial Contributor in writing
- of such claim, and b) allow the Commercial Contributor to control, and
- cooperate with the Commercial Contributor in, the defense and any related
- settlement negotiations. The Indemnified Contributor may participate in
- any such claim at its own expense. </FONT></P>
- <P><FONT face="Courier New, Courier, mono">For example, a Contributor
- might include the Program in a commercial product offering, Product X.
- That Contributor is then a Commercial Contributor. If that Commercial
- Contributor then makes performance claims, or offers warranties related to
- Product X, those performance claims and warranties are such Commercial
- Contributor's responsibility alone. Under this section, the Commercial
- Contributor would have to defend claims against the other Contributors
- related to those performance claims and warranties, and if a court
- requires any other Contributor to pay any damages as a result, the
- Commercial Contributor must pay those damages. </FONT></P>
- <P><FONT face="Courier New, Courier, mono"><STRONG>5. NO
- WARRANTY</STRONG></FONT></P>
- <P><FONT face="Courier New, Courier, mono">EXCEPT AS EXPRESSLY SET FORTH
- IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
- WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
- WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
- NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
- Each Recipient is solely responsible for determining the appropriateness
- of using and distributing the Program and assumes all risks associated
- with its exercise of rights under this Agreement, including but not
- limited to the risks and costs of program errors, compliance with
- applicable laws, damage to or loss of data, programs or equipment, and
- unavailability or interruption of operations. </FONT></P>
- <P><FONT face="Courier New, Courier, mono"><STRONG>6. DISCLAIMER OF
- LIABILITY </STRONG></FONT></P>
- <P><FONT face="Courier New, Courier, mono">EXCEPT AS EXPRESSLY SET FORTH
- IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY
- LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY
- RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- DAMAGES. </FONT></P>
- <P><FONT face="Courier New, Courier, mono"><STRONG>7.
- GENERAL</STRONG></FONT></P>
- <P><FONT face="Courier New, Courier, mono">If any provision of this
- Agreement is invalid or unenforceable under applicable law, it shall not
- affect the validity or enforceability of the remainder of the terms of
- this Agreement, and without further action by the parties hereto, such
- provision shall be reformed to the minimum extent necessary to make such
- provision valid and enforceable. </FONT></P>
- <P><FONT face="Courier New, Courier, mono">If Recipient institutes patent
- litigation against a Contributor with respect to a patent applicable to
- software (including a cross-claim or counterclaim in a lawsuit), then any
- patent licenses granted by that Contributor to such Recipient under this
- Agreement shall terminate as of the date such litigation is filed. In
- addition, If Recipient institutes patent litigation against any entity
- (including a cross-claim or counterclaim in a lawsuit) alleging that the
- Program itself (excluding combinations of the Program with other software
- or hardware) infringes such Recipient's patent(s), then such Recipient's
- rights granted under Section 2(b) shall terminate as of the date such
- litigation is filed.</FONT></P>
- <P><FONT face="Courier New, Courier, mono">All Recipient's rights under
- this Agreement shall terminate if it fails to comply with any of the
- material terms or conditions of this Agreement and does not cure such
- failure in a reasonable period of time after becoming aware of such
- noncompliance. If all Recipient's rights under this Agreement terminate,
- Recipient agrees to cease use and distribution of the Program as soon as
- reasonably practicable. However, Recipient's obligations under this
- Agreement and any licenses granted by Recipient relating to the Program
- shall continue and survive. </FONT></P>
- <P><FONT face="Courier New, Courier, mono">Everyone is permitted to copy
- and distribute copies of this Agreement, but in order to avoid
- inconsistency the Agreement is copyrighted and may only be modified in the
- following manner. The Agreement Steward reserves the right to publish new
- versions (including revisions) of this Agreement from time to time. No one
- other than the Agreement Steward has the right to modify this Agreement.
- IBM is the initial Agreement Steward. IBM may assign the responsibility to
- serve as the Agreement Steward to a suitable separate entity. Each new
- version of the Agreement will be given a distinguishing version number.
- The Program (including Contributions) may always be distributed subject to
- the version of the Agreement under which it was received. In addition,
- after a new version of the Agreement is published, Contributor may elect
- to distribute the Program (including its Contributions) under the new
- version. Except as expressly stated in Sections 2(a) and 2(b) above,
- Recipient receives no rights or licenses to the intellectual property of
- any Contributor under this Agreement, whether expressly, by implication,
- estoppel or otherwise. All rights in the Program not expressly granted
- under this Agreement are reserved. </FONT></P>
- <P><FONT face="Courier New, Courier, mono">This Agreement is governed by
- the laws of the State of New York and the intellectual property laws of
- the United States of America. No party to this Agreement will bring a
- legal action under this Agreement more than one year after the cause of
- action arose. Each party waives its rights to a jury trial in any
- resulting litigation.</FONT></P></TT></FONT></TD></TR></TBODY></TABLE>
-<P></P></DIV></BODY></HTML>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/lgpl-v21.txt b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/lgpl-v21.txt deleted file mode 100644 index 3f50d0454c..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/lgpl-v21.txt +++ /dev/null @@ -1,506 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE
- Version 2.1, February 1999
-
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the Lesser GPL. It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.]
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
- This license, the Lesser General Public License, applies to some
-specially designated software packages--typically libraries--of the
-Free Software Foundation and other authors who decide to use it. You
-can use it too, but we suggest you first think carefully about whether
-this license or the ordinary General Public License is the better
-strategy to use in any particular case, based on the explanations below.
-
- When we speak of free software, we are referring to freedom of use,
-not price. Our General Public Licenses are designed to make sure that
-you have the freedom to distribute copies of free software (and charge
-for this service if you wish); that you receive source code or can get
-it if you want it; that you can change the software and use pieces of
-it in new free programs; and that you are informed that you can do
-these things.
-
- To protect your rights, we need to make restrictions that forbid
-distributors to deny you these rights or to ask you to surrender these
-rights. These restrictions translate to certain responsibilities for
-you if you distribute copies of the library or if you modify it.
-
- For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you. You must make sure that they, too, receive or can get the source
-code. If you link other code with the library, you must provide
-complete object files to the recipients, so that they can relink them
-with the library after making changes to the library and recompiling
-it. And you must show them these terms so they know their rights.
-
- We protect your rights with a two-step method: (1) we copyright the
-library, and (2) we offer you this license, which gives you legal
-permission to copy, distribute and/or modify the library.
-
- To protect each distributor, we want to make it very clear that
-there is no warranty for the free library. Also, if the library is
-modified by someone else and passed on, the recipients should know
-that what they have is not the original version, so that the original
-author's reputation will not be affected by problems that might be
-introduced by others.
-
- Finally, software patents pose a constant threat to the existence of
-any free program. We wish to make sure that a company cannot
-effectively restrict the users of a free program by obtaining a
-restrictive license from a patent holder. Therefore, we insist that
-any patent license obtained for a version of the library must be
-consistent with the full freedom of use specified in this license.
-
- Most GNU software, including some libraries, is covered by the
-ordinary GNU General Public License. This license, the GNU Lesser
-General Public License, applies to certain designated libraries, and
-is quite different from the ordinary General Public License. We use
-this license for certain libraries in order to permit linking those
-libraries into non-free programs.
-
- When a program is linked with a library, whether statically or using
-a shared library, the combination of the two is legally speaking a
-combined work, a derivative of the original library. The ordinary
-General Public License therefore permits such linking only if the
-entire combination fits its criteria of freedom. The Lesser General
-Public License permits more lax criteria for linking other code with
-the library.
-
- We call this license the "Lesser" General Public License because it
-does Less to protect the user's freedom than the ordinary General
-Public License. It also provides other free software developers Less
-of an advantage over competing non-free programs. These disadvantages
-are the reason we use the ordinary General Public License for many
-libraries. However, the Lesser license provides advantages in certain
-special circumstances.
-
- For example, on rare occasions, there may be a special need to
-encourage the widest possible use of a certain library, so that it becomes
-a de-facto standard. To achieve this, non-free programs must be
-allowed to use the library. A more frequent case is that a free
-library does the same job as widely used non-free libraries. In this
-case, there is little to gain by limiting the free library to free
-software only, so we use the Lesser General Public License.
-
- In other cases, permission to use a particular library in non-free
-programs enables a greater number of people to use a large body of
-free software. For example, permission to use the GNU C Library in
-non-free programs enables many more people to use the whole GNU
-operating system, as well as its variant, the GNU/Linux operating
-system.
-
- Although the Lesser General Public License is Less protective of the
-users' freedom, it does ensure that the user of a program that is
-linked with the Library has the freedom and the wherewithal to run
-that program using a modified version of the Library.
-
- The precise terms and conditions for copying, distribution and
-modification follow. Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library". The
-former contains code derived from the library, whereas the latter must
-be combined with the library in order to run.
-
- GNU LESSER GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License Agreement applies to any software library or other
-program which contains a notice placed by the copyright holder or
-other authorized party saying it may be distributed under the terms of
-this Lesser General Public License (also called "this License").
-Each licensee is addressed as "you".
-
- A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
- The "Library", below, refers to any such software library or work
-which has been distributed under these terms. A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language. (Hereinafter, translation is
-included without limitation in the term "modification".)
-
- "Source code" for a work means the preferred form of the work for
-making modifications to it. For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control compilation
-and installation of the library.
-
- Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-writing it). Whether that is true depends on what the Library does
-and what the program that uses the Library does.
-
- 1. You may copy and distribute verbatim copies of the Library's
-complete source code as you receive it, in any medium, provided that
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
- You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-
- 2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) The modified work must itself be a software library.
-
- b) You must cause the files modified to carry prominent notices
- stating that you changed the files and the date of any change.
-
- c) You must cause the whole of the work to be licensed at no
- charge to all third parties under the terms of this License.
-
- d) If a facility in the modified Library refers to a function or a
- table of data to be supplied by an application program that uses
- the facility, other than as an argument passed when the facility
- is invoked, then you must make a good faith effort to ensure that,
- in the event an application does not supply such function or
- table, the facility still operates, and performs whatever part of
- its purpose remains meaningful.
-
- (For example, a function in a library to compute square roots has
- a purpose that is entirely well-defined independent of the
- application. Therefore, Subsection 2d requires that any
- application-supplied function or table used by this function must
- be optional: if the application does not supply it, the square
- root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote
-it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library
-with the Library (or with a work based on the Library) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may opt to apply the terms of the ordinary GNU General Public
-License instead of this License to a given copy of the Library. To do
-this, you must alter all the notices that refer to this License, so
-that they refer to the ordinary GNU General Public License, version 2,
-instead of to this License. (If a newer version than version 2 of the
-ordinary GNU General Public License has appeared, then you can specify
-that version instead if you wish.) Do not make any other change in
-these notices.
-
- Once this change is made in a given copy, it is irreversible for
-that copy, so the ordinary GNU General Public License applies to all
-subsequent copies and derivative works made from that copy.
-
- This option is useful when you wish to copy part of the code of
-the Library into a program that is not a library.
-
- 4. You may copy and distribute the Library (or a portion or
-derivative of it, under Section 2) in object code or executable form
-under the terms of Sections 1 and 2 above provided that you accompany
-it with the complete corresponding machine-readable source code, which
-must be distributed under the terms of Sections 1 and 2 above on a
-medium customarily used for software interchange.
-
- If distribution of object code is made by offering access to copy
-from a designated place, then offering equivalent access to copy the
-source code from the same place satisfies the requirement to
-distribute the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 5. A program that contains no derivative of any portion of the
-Library, but is designed to work with the Library by being compiled or
-linked with it, is called a "work that uses the Library". Such a
-work, in isolation, is not a derivative work of the Library, and
-therefore falls outside the scope of this License.
-
- However, linking a "work that uses the Library" with the Library
-creates an executable that is a derivative of the Library (because it
-contains portions of the Library), rather than a "work that uses the
-library". The executable is therefore covered by this License.
-Section 6 states terms for distribution of such executables.
-
- When a "work that uses the Library" uses material from a header file
-that is part of the Library, the object code for the work may be a
-derivative work of the Library even though the source code is not.
-Whether this is true is especially significant if the work can be
-linked without the Library, or if the work is itself a library. The
-threshold for this to be true is not precisely defined by law.
-
- If such an object file uses only numerical parameters, data
-structure layouts and accessors, and small macros and small inline
-functions (ten lines or less in length), then the use of the object
-file is unrestricted, regardless of whether it is legally a derivative
-work. (Executables containing this object code plus portions of the
-Library will still fall under Section 6.)
-
- Otherwise, if the work is a derivative of the Library, you may
-distribute the object code for the work under the terms of Section 6.
-Any executables containing that work also fall under Section 6,
-whether or not they are linked directly with the Library itself.
-
- 6. As an exception to the Sections above, you may also combine or
-link a "work that uses the Library" with the Library to produce a
-work containing portions of the Library, and distribute that work
-under terms of your choice, provided that the terms permit
-modification of the work for the customer's own use and reverse
-engineering for debugging such modifications.
-
- You must give prominent notice with each copy of the work that the
-Library is used in it and that the Library and its use are covered by
-this License. You must supply a copy of this License. If the work
-during execution displays copyright notices, you must include the
-copyright notice for the Library among them, as well as a reference
-directing the user to the copy of this License. Also, you must do one
-of these things:
-
- a) Accompany the work with the complete corresponding
- machine-readable source code for the Library including whatever
- changes were used in the work (which must be distributed under
- Sections 1 and 2 above); and, if the work is an executable linked
- with the Library, with the complete machine-readable "work that
- uses the Library", as object code and/or source code, so that the
- user can modify the Library and then relink to produce a modified
- executable containing the modified Library. (It is understood
- that the user who changes the contents of definitions files in the
- Library will not necessarily be able to recompile the application
- to use the modified definitions.)
-
- b) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (1) uses at run time a
- copy of the library already present on the user's computer system,
- rather than copying library functions into the executable, and (2)
- will operate properly with a modified version of the library, if
- the user installs one, as long as the modified version is
- interface-compatible with the version that the work was made with.
-
- c) Accompany the work with a written offer, valid for at
- least three years, to give the same user the materials
- specified in Subsection 6a, above, for a charge no more
- than the cost of performing this distribution.
-
- d) If distribution of the work is made by offering access to copy
- from a designated place, offer equivalent access to copy the above
- specified materials from the same place.
-
- e) Verify that the user has already received a copy of these
- materials or that you have already sent this user a copy.
-
- For an executable, the required form of the "work that uses the
-Library" must include any data and utility programs needed for
-reproducing the executable from it. However, as a special exception,
-the materials to be distributed need not include anything that is
-normally distributed (in either source or binary form) with the major
-components (compiler, kernel, and so on) of the operating system on
-which the executable runs, unless that component itself accompanies
-the executable.
-
- It may happen that this requirement contradicts the license
-restrictions of other proprietary libraries that do not normally
-accompany the operating system. Such a contradiction means you cannot
-use both them and the Library together in an executable that you
-distribute.
-
- 7. You may place library facilities that are a work based on the
-Library side-by-side in a single library together with other library
-facilities not covered by this License, and distribute such a combined
-library, provided that the separate distribution of the work based on
-the Library and of the other library facilities is otherwise
-permitted, and provided that you do these two things:
-
- a) Accompany the combined library with a copy of the same work
- based on the Library, uncombined with any other library
- facilities. This must be distributed under the terms of the
- Sections above.
-
- b) Give prominent notice with the combined library of the fact
- that part of it is a work based on the Library, and explaining
- where to find the accompanying uncombined form of the same work.
-
- 8. You may not copy, modify, sublicense, link with, or distribute
-the Library except as expressly provided under this License. Any
-attempt otherwise to copy, modify, sublicense, link with, or
-distribute the Library is void, and will automatically terminate your
-rights under this License. However, parties who have received copies,
-or rights, from you under this License will not have their licenses
-terminated so long as such parties remain in full compliance.
-
- 9. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Library or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Library (or any work based on the
-Library), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Library or works based on it.
-
- 10. Each time you redistribute the Library (or any work based on the
-Library), the recipient automatically receives a license from the
-original licensor to copy, distribute, link with or modify the Library
-subject to these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties with
-this License.
-
- 11. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Library at all. For example, if a patent
-license would not permit royalty-free redistribution of the Library by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any
-particular circumstance, the balance of the section is intended to apply,
-and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 12. If the distribution and/or use of the Library is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Library under this License may add
-an explicit geographical distribution limitation excluding those countries,
-so that distribution is permitted only in or among countries not thus
-excluded. In such case, this License incorporates the limitation as if
-written in the body of this License.
-
- 13. The Free Software Foundation may publish revised and/or new
-versions of the Lesser General Public License from time to time.
-Such new versions will be similar in spirit to the present version,
-but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Library
-specifies a version number of this License which applies to it and
-"any later version", you have the option of following the terms and
-conditions either of that version or of any later version published by
-the Free Software Foundation. If the Library does not specify a
-license version number, you may choose any version ever published by
-the Free Software Foundation.
-
- 14. If you wish to incorporate parts of the Library into other free
-programs whose distribution conditions are incompatible with these,
-write to the author to ask for permission. For software which is
-copyrighted by the Free Software Foundation, write to the Free
-Software Foundation; we sometimes make exceptions for this. Our
-decision will be guided by the two goals of preserving the free status
-of all derivatives of our free software and of promoting the sharing
-and reuse of software generally.
-
- NO WARRANTY
-
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Libraries
-
- If you develop a new library, and you want it to be of the greatest
-possible use to the public, we recommend making it free software that
-everyone can redistribute and change. You can do so by permitting
-redistribution under these terms (or, alternatively, under the terms of the
-ordinary General Public License).
-
- To apply these terms, attach the following notices to the library. It is
-safest to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least the
-"copyright" line and a pointer to where the full notice is found.
-
- <one line to give the library's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-Also add information on how to contact you by electronic and paper mail.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the library, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
- library `Frob' (a library for tweaking knobs) written by James Random Hacker.
-
- <signature of Ty Coon>, 1 April 1990
- Ty Coon, President of Vice
-
-That's all there is to it!
-
-
-
-
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.csh b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.csh deleted file mode 100644 index 05e11d1cf7..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.csh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/csh - -# Copyright (c) IBM Corp. 2000, 2001. All rights reserved. -# -# The contents of this file are made available under the terms -# of the GNU Lesser General Public License (LGPL) Version 2.1 that -# accompanies this distribution (lgpl-v21.txt). The LGPL is also -# available at http://www.gnu.org/licenses/lgpl.html. If the version -# of the LGPL at http://www.gnu.org is different to the version of -# the LGPL accompanying this distribution and there is any conflict -# between the two license versions, the terms of the LGPL accompanying -# this distribution shall govern. - -# 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 - -make -f make_gtk.mak $1 $2 $3 $4 diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_gtk.mak b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_gtk.mak deleted file mode 100644 index c3a594a2c8..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_gtk.mak +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright (c) IBM Corp. 2000, 2001. All rights reserved. -# -# The contents of this file are made available under the terms -# of the GNU Lesser General Public License (LGPL) Version 2.1 that -# accompanies this distribution (lgpl-v21.txt). The LGPL is also -# available at http://www.gnu.org/licenses/lgpl.html. If the version -# of the LGPL at http://www.gnu.org is different to the version of -# the LGPL accompanying this distribution and there is any conflict -# between the two license versions, the terms of the LGPL accompanying -# this distribution shall govern. -# -# Makefile for creating SWT libraries on Linux - -include make_common.mak - -SWT_VERSION=$(maj_ver)$(min_ver) - - -# Define the installation directories for various products. -# Your system may have these in a different place. -# IVE_HOME - IBM's version of Java (J9) -IVE_HOME = /bluebird/teamswt/swt-builddir/ive -#IVE_HOME = /opt/IBMvame1.4/ive - -JAVA_JNI=$(IVE_HOME)/bin/include -JAVAH=$(IVE_HOME)/bin/javah -LD_LIBRARY_PATH=$(IVE_HOME)/bin - -# Define the various DLL (shared) libraries to be made. - -SWT_PREFIX = swt -WS_PREFIX = gtk -SWT_DLL = lib$(SWT_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so - -PI_PREFIX = swt-pi -SWTPI_DLL = lib$(PI_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so - -GNOME_PREFIX = swt-gnome -GNOME_DLL = lib$(GNOME_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so -GNOME_LIB = -x -shared \ - -L/usr/lib \ - -lgnome -lglib \ - -lm -ldl - -PIXBUF_PREFIX = swt-pixbuf -PIXBUF_DLL = lib$(PIXBUF_PREFIX)-$(WS_PREFIX)-$(SWT_VERSION).so - - -# -# Target Rules -# - -all: make_swt make_pixbuf # make_gnome - -make_swt: $(SWT_DLL) $(SWTPI_DLL) - -#make_gnome: $(GNOME_DLL) - -make_pixbuf: $(PIXBUF_DLL) - - -# All about Linking - -$(SWT_DLL): callback.o - ld -x -shared \ - -o $(SWT_DLL) callback.o - -# Note: your setup may be different. Consult `gtk-config --libs` -$(SWTPI_DLL): swt.o structs.o - ld -x -shared \ - -L/usr/lib -L/usr/X11R6/lib \ - -lgtk -lgdk -lgmodule -lglib \ - -ldl -lXi -lXext -lX11 -lm -lc \ - -o $(SWTPI_DLL) swt.o structs.o - -#$(GNOME_DLL): gnome.o -# ld -o $@ gnome.o $(GNOME_LIB) - -$(PIXBUF_DLL): pixbuf.o - ld -x -shared \ - -L/usr/lib -L/usr/X11R6/lib \ - -lgdk_pixbuf \ - -lgtk -lgdk -lgmodule -lglib \ - -ldl -lXi -lXext -lX11 -lm -lc \ - -o $(PIXBUF_DLL) pixbuf.o - - -# All about Compiling - -SWT_C_FLAGS = -c -O -s \ - -DSWT_VERSION=$(SWT_VERSION) \ - -DLINUX -DGTK \ - -fpic \ - -I$(JAVA_JNI) \ - `gtk-config --cflags` - -SWT_PIXBUF_FLAGS = -c -O -s \ - -DSWT_VERSION=$(SWT_VERSION) \ - -DLINUX -DGTK \ - -fpic \ - -I$(JAVA_JNI) \ - -I/usr/include/gdk-pixbuf \ - `gtk-config --cflags` - -SWT_GNOME_FLAGS = -c -O -s \ - -DSWT_VERSION=$(SWT_VERSION) \ - -DLINUX -DGTK \ - -fpic \ - -I$(JAVA_JNI) \ - `gnome-config --cflags gnome` - -swt.o: swt.c swt.h - gcc $(SWT_C_FLAGS) swt.c - -structs.o: structs.c - gcc $(SWT_C_FLAGS) structs.c - -callback.o: callback.c - gcc $(SWT_C_FLAGS) callback.c - -globals.o: globals.c - gcc $(SWT_C_FLAGS) globals.c - -library.o: library.c - gcc $(SWT_C_FLAGS) library.c - -pixbuf.o: pixbuf.c - gcc $(SWT_PIXBUF_FLAGS) pixbuf.c - -#gnome.o: gnome.c -# gcc $(SWT_GNOME_FLAGS) gnome.c - -clean: - rm -f *.o *.so diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/pixbuf.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/pixbuf.c deleted file mode 100644 index f624fe3577..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/pixbuf.c +++ /dev/null @@ -1,235 +0,0 @@ -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -#include "swt.h" -#include <gtk/gtk.h> -#include <gdk-pixbuf/gdk-pixbuf.h> - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_get_colorspace - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1get_1colorspace - (JNIEnv *env, jclass cl, jint pixbuf) -{ - return (jint) gdk_pixbuf_get_colorspace((GdkPixbuf*)pixbuf); -} - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_get_n_channels - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1get_1n_1channels - (JNIEnv *env, jclass cl, jint pixbuf) -{ - return (jint) gdk_pixbuf_get_n_channels((GdkPixbuf*)pixbuf); -} - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_get_has_alpha - * Signature: (I)Z - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1get_1has_1alpha - (JNIEnv *env, jclass cl, jint pixbuf) -{ - return (jboolean) gdk_pixbuf_get_has_alpha((GdkPixbuf*)pixbuf); -} - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_get_bits_per_sample - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1get_1bits_1per_1sample - (JNIEnv *env, jclass cl, jint pixbuf) -{ - return (jint) gdk_pixbuf_get_bits_per_sample((GdkPixbuf*)pixbuf); -} - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_get_pixels - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1get_1pixels - (JNIEnv *env, jclass cl, jint pixbuf) -{ - return (jint) gdk_pixbuf_get_pixels((GdkPixbuf*)pixbuf); -} - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_get_width - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1get_1width - (JNIEnv *env, jclass cl, jint pixbuf) -{ - return (jint) gdk_pixbuf_get_width((GdkPixbuf*)pixbuf); -} - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_get_height - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1get_1height - (JNIEnv *env, jclass cl, jint pixbuf) -{ - return (jint) gdk_pixbuf_get_height((GdkPixbuf*)pixbuf); -} - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_get_rowstride - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1get_1rowstride - (JNIEnv *env, jclass cl, jint pixbuf) -{ - return (jint) gdk_pixbuf_get_rowstride((GdkPixbuf*)pixbuf); -} - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_new - * Signature: (IZIII)I - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1new - (JNIEnv *env, jclass cl, - jint colorspace, - jboolean hasAlpha, - jint bpc, - jint width, jint height) -{ - return (jint) gdk_pixbuf_new ( - colorspace, - (gboolean) hasAlpha, - bpc, - width, height - ); -} - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_copy - * Signature: (I)I - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1copy - (JNIEnv *env, jclass cl, jint source) { - return (jint)gdk_pixbuf_copy ((GdkPixbuf*) source); -} - - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_render_to_drawable - * Signature: (IIIIIIIIIIII)V - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1render_1to_1drawable - (JNIEnv *env, jclass cl, - jint pixbuf, - jint drawable, - jint gc, - jint src_x, jint src_y, - jint dest_x, jint dest_y, - jint width, jint height, - jint dithering, - jint x_dither, jint y_dither) { - gdk_pixbuf_render_to_drawable ( - (GdkPixbuf*) pixbuf, - (GdkDrawable*) drawable, - (GdkGC*) gc, - src_x, src_y, - dest_x, dest_y, - width, height, - dithering, - x_dither, y_dither - ); -} - - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_render_to_drawable_alpha - * Signature: (IIIIIIIIIIIII)V - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1render_1to_1drawable_1alpha - (JNIEnv *env, jclass cl, - jint pixbuf, - jint drawable, - jint src_x, jint src_y, jint dest_x, jint dest_y, - jint width, jint height, - jint alphaMode, - jint alphaThreshold, - jint dithering, - jint x_dither, jint y_dither) -{ - gdk_pixbuf_render_to_drawable_alpha ( - (GdkPixbuf*) pixbuf, - (GdkDrawable*) drawable, - src_x, src_y, - dest_x, dest_y, - width, height, - alphaMode, - alphaThreshold, - dithering, - x_dither, y_dither - ); -} - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_scale - * Signature: (IIIIIIDDDDI)V - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1scale - (JNIEnv *env, jclass cl, - jint source, jint dest, - jint dest_x, jint dest_y, - jint dest_width, jint dest_height, - jdouble offset_x, jdouble offset_y, - jdouble scale_x, jdouble scale_y, - jint interp_type) { - gdk_pixbuf_scale ((GdkPixbuf*)source, (GdkPixbuf*)dest, - dest_x, dest_y, - dest_width, dest_height, - offset_x, offset_y, - scale_x, scale_y, - interp_type - ); -} - -/* - * Class: org_eclipse_swt_internal_gtk_GDKPIXBUF - * Method: gdk_pixbuf_get_from_drawable - * Signature: (IIIIIIIII)I - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_GDKPIXBUF_gdk_1pixbuf_1get_1from_1drawable - (JNIEnv *env, jclass cl, - jint dest, jint src, jint cmap, - jint src_x, jint src_y, - jint dest_x, jint dest_y, - jint width, jint height) -{ - gdk_pixbuf_get_from_drawable ( - (GdkPixbuf*) dest, - (GdkDrawable*) src, - (GdkColormap*) cmap, - src_x, src_y, - dest_x, dest_y, - width, height); -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/structs.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/structs.c deleted file mode 100644 index 321855b550..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/structs.c +++ /dev/null @@ -1,2693 +0,0 @@ -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -/** - * JNI SWT object field getters and setters declarations for Windows structs - */ - -#include "swt.h" -#include "structs.h" - -/* Globals */ -GdkColor_FID_CACHE GdkColorFc; -GdkEventKey_FID_CACHE GdkEventKeyFc; -GdkEventButton_FID_CACHE GdkEventButtonFc; -GdkEventMotion_FID_CACHE GdkEventMotionFc; -GdkEventExpose_FID_CACHE GdkEventExposeFc; -GdkFont_FID_CACHE GdkFontFc; -GdkGCValues_FID_CACHE GdkGCValuesFc; -GdkImage_FID_CACHE GdkImageFc; -GdkPoint_FID_CACHE GdkPointFc; -GdkRectangle_FID_CACHE GdkRectangleFc; -GdkVisual_FID_CACHE GdkVisualFc; -GtkObject_FID_CACHE GtkObjectFc; -GtkData_FID_CACHE GtkDataFc; -GtkAdjustment_FID_CACHE GtkAdjustmentFc; -GtkAllocation_FID_CACHE GtkAllocationFc; -GtkWidget_FID_CACHE GtkWidgetFc; -GtkContainer_FID_CACHE GtkContainerFc; -GtkBin_FID_CACHE GtkBinFc; -GtkMenu_FID_CACHE GtkMenuFc; -GtkItem_FID_CACHE GtkItemFc; -GtkMenuShell_FID_CACHE GtkMenuShellFc; -GtkMenuItem_FID_CACHE GtkMenuItemFc; -GtkCheckMenuItem_FID_CACHE GtkCheckMenuItemFc; -GtkWindow_FID_CACHE GtkWindowFc; -GtkDialog_FID_CACHE GtkDialogFc; -GtkColorSelectionDialog_FID_CACHE GtkColorSelectionDialogFc;\ -GtkBox_FID_CACHE GtkBoxFc; -GtkHBox_FID_CACHE GtkHBoxFc; -GtkCombo_FID_CACHE GtkComboFc; -GtkFileSelection_FID_CACHE GtkFileSelectionFc; -GtkFrame_FID_CACHE GtkFrameFc; -GtkFontSelectionDialog_FID_CACHE GtkFontSelectionDialogFc; -GtkCList_FID_CACHE GtkCListFc; -GtkEditable_FID_CACHE GtkEditableFc; -GtkText_FID_CACHE GtkTextFc; -GtkProgress_FID_CACHE GtkProgressFc; -GtkProgressBar_FID_CACHE GtkProgressBarFc; -GtkArg_FID_CACHE GtkArgFc; -GtkRequisition_FID_CACHE GtkRequisitionFc; -GtkStyle_FID_CACHE GtkStyleFc; -GtkStyleClass_FID_CACHE GtkStyleClassFc; -GtkCListRow_FID_CACHE GtkCListRowFc; -GtkCListColumn_FID_CACHE GtkCListColumnFc; -GtkCTreeRow_FID_CACHE GtkCTreeRowFc; -GtkCTree_FID_CACHE GtkCTreeFc; - -/* ----------- fid and class caches ----------- */ -/* - * Used for Java objects passed into JNI that are - * declared like: - * - * nativeFunction (Rectangle p1, Rectangle p2, Rectangle p3) - * - * and not like this - * - * nativeFunction (Object p1, Object p2, Object p3) - * - * - */ -void cacheGdkColorFids(JNIEnv *env, jobject lpGdkColor, PGdkColor_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GdkColorClass = (*env)->GetObjectClass(env, lpGdkColor); - - lpCache->pixel = (*env)->GetFieldID(env, lpCache->GdkColorClass, "pixel", "I"); - lpCache->red = (*env)->GetFieldID(env, lpCache->GdkColorClass, "red", "S"); - lpCache->green = (*env)->GetFieldID(env, lpCache->GdkColorClass, "green", "S"); - lpCache->blue = (*env)->GetFieldID(env, lpCache->GdkColorClass, "blue", "S"); - lpCache->cached = 1; -}; - -void cacheGdkEventKeyFids(JNIEnv *env, jobject lpGdkEventKey, PGdkEventKey_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GdkEventKeyClass = (*env)->GetObjectClass(env, lpGdkEventKey); - - lpCache->type = (*env)->GetFieldID(env, lpCache->GdkEventKeyClass, "type", "I"); - lpCache->window = (*env)->GetFieldID(env, lpCache->GdkEventKeyClass, "window", "I"); - lpCache->send_event = (*env)->GetFieldID(env, lpCache->GdkEventKeyClass, "send_event", "B"); - lpCache->time = (*env)->GetFieldID(env, lpCache->GdkEventKeyClass, "time", "I"); - lpCache->state = (*env)->GetFieldID(env, lpCache->GdkEventKeyClass, "state", "I"); - lpCache->keyval = (*env)->GetFieldID(env, lpCache->GdkEventKeyClass, "keyval", "I"); - lpCache->length = (*env)->GetFieldID(env, lpCache->GdkEventKeyClass, "length", "I"); - lpCache->string = (*env)->GetFieldID(env, lpCache->GdkEventKeyClass, "string", "I"); - lpCache->cached = 1; -}; - -void cacheGdkEventButtonFids(JNIEnv *env, jobject lpGdkEventButton, PGdkEventButton_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GdkEventButtonClass = (*env)->GetObjectClass(env, lpGdkEventButton); - lpCache->type = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "type", "I"); - lpCache->window = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "window", "I"); - lpCache->send_event = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "send_event", "B"); - lpCache->time = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "time", "I"); - lpCache->x = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "x", "J"); - lpCache->y = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "y", "J"); - lpCache->pressure = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "pressure", "J"); - lpCache->xtilt = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "xtilt", "J"); - lpCache->ytilt = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "ytilt", "J"); - lpCache->state = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "state", "I"); - lpCache->button = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "button", "I"); - lpCache->source = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "source", "I"); - lpCache->deviceid = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "deviceid", "I"); - lpCache->x_root = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "x_root", "J"); - lpCache->y_root = (*env)->GetFieldID(env, lpCache->GdkEventButtonClass, "y_root", "J"); - - lpCache->cached = 1; -}; - -void cacheGdkEventMotionFids(JNIEnv *env, jobject lpGdkEventMotion, PGdkEventMotion_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GdkEventMotionClass = (*env)->GetObjectClass(env, lpGdkEventMotion); - lpCache->type = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "type", "I"); - lpCache->window = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "window", "I"); - lpCache->send_event = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "send_event", "B"); - lpCache->time = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "time", "I"); - lpCache->x = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "x", "J"); - lpCache->y = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "y", "J"); - lpCache->pressure = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "pressure", "J"); - lpCache->xtilt = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "xtilt", "J"); - lpCache->ytilt = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "ytilt", "J"); - lpCache->state = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "state", "I"); - lpCache->is_hint = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "is_hint", "I"); - lpCache->source = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "source", "I"); - lpCache->deviceid = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "deviceid", "I"); - lpCache->x_root = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "x_root", "J"); - lpCache->y_root = (*env)->GetFieldID(env, lpCache->GdkEventMotionClass, "y_root", "J"); - - lpCache->cached = 1; -}; - -void cacheGdkEventExposeFids(JNIEnv *env, jobject lpGdkEventExpose, PGdkEventExpose_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GdkEventExposeClass = (*env)->GetObjectClass(env, lpGdkEventExpose); - lpCache->type = (*env)->GetFieldID(env, lpCache->GdkEventExposeClass, "type", "I"); - lpCache->window = (*env)->GetFieldID(env, lpCache->GdkEventExposeClass, "window", "I"); - lpCache->send_event = (*env)->GetFieldID(env, lpCache->GdkEventExposeClass, "send_event", "B"); - lpCache->x = (*env)->GetFieldID(env, lpCache->GdkEventExposeClass, "x", "S"); - lpCache->y = (*env)->GetFieldID(env, lpCache->GdkEventExposeClass, "y", "S"); - lpCache->width = (*env)->GetFieldID(env, lpCache->GdkEventExposeClass, "width", "S"); - lpCache->height = (*env)->GetFieldID(env, lpCache->GdkEventExposeClass, "height", "S"); - lpCache->count = (*env)->GetFieldID(env, lpCache->GdkEventExposeClass, "count", "I"); - - lpCache->cached = 1; -}; - -void cacheGdkFontFids(JNIEnv *env, jobject lpGdkFont, PGdkFont_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GdkFontClass = (*env)->GetObjectClass(env, lpGdkFont); - lpCache->type = (*env)->GetFieldID(env, lpCache->GdkFontClass, "type", "I"); - lpCache->ascent = (*env)->GetFieldID(env, lpCache->GdkFontClass, "ascent", "I"); - lpCache->descent = (*env)->GetFieldID(env, lpCache->GdkFontClass, "descent", "I"); - - lpCache->cached = 1; -}; - -void cacheGdkGCValuesFids(JNIEnv *env, jobject lpGdkGCValues, PGdkGCValues_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GdkGCValuesClass = (*env)->GetObjectClass(env, lpGdkGCValues); - - lpCache->foreground_pixel = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "foreground_pixel", "I"); - lpCache->foreground_red = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "foreground_red", "S"); - lpCache->foreground_green = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "foreground_green", "S"); - lpCache->foreground_blue = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "foreground_blue", "S"); - lpCache->background_pixel = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "background_pixel", "I"); - lpCache->background_red = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "background_red", "S"); - lpCache->background_green = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "background_green", "S"); - lpCache->background_blue = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "background_blue", "S"); - lpCache->font = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "font", "I"); - lpCache->function = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "function", "I"); - lpCache->fill = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "fill", "I"); - lpCache->tile = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "tile", "I"); - lpCache->stipple = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "stipple", "I"); - lpCache->clip_mask = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "clip_mask", "I"); - lpCache->subwindow_mode = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "subwindow_mode", "I"); - lpCache->ts_x_origin = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "ts_x_origin", "I"); - lpCache->ts_y_origin = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "ts_y_origin", "I"); - lpCache->clip_x_origin = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "clip_x_origin", "I"); - lpCache->clip_y_origin = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "clip_y_origin", "I"); - lpCache->graphics_exposures = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "graphics_exposures", "I"); - lpCache->line_width = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "line_width", "I"); - lpCache->line_style = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "line_style", "I"); - lpCache->cap_style = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "cap_style", "I"); - lpCache->join_style = (*env)->GetFieldID(env, lpCache->GdkGCValuesClass, "join_style", "I"); - - lpCache->cached = 1; -}; - -void cacheGdkImageFids(JNIEnv *env, jobject lpGdkImage, PGdkImage_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GdkImageClass = (*env)->GetObjectClass(env, lpGdkImage); - lpCache->type = (*env)->GetFieldID(env, lpCache->GdkImageClass, "type", "I"); - lpCache->visual = (*env)->GetFieldID(env, lpCache->GdkImageClass, "visual", "I"); - lpCache->byte_order = (*env)->GetFieldID(env, lpCache->GdkImageClass, "byte_order", "I"); - lpCache->width = (*env)->GetFieldID(env, lpCache->GdkImageClass, "width", "S"); - lpCache->height = (*env)->GetFieldID(env, lpCache->GdkImageClass, "height", "S"); - lpCache->depth = (*env)->GetFieldID(env, lpCache->GdkImageClass, "depth", "S"); - lpCache->bpp = (*env)->GetFieldID(env, lpCache->GdkImageClass, "bpp", "S"); - lpCache->bpl = (*env)->GetFieldID(env, lpCache->GdkImageClass, "bpl", "S"); - lpCache->mem = (*env)->GetFieldID(env, lpCache->GdkImageClass, "mem", "I"); - - lpCache->cached = 1; -}; - -void cacheGdkPointFids(JNIEnv *env, jobject lpGdkPoint, PGdkPoint_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GdkPointClass = (*env)->GetObjectClass(env, lpGdkPoint); - lpCache->x = (*env)->GetFieldID(env, lpCache->GdkPointClass, "x", "S"); - lpCache->y = (*env)->GetFieldID(env, lpCache->GdkPointClass, "y", "S"); - - lpCache->cached = 1; -}; - -void cacheGdkRectangleFids(JNIEnv *env, jobject lpGdkRectangle, PGdkRectangle_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GdkRectangleClass = (*env)->GetObjectClass(env, lpGdkRectangle); - lpCache->x = (*env)->GetFieldID(env, lpCache->GdkRectangleClass, "x", "S"); - lpCache->y = (*env)->GetFieldID(env, lpCache->GdkRectangleClass, "y", "S"); - lpCache->width = (*env)->GetFieldID(env, lpCache->GdkRectangleClass, "width", "S"); - lpCache->height = (*env)->GetFieldID(env, lpCache->GdkRectangleClass, "height", "S"); - - lpCache->cached = 1; -}; - -void cacheGdkVisualFids(JNIEnv *env, jobject lpGdkVisual, PGdkVisual_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GdkVisualClass = (*env)->GetObjectClass(env, lpGdkVisual); - lpCache->type = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "type", "I"); - lpCache->depth = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "depth", "I"); - lpCache->byte_order = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "byte_order", "I"); - lpCache->colormap_size = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "colormap_size", "I"); - lpCache->bits_per_rgb = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "bits_per_rgb", "I"); - lpCache->red_mask = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "red_mask", "I"); - lpCache->red_shift = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "red_shift", "I"); - lpCache->red_prec = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "red_prec", "I"); - lpCache->green_mask = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "green_mask", "I"); - lpCache->green_shift = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "green_shift", "I"); - lpCache->green_prec = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "green_prec", "I"); - lpCache->blue_mask = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "blue_mask", "I"); - lpCache->blue_shift = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "blue_shift", "I"); - lpCache->blue_prec = (*env)->GetFieldID(env, lpCache->GdkVisualClass, "blue_prec", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkAllocationFids(JNIEnv *env, jobject lpGtkAllocation, PGtkAllocation_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GtkAllocationClass = (*env)->GetObjectClass(env, lpGtkAllocation); - lpCache->x = (*env)->GetFieldID(env, lpCache->GtkAllocationClass, "x", "S"); - lpCache->y = (*env)->GetFieldID(env, lpCache->GtkAllocationClass, "y", "S"); - lpCache->width = (*env)->GetFieldID(env, lpCache->GtkAllocationClass, "width", "S"); - lpCache->height = (*env)->GetFieldID(env, lpCache->GtkAllocationClass, "height", "S"); - - lpCache->cached = 1; -}; - -void cacheGtkArgFids(JNIEnv *env, jobject lpGtkArg, PGtkArg_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GtkArgClass = (*env)->GetObjectClass(env, lpGtkArg); - - fprintf(stderr, "WARNING: Unimplemented method cacheGtkArgFids.\n"); - lpCache->cached = 1; -}; - -void cacheGtkBinFids(JNIEnv *env, jobject lpGtkBin, PGtkBin_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkBinClass = (*env)->GetObjectClass(env, lpGtkBin); - cacheGtkContainerFids(env, lpGtkBin, &PGLOB(GtkContainerFc)); - lpCache->child = (*env)->GetFieldID(env, lpCache->GtkBinClass, "child", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkCListFids(JNIEnv *env, jobject lpGtkCList, PGtkCList_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkCListClass = (*env)->GetObjectClass(env, lpGtkCList); - cacheGtkContainerFids(env, lpGtkCList, &PGLOB(GtkContainerFc)); - lpCache->clist_flags = (*env)->GetFieldID(env, lpCache->GtkCListClass, "clist_flags", "S"); - lpCache->row_mem_chunk = (*env)->GetFieldID(env, lpCache->GtkCListClass, "row_mem_chunk", "I"); - lpCache->cell_mem_chunk = (*env)->GetFieldID(env, lpCache->GtkCListClass, "cell_mem_chunk", "I"); - lpCache->freeze_count = (*env)->GetFieldID(env, lpCache->GtkCListClass, "freeze_count", "I"); - lpCache->internal_allocation_x = (*env)->GetFieldID(env, lpCache->GtkCListClass, "internal_allocation_x", "S"); - lpCache->internal_allocation_y = (*env)->GetFieldID(env, lpCache->GtkCListClass, "internal_allocation_y", "S"); - lpCache->internal_allocation_width = (*env)->GetFieldID(env, lpCache->GtkCListClass, "internal_allocation_width", "S"); - lpCache->internal_allocation_height = (*env)->GetFieldID(env, lpCache->GtkCListClass, "internal_allocation_height", "S"); - lpCache->rows = (*env)->GetFieldID(env, lpCache->GtkCListClass, "rows", "I"); - lpCache->row_center_offset = (*env)->GetFieldID(env, lpCache->GtkCListClass, "row_center_offset", "I"); - lpCache->row_height = (*env)->GetFieldID(env, lpCache->GtkCListClass, "row_height", "I"); - lpCache->row_list = (*env)->GetFieldID(env, lpCache->GtkCListClass, "row_list", "I"); - lpCache->row_list_end = (*env)->GetFieldID(env, lpCache->GtkCListClass, "row_list_end", "I"); - lpCache->columns = (*env)->GetFieldID(env, lpCache->GtkCListClass, "columns", "I"); - lpCache->column_title_area_x = (*env)->GetFieldID(env, lpCache->GtkCListClass, "column_title_area_x", "S"); - lpCache->column_title_area_y = (*env)->GetFieldID(env, lpCache->GtkCListClass, "column_title_area_y", "S"); - lpCache->column_title_area_width = (*env)->GetFieldID(env, lpCache->GtkCListClass, "column_title_area_width", "S"); - lpCache->column_title_area_height = (*env)->GetFieldID(env, lpCache->GtkCListClass, "column_title_area_height", "S"); - lpCache->title_window = (*env)->GetFieldID(env, lpCache->GtkCListClass, "title_window", "I"); - lpCache->column = (*env)->GetFieldID(env, lpCache->GtkCListClass, "column", "I"); - lpCache->clist_window = (*env)->GetFieldID(env, lpCache->GtkCListClass, "clist_window", "I"); - lpCache->clist_window_width = (*env)->GetFieldID(env, lpCache->GtkCListClass, "clist_window_width", "I"); - lpCache->clist_window_height = (*env)->GetFieldID(env, lpCache->GtkCListClass, "clist_window_height", "I"); - lpCache->hoffset = (*env)->GetFieldID(env, lpCache->GtkCListClass, "hoffset", "I"); - lpCache->voffset = (*env)->GetFieldID(env, lpCache->GtkCListClass, "voffset", "I"); - lpCache->shadow_type = (*env)->GetFieldID(env, lpCache->GtkCListClass, "shadow_type", "I"); - lpCache->selection_mode = (*env)->GetFieldID(env, lpCache->GtkCListClass, "selection_mode", "I"); - lpCache->selection = (*env)->GetFieldID(env, lpCache->GtkCListClass, "selection", "I"); - lpCache->selection_end = (*env)->GetFieldID(env, lpCache->GtkCListClass, "selection_end", "I"); - lpCache->undo_selection = (*env)->GetFieldID(env, lpCache->GtkCListClass, "undo_selection", "I"); - lpCache->undo_unselection = (*env)->GetFieldID(env, lpCache->GtkCListClass, "undo_unselection", "I"); - lpCache->undo_anchor = (*env)->GetFieldID(env, lpCache->GtkCListClass, "undo_anchor", "I"); - lpCache->button_actions0 = (*env)->GetFieldID(env, lpCache->GtkCListClass, "button_actions0", "B"); - lpCache->button_actions1 = (*env)->GetFieldID(env, lpCache->GtkCListClass, "button_actions1", "B"); - lpCache->button_actions2 = (*env)->GetFieldID(env, lpCache->GtkCListClass, "button_actions2", "B"); - lpCache->button_actions3 = (*env)->GetFieldID(env, lpCache->GtkCListClass, "button_actions3", "B"); - lpCache->button_actions4 = (*env)->GetFieldID(env, lpCache->GtkCListClass, "button_actions4", "B"); - lpCache->drag_button = (*env)->GetFieldID(env, lpCache->GtkCListClass, "drag_button", "B"); - lpCache->click_cell_row = (*env)->GetFieldID(env, lpCache->GtkCListClass, "click_cell_row", "I"); - lpCache->click_cell_column = (*env)->GetFieldID(env, lpCache->GtkCListClass, "click_cell_column", "I"); - lpCache->hadjustment = (*env)->GetFieldID(env, lpCache->GtkCListClass, "hadjustment", "I"); - lpCache->vadjustment = (*env)->GetFieldID(env, lpCache->GtkCListClass, "vadjustment", "I"); - lpCache->xor_gc = (*env)->GetFieldID(env, lpCache->GtkCListClass, "xor_gc", "I"); - lpCache->fg_gc = (*env)->GetFieldID(env, lpCache->GtkCListClass, "fg_gc", "I"); - lpCache->bg_gc = (*env)->GetFieldID(env, lpCache->GtkCListClass, "bg_gc", "I"); - lpCache->cursor_drag = (*env)->GetFieldID(env, lpCache->GtkCListClass, "cursor_drag", "I"); - lpCache->x_drag = (*env)->GetFieldID(env, lpCache->GtkCListClass, "x_drag", "I"); - lpCache->focus_row = (*env)->GetFieldID(env, lpCache->GtkCListClass, "focus_row", "I"); - lpCache->anchor = (*env)->GetFieldID(env, lpCache->GtkCListClass, "anchor", "I"); - lpCache->anchor_state = (*env)->GetFieldID(env, lpCache->GtkCListClass, "anchor_state", "I"); - lpCache->drag_pos = (*env)->GetFieldID(env, lpCache->GtkCListClass, "drag_pos", "I"); - lpCache->htimer = (*env)->GetFieldID(env, lpCache->GtkCListClass, "htimer", "I"); - lpCache->vtimer = (*env)->GetFieldID(env, lpCache->GtkCListClass, "vtimer", "I"); - lpCache->sort_type = (*env)->GetFieldID(env, lpCache->GtkCListClass, "sort_type", "I"); - lpCache->compare = (*env)->GetFieldID(env, lpCache->GtkCListClass, "compare", "I"); - lpCache->sort_column = (*env)->GetFieldID(env, lpCache->GtkCListClass, "sort_column", "I"); - - lpCache->cached = 1; -}; - - -void cacheGtkColorSelectionDialogFids(JNIEnv *env, jobject lpGtkColorSelectionDialog, PGtkColorSelectionDialog_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkColorSelectionDialogClass = (*env)->GetObjectClass(env, lpGtkColorSelectionDialog); - cacheGtkWindowFids(env, lpGtkColorSelectionDialog, &PGLOB(GtkWindowFc)); - lpCache->colorsel = (*env)->GetFieldID(env, lpCache->GtkColorSelectionDialogClass, "colorsel", "I"); - lpCache->main_vbox = (*env)->GetFieldID(env, lpCache->GtkColorSelectionDialogClass, "main_vbox", "I"); - lpCache->ok_button = (*env)->GetFieldID(env, lpCache->GtkColorSelectionDialogClass, "ok_button", "I"); - lpCache->reset_button = (*env)->GetFieldID(env, lpCache->GtkColorSelectionDialogClass, "reset_button", "I"); - lpCache->cancel_button = (*env)->GetFieldID(env, lpCache->GtkColorSelectionDialogClass, "cancel_button", "I"); - lpCache->help_button = (*env)->GetFieldID(env, lpCache->GtkColorSelectionDialogClass, "help_button", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkComboFids(JNIEnv *env, jobject lpGtkCombo, PGtkCombo_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkComboClass = (*env)->GetObjectClass(env, lpGtkCombo); - cacheGtkHBoxFids(env, lpGtkCombo, &PGLOB(GtkHBoxFc)); - lpCache->entry = (*env)->GetFieldID(env, lpCache->GtkComboClass, "entry", "I"); - lpCache->button = (*env)->GetFieldID(env, lpCache->GtkComboClass, "button", "I"); - lpCache->popup = (*env)->GetFieldID(env, lpCache->GtkComboClass, "popup", "I"); - lpCache->popwin = (*env)->GetFieldID(env, lpCache->GtkComboClass, "popwin", "I"); - lpCache->list = (*env)->GetFieldID(env, lpCache->GtkComboClass, "list", "I"); - lpCache->entry_change_id = (*env)->GetFieldID(env, lpCache->GtkComboClass, "entry_change_id", "I"); - lpCache->list_change_id = (*env)->GetFieldID(env, lpCache->GtkComboClass, "list_change_id", "I"); - lpCache->value_in_list = (*env)->GetFieldID(env, lpCache->GtkComboClass, "value_in_list", "I"); - lpCache->ok_if_empty = (*env)->GetFieldID(env, lpCache->GtkComboClass, "ok_if_empty", "I"); - lpCache->case_sensitive = (*env)->GetFieldID(env, lpCache->GtkComboClass, "case_sensitive", "I"); - lpCache->use_arrows = (*env)->GetFieldID(env, lpCache->GtkComboClass, "use_arrows", "I"); - lpCache->use_arrows_always = (*env)->GetFieldID(env, lpCache->GtkComboClass, "use_arrows_always", "I"); - lpCache->current_button = (*env)->GetFieldID(env, lpCache->GtkComboClass, "current_button", "S"); - lpCache->activate_id = (*env)->GetFieldID(env, lpCache->GtkComboClass, "activate_id", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkContainerFids(JNIEnv *env, jobject lpGtkContainer, PGtkContainer_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkContainerClass = (*env)->GetObjectClass(env, lpGtkContainer); - cacheGtkWidgetFids(env, lpGtkContainer, &PGLOB(GtkWidgetFc)); - lpCache->focus_child = (*env)->GetFieldID(env, lpCache->GtkContainerClass, "focus_child", "I"); - lpCache->border_width = (*env)->GetFieldID(env, lpCache->GtkContainerClass, "border_width", "I"); - lpCache->need_resize = (*env)->GetFieldID(env, lpCache->GtkContainerClass, "need_resize", "I"); - lpCache->resize_mode = (*env)->GetFieldID(env, lpCache->GtkContainerClass, "resize_mode", "I"); - lpCache->resize_widgets = (*env)->GetFieldID(env, lpCache->GtkContainerClass, "resize_widgets", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkDataFids(JNIEnv *env, jobject lpGtkData, PGtkData_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkDataClass = (*env)->GetObjectClass(env, lpGtkData); - cacheGtkObjectFids(env, lpGtkData, &PGLOB(GtkObjectFc)); - - lpCache->cached = 1; -}; - -void cacheGtkEditableFids(JNIEnv *env, jobject lpGtkEditable, PGtkEditable_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkEditableClass = (*env)->GetObjectClass(env, lpGtkEditable); - cacheGtkWidgetFids(env, lpGtkEditable, &PGLOB(GtkWidgetFc)); - lpCache->current_pos = (*env)->GetFieldID(env, lpCache->GtkEditableClass, "current_pos", "I"); - lpCache->selection_start_pos = (*env)->GetFieldID(env, lpCache->GtkEditableClass, "selection_start_pos", "I"); - lpCache->selection_end_pos = (*env)->GetFieldID(env, lpCache->GtkEditableClass, "selection_end_pos", "I"); - lpCache->has_selection = (*env)->GetFieldID(env, lpCache->GtkEditableClass, "has_selection", "I"); - lpCache->editable = (*env)->GetFieldID(env, lpCache->GtkEditableClass, "editable", "I"); - lpCache->visible = (*env)->GetFieldID(env, lpCache->GtkEditableClass, "visible", "I"); - lpCache->ic = (*env)->GetFieldID(env, lpCache->GtkEditableClass, "ic", "I"); - lpCache->ic_attr = (*env)->GetFieldID(env, lpCache->GtkEditableClass, "ic_attr", "I"); - lpCache->clipboard_text = (*env)->GetFieldID(env, lpCache->GtkEditableClass, "clipboard_text", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkTextFids(JNIEnv *env, jobject lpGtkText, PGtkText_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkTextClass = (*env)->GetObjectClass(env, lpGtkText); - cacheGtkEditableFids(env, lpGtkText, &PGLOB(GtkEditableFc)); - - lpCache->first_line_start_index = (*env)->GetFieldID(env, lpCache->GtkTextClass, "first_line_start_index", "I"); - lpCache->first_onscreen_hor_pixel = (*env)->GetFieldID(env, lpCache->GtkTextClass, "first_onscreen_hor_pixel", "I"); - lpCache->first_onscreen_ver_pixel = (*env)->GetFieldID(env, lpCache->GtkTextClass, "first_onscreen_ver_pixel", "I"); - lpCache->default_tab_width = (*env)->GetFieldID(env, lpCache->GtkTextClass, "default_tab_width", "I"); - lpCache->cursor_pos_x = (*env)->GetFieldID(env, lpCache->GtkTextClass, "cursor_pos_x", "I"); - lpCache->cursor_pos_y = (*env)->GetFieldID(env, lpCache->GtkTextClass, "cursor_pos_y", "I"); - lpCache->cursor_virtual_x = (*env)->GetFieldID(env, lpCache->GtkTextClass, "cursor_virtual_x", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkFileSelectionFids(JNIEnv *env, jobject lpGtkFileSelection, PGtkFileSelection_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkFileSelectionClass = (*env)->GetObjectClass(env, lpGtkFileSelection); - cacheGtkWindowFids(env, lpGtkFileSelection, &PGLOB(GtkWindowFc)); - lpCache->dir_list = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "dir_list", "I"); - lpCache->file_list = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "file_list", "I"); - lpCache->selection_entry = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "selection_entry", "I"); - lpCache->selection_text = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "selection_text", "I"); - lpCache->main_vbox = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "main_vbox", "I"); - lpCache->ok_button = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "ok_button", "I"); - lpCache->cancel_button = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "cancel_button", "I"); - lpCache->help_button = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "help_button", "I"); - lpCache->history_pulldown = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "history_pulldown", "I"); - lpCache->history_menu = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "history_menu", "I"); - lpCache->history_list = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "history_list", "I"); - lpCache->fileop_dialog = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "fileop_dialog", "I"); - lpCache->fileop_entry = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "fileop_entry", "I"); - lpCache->fileop_file = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "fileop_file", "I"); - lpCache->cmpl_state = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "cmpl_state", "I"); - lpCache->fileop_c_dir = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "fileop_c_dir", "I"); - lpCache->fileop_del_file = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "fileop_del_file", "I"); - lpCache->fileop_ren_file = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "fileop_ren_file", "I"); - lpCache->button_area = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "button_area", "I"); - lpCache->action_area = (*env)->GetFieldID(env, lpCache->GtkFileSelectionClass, "action_area", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkFontSelectionDialogFids(JNIEnv *env, jobject lpGtkFontSelectionDialog, PGtkFontSelectionDialog_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkFontSelectionDialogClass = (*env)->GetObjectClass(env, lpGtkFontSelectionDialog); - cacheGtkWindowFids(env, lpGtkFontSelectionDialog, &PGLOB(GtkWindowFc)); - lpCache->fontsel = (*env)->GetFieldID(env, lpCache->GtkFontSelectionDialogClass, "fontsel", "I"); - lpCache->main_vbox = (*env)->GetFieldID(env, lpCache->GtkFontSelectionDialogClass, "main_vbox", "I"); - lpCache->action_area = (*env)->GetFieldID(env, lpCache->GtkFontSelectionDialogClass, "action_area", "I"); - lpCache->ok_button = (*env)->GetFieldID(env, lpCache->GtkFontSelectionDialogClass, "ok_button", "I"); - lpCache->apply_button = (*env)->GetFieldID(env, lpCache->GtkFontSelectionDialogClass, "apply_button", "I"); - lpCache->cancel_button = (*env)->GetFieldID(env, lpCache->GtkFontSelectionDialogClass, "cancel_button", "I"); - lpCache->dialog_width = (*env)->GetFieldID(env, lpCache->GtkFontSelectionDialogClass, "dialog_width", "I"); - lpCache->auto_resize = (*env)->GetFieldID(env, lpCache->GtkFontSelectionDialogClass, "auto_resize", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkObjectFids(JNIEnv *env, jobject lpGtkObject, PGtkObject_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GtkObjectClass = (*env)->GetObjectClass(env, lpGtkObject); - lpCache->klass = (*env)->GetFieldID(env, lpCache->GtkObjectClass, "klass", "I"); - lpCache->flags = (*env)->GetFieldID(env, lpCache->GtkObjectClass, "flags", "I"); - lpCache->ref_count = (*env)->GetFieldID(env, lpCache->GtkObjectClass, "ref_count", "I"); - lpCache->object_data = (*env)->GetFieldID(env, lpCache->GtkObjectClass, "object_data", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkProgressFids(JNIEnv *env, jobject lpGtkProgress, PGtkProgress_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GtkProgressClass = (*env)->GetObjectClass(env, lpGtkProgress); - - fprintf(stderr, "WARNING: Unimplemented method cacheGtkProgressFids.\n"); - lpCache->cached = 1; -}; - -void cacheGtkProgressBarFids(JNIEnv *env, jobject lpGtkProgressBar, PGtkProgressBar_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkProgressBarClass = (*env)->GetObjectClass(env, lpGtkProgressBar); - cacheGtkProgressFids(env, lpGtkProgressBar, &PGLOB(GtkProgressFc)); - lpCache->bar_style = (*env)->GetFieldID(env, lpCache->GtkProgressBarClass, "bar_style", "I"); - lpCache->orientation = (*env)->GetFieldID(env, lpCache->GtkProgressBarClass, "orientation", "I"); - lpCache->blocks = (*env)->GetFieldID(env, lpCache->GtkProgressBarClass, "blocks", "I"); - lpCache->in_block = (*env)->GetFieldID(env, lpCache->GtkProgressBarClass, "in_block", "I"); - lpCache->activity_pos = (*env)->GetFieldID(env, lpCache->GtkProgressBarClass, "activity_pos", "I"); - lpCache->activity_step = (*env)->GetFieldID(env, lpCache->GtkProgressBarClass, "activity_step", "I"); - lpCache->activity_blocks = (*env)->GetFieldID(env, lpCache->GtkProgressBarClass, "activity_blocks", "I"); - lpCache->activity_dir = (*env)->GetFieldID(env, lpCache->GtkProgressBarClass, "activity_dir", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkRequisitionFids(JNIEnv *env, jobject lpGtkRequisition, PGtkRequisition_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GtkRequisitionClass = (*env)->GetObjectClass(env, lpGtkRequisition); - lpCache->width = (*env)->GetFieldID(env, lpCache->GtkRequisitionClass, "width", "S"); - lpCache->height = (*env)->GetFieldID(env, lpCache->GtkRequisitionClass, "height", "S"); - - lpCache->cached = 1; -}; - -void cacheGtkStyleFids(JNIEnv *env, jobject lpGtkStyle, PGtkStyle_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GtkStyleClazz = (*env)->GetObjectClass(env, lpGtkStyle); - lpCache->klass = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "klass", "I"); - lpCache->fg0_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg0_pixel", "I"); - lpCache->fg0_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg0_red", "S"); - lpCache->fg0_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg0_green", "S"); - lpCache->fg0_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg0_blue", "S"); - lpCache->fg1_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg1_pixel", "I"); - lpCache->fg1_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg1_red", "S"); - lpCache->fg1_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg1_green", "S"); - lpCache->fg1_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg1_blue", "S"); - lpCache->fg2_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg2_pixel", "I"); - lpCache->fg2_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg2_red", "S"); - lpCache->fg2_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg2_green", "S"); - lpCache->fg2_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg2_blue", "S"); - lpCache->fg3_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg3_pixel", "I"); - lpCache->fg3_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg3_red", "S"); - lpCache->fg3_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg3_green", "S"); - lpCache->fg3_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg3_blue", "S"); - lpCache->fg4_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg4_pixel", "I"); - lpCache->fg4_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg4_red", "S"); - lpCache->fg4_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg4_green", "S"); - lpCache->fg4_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg4_blue", "S"); - lpCache->bg0_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg0_pixel", "I"); - lpCache->bg0_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg0_red", "S"); - lpCache->bg0_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg0_green", "S"); - lpCache->bg0_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg0_blue", "S"); - lpCache->bg1_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg1_pixel", "I"); - lpCache->bg1_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg1_red", "S"); - lpCache->bg1_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg1_green", "S"); - lpCache->bg1_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg1_blue", "S"); - lpCache->bg2_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg2_pixel", "I"); - lpCache->bg2_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg2_red", "S"); - lpCache->bg2_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg2_green", "S"); - lpCache->bg2_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg2_blue", "S"); - lpCache->bg3_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg3_pixel", "I"); - lpCache->bg3_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg3_red", "S"); - lpCache->bg3_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg3_green", "S"); - lpCache->bg3_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg3_blue", "S"); - lpCache->bg4_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg4_pixel", "I"); - lpCache->bg4_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg4_red", "S"); - lpCache->bg4_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg4_green", "S"); - lpCache->bg4_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg4_blue", "S"); - lpCache->light0_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light0_pixel", "I"); - lpCache->light0_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light0_red", "S"); - lpCache->light0_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light0_green", "S"); - lpCache->light0_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light0_blue", "S"); - lpCache->light1_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light1_pixel", "I"); - lpCache->light1_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light1_red", "S"); - lpCache->light1_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light1_green", "S"); - lpCache->light1_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light1_blue", "S"); - lpCache->light2_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light2_pixel", "I"); - lpCache->light2_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light2_red", "S"); - lpCache->light2_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light2_green", "S"); - lpCache->light2_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light2_blue", "S"); - lpCache->light3_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light3_pixel", "I"); - lpCache->light3_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light3_red", "S"); - lpCache->light3_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light3_green", "S"); - lpCache->light3_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light3_blue", "S"); - lpCache->light4_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light4_pixel", "I"); - lpCache->light4_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light4_red", "S"); - lpCache->light4_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light4_green", "S"); - lpCache->light4_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light4_blue", "S"); - lpCache->dark0_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark0_pixel", "I"); - lpCache->dark0_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark0_red", "S"); - lpCache->dark0_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark0_green", "S"); - lpCache->dark0_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark0_blue", "S"); - lpCache->dark1_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark1_pixel", "I"); - lpCache->dark1_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark1_red", "S"); - lpCache->dark1_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark1_green", "S"); - lpCache->dark1_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark1_blue", "S"); - lpCache->dark2_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark2_pixel", "I"); - lpCache->dark2_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark2_red", "S"); - lpCache->dark2_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark2_green", "S"); - lpCache->dark2_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark2_blue", "S"); - lpCache->dark3_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark3_pixel", "I"); - lpCache->dark3_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark3_red", "S"); - lpCache->dark3_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark3_green", "S"); - lpCache->dark3_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark3_blue", "S"); - lpCache->dark4_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark4_pixel", "I"); - lpCache->dark4_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark4_red", "S"); - lpCache->dark4_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark4_green", "S"); - lpCache->dark4_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark4_blue", "S"); - lpCache->mid0_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid0_pixel", "I"); - lpCache->mid0_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid0_red", "S"); - lpCache->mid0_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid0_green", "S"); - lpCache->mid0_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid0_blue", "S"); - lpCache->mid1_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid1_pixel", "I"); - lpCache->mid1_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid1_red", "S"); - lpCache->mid1_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid1_green", "S"); - lpCache->mid1_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid1_blue", "S"); - lpCache->mid2_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid2_pixel", "I"); - lpCache->mid2_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid2_red", "S"); - lpCache->mid2_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid2_green", "S"); - lpCache->mid2_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid2_blue", "S"); - lpCache->mid3_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid3_pixel", "I"); - lpCache->mid3_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid3_red", "S"); - lpCache->mid3_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid3_green", "S"); - lpCache->mid3_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid3_blue", "S"); - lpCache->mid4_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid4_pixel", "I"); - lpCache->mid4_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid4_red", "S"); - lpCache->mid4_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid4_green", "S"); - lpCache->mid4_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid4_blue", "S"); - lpCache->text0_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text0_pixel", "I"); - lpCache->text0_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text0_red", "S"); - lpCache->text0_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text0_green", "S"); - lpCache->text0_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text0_blue", "S"); - lpCache->text1_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text1_pixel", "I"); - lpCache->text1_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text1_red", "S"); - lpCache->text1_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text1_green", "S"); - lpCache->text1_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text1_blue", "S"); - lpCache->text2_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text2_pixel", "I"); - lpCache->text2_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text2_red", "S"); - lpCache->text2_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text2_green", "S"); - lpCache->text2_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text2_blue", "S"); - lpCache->text3_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text3_pixel", "I"); - lpCache->text3_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text3_red", "S"); - lpCache->text3_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text3_green", "S"); - lpCache->text3_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text3_blue", "S"); - lpCache->text4_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text4_pixel", "I"); - lpCache->text4_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text4_red", "S"); - lpCache->text4_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text4_green", "S"); - lpCache->text4_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text4_blue", "S"); - lpCache->base0_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base0_pixel", "I"); - lpCache->base0_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base0_red", "S"); - lpCache->base0_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base0_green", "S"); - lpCache->base0_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base0_blue", "S"); - lpCache->base1_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base1_pixel", "I"); - lpCache->base1_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base1_red", "S"); - lpCache->base1_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base1_green", "S"); - lpCache->base1_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base1_blue", "S"); - lpCache->base2_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base2_pixel", "I"); - lpCache->base2_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base2_red", "S"); - lpCache->base2_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base2_green", "S"); - lpCache->base2_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base2_blue", "S"); - lpCache->base3_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base3_pixel", "I"); - lpCache->base3_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base3_red", "S"); - lpCache->base3_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base3_green", "S"); - lpCache->base3_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base3_blue", "S"); - lpCache->base4_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base4_pixel", "I"); - lpCache->base4_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base4_red", "S"); - lpCache->base4_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base4_green", "S"); - lpCache->base4_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base4_blue", "S"); - lpCache->black_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "black_pixel", "I"); - lpCache->black_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "black_red", "S"); - lpCache->black_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "black_green", "S"); - lpCache->black_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "black_blue", "S"); - lpCache->white_pixel = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "white_pixel", "I"); - lpCache->white_red = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "white_red", "S"); - lpCache->white_green = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "white_green", "S"); - lpCache->white_blue = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "white_blue", "S"); - lpCache->font = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "font", "I"); - lpCache->fg_gc0 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg_gc0", "I"); - lpCache->fg_gc1 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg_gc1", "I"); - lpCache->fg_gc2 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg_gc2", "I"); - lpCache->fg_gc3 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg_gc3", "I"); - lpCache->fg_gc4 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "fg_gc4", "I"); - lpCache->bg_gc0 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg_gc0", "I"); - lpCache->bg_gc1 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg_gc1", "I"); - lpCache->bg_gc2 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg_gc2", "I"); - lpCache->bg_gc3 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg_gc3", "I"); - lpCache->bg_gc4 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg_gc4", "I"); - lpCache->light_gc0 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light_gc0", "I"); - lpCache->light_gc1 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light_gc1", "I"); - lpCache->light_gc2 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light_gc2", "I"); - lpCache->light_gc3 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light_gc3", "I"); - lpCache->light_gc4 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "light_gc4", "I"); - lpCache->dark_gc0 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark_gc0", "I"); - lpCache->dark_gc1 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark_gc1", "I"); - lpCache->dark_gc2 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark_gc2", "I"); - lpCache->dark_gc3 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark_gc3", "I"); - lpCache->dark_gc4 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "dark_gc4", "I"); - lpCache->mid_gc0 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid_gc0", "I"); - lpCache->mid_gc1 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid_gc1", "I"); - lpCache->mid_gc2 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid_gc2", "I"); - lpCache->mid_gc3 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid_gc3", "I"); - lpCache->mid_gc4 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "mid_gc4", "I"); - lpCache->text_gc0 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text_gc0", "I"); - lpCache->text_gc1 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text_gc1", "I"); - lpCache->text_gc2 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text_gc2", "I"); - lpCache->text_gc3 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text_gc3", "I"); - lpCache->text_gc4 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "text_gc4", "I"); - lpCache->base_gc0 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base_gc0", "I"); - lpCache->base_gc1 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base_gc1", "I"); - lpCache->base_gc2 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base_gc2", "I"); - lpCache->base_gc3 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base_gc3", "I"); - lpCache->base_gc4 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "base_gc4", "I"); - lpCache->black_gc = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "black_gc", "I"); - lpCache->white_gc = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "white_gc", "I"); - lpCache->bg_pixmap0 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg_pixmap0", "I"); - lpCache->bg_pixmap1 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg_pixmap1", "I"); - lpCache->bg_pixmap2 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg_pixmap2", "I"); - lpCache->bg_pixmap3 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg_pixmap3", "I"); - lpCache->bg_pixmap4 = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "bg_pixmap4", "I"); - lpCache->ref_count = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "ref_count", "I"); - lpCache->attach_count = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "attach_count", "I"); - lpCache->depth = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "depth", "I"); - lpCache->colormap = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "colormap", "I"); - lpCache->engine = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "engine", "I"); - lpCache->engine_data = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "engine_data", "I"); - lpCache->rc_style = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "rc_style", "I"); - lpCache->styles = (*env)->GetFieldID(env, lpCache->GtkStyleClazz, "styles", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkStyleClassFids(JNIEnv *env, jobject lpGtkStyleClass, PGtkStyleClass_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GtkStyleClassClazz = (*env)->GetObjectClass(env, lpGtkStyleClass); - lpCache->xthickness = (*env)->GetFieldID(env, lpCache->GtkStyleClassClazz, "xthickness", "I"); - lpCache->ythickness = (*env)->GetFieldID(env, lpCache->GtkStyleClassClazz, "ythickness", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkWidgetFids(JNIEnv *env, jobject lpGtkWidget, PGtkWidget_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkWidgetClass = (*env)->GetObjectClass(env, lpGtkWidget); - cacheGtkObjectFids(env, lpGtkWidget, &PGLOB(GtkObjectFc)); - lpCache->private_flags = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "private_flags", "S"); - lpCache->state = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "state", "B"); - lpCache->saved_state = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "saved_state", "B"); - lpCache->name = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "name", "I"); - lpCache->style = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "style", "I"); - lpCache->req_width = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "req_width", "S"); - lpCache->req_height = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "req_height", "S"); - lpCache->alloc_x = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "alloc_x", "S"); - lpCache->alloc_y = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "alloc_y", "S"); - lpCache->alloc_width = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "alloc_width", "S"); - lpCache->alloc_height = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "alloc_height", "S"); - lpCache->window = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "window", "I"); - lpCache->parent = (*env)->GetFieldID(env, lpCache->GtkWidgetClass, "parent", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkFrameFids(JNIEnv *env, jobject lpGtkFrame, PGtkFrame_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkFrameClass = (*env)->GetObjectClass(env, lpGtkFrame); - cacheGtkBinFids(env, lpGtkFrame, &PGLOB(GtkBinFc)); - lpCache->label = (*env)->GetFieldID(env, lpCache->GtkFrameClass, "label", "I"); - lpCache->shadow_type = (*env)->GetFieldID(env, lpCache->GtkFrameClass, "shadow_type", "S"); - lpCache->label_width = (*env)->GetFieldID(env, lpCache->GtkFrameClass, "label_width", "S"); - lpCache->label_height = (*env)->GetFieldID(env, lpCache->GtkFrameClass, "label_height", "S"); - lpCache->label_xalign = (*env)->GetFieldID(env, lpCache->GtkFrameClass, "label_xalign", "F"); - lpCache->label_yalign = (*env)->GetFieldID(env, lpCache->GtkFrameClass, "label_yalign", "F"); - - lpCache->cached = 1; -}; - -void cacheGtkWindowFids(JNIEnv *env, jobject lpGtkWindow, PGtkWindow_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkWindowClass = (*env)->GetObjectClass(env, lpGtkWindow); - cacheGtkBinFids(env, lpGtkWindow, &PGLOB(GtkBinFc)); - lpCache->title = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "title", "I"); - lpCache->wmclass_name = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "wmclass_name", "I"); - lpCache->wmclass_class = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "wmclass_class", "I"); - lpCache->type = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "type", "I"); - lpCache->focus_widget = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "focus_widget", "I"); - lpCache->default_widget = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "default_widget", "I"); - lpCache->transient_parent = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "transient_parent", "I"); - lpCache->resize_count = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "resize_count", "S"); - lpCache->allow_shrink = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "allow_shrink", "I"); - lpCache->allow_grow = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "allow_grow", "I"); - lpCache->auto_shrink = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "auto_shrink", "I"); - lpCache->handling_resize = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "handling_resize", "I"); - lpCache->position = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "position", "I"); - lpCache->use_uposition = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "use_uposition", "I"); - lpCache->modal = (*env)->GetFieldID(env, lpCache->GtkWindowClass, "modal", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkDialogFids(JNIEnv *env, jobject lpGtkDialog, PGtkDialog_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkDialogClass = (*env)->GetObjectClass(env, lpGtkDialog); - cacheGtkWindowFids(env, lpGtkDialog, &PGLOB(GtkWindowFc)); - lpCache->vbox = (*env)->GetFieldID(env, lpCache->GtkDialogClass, "vbox", "I"); - lpCache->action_area = (*env)->GetFieldID(env, lpCache->GtkDialogClass, "action_area", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkCheckMenuItemFids(JNIEnv *env, jobject lpGtkCheckMenuItem, PGtkCheckMenuItem_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkCheckMenuItemClass = (*env)->GetObjectClass(env, lpGtkCheckMenuItem); - cacheGtkMenuItemFids(env, lpGtkCheckMenuItem, &PGLOB(GtkMenuItemFc)); - lpCache->active = (*env)->GetFieldID(env, lpCache->GtkCheckMenuItemClass, "active", "I"); - lpCache->always_show_toggle = (*env)->GetFieldID(env, lpCache->GtkCheckMenuItemClass, "always_show_toggle", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkAdjustmentFids(JNIEnv *env, jobject lpGtkAdjustment, PGtkAdjustment_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkAdjustmentClass = (*env)->GetObjectClass(env, lpGtkAdjustment); - cacheGtkDataFids(env, lpGtkAdjustment, &PGLOB(GtkDataFc)); - lpCache->lower = (*env)->GetFieldID(env, lpCache->GtkAdjustmentClass, "lower", "F"); - lpCache->upper = (*env)->GetFieldID(env, lpCache->GtkAdjustmentClass, "upper", "F"); - lpCache->value = (*env)->GetFieldID(env, lpCache->GtkAdjustmentClass, "value", "F"); - lpCache->step_increment = (*env)->GetFieldID(env, lpCache->GtkAdjustmentClass, "step_increment", "F"); - lpCache->page_increment = (*env)->GetFieldID(env, lpCache->GtkAdjustmentClass, "page_increment", "F"); - lpCache->page_size = (*env)->GetFieldID(env, lpCache->GtkAdjustmentClass, "page_size", "F"); - - lpCache->cached = 1; -}; - -void cacheGtkBoxFids(JNIEnv *env, jobject lpGtkBox, PGtkBox_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkBoxClass = (*env)->GetObjectClass(env, lpGtkBox); - cacheGtkContainerFids(env, lpGtkBox, &PGLOB(GtkContainerFc)); - lpCache->children = (*env)->GetFieldID(env, lpCache->GtkBoxClass, "children", "I"); - lpCache->spacing = (*env)->GetFieldID(env, lpCache->GtkBoxClass, "spacing", "S"); - lpCache->homogeneous = (*env)->GetFieldID(env, lpCache->GtkBoxClass, "homogeneous", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkHBoxFids(JNIEnv *env, jobject lpGtkHBox, PGtkHBox_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkHBoxClass = (*env)->GetObjectClass(env, lpGtkHBox); - cacheGtkBoxFids(env, lpGtkHBox, &PGLOB(GtkBoxFc)); - - lpCache->cached = 1; -}; - -void cacheGtkMenuFids(JNIEnv *env, jobject lpGtkMenu, PGtkMenu_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkMenuClass = (*env)->GetObjectClass(env, lpGtkMenu); - cacheGtkMenuShellFids(env, lpGtkMenu, &PGLOB(GtkMenuShellFc)); - lpCache->parent_menu_item = (*env)->GetFieldID(env, lpCache->GtkMenuClass, "parent_menu_item", "I"); - lpCache->old_active_menu_item = (*env)->GetFieldID(env, lpCache->GtkMenuClass, "old_active_menu_item", "I"); - lpCache->accel_group = (*env)->GetFieldID(env, lpCache->GtkMenuClass, "accel_group", "I"); - lpCache->position_func = (*env)->GetFieldID(env, lpCache->GtkMenuClass, "position_func", "I"); - lpCache->position_func_data = (*env)->GetFieldID(env, lpCache->GtkMenuClass, "position_func_data", "I"); - lpCache->toplevel = (*env)->GetFieldID(env, lpCache->GtkMenuClass, "toplevel", "I"); - lpCache->tearoff_window = (*env)->GetFieldID(env, lpCache->GtkMenuClass, "tearoff_window", "I"); - lpCache->torn_off = (*env)->GetFieldID(env, lpCache->GtkMenuClass, "torn_off", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkMenuShellFids(JNIEnv *env, jobject lpGtkMenuShell, PGtkMenuShell_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkMenuShellClass = (*env)->GetObjectClass(env, lpGtkMenuShell); - cacheGtkContainerFids(env, lpGtkMenuShell, &PGLOB(GtkContainerFc)); - lpCache->active = (*env)->GetFieldID(env, lpCache->GtkMenuShellClass, "active", "I"); - lpCache->cached = 1; - -}; - -void cacheGtkItemFids(JNIEnv *env, jobject lpGtkItem, PGtkItem_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkItemClass = (*env)->GetObjectClass(env, lpGtkItem); - cacheGtkBinFids(env, lpGtkItem, &PGLOB(GtkBinFc)); - - lpCache->cached = 1; -} - -void cacheGtkMenuItemFids(JNIEnv *env, jobject lpGtkMenuItem, PGtkMenuItem_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkMenuItemClass = (*env)->GetObjectClass(env, lpGtkMenuItem); - cacheGtkItemFids(env, lpGtkMenuItem, &PGLOB(GtkItemFc)); - lpCache->submenu = (*env)->GetFieldID(env, lpCache->GtkMenuItemClass, "submenu", "I"); - lpCache->accelerator_signal = (*env)->GetFieldID(env, lpCache->GtkMenuItemClass, "accelerator_signal", "I"); - lpCache->toggle_size = (*env)->GetFieldID(env, lpCache->GtkMenuItemClass, "toggle_size", "I"); - lpCache->accelerator_width = (*env)->GetFieldID(env, lpCache->GtkMenuItemClass, "accelerator_width", "I"); - lpCache->show_toggle_indicator = (*env)->GetFieldID(env, lpCache->GtkMenuItemClass, "show_toggle_indicator", "I"); - lpCache->show_submenu_indicator = (*env)->GetFieldID(env, lpCache->GtkMenuItemClass, "show_submenu_indicator", "I"); - lpCache->submenu_placement = (*env)->GetFieldID(env, lpCache->GtkMenuItemClass, "submenu_placement", "I"); - lpCache->submenu_direction = (*env)->GetFieldID(env, lpCache->GtkMenuItemClass, "submenu_direction", "I"); - lpCache->right_justify = (*env)->GetFieldID(env, lpCache->GtkMenuItemClass, "right_justify", "I"); - lpCache->timer = (*env)->GetFieldID(env, lpCache->GtkMenuItemClass, "timer", "I"); - - lpCache->cached = 1; -}; - -void cacheGtkCListRowFids(JNIEnv *env, jobject lpGtkCListRow, PGtkCListRow_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GtkCListRowClass = (*env)->GetObjectClass(env, lpGtkCListRow); - lpCache->cell = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "cell", "I"); - lpCache->state = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "state", "I"); - lpCache->foreground_red = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "foreground_red", "S"); - lpCache->foreground_green = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "foreground_green", "S"); - lpCache->foreground_blue = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "foreground_blue", "S"); - lpCache->foreground_pixel = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "foreground_pixel", "I"); - lpCache->background_red = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "background_red", "S"); - lpCache->background_green = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "background_green", "S"); - lpCache->background_blue = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "background_blue", "S"); - lpCache->background_pixel = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "background_pixel", "I"); - lpCache->style = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "style", "I"); - lpCache->data = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "data", "I"); - lpCache->destroy = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "destroy", "I"); - lpCache->fg_set = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "fg_set", "I"); - lpCache->bg_set = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "bg_set", "I"); - lpCache->selectable = (*env)->GetFieldID(env, lpCache->GtkCListRowClass, "selectable", "I"); - - lpCache->cached = 1; -} - -void cacheGtkCListColumnFids(JNIEnv *env, jobject lpGtkCListColumn, PGtkCListColumn_FID_CACHE lpCache) -{ - if (lpCache->cached) return; - - lpCache->GtkCListColumnClass = (*env)->GetObjectClass(env, lpGtkCListColumn); - lpCache->title = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "title", "I"); - lpCache->area_x = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "area_x", "S"); - lpCache->area_y = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "area_y", "S"); - lpCache->area_width = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "area_width", "S"); - lpCache->area_height = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "area_height", "S"); - lpCache->button = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "button", "I"); - lpCache->window = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "window", "I"); - lpCache->width = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "width", "I"); - lpCache->min_width = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "min_width", "I"); - lpCache->max_width = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "max_width", "I"); - lpCache->justification = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "justification", "I"); - lpCache->visible = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "visible", "I"); - lpCache->width_set = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "width_set", "I"); - lpCache->resizeable = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "resizeable", "I"); - lpCache->auto_resize = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "auto_resize", "I"); - lpCache->button_passive = (*env)->GetFieldID(env, lpCache->GtkCListColumnClass, "button_passive", "I"); - - lpCache->cached = 1; -} - -void cacheGtkCTreeFids(JNIEnv *env, jobject lpGtkCTree, PGtkCTree_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkCTreeClass = (*env)->GetObjectClass(env, lpGtkCTree); - cacheGtkCListFids(env, lpGtkCTree, &PGLOB(GtkCListFc)); - lpCache->tree_indent = (*env)->GetFieldID(env, lpCache->GtkCTreeClass, "tree_indent", "I"); - lpCache->tree_column = (*env)->GetFieldID(env, lpCache->GtkCTreeClass, "tree_column", "I"); - - lpCache->cached = 1; -} - -void cacheGtkCTreeRowFids(JNIEnv *env, jobject lpGtkCTreeRow, PGtkCTreeRow_FID_CACHE lpCache) -{ - DECL_GLOB(pGlob) - if (lpCache->cached) return; - - lpCache->GtkCTreeRowClass = (*env)->GetObjectClass(env, lpGtkCTreeRow); - cacheGtkCListRowFids(env, lpGtkCTreeRow, &PGLOB(GtkCListRowFc)); - lpCache->parent = (*env)->GetFieldID(env, lpCache->GtkCTreeRowClass, "parent", "I"); - lpCache->sibling = (*env)->GetFieldID(env, lpCache->GtkCTreeRowClass, "sibling", "I"); - lpCache->children = (*env)->GetFieldID(env, lpCache->GtkCTreeRowClass, "children", "I"); - lpCache->pixmap_closed = (*env)->GetFieldID(env, lpCache->GtkCTreeRowClass, "pixmap_closed", "I"); - lpCache->mask_closed = (*env)->GetFieldID(env, lpCache->GtkCTreeRowClass, "mask_closed", "I"); - lpCache->pixmap_opened = (*env)->GetFieldID(env, lpCache->GtkCTreeRowClass, "pixmap_opened", "I"); - lpCache->mask_opened = (*env)->GetFieldID(env, lpCache->GtkCTreeRowClass, "mask_opened", "I"); - lpCache->level = (*env)->GetFieldID(env, lpCache->GtkCTreeRowClass, "level", "S"); - lpCache->is_leaf = (*env)->GetFieldID(env, lpCache->GtkCTreeRowClass, "is_leaf", "I"); - lpCache->expanded = (*env)->GetFieldID(env, lpCache->GtkCTreeRowClass, "expanded", "I"); - - lpCache->cached = 1; -} - -/* ----------- swt getters and setters ----------- */ -/** - * These functions get or set object field ids assuming that the - * fids for these objects have already been cached. - * - */ -void getGdkColorFields(JNIEnv *env, jobject lpObject, GdkColor *lpGdkColor, GdkColor_FID_CACHE *lpGdkColorFc) -{ - lpGdkColor->pixel = (*env)->GetIntField(env, lpObject, lpGdkColorFc->pixel); - lpGdkColor->red = (*env)->GetShortField(env, lpObject, lpGdkColorFc->red); - lpGdkColor->green = (*env)->GetShortField(env, lpObject, lpGdkColorFc->green); - lpGdkColor->blue = (*env)->GetShortField(env, lpObject, lpGdkColorFc->blue); -} - -void setGdkColorFields(JNIEnv *env, jobject lpObject, GdkColor *lpGdkColor, GdkColor_FID_CACHE *lpGdkColorFc) -{ - (*env)->SetIntField(env, lpObject, lpGdkColorFc->pixel, (jint)lpGdkColor->pixel); - (*env)->SetShortField(env, lpObject, lpGdkColorFc->red, (jshort)lpGdkColor->red); - (*env)->SetShortField(env, lpObject, lpGdkColorFc->green, (jshort)lpGdkColor->green); - (*env)->SetShortField(env, lpObject, lpGdkColorFc->blue, (jshort)lpGdkColor->blue); -} - -void getGdkEventKeyFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventKey_FID_CACHE *lpGdkEventKeyFc) -{ - GdkEventKey *lpGdkEventKey = (GdkEventKey*)lpGdkEvent; - lpGdkEventKey->type = (*env)->GetIntField(env, lpObject, lpGdkEventKeyFc->type); - lpGdkEventKey->window = (GdkWindow*)(*env)->GetIntField(env, lpObject, lpGdkEventKeyFc->window); - lpGdkEventKey->send_event = (*env)->GetByteField(env, lpObject, lpGdkEventKeyFc->send_event); - lpGdkEventKey->time = (*env)->GetIntField(env, lpObject, lpGdkEventKeyFc->time); - lpGdkEventKey->state = (*env)->GetIntField(env, lpObject, lpGdkEventKeyFc->state); - lpGdkEventKey->keyval = (*env)->GetIntField(env, lpObject, lpGdkEventKeyFc->keyval); - lpGdkEventKey->length = (*env)->GetIntField(env, lpObject, lpGdkEventKeyFc->length); - lpGdkEventKey->string = (char*)(*env)->GetIntField(env, lpObject, lpGdkEventKeyFc->string); -} - -void setGdkEventKeyFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventKey_FID_CACHE *lpGdkEventKeyFc) -{ - GdkEventKey *lpGdkEventKey = (GdkEventKey*)lpGdkEvent; - (*env)->SetIntField(env, lpObject, lpGdkEventKeyFc->type, (jint)lpGdkEventKey->type); - (*env)->SetIntField(env, lpObject, lpGdkEventKeyFc->window, (jint)lpGdkEventKey->window); - (*env)->SetByteField(env, lpObject, lpGdkEventKeyFc->send_event, (jbyte)lpGdkEventKey->send_event); - (*env)->SetIntField(env, lpObject, lpGdkEventKeyFc->time, (jint)lpGdkEventKey->time); - (*env)->SetIntField(env, lpObject, lpGdkEventKeyFc->state, (jint)lpGdkEventKey->state); - (*env)->SetIntField(env, lpObject, lpGdkEventKeyFc->keyval, (jint)lpGdkEventKey->keyval); - (*env)->SetIntField(env, lpObject, lpGdkEventKeyFc->length, (jint)lpGdkEventKey->length); - (*env)->SetIntField(env, lpObject, lpGdkEventKeyFc->string, (jint)lpGdkEventKey->string); -} - -void getGdkEventButtonFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventButton_FID_CACHE *lpGdkEventButtonFc) -{ - GdkEventButton *lpGdkEventButton = (GdkEventButton*)lpGdkEvent; - lpGdkEventButton->type = (*env)->GetIntField(env, lpObject, lpGdkEventButtonFc->type); - lpGdkEventButton->window = (GdkWindow*)(*env)->GetIntField(env, lpObject, lpGdkEventButtonFc->window); - lpGdkEventButton->send_event = (*env)->GetByteField(env, lpObject, lpGdkEventButtonFc->send_event); - lpGdkEventButton->time = (*env)->GetIntField(env, lpObject, lpGdkEventButtonFc->time); - lpGdkEventButton->x = (*env)->GetLongField(env, lpObject, lpGdkEventButtonFc->x); - lpGdkEventButton->y = (*env)->GetLongField(env, lpObject, lpGdkEventButtonFc->y); - lpGdkEventButton->pressure = (*env)->GetLongField(env, lpObject, lpGdkEventButtonFc->pressure); - lpGdkEventButton->xtilt = (*env)->GetLongField(env, lpObject, lpGdkEventButtonFc->xtilt); - lpGdkEventButton->ytilt = (*env)->GetLongField(env, lpObject, lpGdkEventButtonFc->ytilt); - lpGdkEventButton->state = (*env)->GetIntField(env, lpObject, lpGdkEventButtonFc->state); - lpGdkEventButton->button = (*env)->GetIntField(env, lpObject, lpGdkEventButtonFc->button); - lpGdkEventButton->source = (*env)->GetIntField(env, lpObject, lpGdkEventButtonFc->source); - lpGdkEventButton->deviceid = (*env)->GetIntField(env, lpObject, lpGdkEventButtonFc->deviceid); - lpGdkEventButton->x_root = (*env)->GetLongField(env, lpObject, lpGdkEventButtonFc->x_root); - lpGdkEventButton->y_root = (*env)->GetLongField(env, lpObject, lpGdkEventButtonFc->y_root); -} - -void setGdkEventButtonFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventButton_FID_CACHE *lpGdkEventButtonFc) -{ - GdkEventButton *lpGdkEventButton = (GdkEventButton*)lpGdkEvent; - (*env)->SetIntField(env, lpObject, lpGdkEventButtonFc->type, (jint)lpGdkEventButton->type); - (*env)->SetIntField(env, lpObject, lpGdkEventButtonFc->window, (jint)lpGdkEventButton->window); - (*env)->SetByteField(env, lpObject, lpGdkEventButtonFc->send_event, (jbyte)lpGdkEventButton->send_event); - (*env)->SetIntField(env, lpObject, lpGdkEventButtonFc->time, (jint)lpGdkEventButton->time); - (*env)->SetLongField(env, lpObject, lpGdkEventButtonFc->x, (jlong)lpGdkEventButton->x); - (*env)->SetLongField(env, lpObject, lpGdkEventButtonFc->y, (jlong)lpGdkEventButton->y); - (*env)->SetLongField(env, lpObject, lpGdkEventButtonFc->pressure, (jlong)lpGdkEventButton->pressure); - (*env)->SetLongField(env, lpObject, lpGdkEventButtonFc->xtilt, (jlong)lpGdkEventButton->xtilt); - (*env)->SetLongField(env, lpObject, lpGdkEventButtonFc->ytilt, (jlong)lpGdkEventButton->ytilt); - (*env)->SetIntField(env, lpObject, lpGdkEventButtonFc->state, (jint)lpGdkEventButton->state); - (*env)->SetIntField(env, lpObject, lpGdkEventButtonFc->button, (jint)lpGdkEventButton->button); - (*env)->SetIntField(env, lpObject, lpGdkEventButtonFc->source, (jint)lpGdkEventButton->source); - (*env)->SetIntField(env, lpObject, lpGdkEventButtonFc->deviceid, (jint)lpGdkEventButton->deviceid); - (*env)->SetLongField(env, lpObject, lpGdkEventButtonFc->x_root, (jlong)lpGdkEventButton->x_root); - (*env)->SetLongField(env, lpObject, lpGdkEventButtonFc->y_root, (jlong)lpGdkEventButton->y_root); -} - -void getGdkEventMotionFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventMotion_FID_CACHE *lpGdkEventMotionFc) -{ - GdkEventMotion *lpGdkEventMotion = (GdkEventMotion*)lpGdkEvent; - lpGdkEventMotion->type = (*env)->GetIntField(env, lpObject, lpGdkEventMotionFc->type); - lpGdkEventMotion->window = (GdkWindow*)(*env)->GetIntField(env, lpObject, lpGdkEventMotionFc->window); - lpGdkEventMotion->send_event = (*env)->GetByteField(env, lpObject, lpGdkEventMotionFc->send_event); - lpGdkEventMotion->time = (*env)->GetIntField(env, lpObject, lpGdkEventMotionFc->time); - lpGdkEventMotion->x = (*env)->GetLongField(env, lpObject, lpGdkEventMotionFc->x); - lpGdkEventMotion->y = (*env)->GetLongField(env, lpObject, lpGdkEventMotionFc->y); - lpGdkEventMotion->pressure = (*env)->GetLongField(env, lpObject, lpGdkEventMotionFc->pressure); - lpGdkEventMotion->xtilt = (*env)->GetLongField(env, lpObject, lpGdkEventMotionFc->xtilt); - lpGdkEventMotion->ytilt = (*env)->GetLongField(env, lpObject, lpGdkEventMotionFc->ytilt); - lpGdkEventMotion->state = (*env)->GetIntField(env, lpObject, lpGdkEventMotionFc->state); - lpGdkEventMotion->is_hint = (*env)->GetIntField(env, lpObject, lpGdkEventMotionFc->is_hint); - lpGdkEventMotion->source = (*env)->GetIntField(env, lpObject, lpGdkEventMotionFc->source); - lpGdkEventMotion->deviceid = (*env)->GetIntField(env, lpObject, lpGdkEventMotionFc->deviceid); - lpGdkEventMotion->x_root = (*env)->GetLongField(env, lpObject, lpGdkEventMotionFc->x_root); - lpGdkEventMotion->y_root = (*env)->GetLongField(env, lpObject, lpGdkEventMotionFc->y_root); -} - -void setGdkEventMotionFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventMotion_FID_CACHE *lpGdkEventMotionFc) -{ - GdkEventMotion *lpGdkEventMotion = (GdkEventMotion*)lpGdkEvent; - (*env)->SetIntField(env, lpObject, lpGdkEventMotionFc->type, lpGdkEventMotion->type); - (*env)->SetIntField(env, lpObject, lpGdkEventMotionFc->window, (jint)lpGdkEventMotion->window); - (*env)->SetByteField(env, lpObject, lpGdkEventMotionFc->send_event, lpGdkEventMotion->send_event); - (*env)->SetIntField(env, lpObject, lpGdkEventMotionFc->time, (jint)lpGdkEventMotion->time); - (*env)->SetLongField(env, lpObject, lpGdkEventMotionFc->x, (jlong)lpGdkEventMotion->x); - (*env)->SetLongField(env, lpObject, lpGdkEventMotionFc->y, (jlong)lpGdkEventMotion->y); - (*env)->SetLongField(env, lpObject, lpGdkEventMotionFc->pressure, (jlong)lpGdkEventMotion->pressure); - (*env)->SetLongField(env, lpObject, lpGdkEventMotionFc->xtilt, (jlong)lpGdkEventMotion->xtilt); - (*env)->SetLongField(env, lpObject, lpGdkEventMotionFc->ytilt, (jlong)lpGdkEventMotion->ytilt); - (*env)->SetIntField(env, lpObject, lpGdkEventMotionFc->state, (jint)lpGdkEventMotion->state); - (*env)->SetIntField(env, lpObject, lpGdkEventMotionFc->is_hint, (jint)lpGdkEventMotion->is_hint); - (*env)->SetIntField(env, lpObject, lpGdkEventMotionFc->source, (jint)lpGdkEventMotion->source); - (*env)->SetIntField(env, lpObject, lpGdkEventMotionFc->deviceid, (jint)lpGdkEventMotion->deviceid); - (*env)->SetLongField(env, lpObject, lpGdkEventMotionFc->x_root, (jlong)lpGdkEventMotion->x_root); - (*env)->SetLongField(env, lpObject, lpGdkEventMotionFc->y_root, (jlong)lpGdkEventMotion->y_root); -} - -void getGdkEventExposeFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventExpose_FID_CACHE *lpGdkEventExposeFc) -{ - GdkEventExpose *lpGdkEventExpose = (GdkEventExpose*)lpGdkEvent; - lpGdkEventExpose->area.x = (*env)->GetShortField(env, lpObject, lpGdkEventExposeFc->x); - lpGdkEventExpose->area.y = (*env)->GetShortField(env, lpObject, lpGdkEventExposeFc->y); - lpGdkEventExpose->area.width = (*env)->GetShortField(env, lpObject, lpGdkEventExposeFc->width); - lpGdkEventExpose->area.height = (*env)->GetShortField(env, lpObject, lpGdkEventExposeFc->height); - lpGdkEventExpose->count = (*env)->GetIntField(env, lpObject, lpGdkEventExposeFc->count); -} - -void setGdkEventExposeFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventExpose_FID_CACHE *lpGdkEventExposeFc) -{ - GdkEventExpose *lpGdkEventExpose = (GdkEventExpose*)lpGdkEvent; - (*env)->SetShortField(env, lpObject, lpGdkEventExposeFc->x, (jshort)lpGdkEventExpose->area.x); - (*env)->SetShortField(env, lpObject, lpGdkEventExposeFc->y, (jshort)lpGdkEventExpose->area.y); - (*env)->SetShortField(env, lpObject, lpGdkEventExposeFc->width, (jshort)lpGdkEventExpose->area.width); - (*env)->SetShortField(env, lpObject, lpGdkEventExposeFc->height, (jshort)lpGdkEventExpose->area.height); - (*env)->SetIntField(env, lpObject, lpGdkEventExposeFc->count, (jint)lpGdkEventExpose->count); -} - -void getGdkFontFields(JNIEnv *env, jobject lpObject, GdkFont *lpGdkFont, GdkFont_FID_CACHE *lpGdkFontFc) -{ - lpGdkFont->type = (*env)->GetIntField(env, lpObject, lpGdkFontFc->type); - lpGdkFont->ascent = (*env)->GetIntField(env, lpObject, lpGdkFontFc->ascent); - lpGdkFont->descent = (*env)->GetIntField(env, lpObject, lpGdkFontFc->descent); -} - -void setGdkFontFields(JNIEnv *env, jobject lpObject, GdkFont *lpGdkFont, GdkFont_FID_CACHE *lpGdkFontFc) -{ - (*env)->SetIntField(env, lpObject, lpGdkFontFc->type, (jint)lpGdkFont->type); - (*env)->SetIntField(env, lpObject, lpGdkFontFc->ascent, (jint)lpGdkFont->ascent); - (*env)->SetIntField(env, lpObject, lpGdkFontFc->descent, (jint)lpGdkFont->descent); -} - -void getGdkGCValuesFields(JNIEnv *env, jobject lpObject, GdkGCValues *lpGdkGCValues, GdkGCValues_FID_CACHE *lpGdkGCValuesFc) -{ - lpGdkGCValues->foreground.pixel = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->foreground_pixel); - lpGdkGCValues->foreground.red = (*env)->GetShortField(env, lpObject, lpGdkGCValuesFc->foreground_red); - lpGdkGCValues->foreground.green = (*env)->GetShortField(env, lpObject, lpGdkGCValuesFc->foreground_green); - lpGdkGCValues->foreground.blue = (*env)->GetShortField(env, lpObject, lpGdkGCValuesFc->foreground_blue); - lpGdkGCValues->background.pixel = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->background_pixel); - lpGdkGCValues->background.red = (*env)->GetShortField(env, lpObject, lpGdkGCValuesFc->background_red); - lpGdkGCValues->background.green = (*env)->GetShortField(env, lpObject, lpGdkGCValuesFc->background_green); - lpGdkGCValues->background.blue = (*env)->GetShortField(env, lpObject, lpGdkGCValuesFc->background_blue); - lpGdkGCValues->font = (GdkFont*)(*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->font); - lpGdkGCValues->function = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->function); - lpGdkGCValues->fill = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->fill); - lpGdkGCValues->tile = (GdkPixmap*)(*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->tile); - lpGdkGCValues->stipple = (GdkPixmap*)(*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->stipple); - lpGdkGCValues->clip_mask = (GdkPixmap*)(*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->clip_mask); - lpGdkGCValues->subwindow_mode = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->subwindow_mode); - lpGdkGCValues->ts_x_origin = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->ts_x_origin); - lpGdkGCValues->ts_y_origin = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->ts_y_origin); - lpGdkGCValues->clip_x_origin = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->clip_x_origin); - lpGdkGCValues->clip_y_origin = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->clip_y_origin); - lpGdkGCValues->graphics_exposures = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->graphics_exposures); - lpGdkGCValues->line_width = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->line_width); - lpGdkGCValues->line_style = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->line_style); - lpGdkGCValues->cap_style = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->cap_style); - lpGdkGCValues->join_style = (*env)->GetIntField(env, lpObject, lpGdkGCValuesFc->join_style); -} - -void setGdkGCValuesFields(JNIEnv *env, jobject lpObject, GdkGCValues *lpGdkGCValues, GdkGCValues_FID_CACHE *lpGdkGCValuesFc) -{ - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->foreground_pixel, (jint)lpGdkGCValues->foreground.pixel); - (*env)->SetShortField(env, lpObject, lpGdkGCValuesFc->foreground_red, (jshort)lpGdkGCValues->foreground.red); - (*env)->SetShortField(env, lpObject, lpGdkGCValuesFc->foreground_green, (jshort)lpGdkGCValues->foreground.green); - (*env)->SetShortField(env, lpObject, lpGdkGCValuesFc->foreground_blue, (jshort)lpGdkGCValues->foreground.blue); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->background_pixel, (jint)lpGdkGCValues->background.pixel); - (*env)->SetShortField(env, lpObject, lpGdkGCValuesFc->background_red, (jshort)lpGdkGCValues->background.red); - (*env)->SetShortField(env, lpObject, lpGdkGCValuesFc->background_green, (jshort)lpGdkGCValues->background.green); - (*env)->SetShortField(env, lpObject, lpGdkGCValuesFc->background_blue, (jshort)lpGdkGCValues->background.blue); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->font, (jint)lpGdkGCValues->font); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->function, (jint)lpGdkGCValues->function); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->fill, (jint)lpGdkGCValues->fill); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->tile, (jint)lpGdkGCValues->tile); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->stipple, (jint)lpGdkGCValues->stipple); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->clip_mask, (jint)lpGdkGCValues->clip_mask); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->subwindow_mode, (jint)lpGdkGCValues->subwindow_mode); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->ts_x_origin, (jint)lpGdkGCValues->ts_x_origin); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->ts_y_origin, (jint)lpGdkGCValues->ts_y_origin); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->clip_x_origin, (jint)lpGdkGCValues->clip_x_origin); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->clip_y_origin, (jint)lpGdkGCValues->clip_y_origin); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->graphics_exposures, (jint)lpGdkGCValues->graphics_exposures); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->line_width, (jint)lpGdkGCValues->line_width); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->line_style, (jint)lpGdkGCValues->line_style); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->cap_style, (jint)lpGdkGCValues->cap_style); - (*env)->SetIntField(env, lpObject, lpGdkGCValuesFc->join_style, (jint)lpGdkGCValues->join_style); -} - -void getGdkImageFields(JNIEnv *env, jobject lpObject, GdkImage *lpGdkImage, GdkImage_FID_CACHE *lpGdkImageFc) -{ - lpGdkImage->type = (*env)->GetIntField(env, lpObject, lpGdkImageFc->type); - lpGdkImage->visual = (GdkVisual*)(*env)->GetIntField(env, lpObject, lpGdkImageFc->visual); - lpGdkImage->byte_order = (*env)->GetIntField(env, lpObject, lpGdkImageFc->byte_order); - lpGdkImage->width = (*env)->GetShortField(env, lpObject, lpGdkImageFc->width); - lpGdkImage->height = (*env)->GetShortField(env, lpObject, lpGdkImageFc->height); - lpGdkImage->depth = (*env)->GetShortField(env, lpObject, lpGdkImageFc->depth); - lpGdkImage->bpp = (*env)->GetShortField(env, lpObject, lpGdkImageFc->bpp); - lpGdkImage->bpl = (*env)->GetShortField(env, lpObject, lpGdkImageFc->bpl); - lpGdkImage->mem = (gpointer)(*env)->GetIntField(env, lpObject, lpGdkImageFc->mem); -} - -void setGdkImageFields(JNIEnv *env, jobject lpObject, GdkImage *lpGdkImage, GdkImage_FID_CACHE *lpGdkImageFc) -{ - (*env)->SetIntField(env, lpObject, lpGdkImageFc->type, (jint)lpGdkImage->type); - (*env)->SetIntField(env, lpObject, lpGdkImageFc->visual, (jint)lpGdkImage->visual); - (*env)->SetIntField(env, lpObject, lpGdkImageFc->byte_order, (jint)lpGdkImage->byte_order); - (*env)->SetShortField(env, lpObject, lpGdkImageFc->width, (jshort)lpGdkImage->width); - (*env)->SetShortField(env, lpObject, lpGdkImageFc->height, (jshort)lpGdkImage->height); - (*env)->SetShortField(env, lpObject, lpGdkImageFc->depth, (jshort)lpGdkImage->depth); - (*env)->SetShortField(env, lpObject, lpGdkImageFc->bpp, (jshort)lpGdkImage->bpp); - (*env)->SetShortField(env, lpObject, lpGdkImageFc->bpl, (jshort)lpGdkImage->bpl); - (*env)->SetIntField(env, lpObject, lpGdkImageFc->mem, (jint)lpGdkImage->mem); -} - -void getGdkPointFields(JNIEnv *env, jobject lpObject, GdkPoint *lpGdkPoint, GdkPoint_FID_CACHE *lpGdkPointFc) -{ - lpGdkPoint->x = (*env)->GetShortField(env, lpObject, lpGdkPointFc->x); - lpGdkPoint->y = (*env)->GetShortField(env, lpObject, lpGdkPointFc->y); -} - -void setGdkPointFields(JNIEnv *env, jobject lpObject, GdkPoint *lpGdkPoint, GdkPoint_FID_CACHE *lpGdkPointFc) -{ - (*env)->SetShortField(env, lpObject, lpGdkPointFc->x, (jshort)lpGdkPoint->x); - (*env)->SetShortField(env, lpObject, lpGdkPointFc->y, (jshort)lpGdkPoint->y); -} - -void getGdkRectangleFields(JNIEnv *env, jobject lpObject, GdkRectangle *lpGdkRectangle, GdkRectangle_FID_CACHE *lpGdkRectangleFc) -{ - lpGdkRectangle->x = (*env)->GetShortField(env, lpObject, lpGdkRectangleFc->x); - lpGdkRectangle->y = (*env)->GetShortField(env, lpObject, lpGdkRectangleFc->y); - lpGdkRectangle->width = (*env)->GetShortField(env, lpObject, lpGdkRectangleFc->width); - lpGdkRectangle->height = (*env)->GetShortField(env, lpObject, lpGdkRectangleFc->height); -} - -void setGdkRectangleFields(JNIEnv *env, jobject lpObject, GdkRectangle *lpGdkRectangle, GdkRectangle_FID_CACHE *lpGdkRectangleFc) -{ - (*env)->SetShortField(env, lpObject, lpGdkRectangleFc->x, (jshort)lpGdkRectangle->x); - (*env)->SetShortField(env, lpObject, lpGdkRectangleFc->y, (jshort)lpGdkRectangle->y); - (*env)->SetShortField(env, lpObject, lpGdkRectangleFc->width, (jshort)lpGdkRectangle->width); - (*env)->SetShortField(env, lpObject, lpGdkRectangleFc->height, (jshort)lpGdkRectangle->height); -} - -void getGdkVisualFields(JNIEnv *env, jobject lpObject, GdkVisual *lpGdkVisual, GdkVisual_FID_CACHE *lpGdkVisualFc) -{ - lpGdkVisual->type = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->type); - lpGdkVisual->depth = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->depth); - lpGdkVisual->byte_order = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->byte_order); - lpGdkVisual->colormap_size = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->colormap_size); - lpGdkVisual->bits_per_rgb = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->bits_per_rgb); - lpGdkVisual->red_mask = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->red_mask); - lpGdkVisual->red_shift = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->red_shift); - lpGdkVisual->red_prec = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->red_prec); - lpGdkVisual->green_mask = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->green_mask); - lpGdkVisual->green_shift = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->green_shift); - lpGdkVisual->green_prec = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->green_prec); - lpGdkVisual->blue_mask = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->blue_mask); - lpGdkVisual->blue_shift = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->blue_shift); - lpGdkVisual->blue_prec = (*env)->GetIntField(env, lpObject, lpGdkVisualFc->blue_prec); -} - -void setGdkVisualFields(JNIEnv *env, jobject lpObject, GdkVisual *lpGdkVisual, GdkVisual_FID_CACHE *lpGdkVisualFc) -{ - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->type, (jint)lpGdkVisual->type); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->depth, (jint)lpGdkVisual->depth); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->byte_order, (jint)lpGdkVisual->byte_order); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->colormap_size, (jint)lpGdkVisual->colormap_size); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->bits_per_rgb, (jint)lpGdkVisual->bits_per_rgb); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->red_mask, (jint)lpGdkVisual->red_mask); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->red_shift, (jint)lpGdkVisual->red_shift); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->red_prec, (jint)lpGdkVisual->red_prec); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->green_mask, (jint)lpGdkVisual->green_mask); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->green_shift, (jint)lpGdkVisual->green_shift); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->green_prec, (jint)lpGdkVisual->green_prec); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->blue_mask, (jint)lpGdkVisual->blue_mask); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->blue_shift, (jint)lpGdkVisual->blue_shift); - (*env)->SetIntField(env, lpObject, lpGdkVisualFc->blue_prec, (jint)lpGdkVisual->blue_prec); -} - -void getGtkAllocationFields(JNIEnv *env, jobject lpObject, GtkAllocation *lpGtkAllocation, GtkAllocation_FID_CACHE *lpGtkAllocationFc) -{ - lpGtkAllocation->x = (*env)->GetShortField(env, lpObject, lpGtkAllocationFc->x); - lpGtkAllocation->y = (*env)->GetShortField(env, lpObject, lpGtkAllocationFc->y); - lpGtkAllocation->width = (*env)->GetShortField(env, lpObject, lpGtkAllocationFc->width); - lpGtkAllocation->height = (*env)->GetShortField(env, lpObject, lpGtkAllocationFc->height); -} - -void setGtkAllocationFields(JNIEnv *env, jobject lpObject, GtkAllocation *lpGtkAllocation, GtkAllocation_FID_CACHE *lpGtkAllocationFc) -{ - (*env)->SetShortField(env, lpObject, lpGtkAllocationFc->x, lpGtkAllocation->x); - (*env)->SetShortField(env, lpObject, lpGtkAllocationFc->y, lpGtkAllocation->y); - (*env)->SetShortField(env, lpObject, lpGtkAllocationFc->width, lpGtkAllocation->width); - (*env)->SetShortField(env, lpObject, lpGtkAllocationFc->height, lpGtkAllocation->height); -} - -void getGtkArgFields(JNIEnv *env, jobject lpObject, GtkArg *lpGtkArg, GtkArg_FID_CACHE *lpGtkArgFc) -{ - fprintf(stderr, "WARNING: Unimplemented method getGtkArgFields.\n"); -} - -void setGtkArgFields(JNIEnv *env, jobject lpObject, GtkArg *lpGtkArg, GtkArg_FID_CACHE *lpGtkArgFc) -{ - fprintf(stderr, "WARNING: Unimplemented method setGtkArgFields.\n"); -} - -void getGtkBinFields(JNIEnv *env, jobject lpObject, GtkBin *lpGtkBin, GtkBin_FID_CACHE *lpGtkBinFc) -{ - DECL_GLOB(pGlob) - getGtkContainerFields(env, lpObject, &lpGtkBin->container, &PGLOB(GtkContainerFc)); - lpGtkBin->child = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkBinFc->child); -} - -void setGtkBinFields(JNIEnv *env, jobject lpObject, GtkBin *lpGtkBin, GtkBin_FID_CACHE *lpGtkBinFc) -{ - DECL_GLOB(pGlob) - setGtkContainerFields(env, lpObject, &lpGtkBin->container, &PGLOB(GtkContainerFc)); - (*env)->SetIntField(env, lpObject, lpGtkBinFc->child, (jint)lpGtkBin->child); -} - -void getGtkBoxFields(JNIEnv *env, jobject lpObject, GtkBox *lpGtkBox, GtkBox_FID_CACHE *lpGtkBoxFc) -{ - DECL_GLOB(pGlob) - getGtkContainerFields(env, lpObject, &lpGtkBox->container, &PGLOB(GtkContainerFc)); - lpGtkBox->children = (GList*)(*env)->GetIntField(env, lpObject, lpGtkBoxFc->children); - lpGtkBox->spacing = (*env)->GetShortField(env, lpObject, lpGtkBoxFc->spacing); - lpGtkBox->homogeneous = (*env)->GetIntField(env, lpObject, lpGtkBoxFc->homogeneous); -} - -void setGtkBoxFields(JNIEnv *env, jobject lpObject, GtkBox *lpGtkBox, GtkBox_FID_CACHE *lpGtkBoxFc) -{ - DECL_GLOB(pGlob) - setGtkContainerFields(env, lpObject, &lpGtkBox->container, &PGLOB(GtkContainerFc)); - (*env)->SetIntField(env, lpObject, lpGtkBoxFc->children, (jint)lpGtkBox->children); - (*env)->SetShortField(env, lpObject, lpGtkBoxFc->spacing, (jshort)lpGtkBox->spacing); - (*env)->SetIntField(env, lpObject, lpGtkBoxFc->homogeneous, (jint)lpGtkBox->homogeneous); -} - -void getGtkCListFields(JNIEnv *env, jobject lpObject, GtkCList *lpGtkCList, GtkCList_FID_CACHE *lpGtkCListFc) -{ - DECL_GLOB(pGlob) - getGtkContainerFields(env, lpObject, &lpGtkCList->container, &PGLOB(GtkContainerFc)); - lpGtkCList->flags = (*env)->GetShortField(env, lpObject, lpGtkCListFc->clist_flags); - lpGtkCList->row_mem_chunk = (GMemChunk*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->row_mem_chunk); - lpGtkCList->cell_mem_chunk = (GMemChunk*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->cell_mem_chunk); - lpGtkCList->freeze_count = (*env)->GetIntField(env, lpObject, lpGtkCListFc->freeze_count); - lpGtkCList->internal_allocation.x = (*env)->GetShortField(env, lpObject, lpGtkCListFc->internal_allocation_x); - lpGtkCList->internal_allocation.y = (*env)->GetShortField(env, lpObject, lpGtkCListFc->internal_allocation_y); - lpGtkCList->internal_allocation.width = (*env)->GetShortField(env, lpObject, lpGtkCListFc->internal_allocation_width); - lpGtkCList->internal_allocation.height = (*env)->GetShortField(env, lpObject, lpGtkCListFc->internal_allocation_height); - lpGtkCList->rows = (*env)->GetIntField(env, lpObject, lpGtkCListFc->rows); - lpGtkCList->row_center_offset = (*env)->GetIntField(env, lpObject, lpGtkCListFc->row_center_offset); - lpGtkCList->row_height = (*env)->GetIntField(env, lpObject, lpGtkCListFc->row_height); - lpGtkCList->row_list = (GList*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->row_list); - lpGtkCList->row_list_end = (GList*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->row_list_end); - lpGtkCList->columns = (*env)->GetIntField(env, lpObject, lpGtkCListFc->columns); - lpGtkCList->column_title_area.x = (*env)->GetShortField(env, lpObject, lpGtkCListFc->column_title_area_x); - lpGtkCList->column_title_area.y = (*env)->GetShortField(env, lpObject, lpGtkCListFc->column_title_area_y); - lpGtkCList->column_title_area.width = (*env)->GetShortField(env, lpObject, lpGtkCListFc->column_title_area_width); - lpGtkCList->column_title_area.height = (*env)->GetShortField(env, lpObject, lpGtkCListFc->column_title_area_height); - lpGtkCList->title_window = (GdkWindow*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->title_window); - lpGtkCList->column = (GtkCListColumn*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->column); - lpGtkCList->clist_window = (GdkWindow*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->clist_window); - lpGtkCList->clist_window_width = (*env)->GetIntField(env, lpObject, lpGtkCListFc->clist_window_width); - lpGtkCList->clist_window_height = (*env)->GetIntField(env, lpObject, lpGtkCListFc->clist_window_height); - lpGtkCList->hoffset = (*env)->GetIntField(env, lpObject, lpGtkCListFc->hoffset); - lpGtkCList->voffset = (*env)->GetIntField(env, lpObject, lpGtkCListFc->voffset); - lpGtkCList->shadow_type = (*env)->GetIntField(env, lpObject, lpGtkCListFc->shadow_type); - lpGtkCList->selection_mode = (*env)->GetIntField(env, lpObject, lpGtkCListFc->selection_mode); - lpGtkCList->selection = (GList*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->selection); - lpGtkCList->selection_end = (GList*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->selection_end); - lpGtkCList->undo_selection = (GList*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->undo_selection); - lpGtkCList->undo_unselection = (GList*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->undo_unselection); - lpGtkCList->undo_anchor = (*env)->GetIntField(env, lpObject, lpGtkCListFc->undo_anchor); - lpGtkCList->button_actions[0] = (*env)->GetByteField(env, lpObject, lpGtkCListFc->button_actions0); - lpGtkCList->button_actions[1] = (*env)->GetByteField(env, lpObject, lpGtkCListFc->button_actions1); - lpGtkCList->button_actions[2] = (*env)->GetByteField(env, lpObject, lpGtkCListFc->button_actions2); - lpGtkCList->button_actions[3] = (*env)->GetByteField(env, lpObject, lpGtkCListFc->button_actions3); - lpGtkCList->button_actions[4] = (*env)->GetByteField(env, lpObject, lpGtkCListFc->button_actions4); - lpGtkCList->drag_button = (*env)->GetByteField(env, lpObject, lpGtkCListFc->drag_button); - lpGtkCList->click_cell.row = (*env)->GetIntField(env, lpObject, lpGtkCListFc->click_cell_row); - lpGtkCList->click_cell.column = (*env)->GetIntField(env, lpObject, lpGtkCListFc->click_cell_column); - lpGtkCList->hadjustment = (GtkAdjustment*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->hadjustment); - lpGtkCList->vadjustment = (GtkAdjustment*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->vadjustment); - lpGtkCList->xor_gc = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->xor_gc); - lpGtkCList->bg_gc = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->bg_gc); - lpGtkCList->bg_gc = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->bg_gc); - lpGtkCList->cursor_drag = (GdkCursor*)(*env)->GetIntField(env, lpObject, lpGtkCListFc->cursor_drag); - lpGtkCList->x_drag = (*env)->GetIntField(env, lpObject, lpGtkCListFc->x_drag); - lpGtkCList->focus_row = (*env)->GetIntField(env, lpObject, lpGtkCListFc->focus_row); - lpGtkCList->anchor = (*env)->GetIntField(env, lpObject, lpGtkCListFc->anchor); - lpGtkCList->anchor_state = (*env)->GetIntField(env, lpObject, lpGtkCListFc->anchor_state); - lpGtkCList->drag_pos = (*env)->GetIntField(env, lpObject, lpGtkCListFc->drag_pos); - lpGtkCList->htimer = (*env)->GetIntField(env, lpObject, lpGtkCListFc->htimer); - lpGtkCList->vtimer = (*env)->GetIntField(env, lpObject, lpGtkCListFc->vtimer); - lpGtkCList->sort_type = (*env)->GetIntField(env, lpObject, lpGtkCListFc->sort_type); - lpGtkCList->compare = (GtkCListCompareFunc)(*env)->GetIntField(env, lpObject, lpGtkCListFc->compare); - lpGtkCList->sort_column = (*env)->GetIntField(env, lpObject, lpGtkCListFc->sort_column); -} - -void setGtkCListFields(JNIEnv *env, jobject lpObject, GtkCList *lpGtkCList, GtkCList_FID_CACHE *lpGtkCListFc) -{ - DECL_GLOB(pGlob) - setGtkContainerFields(env, lpObject, &lpGtkCList->container, &PGLOB(GtkContainerFc)); - (*env)->SetShortField(env, lpObject, lpGtkCListFc->clist_flags, (jshort)lpGtkCList->flags); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->row_mem_chunk, (jint)lpGtkCList->row_mem_chunk); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->cell_mem_chunk, (jint)lpGtkCList->cell_mem_chunk); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->freeze_count, (jint)lpGtkCList->freeze_count); - (*env)->SetShortField(env, lpObject, lpGtkCListFc->internal_allocation_x, (jshort)lpGtkCList->internal_allocation.x); - (*env)->SetShortField(env, lpObject, lpGtkCListFc->internal_allocation_y, (jshort)lpGtkCList->internal_allocation.y); - (*env)->SetShortField(env, lpObject, lpGtkCListFc->internal_allocation_width, (jshort)lpGtkCList->internal_allocation.width); - (*env)->SetShortField(env, lpObject, lpGtkCListFc->internal_allocation_height, (jshort)lpGtkCList->internal_allocation.height); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->rows, (jint)lpGtkCList->rows); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->row_center_offset, (jint)lpGtkCList->row_center_offset); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->row_height, (jint)lpGtkCList->row_height); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->row_list, (jint)lpGtkCList->row_list); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->row_list_end, (jint)lpGtkCList->row_list_end); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->columns, (jint)lpGtkCList->columns); - (*env)->SetShortField(env, lpObject, lpGtkCListFc->column_title_area_x, (jshort)lpGtkCList->column_title_area.x); - (*env)->SetShortField(env, lpObject, lpGtkCListFc->column_title_area_y, (jshort)lpGtkCList->column_title_area.y); - (*env)->SetShortField(env, lpObject, lpGtkCListFc->column_title_area_width, (jshort)lpGtkCList->column_title_area.width); - (*env)->SetShortField(env, lpObject, lpGtkCListFc->column_title_area_height, (jshort)lpGtkCList->column_title_area.height); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->title_window, (jint)lpGtkCList->title_window); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->column, (jint)lpGtkCList->column); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->clist_window, (jint)lpGtkCList->clist_window); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->clist_window_width, (jint)lpGtkCList->clist_window_width); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->clist_window_height, (jint)lpGtkCList->clist_window_height); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->hoffset, (jint)lpGtkCList->hoffset); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->voffset, (jint)lpGtkCList->voffset); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->shadow_type, (jint)lpGtkCList->shadow_type); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->selection_mode, (jint)lpGtkCList->selection_mode); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->selection, (jint)lpGtkCList->selection); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->selection_end, (jint)lpGtkCList->selection_end); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->undo_selection, (jint)lpGtkCList->undo_selection); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->undo_unselection, (jint)lpGtkCList->undo_unselection); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->undo_anchor, (jint)lpGtkCList->undo_anchor); - (*env)->SetByteField(env, lpObject, lpGtkCListFc->button_actions0, (jbyte)lpGtkCList->button_actions[0]); - (*env)->SetByteField(env, lpObject, lpGtkCListFc->button_actions1, (jbyte)lpGtkCList->button_actions[1]); - (*env)->SetByteField(env, lpObject, lpGtkCListFc->button_actions2, (jbyte)lpGtkCList->button_actions[2]); - (*env)->SetByteField(env, lpObject, lpGtkCListFc->button_actions3, (jbyte)lpGtkCList->button_actions[3]); - (*env)->SetByteField(env, lpObject, lpGtkCListFc->button_actions4, (jbyte)lpGtkCList->button_actions[4]); - (*env)->SetByteField(env, lpObject, lpGtkCListFc->drag_button, (jbyte)lpGtkCList->drag_button); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->click_cell_row, (jint)lpGtkCList->click_cell.row); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->click_cell_column, (jint)lpGtkCList->click_cell.column); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->hadjustment, (jint)lpGtkCList->hadjustment); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->vadjustment, (jint)lpGtkCList->vadjustment); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->xor_gc, (jint)lpGtkCList->xor_gc); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->bg_gc, (jint)lpGtkCList->bg_gc); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->bg_gc, (jint)lpGtkCList->bg_gc); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->cursor_drag, (jint)lpGtkCList->cursor_drag); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->x_drag, (jint)lpGtkCList->x_drag); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->focus_row, (jint)lpGtkCList->focus_row); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->anchor, (jint)lpGtkCList->anchor); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->anchor_state, (jint)lpGtkCList->anchor_state); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->drag_pos, (jint)lpGtkCList->drag_pos); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->htimer, (jint)lpGtkCList->htimer); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->vtimer, (jint)lpGtkCList->vtimer); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->sort_type, (jint)lpGtkCList->sort_type); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->compare, (jint)lpGtkCList->compare); - (*env)->SetIntField(env, lpObject, lpGtkCListFc->sort_column, (jint)lpGtkCList->sort_column); -} - -void getGtkColorSelectionDialogFields(JNIEnv *env, jobject lpObject, GtkColorSelectionDialog *lpGtkColorSelectionDialog, GtkColorSelectionDialog_FID_CACHE *lpGtkColorSelectionDialogFc) -{ - DECL_GLOB(pGlob) - getGtkWindowFields(env, lpObject, &lpGtkColorSelectionDialog->window, &PGLOB(GtkWindowFc)); - lpGtkColorSelectionDialog->colorsel = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkColorSelectionDialogFc->colorsel); - lpGtkColorSelectionDialog->main_vbox = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkColorSelectionDialogFc->main_vbox); - lpGtkColorSelectionDialog->ok_button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkColorSelectionDialogFc->ok_button); - lpGtkColorSelectionDialog->reset_button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkColorSelectionDialogFc->reset_button); - lpGtkColorSelectionDialog->cancel_button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkColorSelectionDialogFc->cancel_button); - lpGtkColorSelectionDialog->help_button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkColorSelectionDialogFc->help_button); -} - -void setGtkColorSelectionDialogFields(JNIEnv *env, jobject lpObject, GtkColorSelectionDialog *lpGtkColorSelectionDialog, GtkColorSelectionDialog_FID_CACHE *lpGtkColorSelectionDialogFc) -{ - DECL_GLOB(pGlob) - setGtkWindowFields(env, lpObject, &lpGtkColorSelectionDialog->window, &PGLOB(GtkWindowFc)); - (*env)->SetIntField(env, lpObject, lpGtkColorSelectionDialogFc->colorsel, (jint)lpGtkColorSelectionDialog->colorsel); - (*env)->SetIntField(env, lpObject, lpGtkColorSelectionDialogFc->main_vbox, (jint)lpGtkColorSelectionDialog->main_vbox); - (*env)->SetIntField(env, lpObject, lpGtkColorSelectionDialogFc->ok_button, (jint)lpGtkColorSelectionDialog->ok_button); - (*env)->SetIntField(env, lpObject, lpGtkColorSelectionDialogFc->reset_button, (jint)lpGtkColorSelectionDialog->reset_button); - (*env)->SetIntField(env, lpObject, lpGtkColorSelectionDialogFc->cancel_button, (jint)lpGtkColorSelectionDialog->cancel_button); - (*env)->SetIntField(env, lpObject, lpGtkColorSelectionDialogFc->help_button, (jint)lpGtkColorSelectionDialog->help_button); -} - -void getGtkComboFields(JNIEnv *env, jobject lpObject, GtkCombo *lpGtkCombo, GtkCombo_FID_CACHE *lpGtkComboFc) -{ - DECL_GLOB(pGlob) - getGtkHBoxFields(env, lpObject, &lpGtkCombo->hbox, &PGLOB(GtkHBoxFc)); - lpGtkCombo->entry = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkComboFc->entry); - lpGtkCombo->button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkComboFc->button); - lpGtkCombo->popup = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkComboFc->popup); - lpGtkCombo->popwin = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkComboFc->popwin); - lpGtkCombo->list = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkComboFc->list); - lpGtkCombo->entry_change_id = (*env)->GetIntField(env, lpObject, lpGtkComboFc->entry_change_id); - lpGtkCombo->list_change_id = (*env)->GetIntField(env, lpObject, lpGtkComboFc->list_change_id); - lpGtkCombo->value_in_list = (*env)->GetIntField(env, lpObject, lpGtkComboFc->value_in_list); - lpGtkCombo->ok_if_empty = (*env)->GetIntField(env, lpObject, lpGtkComboFc->ok_if_empty); - lpGtkCombo->case_sensitive = (*env)->GetIntField(env, lpObject, lpGtkComboFc->case_sensitive); - lpGtkCombo->use_arrows = (*env)->GetIntField(env, lpObject, lpGtkComboFc->use_arrows); - lpGtkCombo->use_arrows_always = (*env)->GetIntField(env, lpObject, lpGtkComboFc->use_arrows_always); - lpGtkCombo->current_button = (*env)->GetShortField(env, lpObject, lpGtkComboFc->current_button); - lpGtkCombo->activate_id = (*env)->GetIntField(env, lpObject, lpGtkComboFc->activate_id); -} - -void setGtkComboFields(JNIEnv *env, jobject lpObject, GtkCombo *lpGtkCombo, GtkCombo_FID_CACHE *lpGtkComboFc) -{ - DECL_GLOB(pGlob) - setGtkHBoxFields(env, lpObject, &lpGtkCombo->hbox, &PGLOB(GtkHBoxFc)); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->entry, (jint)lpGtkCombo->entry); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->button, (jint)lpGtkCombo->button); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->popup, (jint)lpGtkCombo->popup); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->popwin, (jint)lpGtkCombo->popwin); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->list, (jint)lpGtkCombo->list); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->entry_change_id, (jint)lpGtkCombo->entry_change_id); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->list_change_id, (jint)lpGtkCombo->list_change_id); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->value_in_list, (jint)lpGtkCombo->value_in_list); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->ok_if_empty, (jint)lpGtkCombo->ok_if_empty); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->case_sensitive, (jint)lpGtkCombo->case_sensitive); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->use_arrows, (jint)lpGtkCombo->use_arrows); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->use_arrows_always, (jint)lpGtkCombo->use_arrows_always); - (*env)->SetShortField(env, lpObject, lpGtkComboFc->current_button, (jshort)lpGtkCombo->current_button); - (*env)->SetIntField(env, lpObject, lpGtkComboFc->activate_id, (jint)lpGtkCombo->activate_id); -} - -void getGtkContainerFields(JNIEnv *env, jobject lpObject, GtkContainer *lpGtkContainer, GtkContainer_FID_CACHE *lpGtkContainerFc) -{ - DECL_GLOB(pGlob) - getGtkWidgetFields(env, lpObject, &lpGtkContainer->widget, &PGLOB(GtkWidgetFc)); - lpGtkContainer->focus_child = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkContainerFc->focus_child); - lpGtkContainer->border_width = (*env)->GetIntField(env, lpObject, lpGtkContainerFc->border_width); - lpGtkContainer->need_resize = (*env)->GetIntField(env, lpObject, lpGtkContainerFc->need_resize); - lpGtkContainer->resize_mode = (*env)->GetIntField(env, lpObject, lpGtkContainerFc->resize_mode); - lpGtkContainer->resize_widgets = (GSList*)(*env)->GetIntField(env, lpObject, lpGtkContainerFc->resize_widgets); -} - -void setGtkContainerFields(JNIEnv *env, jobject lpObject, GtkContainer *lpGtkContainer, GtkContainer_FID_CACHE *lpGtkContainerFc) -{ - DECL_GLOB(pGlob) - setGtkWidgetFields(env, lpObject, &lpGtkContainer->widget, &PGLOB(GtkWidgetFc)); - (*env)->SetIntField(env, lpObject, lpGtkContainerFc->focus_child, (jint)lpGtkContainer->focus_child); - (*env)->SetIntField(env, lpObject, lpGtkContainerFc->border_width, (jint)lpGtkContainer->border_width); - (*env)->SetIntField(env, lpObject, lpGtkContainerFc->need_resize, (jint)lpGtkContainer->need_resize); - (*env)->SetIntField(env, lpObject, lpGtkContainerFc->resize_mode, (jint)lpGtkContainer->resize_mode); - (*env)->SetIntField(env, lpObject, lpGtkContainerFc->resize_widgets, (jint)lpGtkContainer->resize_widgets); -} - -void getGtkEditableFields(JNIEnv *env, jobject lpObject, GtkEditable *lpGtkEditable, GtkEditable_FID_CACHE *lpGtkEditableFc) -{ - DECL_GLOB(pGlob) - getGtkWidgetFields(env, lpObject, &lpGtkEditable->widget, &PGLOB(GtkWidgetFc)); - lpGtkEditable->current_pos = (*env)->GetIntField(env, lpObject, lpGtkEditableFc->current_pos); - lpGtkEditable->selection_start_pos = (*env)->GetIntField(env, lpObject, lpGtkEditableFc->selection_start_pos); - lpGtkEditable->selection_end_pos = (*env)->GetIntField(env, lpObject, lpGtkEditableFc->selection_end_pos); - lpGtkEditable->has_selection = (*env)->GetIntField(env, lpObject, lpGtkEditableFc->has_selection); - lpGtkEditable->editable = (*env)->GetIntField(env, lpObject, lpGtkEditableFc->editable); - lpGtkEditable->visible = (*env)->GetIntField(env, lpObject, lpGtkEditableFc->visible); - lpGtkEditable->ic = (GdkIC*)(*env)->GetIntField(env, lpObject, lpGtkEditableFc->ic); - lpGtkEditable->ic_attr = (GdkICAttr*)(*env)->GetIntField(env, lpObject, lpGtkEditableFc->ic_attr); - lpGtkEditable->clipboard_text = (gchar*)(*env)->GetIntField(env, lpObject, lpGtkEditableFc->clipboard_text); -} - -void setGtkEditableFields(JNIEnv *env, jobject lpObject, GtkEditable *lpGtkEditable, GtkEditable_FID_CACHE *lpGtkEditableFc) -{ - DECL_GLOB(pGlob) - setGtkWidgetFields(env, lpObject, &lpGtkEditable->widget, &PGLOB(GtkWidgetFc)); - (*env)->SetIntField(env, lpObject, lpGtkEditableFc->current_pos, (jint)lpGtkEditable->current_pos); - (*env)->SetIntField(env, lpObject, lpGtkEditableFc->selection_start_pos, (jint)lpGtkEditable->selection_start_pos); - (*env)->SetIntField(env, lpObject, lpGtkEditableFc->selection_end_pos, (jint)lpGtkEditable->selection_end_pos); - (*env)->SetIntField(env, lpObject, lpGtkEditableFc->has_selection, (jint)lpGtkEditable->has_selection); - (*env)->SetIntField(env, lpObject, lpGtkEditableFc->editable, (jint)lpGtkEditable->editable); - (*env)->SetIntField(env, lpObject, lpGtkEditableFc->visible, (jint)lpGtkEditable->visible); - (*env)->SetIntField(env, lpObject, lpGtkEditableFc->ic, (jint)lpGtkEditable->ic); - (*env)->SetIntField(env, lpObject, lpGtkEditableFc->ic_attr, (jint)lpGtkEditable->ic_attr); - (*env)->SetIntField(env, lpObject, lpGtkEditableFc->clipboard_text, (jint)lpGtkEditable->clipboard_text); -} - -void getGtkTextFields(JNIEnv *env, jobject lpObject, GtkText *lpGtkText, GtkText_FID_CACHE *lpGtkTextFc) -{ - DECL_GLOB(pGlob) - getGtkEditableFields(env, lpObject, &lpGtkText->editable, &PGLOB(GtkEditableFc)); - - lpGtkText->first_line_start_index = (*env)->GetIntField(env, lpObject, lpGtkTextFc->first_line_start_index); - lpGtkText->first_onscreen_hor_pixel = (*env)->GetIntField(env, lpObject, lpGtkTextFc->first_onscreen_hor_pixel); - lpGtkText->first_onscreen_ver_pixel = (*env)->GetIntField(env, lpObject, lpGtkTextFc->first_onscreen_ver_pixel); - lpGtkText->default_tab_width = (*env)->GetIntField(env, lpObject, lpGtkTextFc->default_tab_width); - lpGtkText->cursor_pos_x = (*env)->GetIntField(env, lpObject, lpGtkTextFc->cursor_pos_x); - lpGtkText->cursor_pos_y = (*env)->GetIntField(env, lpObject, lpGtkTextFc->cursor_pos_y); - lpGtkText->cursor_virtual_x = (*env)->GetIntField(env, lpObject, lpGtkTextFc->cursor_virtual_x); -} - -void setGtkTextFields(JNIEnv *env, jobject lpObject, GtkText *lpGtkText, GtkText_FID_CACHE *lpGtkTextFc) -{ - DECL_GLOB(pGlob) - setGtkEditableFields(env, lpObject, &lpGtkText->editable, &PGLOB(GtkEditableFc)); - (*env)->SetIntField(env, lpObject, lpGtkTextFc->first_line_start_index, (jint)lpGtkText->first_line_start_index); - (*env)->SetIntField(env, lpObject, lpGtkTextFc->first_onscreen_hor_pixel, (jint)lpGtkText->first_onscreen_hor_pixel); - (*env)->SetIntField(env, lpObject, lpGtkTextFc->first_onscreen_ver_pixel, (jint)lpGtkText->first_onscreen_ver_pixel); - (*env)->SetIntField(env, lpObject, lpGtkTextFc->default_tab_width, (jint)lpGtkText->default_tab_width); - (*env)->SetIntField(env, lpObject, lpGtkTextFc->cursor_pos_x, (jint)lpGtkText->cursor_pos_x); - (*env)->SetIntField(env, lpObject, lpGtkTextFc->cursor_pos_y, (jint)lpGtkText->cursor_pos_y); - (*env)->SetIntField(env, lpObject, lpGtkTextFc->cursor_virtual_x, (jint)lpGtkText->cursor_virtual_x); -} - -void getGtkFileSelectionFields(JNIEnv *env, jobject lpObject, GtkFileSelection *lpGtkFileSelection, GtkFileSelection_FID_CACHE *lpGtkFileSelectionFc) -{ - DECL_GLOB(pGlob) - getGtkWindowFields(env, lpObject, &lpGtkFileSelection->window, &PGLOB(GtkWindowFc)); - lpGtkFileSelection->dir_list = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->dir_list); - lpGtkFileSelection->file_list = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->file_list); - lpGtkFileSelection->selection_entry = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->selection_entry); - lpGtkFileSelection->selection_text = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->selection_text); - lpGtkFileSelection->main_vbox = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->main_vbox); - lpGtkFileSelection->ok_button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->ok_button); - lpGtkFileSelection->cancel_button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->cancel_button); - lpGtkFileSelection->help_button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->help_button); - lpGtkFileSelection->history_pulldown = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->history_pulldown); - lpGtkFileSelection->history_menu = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->history_menu); - lpGtkFileSelection->history_list = (GList*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->history_list); - lpGtkFileSelection->fileop_dialog = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_dialog); - lpGtkFileSelection->fileop_entry = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_entry); - lpGtkFileSelection->fileop_file = (gchar*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_file); - lpGtkFileSelection->cmpl_state = (gpointer)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->cmpl_state); - lpGtkFileSelection->fileop_c_dir = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_c_dir); - lpGtkFileSelection->fileop_del_file = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_del_file); - lpGtkFileSelection->fileop_ren_file = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_ren_file); - lpGtkFileSelection->button_area = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->button_area); - lpGtkFileSelection->action_area = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFileSelectionFc->action_area); -} - -void setGtkFileSelectionFields(JNIEnv *env, jobject lpObject, GtkFileSelection *lpGtkFileSelection, GtkFileSelection_FID_CACHE *lpGtkFileSelectionFc) -{ - DECL_GLOB(pGlob) - setGtkWindowFields(env, lpObject, &lpGtkFileSelection->window, &PGLOB(GtkWindowFc)); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->dir_list, (jint)lpGtkFileSelection->dir_list); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->file_list, (jint)lpGtkFileSelection->file_list); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->selection_entry, (jint)lpGtkFileSelection->selection_entry); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->selection_text, (jint)lpGtkFileSelection->selection_text); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->main_vbox, (jint)lpGtkFileSelection->main_vbox); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->ok_button, (jint)lpGtkFileSelection->ok_button); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->cancel_button, (jint)lpGtkFileSelection->cancel_button); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->help_button, (jint)lpGtkFileSelection->help_button); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->history_pulldown, (jint)lpGtkFileSelection->history_pulldown); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->history_menu, (jint)lpGtkFileSelection->history_menu); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->history_list, (jint)lpGtkFileSelection->history_list); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_dialog, (jint)lpGtkFileSelection->fileop_dialog); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_entry, (jint)lpGtkFileSelection->fileop_entry); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_file, (jint)lpGtkFileSelection->fileop_file); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->cmpl_state, (jint)lpGtkFileSelection->cmpl_state); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_c_dir, (jint)lpGtkFileSelection->fileop_c_dir); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_del_file, (jint)lpGtkFileSelection->fileop_del_file); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->fileop_ren_file, (jint)lpGtkFileSelection->fileop_ren_file); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->button_area, (jint)lpGtkFileSelection->button_area); - (*env)->SetIntField(env, lpObject, lpGtkFileSelectionFc->action_area, (jint)lpGtkFileSelection->action_area); -} - -void getGtkFontSelectionDialogFields(JNIEnv *env, jobject lpObject, GtkFontSelectionDialog *lpGtkFontSelectionDialog, GtkFontSelectionDialog_FID_CACHE *lpGtkFontSelectionDialogFc) -{ - DECL_GLOB(pGlob) - getGtkWindowFields(env, lpObject, &lpGtkFontSelectionDialog->window, &PGLOB(GtkWindowFc)); - lpGtkFontSelectionDialog->fontsel = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFontSelectionDialogFc->fontsel); - lpGtkFontSelectionDialog->main_vbox = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFontSelectionDialogFc->main_vbox); - lpGtkFontSelectionDialog->action_area = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFontSelectionDialogFc->action_area); - lpGtkFontSelectionDialog->ok_button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFontSelectionDialogFc->ok_button); - lpGtkFontSelectionDialog->apply_button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFontSelectionDialogFc->apply_button); - lpGtkFontSelectionDialog->cancel_button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkFontSelectionDialogFc->cancel_button); - lpGtkFontSelectionDialog->dialog_width = (*env)->GetIntField(env, lpObject, lpGtkFontSelectionDialogFc->dialog_width); - lpGtkFontSelectionDialog->auto_resize = (*env)->GetIntField(env, lpObject, lpGtkFontSelectionDialogFc->auto_resize); -} - -void setGtkFontSelectionDialogFields(JNIEnv *env, jobject lpObject, GtkFontSelectionDialog *lpGtkFontSelectionDialog, GtkFontSelectionDialog_FID_CACHE *lpGtkFontSelectionDialogFc) -{ - DECL_GLOB(pGlob) - setGtkWindowFields(env, lpObject, &lpGtkFontSelectionDialog->window, &PGLOB(GtkWindowFc)); - (*env)->SetIntField(env, lpObject, lpGtkFontSelectionDialogFc->fontsel, (jint)lpGtkFontSelectionDialog->fontsel); - (*env)->SetIntField(env, lpObject, lpGtkFontSelectionDialogFc->main_vbox, (jint)lpGtkFontSelectionDialog->main_vbox); - (*env)->SetIntField(env, lpObject, lpGtkFontSelectionDialogFc->action_area, (jint)lpGtkFontSelectionDialog->action_area); - (*env)->SetIntField(env, lpObject, lpGtkFontSelectionDialogFc->ok_button, (jint)lpGtkFontSelectionDialog->ok_button); - (*env)->SetIntField(env, lpObject, lpGtkFontSelectionDialogFc->apply_button, (jint)lpGtkFontSelectionDialog->apply_button); - (*env)->SetIntField(env, lpObject, lpGtkFontSelectionDialogFc->cancel_button, (jint)lpGtkFontSelectionDialog->cancel_button); - (*env)->SetIntField(env, lpObject, lpGtkFontSelectionDialogFc->dialog_width, (jint)lpGtkFontSelectionDialog->dialog_width); - (*env)->SetIntField(env, lpObject, lpGtkFontSelectionDialogFc->auto_resize, (jint)lpGtkFontSelectionDialog->auto_resize); -} - -void getGtkHBoxFields(JNIEnv *env, jobject lpObject, GtkHBox *lpGtkHBox, GtkHBox_FID_CACHE *lpGtkHBoxFc) -{ - DECL_GLOB(pGlob) - getGtkBoxFields(env, lpObject, &lpGtkHBox->box, &PGLOB(GtkBoxFc)); -} - -void setGtkHBoxFields(JNIEnv *env, jobject lpObject, GtkHBox *lpGtkHBox, GtkHBox_FID_CACHE *lpGtkHBoxFc) -{ - DECL_GLOB(pGlob) - setGtkBoxFields(env, lpObject, &lpGtkHBox->box, &PGLOB(GtkBoxFc)); -} - -void getGtkObjectFields(JNIEnv *env, jobject lpObject, GtkObject *lpGtkObject, GtkObject_FID_CACHE *lpGtkObjectFc) -{ - lpGtkObject->klass = (GtkObjectClass*)(*env)->GetIntField(env, lpObject, lpGtkObjectFc->klass); - lpGtkObject->flags = (*env)->GetIntField(env, lpObject, lpGtkObjectFc->flags); - lpGtkObject->ref_count = (*env)->GetIntField(env, lpObject, lpGtkObjectFc->ref_count); - lpGtkObject->object_data = (GData*)(*env)->GetIntField(env, lpObject, lpGtkObjectFc->object_data); -} - -void setGtkObjectFields(JNIEnv *env, jobject lpObject, GtkObject *lpGtkObject, GtkObject_FID_CACHE *lpGtkObjectFc) -{ - (*env)->SetIntField(env, lpObject, lpGtkObjectFc->klass, (jint)lpGtkObject->klass); - (*env)->SetIntField(env, lpObject, lpGtkObjectFc->flags, (jint)lpGtkObject->flags); - (*env)->SetIntField(env, lpObject, lpGtkObjectFc->ref_count, (jint)lpGtkObject->ref_count); - (*env)->SetIntField(env, lpObject, lpGtkObjectFc->object_data, (jint)lpGtkObject->object_data); -} - -void getGtkProgressFields(JNIEnv *env, jobject lpObject, GtkProgress *lpGtkProgress, GtkProgress_FID_CACHE *lpGtkProgressFc) -{ - DECL_GLOB(pGlob) - getGtkWidgetFields(env, lpObject, &lpGtkProgress->widget, &PGLOB(GtkWidgetFc)); - lpGtkProgress->adjustment = (GtkAdjustment*)(*env)->GetIntField(env, lpObject, lpGtkProgressFc->adjustment); - lpGtkProgress->offscreen_pixmap = (GdkPixmap*)(*env)->GetIntField(env, lpObject, lpGtkProgressFc->offscreen_pixmap); - lpGtkProgress->format = (gchar*)(*env)->GetIntField(env, lpObject, lpGtkProgressFc->format); - lpGtkProgress->x_align = (*env)->GetFloatField(env, lpObject, lpGtkProgressFc->x_align); - lpGtkProgress->y_align = (*env)->GetFloatField(env, lpObject, lpGtkProgressFc->y_align); - lpGtkProgress->show_text = (*env)->GetIntField(env, lpObject, lpGtkProgressFc->show_text); - lpGtkProgress->activity_mode = (*env)->GetIntField(env, lpObject, lpGtkProgressFc->activity_mode); -} - -void setGtkProgressFields(JNIEnv *env, jobject lpObject, GtkProgress *lpGtkProgress, GtkProgress_FID_CACHE *lpGtkProgressFc) -{ - DECL_GLOB(pGlob) - setGtkWidgetFields(env, lpObject, &lpGtkProgress->widget, &PGLOB(GtkWidgetFc)); - (*env)->SetIntField(env, lpObject, lpGtkProgressFc->adjustment, (jint)lpGtkProgress->adjustment); - (*env)->SetIntField(env, lpObject, lpGtkProgressFc->offscreen_pixmap, (jint)lpGtkProgress->offscreen_pixmap); - (*env)->SetIntField(env, lpObject, lpGtkProgressFc->format, (jint)lpGtkProgress->format); - (*env)->SetFloatField(env, lpObject, lpGtkProgressFc->x_align, (jfloat)lpGtkProgress->x_align); - (*env)->SetFloatField(env, lpObject, lpGtkProgressFc->y_align, (jfloat)lpGtkProgress->y_align); - (*env)->SetIntField(env, lpObject, lpGtkProgressFc->show_text, (jint)lpGtkProgress->show_text); - (*env)->SetIntField(env, lpObject, lpGtkProgressFc->activity_mode, (jint)lpGtkProgress->activity_mode); -} - -void getGtkProgressBarFields(JNIEnv *env, jobject lpObject, GtkProgressBar *lpGtkProgressBar, GtkProgressBar_FID_CACHE *lpGtkProgressBarFc) -{ - DECL_GLOB(pGlob) - getGtkProgressFields(env, lpObject, &lpGtkProgressBar->progress, &PGLOB(GtkProgressFc)); - lpGtkProgressBar->bar_style = (*env)->GetIntField(env, lpObject, lpGtkProgressBarFc->bar_style); - lpGtkProgressBar->orientation = (*env)->GetIntField(env, lpObject, lpGtkProgressBarFc->orientation); - lpGtkProgressBar->blocks = (*env)->GetIntField(env, lpObject, lpGtkProgressBarFc->blocks); - lpGtkProgressBar->in_block = (*env)->GetIntField(env, lpObject, lpGtkProgressBarFc->in_block); - lpGtkProgressBar->activity_pos = (*env)->GetIntField(env, lpObject, lpGtkProgressBarFc->activity_pos); - lpGtkProgressBar->activity_step = (*env)->GetIntField(env, lpObject, lpGtkProgressBarFc->activity_step); - lpGtkProgressBar->activity_blocks = (*env)->GetIntField(env, lpObject, lpGtkProgressBarFc->activity_blocks); - lpGtkProgressBar->activity_dir = (*env)->GetIntField(env, lpObject, lpGtkProgressBarFc->activity_dir); -} - -void setGtkProgressBarFields(JNIEnv *env, jobject lpObject, GtkProgressBar *lpGtkProgressBar, GtkProgressBar_FID_CACHE *lpGtkProgressBarFc) -{ - DECL_GLOB(pGlob) - setGtkProgressFields(env, lpObject, &lpGtkProgressBar->progress, &PGLOB(GtkProgressFc)); - (*env)->SetIntField(env, lpObject, lpGtkProgressBarFc->bar_style, (jint)lpGtkProgressBar->bar_style); - (*env)->SetIntField(env, lpObject, lpGtkProgressBarFc->orientation, (jint)lpGtkProgressBar->orientation); - (*env)->SetIntField(env, lpObject, lpGtkProgressBarFc->blocks, (jint)lpGtkProgressBar->blocks); - (*env)->SetIntField(env, lpObject, lpGtkProgressBarFc->in_block, (jint)lpGtkProgressBar->in_block); - (*env)->SetIntField(env, lpObject, lpGtkProgressBarFc->activity_pos, (jint)lpGtkProgressBar->activity_pos); - (*env)->SetIntField(env, lpObject, lpGtkProgressBarFc->activity_step, (jint)lpGtkProgressBar->activity_step); - (*env)->SetIntField(env, lpObject, lpGtkProgressBarFc->activity_blocks, (jint)lpGtkProgressBar->activity_blocks); - (*env)->SetIntField(env, lpObject, lpGtkProgressBarFc->activity_dir, (jint)lpGtkProgressBar->activity_dir); -} - -void getGtkRequisitionFields(JNIEnv *env, jobject lpObject, GtkRequisition *lpGtkRequisition, GtkRequisition_FID_CACHE *lpGtkRequisitionFc) -{ - lpGtkRequisition->width = (*env)->GetShortField(env, lpObject, lpGtkRequisitionFc->width); - lpGtkRequisition->height = (*env)->GetShortField(env, lpObject, lpGtkRequisitionFc->height); -} - -void setGtkRequisitionFields(JNIEnv *env, jobject lpObject, GtkRequisition *lpGtkRequisition, GtkRequisition_FID_CACHE *lpGtkRequisitionFc) -{ - (*env)->SetShortField(env, lpObject, lpGtkRequisitionFc->width, lpGtkRequisition->width); - (*env)->SetShortField(env, lpObject, lpGtkRequisitionFc->height, lpGtkRequisition->height); -} - -void getGtkStyleFields(JNIEnv *env, jobject lpObject, GtkStyle *lpGtkStyle, GtkStyle_FID_CACHE *lpGtkStyleFc) -{ - lpGtkStyle->klass = (GtkStyleClass*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->klass); - lpGtkStyle->fg[0].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->fg0_pixel); - lpGtkStyle->fg[0].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg0_red); - lpGtkStyle->fg[0].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg0_green); - lpGtkStyle->fg[0].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg0_blue); - lpGtkStyle->fg[1].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->fg1_pixel); - lpGtkStyle->fg[1].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg1_red); - lpGtkStyle->fg[1].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg1_green); - lpGtkStyle->fg[1].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg1_blue); - lpGtkStyle->fg[2].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->fg2_pixel); - lpGtkStyle->fg[2].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg2_red); - lpGtkStyle->fg[2].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg2_green); - lpGtkStyle->fg[2].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg2_blue); - lpGtkStyle->fg[3].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->fg3_pixel); - lpGtkStyle->fg[3].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg3_red); - lpGtkStyle->fg[3].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg3_green); - lpGtkStyle->fg[3].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg3_blue); - lpGtkStyle->fg[4].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->fg4_pixel); - lpGtkStyle->fg[4].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg4_red); - lpGtkStyle->fg[4].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg4_green); - lpGtkStyle->fg[4].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->fg4_blue); - lpGtkStyle->bg[0].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg0_pixel); - lpGtkStyle->bg[0].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg0_red); - lpGtkStyle->bg[0].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg0_green); - lpGtkStyle->bg[0].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg0_blue); - lpGtkStyle->bg[1].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg1_pixel); - lpGtkStyle->bg[1].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg1_red); - lpGtkStyle->bg[1].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg1_green); - lpGtkStyle->bg[1].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg1_blue); - lpGtkStyle->bg[2].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg2_pixel); - lpGtkStyle->bg[2].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg2_red); - lpGtkStyle->bg[2].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg2_green); - lpGtkStyle->bg[2].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg2_blue); - lpGtkStyle->bg[3].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg3_pixel); - lpGtkStyle->bg[3].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg3_red); - lpGtkStyle->bg[3].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg3_green); - lpGtkStyle->bg[3].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg3_blue); - lpGtkStyle->bg[4].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg4_pixel); - lpGtkStyle->bg[4].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg4_red); - lpGtkStyle->bg[4].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg4_green); - lpGtkStyle->bg[4].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->bg4_blue); - lpGtkStyle->light[0].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->light0_pixel); - lpGtkStyle->light[0].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light0_red); - lpGtkStyle->light[0].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light0_green); - lpGtkStyle->light[0].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light0_blue); - lpGtkStyle->light[1].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->light1_pixel); - lpGtkStyle->light[1].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light1_red); - lpGtkStyle->light[1].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light1_green); - lpGtkStyle->light[1].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light1_blue); - lpGtkStyle->light[2].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->light2_pixel); - lpGtkStyle->light[2].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light2_red); - lpGtkStyle->light[2].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light2_green); - lpGtkStyle->light[2].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light2_blue); - lpGtkStyle->light[3].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->light3_pixel); - lpGtkStyle->light[3].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light3_red); - lpGtkStyle->light[3].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light3_green); - lpGtkStyle->light[3].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light3_blue); - lpGtkStyle->light[4].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->light4_pixel); - lpGtkStyle->light[4].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light4_red); - lpGtkStyle->light[4].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light4_green); - lpGtkStyle->light[4].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->light4_blue); - lpGtkStyle->dark[0].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->dark0_pixel); - lpGtkStyle->dark[0].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark0_red); - lpGtkStyle->dark[0].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark0_green); - lpGtkStyle->dark[0].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark0_blue); - lpGtkStyle->dark[1].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->dark1_pixel); - lpGtkStyle->dark[1].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark1_red); - lpGtkStyle->dark[1].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark1_green); - lpGtkStyle->dark[1].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark1_blue); - lpGtkStyle->dark[2].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->dark2_pixel); - lpGtkStyle->dark[2].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark2_red); - lpGtkStyle->dark[2].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark2_green); - lpGtkStyle->dark[2].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark2_blue); - lpGtkStyle->dark[3].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->dark3_pixel); - lpGtkStyle->dark[3].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark3_red); - lpGtkStyle->dark[3].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark3_green); - lpGtkStyle->dark[3].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark3_blue); - lpGtkStyle->dark[4].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->dark4_pixel); - lpGtkStyle->dark[4].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark4_red); - lpGtkStyle->dark[4].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark4_green); - lpGtkStyle->dark[4].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->dark4_blue); - lpGtkStyle->mid[0].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->mid0_pixel); - lpGtkStyle->mid[0].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid0_red); - lpGtkStyle->mid[0].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid0_green); - lpGtkStyle->mid[0].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid0_blue); - lpGtkStyle->mid[1].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->mid1_pixel); - lpGtkStyle->mid[1].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid1_red); - lpGtkStyle->mid[1].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid1_green); - lpGtkStyle->mid[1].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid1_blue); - lpGtkStyle->mid[2].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->mid2_pixel); - lpGtkStyle->mid[2].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid2_red); - lpGtkStyle->mid[2].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid2_green); - lpGtkStyle->mid[2].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid2_blue); - lpGtkStyle->mid[3].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->mid3_pixel); - lpGtkStyle->mid[3].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid3_red); - lpGtkStyle->mid[3].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid3_green); - lpGtkStyle->mid[3].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid3_blue); - lpGtkStyle->mid[4].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->mid4_pixel); - lpGtkStyle->mid[4].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid4_red); - lpGtkStyle->mid[4].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid4_green); - lpGtkStyle->mid[4].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->mid4_blue); - lpGtkStyle->text[0].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->text0_pixel); - lpGtkStyle->text[0].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text0_red); - lpGtkStyle->text[0].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text0_green); - lpGtkStyle->text[0].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text0_blue); - lpGtkStyle->text[1].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->text1_pixel); - lpGtkStyle->text[1].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text1_red); - lpGtkStyle->text[1].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text1_green); - lpGtkStyle->text[1].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text1_blue); - lpGtkStyle->text[2].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->text2_pixel); - lpGtkStyle->text[2].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text2_red); - lpGtkStyle->text[2].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text2_green); - lpGtkStyle->text[2].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text2_blue); - lpGtkStyle->text[3].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->text3_pixel); - lpGtkStyle->text[3].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text3_red); - lpGtkStyle->text[3].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text3_green); - lpGtkStyle->text[3].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text3_blue); - lpGtkStyle->text[4].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->text4_pixel); - lpGtkStyle->text[4].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text4_red); - lpGtkStyle->text[4].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text4_green); - lpGtkStyle->text[4].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->text4_blue); - lpGtkStyle->base[0].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->base0_pixel); - lpGtkStyle->base[0].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base0_red); - lpGtkStyle->base[0].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base0_green); - lpGtkStyle->base[0].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base0_blue); - lpGtkStyle->base[1].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->base1_pixel); - lpGtkStyle->base[1].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base1_red); - lpGtkStyle->base[1].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base1_green); - lpGtkStyle->base[1].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base1_blue); - lpGtkStyle->base[2].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->base2_pixel); - lpGtkStyle->base[2].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base2_red); - lpGtkStyle->base[2].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base2_green); - lpGtkStyle->base[2].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base2_blue); - lpGtkStyle->base[3].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->base3_pixel); - lpGtkStyle->base[3].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base3_red); - lpGtkStyle->base[3].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base3_green); - lpGtkStyle->base[3].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base3_blue); - lpGtkStyle->base[4].pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->base4_pixel); - lpGtkStyle->base[4].red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base4_red); - lpGtkStyle->base[4].green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base4_green); - lpGtkStyle->base[4].blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->base4_blue); - lpGtkStyle->black.pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->black_pixel); - lpGtkStyle->black.red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->black_red); - lpGtkStyle->black.green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->black_green); - lpGtkStyle->black.blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->black_blue); - lpGtkStyle->white.pixel = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->white_pixel); - lpGtkStyle->white.red = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->white_red); - lpGtkStyle->white.green = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->white_green); - lpGtkStyle->white.blue = (*env)->GetShortField(env, lpObject, lpGtkStyleFc->white_blue); - lpGtkStyle->font = (GdkFont*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->font); - lpGtkStyle->fg_gc[0] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->fg_gc0); - lpGtkStyle->fg_gc[1] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->fg_gc1); - lpGtkStyle->fg_gc[2] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->fg_gc2); - lpGtkStyle->fg_gc[3] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->fg_gc3); - lpGtkStyle->fg_gc[4] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->fg_gc4); - lpGtkStyle->bg_gc[0] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg_gc0); - lpGtkStyle->bg_gc[1] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg_gc1); - lpGtkStyle->bg_gc[2] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg_gc2); - lpGtkStyle->bg_gc[3] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg_gc3); - lpGtkStyle->bg_gc[4] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg_gc4); - lpGtkStyle->light_gc[0] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->light_gc0); - lpGtkStyle->light_gc[1] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->light_gc1); - lpGtkStyle->light_gc[2] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->light_gc2); - lpGtkStyle->light_gc[3] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->light_gc3); - lpGtkStyle->light_gc[4] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->light_gc4); - lpGtkStyle->dark_gc[0] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->dark_gc0); - lpGtkStyle->dark_gc[1] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->dark_gc1); - lpGtkStyle->dark_gc[2] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->dark_gc2); - lpGtkStyle->dark_gc[3] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->dark_gc3); - lpGtkStyle->dark_gc[4] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->dark_gc4); - lpGtkStyle->mid_gc[0] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->mid_gc0); - lpGtkStyle->mid_gc[1] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->mid_gc1); - lpGtkStyle->mid_gc[2] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->mid_gc2); - lpGtkStyle->mid_gc[3] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->mid_gc3); - lpGtkStyle->mid_gc[4] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->mid_gc4); - lpGtkStyle->text_gc[0] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->text_gc0); - lpGtkStyle->text_gc[1] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->text_gc1); - lpGtkStyle->text_gc[2] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->text_gc2); - lpGtkStyle->text_gc[3] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->text_gc3); - lpGtkStyle->text_gc[4] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->text_gc4); - lpGtkStyle->base_gc[0] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->base_gc0); - lpGtkStyle->base_gc[1] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->base_gc1); - lpGtkStyle->base_gc[2] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->base_gc2); - lpGtkStyle->base_gc[3] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->base_gc3); - lpGtkStyle->base_gc[4] = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->base_gc4); - lpGtkStyle->black_gc = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->black_gc); - lpGtkStyle->white_gc = (GdkGC*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->white_gc); - lpGtkStyle->bg_pixmap[0] = (GdkPixmap*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg_pixmap0); - lpGtkStyle->bg_pixmap[1] = (GdkPixmap*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg_pixmap1); - lpGtkStyle->bg_pixmap[2] = (GdkPixmap*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg_pixmap2); - lpGtkStyle->bg_pixmap[3] = (GdkPixmap*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg_pixmap3); - lpGtkStyle->bg_pixmap[4] = (GdkPixmap*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->bg_pixmap4); - lpGtkStyle->ref_count = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->ref_count); - lpGtkStyle->attach_count = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->attach_count); - lpGtkStyle->depth = (*env)->GetIntField(env, lpObject, lpGtkStyleFc->depth); - lpGtkStyle->colormap = (GdkColormap*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->colormap); - lpGtkStyle->engine = (GtkThemeEngine*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->engine); - lpGtkStyle->engine_data = (gpointer)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->engine_data); - lpGtkStyle->rc_style = (GtkRcStyle*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->rc_style); - lpGtkStyle->styles = (GSList*)(*env)->GetIntField(env, lpObject, lpGtkStyleFc->styles); -} - -void setGtkStyleFields(JNIEnv *env, jobject lpObject, GtkStyle *lpGtkStyle, GtkStyle_FID_CACHE *lpGtkStyleFc) -{ - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->klass, (jint)lpGtkStyle->klass); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->fg0_pixel, (jint)lpGtkStyle->fg[0].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg0_red, (jshort)lpGtkStyle->fg[0].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg0_green, (jshort)lpGtkStyle->fg[0].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg0_blue, (jshort)lpGtkStyle->fg[0].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->fg1_pixel, (jint)lpGtkStyle->fg[1].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg1_red, (jshort)lpGtkStyle->fg[1].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg1_green, (jshort)lpGtkStyle->fg[1].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg1_blue, (jshort)lpGtkStyle->fg[1].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->fg2_pixel, (jint)lpGtkStyle->fg[2].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg2_red, (jshort)lpGtkStyle->fg[2].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg2_green, (jshort)lpGtkStyle->fg[2].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg2_blue, (jshort)lpGtkStyle->fg[2].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->fg3_pixel, (jint)lpGtkStyle->fg[3].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg3_red, (jshort)lpGtkStyle->fg[3].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg3_green, (jshort)lpGtkStyle->fg[3].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg3_blue, (jshort)lpGtkStyle->fg[3].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->fg4_pixel, (jint)lpGtkStyle->fg[4].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg4_red, (jshort)lpGtkStyle->fg[4].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg4_green, (jshort)lpGtkStyle->fg[4].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->fg4_blue, (jshort)lpGtkStyle->fg[4].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg0_pixel, (jint)lpGtkStyle->bg[0].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg0_red, (jshort)lpGtkStyle->bg[0].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg0_green, (jshort)lpGtkStyle->bg[0].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg0_blue, (jshort)lpGtkStyle->bg[0].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg1_pixel, (jint)lpGtkStyle->bg[1].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg1_red, (jshort)lpGtkStyle->bg[1].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg1_green, (jshort)lpGtkStyle->bg[1].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg1_blue, (jshort)lpGtkStyle->bg[1].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg2_pixel, (jint)lpGtkStyle->bg[2].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg2_red, (jshort)lpGtkStyle->bg[2].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg2_green, (jshort)lpGtkStyle->bg[2].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg2_blue, (jshort)lpGtkStyle->bg[2].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg3_pixel, (jint)lpGtkStyle->bg[3].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg3_red, (jshort)lpGtkStyle->bg[3].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg3_green, (jshort)lpGtkStyle->bg[3].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg3_blue, (jshort)lpGtkStyle->bg[3].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg4_pixel, (jint)lpGtkStyle->bg[4].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg4_red, (jshort)lpGtkStyle->bg[4].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg4_green, (jshort)lpGtkStyle->bg[4].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->bg4_blue, (jshort)lpGtkStyle->bg[4].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->light0_pixel, (jint)lpGtkStyle->light[0].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light0_red, (jshort)lpGtkStyle->light[0].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light0_green, (jshort)lpGtkStyle->light[0].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light0_blue, (jshort)lpGtkStyle->light[0].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->light1_pixel, (jint)lpGtkStyle->light[1].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light1_red, (jshort)lpGtkStyle->light[1].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light1_green, (jshort)lpGtkStyle->light[1].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light1_blue, (jshort)lpGtkStyle->light[1].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->light2_pixel, (jint)lpGtkStyle->light[2].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light2_red, (jshort)lpGtkStyle->light[2].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light2_green, (jshort)lpGtkStyle->light[2].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light2_blue, (jshort)lpGtkStyle->light[2].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->light3_pixel, (jint)lpGtkStyle->light[3].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light3_red, (jshort)lpGtkStyle->light[3].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light3_green, (jshort)lpGtkStyle->light[3].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light3_blue, (jshort)lpGtkStyle->light[3].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->light4_pixel, (jint)lpGtkStyle->light[4].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light4_red, (jshort)lpGtkStyle->light[4].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light4_green, (jshort)lpGtkStyle->light[4].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->light4_blue, (jshort)lpGtkStyle->light[4].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->dark0_pixel, (jint)lpGtkStyle->dark[0].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark0_red, (jshort)lpGtkStyle->dark[0].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark0_green, (jshort)lpGtkStyle->dark[0].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark0_blue, (jshort)lpGtkStyle->dark[0].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->dark1_pixel, (jint)lpGtkStyle->dark[1].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark1_red, (jshort)lpGtkStyle->dark[1].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark1_green, (jshort)lpGtkStyle->dark[1].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark1_blue, (jshort)lpGtkStyle->dark[1].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->dark2_pixel, (jint)lpGtkStyle->dark[2].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark2_red, (jshort)lpGtkStyle->dark[2].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark2_green, (jshort)lpGtkStyle->dark[2].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark2_blue, (jshort)lpGtkStyle->dark[2].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->dark3_pixel, (jint)lpGtkStyle->dark[3].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark3_red, (jshort)lpGtkStyle->dark[3].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark3_green, (jshort)lpGtkStyle->dark[3].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark3_blue, (jshort)lpGtkStyle->dark[3].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->dark4_pixel, (jint)lpGtkStyle->dark[4].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark4_red, (jshort)lpGtkStyle->dark[4].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark4_green, (jshort)lpGtkStyle->dark[4].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->dark4_blue, (jshort)lpGtkStyle->dark[4].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->mid0_pixel, (jint)lpGtkStyle->mid[0].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid0_red, (jshort)lpGtkStyle->mid[0].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid0_green, (jshort)lpGtkStyle->mid[0].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid0_blue, (jshort)lpGtkStyle->mid[0].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->mid1_pixel, (jint)lpGtkStyle->mid[1].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid1_red, (jshort)lpGtkStyle->mid[1].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid1_green, (jshort)lpGtkStyle->mid[1].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid1_blue, (jshort)lpGtkStyle->mid[1].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->mid2_pixel, (jint)lpGtkStyle->mid[2].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid2_red, (jshort)lpGtkStyle->mid[2].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid2_green, (jshort)lpGtkStyle->mid[2].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid2_blue, (jshort)lpGtkStyle->mid[2].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->mid3_pixel, (jint)lpGtkStyle->mid[3].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid3_red, (jshort)lpGtkStyle->mid[3].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid3_green, (jshort)lpGtkStyle->mid[3].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid3_blue, (jshort)lpGtkStyle->mid[3].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->mid4_pixel, (jint)lpGtkStyle->mid[4].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid4_red, (jshort)lpGtkStyle->mid[4].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid4_green, (jshort)lpGtkStyle->mid[4].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->mid4_blue, (jshort)lpGtkStyle->mid[4].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->text0_pixel, (jint)lpGtkStyle->text[0].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text0_red, (jshort)lpGtkStyle->text[0].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text0_green, (jshort)lpGtkStyle->text[0].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text0_blue, (jshort)lpGtkStyle->text[0].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->text1_pixel, (jint)lpGtkStyle->text[1].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text1_red, (jshort)lpGtkStyle->text[1].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text1_green, (jshort)lpGtkStyle->text[1].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text1_blue, (jshort)lpGtkStyle->text[1].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->text2_pixel, (jint)lpGtkStyle->text[2].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text2_red, (jshort)lpGtkStyle->text[2].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text2_green, (jshort)lpGtkStyle->text[2].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text2_blue, (jshort)lpGtkStyle->text[2].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->text3_pixel, (jint)lpGtkStyle->text[3].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text3_red, (jshort)lpGtkStyle->text[3].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text3_green, (jshort)lpGtkStyle->text[3].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text3_blue, (jshort)lpGtkStyle->text[3].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->text4_pixel, (jint)lpGtkStyle->text[4].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text4_red, (jshort)lpGtkStyle->text[4].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text4_green, (jshort)lpGtkStyle->text[4].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->text4_blue, (jshort)lpGtkStyle->text[4].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->base0_pixel, (jint)lpGtkStyle->base[0].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base0_red, (jshort)lpGtkStyle->base[0].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base0_green, (jshort)lpGtkStyle->base[0].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base0_blue, (jshort)lpGtkStyle->base[0].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->base1_pixel, (jint)lpGtkStyle->base[1].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base1_red, (jshort)lpGtkStyle->base[1].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base1_green, (jshort)lpGtkStyle->base[1].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base1_blue, (jshort)lpGtkStyle->base[1].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->base2_pixel, (jint)lpGtkStyle->base[2].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base2_red, (jshort)lpGtkStyle->base[2].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base2_green, (jshort)lpGtkStyle->base[2].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base2_blue, (jshort)lpGtkStyle->base[2].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->base3_pixel, (jint)lpGtkStyle->base[3].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base3_red, (jshort)lpGtkStyle->base[3].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base3_green, (jshort)lpGtkStyle->base[3].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base3_blue, (jshort)lpGtkStyle->base[3].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->base4_pixel, (jint)lpGtkStyle->base[4].pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base4_red, (jshort)lpGtkStyle->base[4].red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base4_green, (jshort)lpGtkStyle->base[4].green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->base4_blue, (jshort)lpGtkStyle->base[4].blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->black_pixel, (jint)lpGtkStyle->black.pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->black_red, (jshort)lpGtkStyle->black.red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->black_green, (jshort)lpGtkStyle->black.green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->black_blue, (jshort)lpGtkStyle->black.blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->white_pixel, (jint)lpGtkStyle->white.pixel); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->white_red, (jshort)lpGtkStyle->white.red); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->white_green, (jshort)lpGtkStyle->white.green); - (*env)->SetShortField(env, lpObject, lpGtkStyleFc->white_blue, (jshort)lpGtkStyle->white.blue); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->font, (jint)lpGtkStyle->font); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->fg_gc0, (jint)lpGtkStyle->fg_gc[0]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->fg_gc1, (jint)lpGtkStyle->fg_gc[1]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->fg_gc2, (jint)lpGtkStyle->fg_gc[2]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->fg_gc3, (jint)lpGtkStyle->fg_gc[3]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->fg_gc4, (jint)lpGtkStyle->fg_gc[4]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg_gc0, (jint)lpGtkStyle->bg_gc[0]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg_gc1, (jint)lpGtkStyle->bg_gc[1]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg_gc2, (jint)lpGtkStyle->bg_gc[2]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg_gc3, (jint)lpGtkStyle->bg_gc[3]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg_gc4, (jint)lpGtkStyle->bg_gc[4]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->light_gc0, (jint)lpGtkStyle->light_gc[0]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->light_gc1, (jint)lpGtkStyle->light_gc[1]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->light_gc2, (jint)lpGtkStyle->light_gc[2]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->light_gc3, (jint)lpGtkStyle->light_gc[3]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->light_gc4, (jint)lpGtkStyle->light_gc[4]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->dark_gc0, (jint)lpGtkStyle->dark_gc[0]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->dark_gc1, (jint)lpGtkStyle->dark_gc[1]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->dark_gc2, (jint)lpGtkStyle->dark_gc[2]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->dark_gc3, (jint)lpGtkStyle->dark_gc[3]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->dark_gc4, (jint)lpGtkStyle->dark_gc[4]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->mid_gc0, (jint)lpGtkStyle->mid_gc[0]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->mid_gc1, (jint)lpGtkStyle->mid_gc[1]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->mid_gc2, (jint)lpGtkStyle->mid_gc[2]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->mid_gc3, (jint)lpGtkStyle->mid_gc[3]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->mid_gc4, (jint)lpGtkStyle->mid_gc[4]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->text_gc0, (jint)lpGtkStyle->text_gc[0]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->text_gc1, (jint)lpGtkStyle->text_gc[1]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->text_gc2, (jint)lpGtkStyle->text_gc[2]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->text_gc3, (jint)lpGtkStyle->text_gc[3]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->text_gc4, (jint)lpGtkStyle->text_gc[4]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->base_gc0, (jint)lpGtkStyle->base_gc[0]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->base_gc1, (jint)lpGtkStyle->base_gc[1]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->base_gc2, (jint)lpGtkStyle->base_gc[2]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->base_gc3, (jint)lpGtkStyle->base_gc[3]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->base_gc4, (jint)lpGtkStyle->base_gc[4]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->black_gc, (jint)lpGtkStyle->black_gc); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->white_gc, (jint)lpGtkStyle->white_gc); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg_pixmap0, (jint)lpGtkStyle->bg_pixmap[0]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg_pixmap1, (jint)lpGtkStyle->bg_pixmap[1]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg_pixmap2, (jint)lpGtkStyle->bg_pixmap[2]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg_pixmap3, (jint)lpGtkStyle->bg_pixmap[3]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->bg_pixmap4, (jint)lpGtkStyle->bg_pixmap[4]); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->ref_count, (jint)lpGtkStyle->ref_count); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->attach_count, (jint)lpGtkStyle->attach_count); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->depth, (jint)lpGtkStyle->depth); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->colormap, (jint)lpGtkStyle->colormap); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->engine, (jint)lpGtkStyle->engine); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->engine_data, (jint)lpGtkStyle->engine_data); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->rc_style, (jint)lpGtkStyle->rc_style); - (*env)->SetIntField(env, lpObject, lpGtkStyleFc->styles, (jint)lpGtkStyle->styles); -} - -void getGtkStyleClassFields(JNIEnv *env, jobject lpObject, GtkStyleClass *lpGtkStyleClass, GtkStyleClass_FID_CACHE *lpGtkStyleClassFc) -{ - lpGtkStyleClass->xthickness = (*env)->GetIntField(env, lpObject, lpGtkStyleClassFc->xthickness); - lpGtkStyleClass->ythickness = (*env)->GetIntField(env, lpObject, lpGtkStyleClassFc->ythickness); -} - -void setGtkStyleClassFields(JNIEnv *env, jobject lpObject, GtkStyleClass *lpGtkStyleClass, GtkStyleClass_FID_CACHE *lpGtkStyleClassFc) -{ - (*env)->SetIntField(env, lpObject, lpGtkStyleClassFc->xthickness, (jint)lpGtkStyleClass->xthickness); - (*env)->SetIntField(env, lpObject, lpGtkStyleClassFc->ythickness, (jint)lpGtkStyleClass->ythickness); -} - -void getGtkWidgetFields(JNIEnv *env, jobject lpObject, GtkWidget *lpGtkWidget, GtkWidget_FID_CACHE *lpGtkWidgetFc) -{ - DECL_GLOB(pGlob) - getGtkObjectFields(env, lpObject, &lpGtkWidget->object, &PGLOB(GtkObjectFc)); - lpGtkWidget->private_flags = (*env)->GetShortField(env, lpObject, lpGtkWidgetFc->private_flags); - lpGtkWidget->state = (*env)->GetByteField(env, lpObject, lpGtkWidgetFc->state); - lpGtkWidget->saved_state = (*env)->GetByteField(env, lpObject, lpGtkWidgetFc->saved_state); - lpGtkWidget->name = (gchar*)(*env)->GetIntField(env, lpObject, lpGtkWidgetFc->name); - lpGtkWidget->style = (GtkStyle*)(*env)->GetIntField(env, lpObject, lpGtkWidgetFc->style); - lpGtkWidget->requisition.width = (*env)->GetShortField(env, lpObject, lpGtkWidgetFc->req_width); - lpGtkWidget->requisition.height = (*env)->GetShortField(env, lpObject, lpGtkWidgetFc->req_height); - lpGtkWidget->allocation.x = (*env)->GetShortField(env, lpObject, lpGtkWidgetFc->alloc_x); - lpGtkWidget->allocation.y = (*env)->GetShortField(env, lpObject, lpGtkWidgetFc->alloc_y); - lpGtkWidget->allocation.width = (*env)->GetShortField(env, lpObject, lpGtkWidgetFc->alloc_width); - lpGtkWidget->allocation.height = (*env)->GetShortField(env, lpObject, lpGtkWidgetFc->alloc_height); - lpGtkWidget->window = (GdkWindow*)(*env)->GetIntField(env, lpObject, lpGtkWidgetFc->window); - lpGtkWidget->parent = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkWidgetFc->parent); -} - -void getGtkFrameFields(JNIEnv *env, jobject lpObject, GtkFrame *lpGtkFrame, GtkFrame_FID_CACHE *lpGtkFrameFc) -{ - DECL_GLOB(pGlob) - getGtkBinFields(env, lpObject, &lpGtkFrame->bin, &PGLOB(GtkBinFc)); - lpGtkFrame->label = (gchar*)(*env)->GetIntField(env, lpObject, lpGtkFrameFc->label); - lpGtkFrame->shadow_type = (*env)->GetShortField(env, lpObject, lpGtkFrameFc->shadow_type); - lpGtkFrame->label_width = (*env)->GetShortField(env, lpObject, lpGtkFrameFc->label_width); - lpGtkFrame->label_height = (*env)->GetShortField(env, lpObject, lpGtkFrameFc->label_height); - lpGtkFrame->label_xalign = (*env)->GetFloatField(env, lpObject, lpGtkFrameFc->label_xalign); - lpGtkFrame->label_yalign = (*env)->GetFloatField(env, lpObject, lpGtkFrameFc->label_yalign); -} - -void setGtkWidgetFields(JNIEnv *env, jobject lpObject, GtkWidget *lpGtkWidget, GtkWidget_FID_CACHE *lpGtkWidgetFc) -{ - DECL_GLOB(pGlob) - setGtkObjectFields(env, lpObject, &lpGtkWidget->object, &PGLOB(GtkObjectFc)); - (*env)->SetShortField(env, lpObject, lpGtkWidgetFc->private_flags, (jshort)lpGtkWidget->private_flags); - (*env)->SetByteField(env, lpObject, lpGtkWidgetFc->state, (jbyte)lpGtkWidget->state); - (*env)->SetByteField(env, lpObject, lpGtkWidgetFc->saved_state, (jbyte)lpGtkWidget->saved_state); - (*env)->SetIntField(env, lpObject, lpGtkWidgetFc->name, (jint)lpGtkWidget->name); - (*env)->SetIntField(env, lpObject, lpGtkWidgetFc->style, (jint)lpGtkWidget->style); - (*env)->SetShortField(env, lpObject, lpGtkWidgetFc->req_width, (jshort)lpGtkWidget->requisition.width); - (*env)->SetShortField(env, lpObject, lpGtkWidgetFc->req_height, (jshort)lpGtkWidget->requisition.height); - (*env)->SetShortField(env, lpObject, lpGtkWidgetFc->alloc_x, (jshort)lpGtkWidget->allocation.x); - (*env)->SetShortField(env, lpObject, lpGtkWidgetFc->alloc_y, (jshort)lpGtkWidget->allocation.y); - (*env)->SetShortField(env, lpObject, lpGtkWidgetFc->alloc_width, (jshort)lpGtkWidget->allocation.width); - (*env)->SetShortField(env, lpObject, lpGtkWidgetFc->alloc_height, (jshort)lpGtkWidget->allocation.height); - (*env)->SetIntField(env, lpObject, lpGtkWidgetFc->window, (jint)lpGtkWidget->window); - (*env)->SetIntField(env, lpObject, lpGtkWidgetFc->parent, (jint)lpGtkWidget->parent); -} - -void setGtkFrameFields(JNIEnv *env, jobject lpObject, GtkFrame *lpGtkFrame, GtkFrame_FID_CACHE *lpGtkFrameFc) -{ - DECL_GLOB(pGlob) - setGtkBinFields(env, lpObject, &lpGtkFrame->bin, &PGLOB(GtkBinFc)); - (*env)->SetIntField (env, lpObject, lpGtkFrameFc->label, (jint)lpGtkFrame->label); - (*env)->SetShortField(env, lpObject, lpGtkFrameFc->label_width, (jshort)lpGtkFrame->label_width); - (*env)->SetShortField(env, lpObject, lpGtkFrameFc->label_height, (jshort)lpGtkFrame->label_height); - (*env)->SetFloatField(env, lpObject, lpGtkFrameFc->label_xalign, (jfloat)lpGtkFrame->label_xalign); - (*env)->SetFloatField(env, lpObject, lpGtkFrameFc->label_yalign, (jfloat)lpGtkFrame->label_yalign); -} - -void getGtkWindowFields(JNIEnv *env, jobject lpObject, GtkWindow *lpGtkWindow, GtkWindow_FID_CACHE *lpGtkWindowFc) -{ - DECL_GLOB(pGlob) - getGtkBinFields(env, lpObject, &lpGtkWindow->bin, &PGLOB(GtkBinFc)); - lpGtkWindow->title = (gchar*)(*env)->GetIntField(env, lpObject, lpGtkWindowFc->title); - lpGtkWindow->wmclass_name = (gchar*)(*env)->GetIntField(env, lpObject, lpGtkWindowFc->wmclass_name); - lpGtkWindow->wmclass_class = (gchar*)(*env)->GetIntField(env, lpObject, lpGtkWindowFc->wmclass_class); - lpGtkWindow->type = (*env)->GetIntField(env, lpObject, lpGtkWindowFc->type); - lpGtkWindow->focus_widget = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkWindowFc->focus_widget); - lpGtkWindow->default_widget = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkWindowFc->default_widget); - lpGtkWindow->transient_parent = (GtkWindow*)(*env)->GetIntField(env, lpObject, lpGtkWindowFc->transient_parent); - lpGtkWindow->resize_count = (*env)->GetShortField(env, lpObject, lpGtkWindowFc->resize_count); - lpGtkWindow->allow_shrink = (*env)->GetIntField(env, lpObject, lpGtkWindowFc->allow_shrink); - lpGtkWindow->allow_grow = (*env)->GetIntField(env, lpObject, lpGtkWindowFc->allow_grow); - lpGtkWindow->auto_shrink = (*env)->GetIntField(env, lpObject, lpGtkWindowFc->auto_shrink); - lpGtkWindow->handling_resize = (*env)->GetIntField(env, lpObject, lpGtkWindowFc->handling_resize); - lpGtkWindow->position = (*env)->GetIntField(env, lpObject, lpGtkWindowFc->position); - lpGtkWindow->use_uposition = (*env)->GetIntField(env, lpObject, lpGtkWindowFc->use_uposition); - lpGtkWindow->modal = (*env)->GetIntField(env, lpObject, lpGtkWindowFc->title); -} - -void setGtkWindowFields(JNIEnv *env, jobject lpObject, GtkWindow *lpGtkWindow, GtkWindow_FID_CACHE *lpGtkWindowFc) -{ - DECL_GLOB(pGlob) - setGtkBinFields(env, lpObject, &lpGtkWindow->bin, &PGLOB(GtkBinFc)); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->title, (jint)lpGtkWindow->title); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->wmclass_name, (jint)lpGtkWindow->wmclass_name); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->wmclass_class, (jint)lpGtkWindow->wmclass_class); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->type, (jint)lpGtkWindow->type); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->focus_widget, (jint)lpGtkWindow->focus_widget); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->default_widget, (jint)lpGtkWindow->default_widget); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->transient_parent, (jint)lpGtkWindow->title); - (*env)->SetShortField(env, lpObject, lpGtkWindowFc->resize_count, (jshort)lpGtkWindow->resize_count); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->allow_shrink, (jint)lpGtkWindow->allow_shrink); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->allow_grow, (jint)lpGtkWindow->allow_grow); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->auto_shrink, (jint)lpGtkWindow->auto_shrink); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->handling_resize, (jint)lpGtkWindow->handling_resize); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->position, (jint)lpGtkWindow->position); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->use_uposition, (jint)lpGtkWindow->use_uposition); - (*env)->SetIntField(env, lpObject, lpGtkWindowFc->modal, (jint)lpGtkWindow->modal); -} - -void getGtkDialogFields(JNIEnv *env, jobject lpObject, GtkDialog *lpGtkDialog, GtkDialog_FID_CACHE *lpGtkDialogFc) -{ - DECL_GLOB(pGlob) - getGtkWindowFields(env, lpObject, &lpGtkDialog->window, &PGLOB(GtkWindowFc)); - lpGtkDialog->vbox = (GtkWidget*) (*env)->GetIntField(env, lpObject, lpGtkDialogFc->vbox); - lpGtkDialog->action_area = (GtkWidget*) (*env)->GetIntField(env, lpObject, lpGtkDialogFc->action_area); -} - -void setGtkDialogFields(JNIEnv *env, jobject lpObject, GtkDialog *lpGtkDialog, GtkDialog_FID_CACHE *lpGtkDialogFc) -{ - DECL_GLOB(pGlob) - setGtkWindowFields(env, lpObject, &lpGtkDialog->window, &PGLOB(GtkWindowFc)); - (*env)->SetIntField(env, lpObject, lpGtkDialogFc->vbox, (jint)lpGtkDialog->vbox); - (*env)->SetIntField(env, lpObject, lpGtkDialogFc->action_area, (jint)lpGtkDialog->action_area); -} - -void getGtkMenuFields(JNIEnv *env, jobject lpObject, GtkMenu *lpGtkMenu, GtkMenu_FID_CACHE *lpGtkMenuFc) -{ - DECL_GLOB(pGlob) - getGtkMenuShellFields(env, lpObject, &lpGtkMenu->menu_shell, &PGLOB(GtkMenuShellFc)); - lpGtkMenu->parent_menu_item = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkMenuFc->parent_menu_item); - lpGtkMenu->old_active_menu_item = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkMenuFc->old_active_menu_item); - lpGtkMenu->accel_group = (GtkAccelGroup*)(*env)->GetIntField(env, lpObject, lpGtkMenuFc->accel_group); - lpGtkMenu->position_func = (GtkMenuPositionFunc)(*env)->GetIntField(env, lpObject, lpGtkMenuFc->position_func); - lpGtkMenu->position_func_data = (gpointer)(*env)->GetIntField(env, lpObject, lpGtkMenuFc->position_func_data); - lpGtkMenu->toplevel = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkMenuFc->toplevel); - lpGtkMenu->tearoff_window = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkMenuFc->tearoff_window); - lpGtkMenu->torn_off = (*env)->GetIntField(env, lpObject, lpGtkMenuFc->torn_off); -} - -void setGtkMenuFields(JNIEnv *env, jobject lpObject, GtkMenu *lpGtkMenu, GtkMenu_FID_CACHE *lpGtkMenuFc) -{ - DECL_GLOB(pGlob) - setGtkMenuShellFields(env, lpObject, &lpGtkMenu->menu_shell, &PGLOB(GtkMenuShellFc)); - (*env)->SetIntField(env, lpObject, lpGtkMenuFc->parent_menu_item, (jint)lpGtkMenu->parent_menu_item); - (*env)->SetIntField(env, lpObject, lpGtkMenuFc->old_active_menu_item, (jint)lpGtkMenu->old_active_menu_item); - (*env)->SetIntField(env, lpObject, lpGtkMenuFc->accel_group, (jint)lpGtkMenu->accel_group); - (*env)->SetIntField(env, lpObject, lpGtkMenuFc->position_func, (jint)lpGtkMenu->position_func); - (*env)->SetIntField(env, lpObject, lpGtkMenuFc->position_func_data, (jint)lpGtkMenu->position_func_data); - (*env)->SetIntField(env, lpObject, lpGtkMenuFc->toplevel, (jint)lpGtkMenu->toplevel); - (*env)->SetIntField(env, lpObject, lpGtkMenuFc->tearoff_window, (jint)lpGtkMenu->tearoff_window); - (*env)->SetIntField(env, lpObject, lpGtkMenuFc->torn_off, (jint)lpGtkMenu->torn_off); -} - -void getGtkMenuShellFields(JNIEnv *env, jobject lpObject, GtkMenuShell *lpGtkMenuShell, GtkMenuShell_FID_CACHE *lpGtkMenuShellFc) -{ - DECL_GLOB(pGlob) - getGtkContainerFields(env, lpObject, &lpGtkMenuShell->container, &PGLOB(GtkContainerFc)); - lpGtkMenuShell->active = (*env)->GetIntField(env, lpObject, lpGtkMenuShellFc->active); -} - -void setGtkMenuShellFields(JNIEnv *env, jobject lpObject, GtkMenuShell *lpGtkMenuShell, GtkMenuShell_FID_CACHE *lpGtkMenuShellFc) -{ - DECL_GLOB(pGlob) - setGtkContainerFields(env, lpObject, &lpGtkMenuShell->container, &PGLOB(GtkContainerFc)); - (*env)->SetIntField(env, lpObject, lpGtkMenuShellFc->active, (jint)lpGtkMenuShell->active); -} - -void getGtkItemFields(JNIEnv *env, jobject lpObject, GtkItem *lpGtkItem, GtkItem_FID_CACHE *lpGtkItemFc) -{ - DECL_GLOB(pGlob) - getGtkBinFields(env, lpObject, &lpGtkItem->bin, &PGLOB(GtkBinFc)); -} - -void setGtkItemFields(JNIEnv *env, jobject lpObject, GtkItem *lpGtkItem, GtkItem_FID_CACHE *lpGtkItemFc) -{ - DECL_GLOB(pGlob) - setGtkBinFields(env, lpObject, &lpGtkItem->bin, &PGLOB(GtkBinFc)); -} - -void getGtkMenuItemFields(JNIEnv *env, jobject lpObject, GtkMenuItem *lpGtkMenuItem, GtkMenuItem_FID_CACHE *lpGtkMenuItemFc) -{ - DECL_GLOB(pGlob) - getGtkItemFields(env, lpObject, &lpGtkMenuItem->item, &PGLOB(GtkItemFc)); -} - -void setGtkMenuItemFields(JNIEnv *env, jobject lpObject, GtkMenuItem *lpGtkMenuItem, GtkMenuItem_FID_CACHE *lpGtkMenuItemFc) -{ - DECL_GLOB(pGlob) - setGtkItemFields(env, lpObject, &lpGtkMenuItem->item, &PGLOB(GtkItemFc)); -} - -void getGtkCheckMenuItemFields(JNIEnv *env, jobject lpObject, GtkCheckMenuItem *lpGtkCheckMenuItem, GtkCheckMenuItem_FID_CACHE *lpGtkCheckMenuItemFc) -{ - DECL_GLOB(pGlob) - getGtkMenuItemFields(env, lpObject, &lpGtkCheckMenuItem->menu_item, &PGLOB(GtkMenuItemFc)); - lpGtkCheckMenuItem->active = (*env)->GetIntField(env, lpObject, lpGtkCheckMenuItemFc->active); - lpGtkCheckMenuItem->always_show_toggle = (*env)->GetIntField(env, lpObject, lpGtkCheckMenuItemFc->always_show_toggle); -} - -void setGtkCheckMenuItemFields(JNIEnv *env, jobject lpObject, GtkCheckMenuItem *lpGtkCheckMenuItem, GtkCheckMenuItem_FID_CACHE *lpGtkCheckMenuItemFc) -{ - DECL_GLOB(pGlob) - setGtkMenuItemFields(env, lpObject, &lpGtkCheckMenuItem->menu_item, &PGLOB(GtkMenuItemFc)); - (*env)->SetIntField(env, lpObject, lpGtkCheckMenuItemFc->active, (jint)lpGtkCheckMenuItem->active); - (*env)->SetIntField(env, lpObject, lpGtkCheckMenuItemFc->always_show_toggle, (jint)lpGtkCheckMenuItem->always_show_toggle); -} - -void getGtkDataFields(JNIEnv *env, jobject lpObject, GtkData *lpGtkData, GtkData_FID_CACHE *lpGtkDataFc) -{ - DECL_GLOB(pGlob) - getGtkObjectFields(env, lpObject, &lpGtkData->object, &PGLOB(GtkObjectFc)); -} - -void setGtkDataFields(JNIEnv *env, jobject lpObject, GtkData *lpGtkData, GtkData_FID_CACHE *lpGtkDataFc) -{ - DECL_GLOB(pGlob) - setGtkObjectFields(env, lpObject, &lpGtkData->object, &PGLOB(GtkObjectFc)); -} - -void getGtkAdjustmentFields(JNIEnv *env, jobject lpObject, GtkAdjustment *lpGtkAdjustment, GtkAdjustment_FID_CACHE *lpGtkAdjustmentFc) -{ - DECL_GLOB(pGlob) - getGtkDataFields(env, lpObject, &lpGtkAdjustment->data, &PGLOB(GtkDataFc)); - lpGtkAdjustment->lower = (*env)->GetFloatField(env, lpObject, lpGtkAdjustmentFc->lower); - lpGtkAdjustment->upper = (*env)->GetFloatField(env, lpObject, lpGtkAdjustmentFc->upper); - lpGtkAdjustment->value = (*env)->GetFloatField(env, lpObject, lpGtkAdjustmentFc->value); - lpGtkAdjustment->step_increment = (*env)->GetFloatField(env, lpObject, lpGtkAdjustmentFc->step_increment); - lpGtkAdjustment->page_increment = (*env)->GetFloatField(env, lpObject, lpGtkAdjustmentFc->page_increment); - lpGtkAdjustment->page_size = (*env)->GetFloatField(env, lpObject, lpGtkAdjustmentFc->page_size); -} - -void setGtkAdjustmentFields(JNIEnv *env, jobject lpObject, GtkAdjustment *lpGtkAdjustment, GtkAdjustment_FID_CACHE *lpGtkAdjustmentFc) -{ - DECL_GLOB(pGlob) - setGtkDataFields(env, lpObject, &lpGtkAdjustment->data, &PGLOB(GtkDataFc)); - (*env)->SetFloatField(env, lpObject, lpGtkAdjustmentFc->lower, (jfloat)lpGtkAdjustment->lower); - (*env)->SetFloatField(env, lpObject, lpGtkAdjustmentFc->upper, (jfloat)lpGtkAdjustment->upper); - (*env)->SetFloatField(env, lpObject, lpGtkAdjustmentFc->value, (jfloat)lpGtkAdjustment->value); - (*env)->SetFloatField(env, lpObject, lpGtkAdjustmentFc->step_increment, (jfloat)lpGtkAdjustment->step_increment); - (*env)->SetFloatField(env, lpObject, lpGtkAdjustmentFc->page_increment, (jfloat)lpGtkAdjustment->page_increment); - (*env)->SetFloatField(env, lpObject, lpGtkAdjustmentFc->page_size, (jfloat)lpGtkAdjustment->page_size); -} - -void getGtkCListRowFields(JNIEnv *env, jobject lpObject, GtkCListRow *lpGtkCListRow, GtkCListRow_FID_CACHE *lpGtkCListRowFc) -{ - lpGtkCListRow->cell = (GtkCell*)(*env)->GetIntField(env, lpObject, lpGtkCListRowFc->cell); - lpGtkCListRow->state = (*env)->GetIntField(env, lpObject, lpGtkCListRowFc->state); - lpGtkCListRow->foreground.red = (*env)->GetShortField(env, lpObject, lpGtkCListRowFc->foreground_red); - lpGtkCListRow->foreground.green = (*env)->GetShortField(env, lpObject, lpGtkCListRowFc->foreground_green); - lpGtkCListRow->foreground.blue = (*env)->GetShortField(env, lpObject, lpGtkCListRowFc->foreground_blue); - lpGtkCListRow->foreground.pixel = (*env)->GetIntField(env, lpObject, lpGtkCListRowFc->foreground_pixel); - lpGtkCListRow->background.red = (*env)->GetShortField(env, lpObject, lpGtkCListRowFc->background_red); - lpGtkCListRow->background.green = (*env)->GetShortField(env, lpObject, lpGtkCListRowFc->background_green); - lpGtkCListRow->background.blue = (*env)->GetShortField(env, lpObject, lpGtkCListRowFc->background_blue); - lpGtkCListRow->background.pixel = (*env)->GetIntField(env, lpObject, lpGtkCListRowFc->background_pixel); - lpGtkCListRow->style = (GtkStyle*)(*env)->GetIntField(env, lpObject, lpGtkCListRowFc->style); - lpGtkCListRow->data = (gpointer)(*env)->GetIntField(env, lpObject, lpGtkCListRowFc->data); - lpGtkCListRow->destroy = (GtkDestroyNotify)(*env)->GetIntField(env, lpObject, lpGtkCListRowFc->destroy); - lpGtkCListRow->fg_set = (*env)->GetIntField(env, lpObject, lpGtkCListRowFc->fg_set); - lpGtkCListRow->bg_set = (*env)->GetIntField(env, lpObject, lpGtkCListRowFc->bg_set); - lpGtkCListRow->selectable = (*env)->GetIntField(env, lpObject, lpGtkCListRowFc->selectable); -} - -void getGtkCListColumnFields(JNIEnv *env, jobject lpObject, GtkCListColumn *lpGtkCListColumn, GtkCListColumn_FID_CACHE *lpGtkCListColumnFc) -{ - lpGtkCListColumn->title = (gchar*)(*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->title); - lpGtkCListColumn->area.x = (*env)->GetShortField(env, lpObject, lpGtkCListColumnFc->area_x); - lpGtkCListColumn->area.y = (*env)->GetShortField(env, lpObject, lpGtkCListColumnFc->area_y); - lpGtkCListColumn->area.width = (*env)->GetShortField(env, lpObject, lpGtkCListColumnFc->area_width); - lpGtkCListColumn->area.height = (*env)->GetShortField(env, lpObject, lpGtkCListColumnFc->area_height); - lpGtkCListColumn->button = (GtkWidget*)(*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->button); - lpGtkCListColumn->window = (GdkWindow*)(*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->window); - lpGtkCListColumn->width = (*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->width); - lpGtkCListColumn->min_width = (*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->min_width); - lpGtkCListColumn->max_width = (*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->max_width); - lpGtkCListColumn->justification = (GtkJustification)(*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->justification); - lpGtkCListColumn->visible = (*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->visible); - lpGtkCListColumn->width_set = (*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->width_set); - lpGtkCListColumn->resizeable = (*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->resizeable); - lpGtkCListColumn->auto_resize = (*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->auto_resize); - lpGtkCListColumn->button_passive = (*env)->GetIntField(env, lpObject, lpGtkCListColumnFc->button_passive); -} - -void setGtkCListRowFields(JNIEnv *env, jobject lpObject, GtkCListRow *lpGtkCListRow, GtkCListRow_FID_CACHE *lpGtkCListRowFc) -{ - (*env)->SetIntField(env, lpObject, lpGtkCListRowFc->cell, (jint)lpGtkCListRow->cell); - (*env)->SetIntField(env, lpObject, lpGtkCListRowFc->state, (jint)lpGtkCListRow->state); - (*env)->SetShortField(env, lpObject, lpGtkCListRowFc->foreground_red, (jshort)lpGtkCListRow->foreground.red); - (*env)->SetShortField(env, lpObject, lpGtkCListRowFc->foreground_green, (jshort)lpGtkCListRow->foreground.green); - (*env)->SetShortField(env, lpObject, lpGtkCListRowFc->foreground_blue, (jshort)lpGtkCListRow->foreground.blue); - (*env)->SetIntField(env, lpObject, lpGtkCListRowFc->foreground_pixel, (jint)lpGtkCListRow->foreground.pixel); - (*env)->SetShortField(env, lpObject, lpGtkCListRowFc->background_red, (jshort)lpGtkCListRow->background.red); - (*env)->SetShortField(env, lpObject, lpGtkCListRowFc->background_green, (jshort)lpGtkCListRow->background.green); - (*env)->SetShortField(env, lpObject, lpGtkCListRowFc->background_blue, (jshort)lpGtkCListRow->background.blue); - (*env)->SetIntField(env, lpObject, lpGtkCListRowFc->background_pixel, (jint)lpGtkCListRow->background.pixel); - (*env)->SetIntField(env, lpObject, lpGtkCListRowFc->style, (jint)lpGtkCListRow->style); - (*env)->SetIntField(env, lpObject, lpGtkCListRowFc->data, (jint)lpGtkCListRow->data); - (*env)->SetIntField(env, lpObject, lpGtkCListRowFc->destroy, (jint)lpGtkCListRow->destroy); - (*env)->SetIntField(env, lpObject, lpGtkCListRowFc->fg_set, (jint)lpGtkCListRow->fg_set); - (*env)->SetIntField(env, lpObject, lpGtkCListRowFc->bg_set, (jint)lpGtkCListRow->bg_set); - (*env)->SetIntField(env, lpObject, lpGtkCListRowFc->selectable, (jint)lpGtkCListRow->selectable); -} - -void setGtkCListColumnFields(JNIEnv *env, jobject lpObject, GtkCListColumn *lpGtkCListColumn, GtkCListColumn_FID_CACHE *lpGtkCListColumnFc) -{ - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->title, (jint)lpGtkCListColumn->title); - (*env)->SetShortField(env, lpObject, lpGtkCListColumnFc->area_x, (jshort)lpGtkCListColumn->area.x); - (*env)->SetShortField(env, lpObject, lpGtkCListColumnFc->area_y, (jshort)lpGtkCListColumn->area.y); - (*env)->SetShortField(env, lpObject, lpGtkCListColumnFc->area_width, (jshort)lpGtkCListColumn->area.width); - (*env)->SetShortField(env, lpObject, lpGtkCListColumnFc->area_height, (jshort)lpGtkCListColumn->area.height); - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->button, (jint)lpGtkCListColumn->button); - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->window, (jint)lpGtkCListColumn->window); - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->width, (jshort)lpGtkCListColumn->width); - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->min_width, (jint)lpGtkCListColumn->min_width); - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->max_width, (jint)lpGtkCListColumn->max_width); - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->justification, (jint)lpGtkCListColumn->justification); - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->visible, (jint)lpGtkCListColumn->visible); - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->width_set, (jint)lpGtkCListColumn->width_set); - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->resizeable, (jint)lpGtkCListColumn->resizeable); - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->auto_resize, (jint)lpGtkCListColumn->auto_resize); - (*env)->SetIntField(env, lpObject, lpGtkCListColumnFc->button_passive, (jint)lpGtkCListColumn->button_passive); -} - -void getGtkCTreeFields(JNIEnv *env, jobject lpObject, GtkCTree *lpGtkCTree, GtkCTree_FID_CACHE *lpGtkCTreeFc) -{ - DECL_GLOB(pGlob) - getGtkCListFields(env, lpObject, &lpGtkCTree->clist, &PGLOB(GtkCListFc)); - lpGtkCTree->tree_indent = (*env)->GetIntField(env, lpObject, lpGtkCTreeFc->tree_indent); - lpGtkCTree->tree_column = (*env)->GetIntField(env, lpObject, lpGtkCTreeFc->tree_column); -} - -void setGtkCTreeFields(JNIEnv *env, jobject lpObject, GtkCTree *lpGtkCTree, GtkCTree_FID_CACHE *lpGtkCTreeFc) -{ - DECL_GLOB(pGlob) - setGtkCListFields(env, lpObject, &lpGtkCTree->clist, &PGLOB(GtkCListFc)); - (*env)->SetIntField(env, lpObject, lpGtkCTreeFc->tree_indent, (jint)lpGtkCTree->tree_indent); - (*env)->SetIntField(env, lpObject, lpGtkCTreeFc->tree_column, (jint)lpGtkCTree->tree_column); -} - -void getGtkCTreeRowFields(JNIEnv *env, jobject lpObject, GtkCTreeRow *lpGtkCTreeRow, GtkCTreeRow_FID_CACHE *lpGtkCTreeRowFc) -{ - DECL_GLOB(pGlob) - getGtkCListRowFields(env, lpObject, &lpGtkCTreeRow->row, &PGLOB(GtkCListRowFc)); - lpGtkCTreeRow->parent = (GtkCTreeNode*)(*env)->GetIntField(env, lpObject, lpGtkCTreeRowFc->parent); - lpGtkCTreeRow->sibling = (GtkCTreeNode*)(*env)->GetIntField(env, lpObject, lpGtkCTreeRowFc->sibling); - lpGtkCTreeRow->children = (GtkCTreeNode*)(*env)->GetIntField(env, lpObject, lpGtkCTreeRowFc->children); - lpGtkCTreeRow->pixmap_closed = (GdkPixmap*)(*env)->GetIntField(env, lpObject, lpGtkCTreeRowFc->pixmap_closed); - lpGtkCTreeRow->mask_closed = (GdkBitmap*)(*env)->GetIntField(env, lpObject, lpGtkCTreeRowFc->mask_closed); - lpGtkCTreeRow->pixmap_opened = (GdkPixmap*)(*env)->GetIntField(env, lpObject, lpGtkCTreeRowFc->pixmap_opened); - lpGtkCTreeRow->mask_opened = (GdkBitmap*)(*env)->GetIntField(env, lpObject, lpGtkCTreeRowFc->mask_opened); - lpGtkCTreeRow->level = (*env)->GetShortField(env, lpObject, lpGtkCTreeRowFc->level); - lpGtkCTreeRow->is_leaf = (*env)->GetIntField(env, lpObject, lpGtkCTreeRowFc->is_leaf); - lpGtkCTreeRow->expanded = (*env)->GetIntField(env, lpObject, lpGtkCTreeRowFc->expanded); -} - -void setGtkCTreeRowFields(JNIEnv *env, jobject lpObject, GtkCTreeRow *lpGtkCTreeRow, GtkCTreeRow_FID_CACHE *lpGtkCTreeRowFc) -{ - DECL_GLOB(pGlob) - setGtkCListRowFields(env, lpObject, &lpGtkCTreeRow->row, &PGLOB(GtkCListRowFc)); - (*env)->SetIntField(env, lpObject, lpGtkCTreeRowFc->parent, (jint)lpGtkCTreeRow->parent); - (*env)->SetIntField(env, lpObject, lpGtkCTreeRowFc->sibling, (jint)lpGtkCTreeRow->sibling); - (*env)->SetIntField(env, lpObject, lpGtkCTreeRowFc->children, (jint)lpGtkCTreeRow->children); - (*env)->SetIntField(env, lpObject, lpGtkCTreeRowFc->pixmap_closed, (jint)lpGtkCTreeRow->pixmap_closed); - (*env)->SetIntField(env, lpObject, lpGtkCTreeRowFc->mask_closed, (jint)lpGtkCTreeRow->mask_closed); - (*env)->SetIntField(env, lpObject, lpGtkCTreeRowFc->pixmap_opened, (jint)lpGtkCTreeRow->pixmap_opened); - (*env)->SetIntField(env, lpObject, lpGtkCTreeRowFc->mask_opened, (jint)lpGtkCTreeRow->mask_opened); - (*env)->SetShortField(env, lpObject, lpGtkCTreeRowFc->level, (jshort)lpGtkCTreeRow->level); - (*env)->SetIntField(env, lpObject, lpGtkCTreeRowFc->is_leaf, (jint)lpGtkCTreeRow->is_leaf); - (*env)->SetIntField(env, lpObject, lpGtkCTreeRowFc->expanded, (jint)lpGtkCTreeRow->expanded); -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/structs.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/structs.h deleted file mode 100644 index c746b0d630..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/structs.h +++ /dev/null @@ -1,593 +0,0 @@ -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -/** - * JNI SWT object field getters and setters declarations for GTK structs. - */ - -#ifndef INC_structs_H -#define INC_structs_H - -#include <gtk/gtk.h> -#include <gdk/gdkx.h> - -/* ----------- fid and class caches ----------- */ -/** - * Used for Java objects passed into JNI that are - * declared like: - * - * nativeFunction (Rectangle p1, Rectangle p2, Rectangle p3) - * - * and not like this - * - * nativeFunction (Object p1, Object p2, Object p3) - * - * - */ - -/* ----------- fid cache structures ----------- */ - -typedef struct GdkColor_FID_CACHE { - int cached; - jclass GdkColorClass; - jfieldID pixel, red, green, blue; -} GdkColor_FID_CACHE; - -typedef GdkColor_FID_CACHE *PGdkColor_FID_CACHE; - -typedef struct GdkEventKey_FID_CACHE { - int cached; - jclass GdkEventKeyClass; - jfieldID type, window, send_event, time, state, keyval, length, string; -} GdkEventKey_FID_CACHE; - -typedef GdkEventKey_FID_CACHE *PGdkEventKey_FID_CACHE; - -typedef struct GdkEventButton_FID_CACHE { - int cached; - jclass GdkEventButtonClass; - jfieldID type, window, send_event, time, x, y, pressure, xtilt, ytilt, state, button, source, deviceid, x_root, y_root; -} GdkEventButton_FID_CACHE; - -typedef GdkEventButton_FID_CACHE *PGdkEventButton_FID_CACHE; - -typedef struct GdkEventMotion_FID_CACHE { - int cached; - jclass GdkEventMotionClass; - jfieldID type, window, send_event, time, x, y, pressure, xtilt, ytilt, state, is_hint, source, deviceid, x_root, y_root; -} GdkEventMotion_FID_CACHE; - -typedef GdkEventMotion_FID_CACHE *PGdkEventMotion_FID_CACHE; - -typedef struct GdkEventExpose_FID_CACHE { - int cached; - jclass GdkEventExposeClass; - jfieldID type, window, send_event, x, y, width, height, count; -} GdkEventExpose_FID_CACHE; - -typedef GdkEventExpose_FID_CACHE *PGdkEventExpose_FID_CACHE; - -typedef struct GdkFont_FID_CACHE { - int cached; - jclass GdkFontClass; - jfieldID type, ascent, descent; -} GdkFont_FID_CACHE; - -typedef GdkFont_FID_CACHE *PGdkFont_FID_CACHE; - -typedef struct GdkGCValues_FID_CACHE { - int cached; - jclass GdkGCValuesClass; - jfieldID foreground_pixel, foreground_red, foreground_green, foreground_blue, background_pixel, background_red, background_green, background_blue, font, function, fill, tile, stipple, clip_mask, subwindow_mode, ts_x_origin, ts_y_origin, clip_x_origin, clip_y_origin, graphics_exposures, line_width, line_style, cap_style, join_style; -} GdkGCValues_FID_CACHE; - -typedef GdkGCValues_FID_CACHE *PGdkGCValues_FID_CACHE; - -typedef struct GdkImage_FID_CACHE { - int cached; - jclass GdkImageClass; - jfieldID type, visual, byte_order, width, height, depth, bpp, bpl, mem; -} GdkImage_FID_CACHE; - -typedef GdkImage_FID_CACHE *PGdkImage_FID_CACHE; - -typedef struct GdkPoint_FID_CACHE { - int cached; - jclass GdkPointClass; - jfieldID x, y; -} GdkPoint_FID_CACHE; - -typedef GdkPoint_FID_CACHE *PGdkPoint_FID_CACHE; - -typedef struct GdkRectangle_FID_CACHE { - int cached; - jclass GdkRectangleClass; - jfieldID x, y, width, height; -} GdkRectangle_FID_CACHE; - -typedef GdkRectangle_FID_CACHE *PGdkRectangle_FID_CACHE; - -typedef struct GdkVisual_FID_CACHE { - int cached; - jclass GdkVisualClass; - jfieldID type, depth, byte_order, colormap_size, bits_per_rgb, red_mask, red_shift, red_prec, green_mask, green_shift, green_prec, blue_mask, blue_shift, blue_prec; -} GdkVisual_FID_CACHE; - -typedef GdkVisual_FID_CACHE *PGdkVisual_FID_CACHE; - -typedef struct GtkObject_FID_CACHE { - int cached; - jclass GtkObjectClass; - jfieldID klass, flags, ref_count, object_data; -} GtkObject_FID_CACHE; - -typedef GtkObject_FID_CACHE *PGtkObject_FID_CACHE; - -typedef struct GtkData_FID_CACHE { - int cached; - jclass GtkDataClass; -} GtkData_FID_CACHE; - -typedef GtkData_FID_CACHE *PGtkData_FID_CACHE; - -typedef struct GtkAdjustment_FID_CACHE { - int cached; - jclass GtkAdjustmentClass; - jfieldID lower, upper, value, step_increment, page_increment, page_size; -} GtkAdjustment_FID_CACHE; - -typedef GtkAdjustment_FID_CACHE *PGtkAdjustment_FID_CACHE; - -typedef struct GtkAllocation_FID_CACHE { - int cached; - jclass GtkAllocationClass; - jfieldID x, y, width, height; -} GtkAllocation_FID_CACHE; - -typedef GtkAllocation_FID_CACHE *PGtkAllocation_FID_CACHE; - -typedef struct GtkWidget_FID_CACHE { - int cached; - jclass GtkWidgetClass; - jfieldID private_flags, state, saved_state, name, style, req_width, req_height, alloc_x, alloc_y, alloc_width, alloc_height, window, parent; -} GtkWidget_FID_CACHE; - -typedef GtkWidget_FID_CACHE *PGtkWidget_FID_CACHE; - -typedef struct GtkContainer_FID_CACHE { - int cached; - jclass GtkContainerClass; - jfieldID focus_child, border_width, need_resize, resize_mode, resize_widgets; -} GtkContainer_FID_CACHE; - -typedef GtkContainer_FID_CACHE *PGtkContainer_FID_CACHE; - -typedef struct GtkBin_FID_CACHE { - int cached; - jclass GtkBinClass; - jfieldID child; -} GtkBin_FID_CACHE; - -typedef GtkBin_FID_CACHE *PGtkBin_FID_CACHE; - -typedef struct GtkFrame_FID_CACHE { - int cached; - jclass GtkFrameClass; - jfieldID label, shadow_type, - label_width, label_height, - label_xalign, label_yalign; -} GtkFrame_FID_CACHE; - -typedef GtkFrame_FID_CACHE *PGtkFrame_FID_CACHE; - -typedef struct GtkMenu_FID_CACHE { - int cached; - jclass GtkMenuClass; - jfieldID parent_menu_item, old_active_menu_item, accel_group, position_func, position_func_data, toplevel, tearoff_window, torn_off; -} GtkMenu_FID_CACHE; - -typedef GtkMenu_FID_CACHE *PGtkMenu_FID_CACHE; - -typedef struct GtkMenuShell_FID_CACHE { - int cached; - jclass GtkMenuShellClass; - jfieldID active; -} GtkMenuShell_FID_CACHE; - -typedef GtkMenuShell_FID_CACHE *PGtkMenuShell_FID_CACHE; - -typedef struct GtkItem_FID_CACHE { - int cached; - jclass GtkItemClass; -} GtkItem_FID_CACHE; - -typedef GtkItem_FID_CACHE *PGtkItem_FID_CACHE; - -typedef struct GtkMenuItem_FID_CACHE { - int cached; - jclass GtkMenuItemClass; - jfieldID submenu, accelerator_signal, toggle_size, accelerator_width, show_toggle_indicator, show_submenu_indicator, submenu_placement, submenu_direction, right_justify, timer; -} GtkMenuItem_FID_CACHE; - -typedef GtkMenuItem_FID_CACHE *PGtkMenuItem_FID_CACHE; - -typedef struct GtkCheckMenuItem_FID_CACHE { - int cached; - jclass GtkCheckMenuItemClass; - jfieldID active, always_show_toggle; -} GtkCheckMenuItem_FID_CACHE; - -typedef GtkCheckMenuItem_FID_CACHE *PGtkCheckMenuItem_FID_CACHE; - -typedef struct GtkWindow_FID_CACHE { - int cached; - jclass GtkWindowClass; - jfieldID title, wmclass_name, wmclass_class, type, focus_widget, default_widget, transient_parent, resize_count, allow_shrink, allow_grow, auto_shrink, handling_resize, position, use_uposition, modal; -} GtkWindow_FID_CACHE; - -typedef GtkWindow_FID_CACHE *PGtkWindow_FID_CACHE; - -typedef struct GtkDialog_FID_CACHE { - int cached; - jclass GtkDialogClass; - jfieldID title, wmclass_name, wmclass_class, type, focus_widget, default_widget, transient_parent, resize_count, allow_shrink, allow_grow, auto_shrink, handling_resize, position, use_uposition, modal, vbox, action_area; -} GtkDialog_FID_CACHE; - -typedef GtkDialog_FID_CACHE *PGtkDialog_FID_CACHE; - -typedef struct GtkColorSelectionDialog_FID_CACHE { - int cached; - jclass GtkColorSelectionDialogClass; - jfieldID colorsel, main_vbox, ok_button, reset_button, cancel_button, help_button; -} GtkColorSelectionDialog_FID_CACHE; - -typedef GtkColorSelectionDialog_FID_CACHE *PGtkColorSelectionDialog_FID_CACHE; - -typedef struct GtkBox_FID_CACHE { - int cached; - jclass GtkBoxClass; - jfieldID children, spacing, homogeneous; -} GtkBox_FID_CACHE; - -typedef GtkBox_FID_CACHE *PGtkBox_FID_CACHE; - -typedef struct GtkHBox_FID_CACHE { - int cached; - jclass GtkHBoxClass; -} GtkHBox_FID_CACHE; - -typedef GtkHBox_FID_CACHE *PGtkHBox_FID_CACHE; - -typedef struct GtkCombo_FID_CACHE { - int cached; - jclass GtkComboClass; - jfieldID entry, button, popup, popwin, list, entry_change_id, list_change_id, value_in_list, ok_if_empty, case_sensitive, use_arrows, use_arrows_always, current_button, activate_id; -} GtkCombo_FID_CACHE; - -typedef GtkCombo_FID_CACHE *PGtkCombo_FID_CACHE; - -typedef struct GtkFileSelection_FID_CACHE { - int cached; - jclass GtkFileSelectionClass; - jfieldID dir_list, file_list, selection_entry, selection_text, main_vbox, ok_button, cancel_button, help_button, history_pulldown, history_menu, history_list, fileop_dialog, fileop_entry, fileop_file, cmpl_state, fileop_c_dir, fileop_del_file, fileop_ren_file, button_area, action_area; -} GtkFileSelection_FID_CACHE; - -typedef GtkFileSelection_FID_CACHE *PGtkFileSelection_FID_CACHE; - -typedef struct GtkFontSelectionDialog_FID_CACHE { - int cached; - jclass GtkFontSelectionDialogClass; - jfieldID fontsel, main_vbox, action_area, ok_button, apply_button, cancel_button, dialog_width, auto_resize; -} GtkFontSelectionDialog_FID_CACHE; - -typedef GtkFontSelectionDialog_FID_CACHE *PGtkFontSelectionDialog_FID_CACHE; - -typedef struct GtkCList_FID_CACHE { - int cached; - jclass GtkCListClass; - jfieldID clist_flags, row_mem_chunk, cell_mem_chunk, freeze_count, internal_allocation_x, internal_allocation_y, internal_allocation_width, internal_allocation_height, rows, row_center_offset, row_height, row_list, row_list_end, columns, column_title_area_x, column_title_area_y, column_title_area_width, column_title_area_height, title_window, column, clist_window, clist_window_width, clist_window_height, hoffset, voffset, shadow_type, selection_mode, selection, selection_end, undo_selection, undo_unselection, undo_anchor, button_actions0, button_actions1, button_actions2, button_actions3, button_actions4, drag_button, click_cell_row, click_cell_column, hadjustment, vadjustment, xor_gc, fg_gc, bg_gc, cursor_drag, x_drag, focus_row, anchor, anchor_state, drag_pos, htimer, vtimer, sort_type, compare, sort_column; -} GtkCList_FID_CACHE; - -typedef GtkCList_FID_CACHE *PGtkCList_FID_CACHE; - -typedef struct GtkEditable_FID_CACHE { - int cached; - jclass GtkEditableClass; - jfieldID current_pos, selection_start_pos, selection_end_pos, has_selection, editable, visible, ic, ic_attr, clipboard_text; -} GtkEditable_FID_CACHE; - -typedef GtkEditable_FID_CACHE *PGtkEditable_FID_CACHE; - -typedef struct GtkText_FID_CACHE { - int cached; - jclass GtkTextClass; - jfieldID first_line_start_index,first_onscreen_hor_pixel,first_onscreen_ver_pixel,default_tab_width,cursor_pos_x,cursor_pos_y,cursor_virtual_x; -} GtkText_FID_CACHE; - -typedef GtkText_FID_CACHE *PGtkText_FID_CACHE; - -typedef struct GtkProgress_FID_CACHE { - int cached; - jclass GtkProgressClass; - jfieldID adjustment, offscreen_pixmap, format, x_align, y_align, show_text, activity_mode; -} GtkProgress_FID_CACHE; - -typedef GtkProgress_FID_CACHE *PGtkProgress_FID_CACHE; - -typedef struct GtkProgressBar_FID_CACHE { - int cached; - jclass GtkProgressBarClass; - jfieldID bar_style, orientation, blocks, in_block, activity_pos, activity_step, activity_blocks, activity_dir; -} GtkProgressBar_FID_CACHE; - -typedef GtkProgressBar_FID_CACHE *PGtkProgressBar_FID_CACHE; - -typedef struct GtkArg_FID_CACHE { - int cached; - jclass GtkArgClass; - jfieldID type, name, d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11; -} GtkArg_FID_CACHE; - -typedef GtkArg_FID_CACHE *PGtkArg_FID_CACHE; - -typedef struct GtkRequisition_FID_CACHE { - int cached; - jclass GtkRequisitionClass; - jfieldID width, height; -} GtkRequisition_FID_CACHE; - -typedef GtkRequisition_FID_CACHE *PGtkRequisition_FID_CACHE; - -typedef struct GtkStyle_FID_CACHE { - int cached; - jclass GtkStyleClazz; - jfieldID klass, fg0_pixel, fg0_red, fg0_green, fg0_blue, fg1_pixel, fg1_red, fg1_green, fg1_blue, fg2_pixel, fg2_red, fg2_green, fg2_blue, fg3_pixel, fg3_red, fg3_green, fg3_blue, fg4_pixel, fg4_red, fg4_green, fg4_blue, bg0_pixel, bg0_red, bg0_green, bg0_blue, bg1_pixel, bg1_red, bg1_green, bg1_blue, bg2_pixel, bg2_red, bg2_green, bg2_blue, bg3_pixel, bg3_red, bg3_green, bg3_blue, bg4_pixel, bg4_red, bg4_green, bg4_blue, light0_pixel, light0_red, light0_green, light0_blue, light1_pixel, light1_red, light1_green, light1_blue, light2_pixel, light2_red, light2_green, light2_blue, light3_pixel, light3_red, light3_green, light3_blue, light4_pixel, light4_red, light4_green, light4_blue, dark0_pixel, dark0_red, dark0_green, dark0_blue, dark1_pixel, dark1_red, dark1_green, dark1_blue, dark2_pixel, dark2_red, dark2_green, dark2_blue, dark3_pixel, dark3_red, dark3_green, dark3_blue, dark4_pixel, dark4_red, dark4_green, dark4_blue, mid0_pixel, mid0_red, mid0_green, mid0_blue, mid1_pixel, mid1_red, mid1_green, mid1_blue, mid2_pixel, mid2_red, mid2_green, mid2_blue, mid3_pixel, mid3_red, mid3_green, mid3_blue, mid4_pixel, mid4_red, mid4_green, mid4_blue, text0_pixel, text0_red, text0_green, text0_blue, text1_pixel, text1_red, text1_green, text1_blue, text2_pixel, text2_red, text2_green, text2_blue, text3_pixel, text3_red, text3_green, text3_blue, text4_pixel, text4_red, text4_green, text4_blue, base0_pixel, base0_red, base0_green, base0_blue, base1_pixel, base1_red, base1_green, base1_blue, base2_pixel, base2_red, base2_green, base2_blue, base3_pixel, base3_red, base3_green, base3_blue, base4_pixel, base4_red, base4_green, base4_blue, black_pixel, black_red, black_green, black_blue, white_pixel, white_red, white_green, white_blue, font, fg_gc0, fg_gc1, fg_gc2, fg_gc3, fg_gc4, bg_gc0, bg_gc1, bg_gc2, bg_gc3, bg_gc4, light_gc0, light_gc1, light_gc2, light_gc3, light_gc4, dark_gc0, dark_gc1, dark_gc2, dark_gc3, dark_gc4, mid_gc0, mid_gc1, mid_gc2, mid_gc3, mid_gc4, text_gc0, text_gc1, text_gc2, text_gc3, text_gc4, base_gc0, base_gc1, base_gc2, base_gc3, base_gc4, black_gc, white_gc, bg_pixmap0, bg_pixmap1, bg_pixmap2, bg_pixmap3, bg_pixmap4, bg_pixmap5; - jfieldID ref_count, attach_count, depth, colormap, engine, engine_data, rc_style, styles; -} GtkStyle_FID_CACHE; - -typedef GtkStyle_FID_CACHE *PGtkStyle_FID_CACHE; - -typedef struct GtkStyleClass_FID_CACHE { - int cached; - jclass GtkStyleClassClazz; - jfieldID xthickness, ythickness; -} GtkStyleClass_FID_CACHE; - -typedef GtkStyleClass_FID_CACHE *PGtkStyleClass_FID_CACHE; - -typedef struct GtkCListRow_FID_CACHE { - int cached; - jclass GtkCListRowClass; - jfieldID cell, state, foreground_red, foreground_green, foreground_blue, foreground_pixel, background_red, background_green, background_blue, background_pixel, style, data, destroy, fg_set, bg_set, selectable; -} GtkCListRow_FID_CACHE; - -typedef GtkCListRow_FID_CACHE *PGtkCListRow_FID_CACHE; - -typedef struct GtkCListColumn_FID_CACHE { - int cached; - jclass GtkCListColumnClass; - jfieldID title, area_x, area_y, area_width, area_height, button, window, width, min_width, max_width, justification, visible, width_set, resizeable, auto_resize, button_passive; -} GtkCListColumn_FID_CACHE; - -typedef GtkCListColumn_FID_CACHE *PGtkCListColumn_FID_CACHE; - -typedef struct GtkCTreeRow_FID_CACHE { - int cached; - jclass GtkCTreeRowClass; - jfieldID parent, sibling, children, pixmap_closed, mask_closed, pixmap_opened, mask_opened, level, is_leaf, expanded; -} GtkCTreeRow_FID_CACHE; - -typedef GtkCTreeRow_FID_CACHE *PGtkCTreeRow_FID_CACHE; - -typedef struct GtkCTree_FID_CACHE { - int cached; - jclass GtkCTreeClass; - jfieldID tree_indent, tree_column; - -} GtkCTree_FID_CACHE; - -typedef GtkCTree_FID_CACHE *PGtkCTree_FID_CACHE; - -/* ----------- cache function prototypes ----------- */ - -void cacheGdkColorFids(JNIEnv *env, jobject lpGdkColor, PGdkColor_FID_CACHE lpCache); -void cacheGdkEventKeyFids(JNIEnv *env, jobject lpGdkEventKey, PGdkEventKey_FID_CACHE lpCache); -void cacheGdkEventButtonFids(JNIEnv *env, jobject lpGdkEventButton, PGdkEventButton_FID_CACHE lpCache); -void cacheGdkEventMotionFids(JNIEnv *env, jobject lpGdkEventMotion, PGdkEventMotion_FID_CACHE lpCache); -void cacheGdkEventExposeFids(JNIEnv *env, jobject lpGdkEventExpose, PGdkEventExpose_FID_CACHE lpCache); -void cacheGdkFontFids(JNIEnv *env, jobject lpGdkFont, PGdkFont_FID_CACHE lpCache); -void cacheGdkGCValuesFids(JNIEnv *env, jobject lpGdkGCValues, PGdkGCValues_FID_CACHE lpCache); -void cacheGdkImageFids(JNIEnv *env, jobject lpGdkImage, PGdkImage_FID_CACHE lpCache); -void cacheGdkPointFids(JNIEnv *env, jobject lpGdkPoint, PGdkPoint_FID_CACHE lpCache); -void cacheGdkRectangleFids(JNIEnv *env, jobject lpGdkRectangle, PGdkRectangle_FID_CACHE lpCache); -void cacheGdkVisualFids(JNIEnv *env, jobject lpGdkVisual, PGdkVisual_FID_CACHE lpCache); - -void cacheGtkObjectFids(JNIEnv *env, jobject lpGtkObject, PGtkObject_FID_CACHE lpCache); -void cacheGtkDataFids(JNIEnv *env, jobject lpGtkData, PGtkData_FID_CACHE lpCache); -void cacheGtkAdjustmentFids(JNIEnv *env, jobject lpGtkAdjustment, PGtkAdjustment_FID_CACHE lpCache); -void cacheGtkWidgetFids(JNIEnv *env, jobject lpGtkWidget, PGtkWidget_FID_CACHE lpCache); -void cacheGtkContainerFids(JNIEnv *env, jobject lpGtkContainer, PGtkContainer_FID_CACHE lpCache); -void cacheGtkBinFids(JNIEnv *env, jobject lpGtkBin, PGtkBin_FID_CACHE lpCache); -void cacheGtkMenuFids(JNIEnv *env, jobject lpGtkMenu, PGtkMenu_FID_CACHE lpCache); -void cacheGtkMenuShellFids(JNIEnv *env, jobject lpGtkMenuShell, PGtkMenuShell_FID_CACHE lpCache); -void cacheGtkItemFids(JNIEnv *env, jobject lpGtkItem, PGtkItem_FID_CACHE lpCache); -void cacheGtkMenuItemFids(JNIEnv *env, jobject lpGtkMenuItem, PGtkMenuItem_FID_CACHE lpCache); -void cacheGtkCheckMenuItemFids(JNIEnv *env, jobject lpGtkCheckMenuItem, PGtkCheckMenuItem_FID_CACHE lpCache); -void cacheGtkWindowFids(JNIEnv *env, jobject lpGtkWindow, PGtkWindow_FID_CACHE lpCache); -void cacheGtkDialogFids(JNIEnv *env, jobject lpGtkDialog, PGtkDialog_FID_CACHE lpCache); -void cacheGtkColorSelectionDialogFids(JNIEnv *env, jobject lpGtkColorSelectionDialog, PGtkColorSelectionDialog_FID_CACHE lpCache); -void cacheGtkFileSelectionFids(JNIEnv *env, jobject lpGtkFileSelection, PGtkFileSelection_FID_CACHE lpCache); -void cacheGtkFontSelectionDialogFids(JNIEnv *env, jobject lpGtkFontSelectionDialog, PGtkFontSelectionDialog_FID_CACHE lpCache); -void cacheGtkBoxFids(JNIEnv *env, jobject lpGtkBox, PGtkBox_FID_CACHE lpCache); -void cacheGtkHBoxFids(JNIEnv *env, jobject lpGtkHBox, PGtkHBox_FID_CACHE lpCache); -void cacheGtkComboFids(JNIEnv *env, jobject lpGtkCombo, PGtkCombo_FID_CACHE lpCache); -void cacheGtkCListFids(JNIEnv *env, jobject lpGtkCList, PGtkCList_FID_CACHE lpCache); -void cacheGtkEditableFids(JNIEnv *env, jobject lpGtkEditable, PGtkEditable_FID_CACHE lpCache); -void cacheGtkTextFids(JNIEnv *env, jobject lpGtkText, PGtkText_FID_CACHE lpCache); -void cacheGtkProgressFids(JNIEnv *env, jobject lpGtkProgress, PGtkProgress_FID_CACHE lpCache); -void cacheGtkProgressBarFids(JNIEnv *env, jobject lpGtkProgressBar, PGtkProgressBar_FID_CACHE lpCache); - -void cacheGtkAllocationFids(JNIEnv *env, jobject lpGtkAllocation, PGtkAllocation_FID_CACHE lpCache); -void cacheGtkArgFids(JNIEnv *env, jobject lpGtkArg, PGtkArg_FID_CACHE lpCache); -void cacheGtkRequisitionFids(JNIEnv *env, jobject lpGtkRequisition, PGtkRequisition_FID_CACHE lpCache); -void cacheGtkStyleFids(JNIEnv *env, jobject lpGtkStyle, PGtkStyle_FID_CACHE lpCache); -void cacheGtkStyleClassFids(JNIEnv *env, jobject lpGtkStyleClass, PGtkStyleClass_FID_CACHE lpCache); -void cacheGtkCListColumnFids(JNIEnv *env, jobject lpGtkCListColumn, PGtkCListColumn_FID_CACHE lpCache); -void cacheGtkCListRowFids(JNIEnv *env, jobject lpGtkCListRow, PGtkCListRow_FID_CACHE lpCache); -void cacheGtkCTreeRowFids(JNIEnv *env, jobject lpGtkCTreeRow, PGtkCTreeRow_FID_CACHE lpCache); -void cacheGtkCTreeFids(JNIEnv *env, jobject lpGtkCTree, PGtkCTree_FID_CACHE lpCache); - -/* ----------- swt getter and setter prototypes ----------- */ -/** - * These functions get or set object field ids assuming that the - * fids for these objects have already been cached. - * - * The header file just contains function prototypes - */ -void getGdkColorFields(JNIEnv *env, jobject lpObject, GdkColor *lpGdkColor, GdkColor_FID_CACHE *lpGdkColorFc); -void setGdkColorFields(JNIEnv *env, jobject lpObject, GdkColor *lpGdkColor, GdkColor_FID_CACHE *lpGdkColorFc); -void getGdkEventKeyFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventKey_FID_CACHE *lpGdkEventKeyFc); -void setGdkEventKeyFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventKey_FID_CACHE *lpGdkEventKeyFc); -void getGdkEventButtonFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventButton_FID_CACHE *lpGdkEventButtonFc); -void setGdkEventButtonFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventButton_FID_CACHE *lpGdkEventButtonFc); -void getGdkEventMotionFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventMotion_FID_CACHE *lpGdkEventMotionFc); -void setGdkEventMotionFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventMotion_FID_CACHE *lpGdkEventMotionFc); -void getGdkEventExposeFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventExpose_FID_CACHE *lpGdkEventExposeFc); -void setGdkEventExposeFields(JNIEnv *env, jobject lpObject, GdkEvent *lpGdkEvent, GdkEventExpose_FID_CACHE *lpGdkEventExposeFc); -void getGdkFontFields(JNIEnv *env, jobject lpObject, GdkFont *lpGdkFont, GdkFont_FID_CACHE *lpGdkFontFc); -void setGdkFontFields(JNIEnv *env, jobject lpObject, GdkFont *lpGdkFont, GdkFont_FID_CACHE *lpGdkFontFc); -void getGdkGCValuesFields(JNIEnv *env, jobject lpObject, GdkGCValues *lpGdkGCValues, GdkGCValues_FID_CACHE *lpGdkGCValuesFc); -void setGdkGCValuesFields(JNIEnv *env, jobject lpObject, GdkGCValues *lpGdkGCValues, GdkGCValues_FID_CACHE *lpGdkGCValuesFc); -void getGdkImageFields(JNIEnv *env, jobject lpObject, GdkImage *lpGdkImage, GdkImage_FID_CACHE *lpGdkImageFc); -void setGdkImageFields(JNIEnv *env, jobject lpObject, GdkImage *lpGdkImage, GdkImage_FID_CACHE *lpGdkImageFc); -void getGdkPointFields(JNIEnv *env, jobject lpObject, GdkPoint *lpGdkPoint, GdkPoint_FID_CACHE *lpGdkPointFc); -void setGdkPointFields(JNIEnv *env, jobject lpObject, GdkPoint *lpGdkPoint, GdkPoint_FID_CACHE *lpGdkPointFc); -void getGdkRectangleFields(JNIEnv *env, jobject lpObject, GdkRectangle *lpGdkRectangle, GdkRectangle_FID_CACHE *lpGdkRectangleFc); -void setGdkRectangleFields(JNIEnv *env, jobject lpObject, GdkRectangle *lpGdkRectangle, GdkRectangle_FID_CACHE *lpGdkRectangleFc); -void getGdkVisualFields(JNIEnv *env, jobject lpObject, GdkVisual *lpGdkVisual, GdkVisual_FID_CACHE *lpGdkVisualFc); -void setGdkVisualFields(JNIEnv *env, jobject lpObject, GdkVisual *lpGdkVisual, GdkVisual_FID_CACHE *lpGdkVisualFc); -void getGtkAllocationFields(JNIEnv *env, jobject lpObject, GtkAllocation *lpGtkAllocation, GtkAllocation_FID_CACHE *lpGtkAllocationFc); -void setGtkAllocationFields(JNIEnv *env, jobject lpObject, GtkAllocation *lpGtkAllocation, GtkAllocation_FID_CACHE *lpGtkAllocationFc); -void getGtkArgFields(JNIEnv *env, jobject lpObject, GtkArg *lpGtkArg, GtkArg_FID_CACHE *lpGtkArgFc); -void setGtkArgFields(JNIEnv *env, jobject lpObject, GtkArg *lpGtkArg, GtkArg_FID_CACHE *lpGtkArgFc); -void getGtkBinFields(JNIEnv *env, jobject lpObject, GtkBin *lpGtkBin, GtkBin_FID_CACHE *lpGtkBinFc); -void setGtkBinFields(JNIEnv *env, jobject lpObject, GtkBin *lpGtkBin, GtkBin_FID_CACHE *lpGtkBinFc); -void getGtkCListFields(JNIEnv *env, jobject lpObject, GtkCList *lpGtkCList, GtkCList_FID_CACHE *lpGtkCListFc); -void setGtkCListFields(JNIEnv *env, jobject lpObject, GtkCList *lpGtkCList, GtkCList_FID_CACHE *lpGtkCListFc); -void getGtkCListRowFields(JNIEnv *env, jobject lpObject, GtkCListRow *lpGtkCListRow, GtkCListRow_FID_CACHE *lpGtkCListRowFc); -void setGtkCListRowFields(JNIEnv *env, jobject lpObject, GtkCListRow *lpGtkCListRow, GtkCListRow_FID_CACHE *lpGtkCListRowFc); -void getGtkCListColumnFields(JNIEnv *env, jobject lpObject, GtkCListColumn *lpGtkCListColumn, GtkCListColumn_FID_CACHE *lpGtkCListColumnFc); -void setGtkCListColumnFields(JNIEnv *env, jobject lpObject, GtkCListColumn *lpGtkCListColumn, GtkCListColumn_FID_CACHE *lpGtkCListColumnFc); -void getGtkCTreeRowFields(JNIEnv *env, jobject lpObject, GtkCTreeRow *lpGtkCTreeRow, GtkCTreeRow_FID_CACHE *lpGtkCTreeRowFc); -void setGtkCTreeRowFields(JNIEnv *env, jobject lpObject, GtkCTreeRow *lpGtkCTreeRow, GtkCTreeRow_FID_CACHE *lpGtkCTreeRowFc); -void getGtkColorSelectionDialogFields(JNIEnv *env, jobject lpObject, GtkColorSelectionDialog *lpGtkColorSelectionDialog, GtkColorSelectionDialog_FID_CACHE *lpGtkColorSelectionDialogFc); -void setGtkColorSelectionDialogFields(JNIEnv *env, jobject lpObject, GtkColorSelectionDialog *lpGtkColorSelectionDialog, GtkColorSelectionDialog_FID_CACHE *lpGtkColorSelectionDialogFc); -void getGtkComboFields(JNIEnv *env, jobject lpObject, GtkCombo *lpGtkCombo, GtkCombo_FID_CACHE *lpGtkComboFc); -void setGtkComboFields(JNIEnv *env, jobject lpObject, GtkCombo *lpGtkCombo, GtkCombo_FID_CACHE *lpGtkComboFc); -void getGtkContainerFields(JNIEnv *env, jobject lpObject, GtkContainer *lpGtkContainer, GtkContainer_FID_CACHE *lpGtkContainerFc); -void setGtkContainerFields(JNIEnv *env, jobject lpObject, GtkContainer *lpGtkContainer, GtkContainer_FID_CACHE *lpGtkContainerFc); -void getGtkDataFields(JNIEnv *env, jobject lpObject, GtkData *lpGtkData, GtkData_FID_CACHE *lpGtkDataFc); -void setGtkDataFields(JNIEnv *env, jobject lpObject, GtkData *lpGtkData, GtkData_FID_CACHE *lpGtkDataFc); -void getGtkEditableFields(JNIEnv *env, jobject lpObject, GtkEditable *lpGtkEditable, GtkEditable_FID_CACHE *lpGtkEditableFc); -void setGtkEditableFields(JNIEnv *env, jobject lpObject, GtkEditable *lpGtkEditable, GtkEditable_FID_CACHE *lpGtkEditableFc); -void getGtkFrameFields(JNIEnv *env, jobject lpObject, GtkFrame *lpGtkFrame, GtkFrame_FID_CACHE *lpGtkFrameFc); -void setGtkFrameFields(JNIEnv *env, jobject lpObject, GtkFrame *lpGtkFrame, GtkFrame_FID_CACHE *lpGtkFrameFc); -void getGtkTextFields(JNIEnv *env, jobject lpObject, GtkText *lpGtkText, GtkText_FID_CACHE *lpGtkTextFc); -void setGtkTextFields(JNIEnv *env, jobject lpObject, GtkText *lpGtkText, GtkText_FID_CACHE *lpGtkTextFc); -void getGtkFileSelectionFields(JNIEnv *env, jobject lpObject, GtkFileSelection *lpGtkFileSelection, GtkFileSelection_FID_CACHE *lpGtkFileSelectionFc); -void setGtkFileSelectionFields(JNIEnv *env, jobject lpObject, GtkFileSelection *lpGtkFileSelection, GtkFileSelection_FID_CACHE *lpGtkFileSelectionFc); -void getGtkFontSelectionDialogFields(JNIEnv *env, jobject lpObject, GtkFontSelectionDialog *lpGtkFontSelectionDialog, GtkFontSelectionDialog_FID_CACHE *lpGtkFontSelectionDialogFc); -void setGtkFontSelectionDialogFields(JNIEnv *env, jobject lpObject, GtkFontSelectionDialog *lpGtkFontSelectionDialog, GtkFontSelectionDialog_FID_CACHE *lpGtkFontSelectionDialogFc); -void getGtkObjectFields(JNIEnv *env, jobject lpObject, GtkObject *lpGtkObject, GtkObject_FID_CACHE *lpGtkObjectFc); -void setGtkObjectFields(JNIEnv *env, jobject lpObject, GtkObject *lpGtkObject, GtkObject_FID_CACHE *lpGtkObjectFc); -void getGtkProgressFields(JNIEnv *env, jobject lpObject, GtkProgress *lpGtkProgress, GtkProgress_FID_CACHE *lpGtkProgressFc); -void setGtkProgressFields(JNIEnv *env, jobject lpObject, GtkProgress *lpGtkProgress, GtkProgress_FID_CACHE *lpGtkProgressFc); -void getGtkProgressBarFields(JNIEnv *env, jobject lpObject, GtkProgressBar *lpGtkProgressBar, GtkProgressBar_FID_CACHE *lpGtkProgressBarFc); -void setGtkProgressBarFields(JNIEnv *env, jobject lpObject, GtkProgressBar *lpGtkProgressBar, GtkProgressBar_FID_CACHE *lpGtkProgressBarFc); -void getGtkRequisitionFields(JNIEnv *env, jobject lpObject, GtkRequisition *lpGtkRequisition, GtkRequisition_FID_CACHE *lpGtkRequisitionFc); -void setGtkRequisitionFields(JNIEnv *env, jobject lpObject, GtkRequisition *lpGtkRequisition, GtkRequisition_FID_CACHE *lpGtkRequisitionFc); -void getGtkStyleFields(JNIEnv *env, jobject lpObject, GtkStyle *lpGtkStyle, GtkStyle_FID_CACHE *lpGtkStyleFc); -void setGtkStyleFields(JNIEnv *env, jobject lpObject, GtkStyle *lpGtkStyle, GtkStyle_FID_CACHE *lpGtkStyleFc); -void getGtkStyleClassFields(JNIEnv *env, jobject lpObject, GtkStyleClass *lpGtkStyleClass, GtkStyleClass_FID_CACHE *lpGtkStyleClassFc); -void setGtkStyleClassFields(JNIEnv *env, jobject lpObject, GtkStyleClass *lpGtkStyleClass, GtkStyleClass_FID_CACHE *lpGtkStyleClassFc); -void getGtkWidgetFields(JNIEnv *env, jobject lpObject, GtkWidget *lpGtkWidget, GtkWidget_FID_CACHE *lpGtkWidgetFc); -void setGtkWidgetFields(JNIEnv *env, jobject lpObject, GtkWidget *lpGtkWidget, GtkWidget_FID_CACHE *lpGtkWidgetFc); -void getGtkWindowFields(JNIEnv *env, jobject lpObject, GtkWindow *lpGtkWindow, GtkWindow_FID_CACHE *lpGtkWindowFc); -void setGtkWindowFields(JNIEnv *env, jobject lpObject, GtkWindow *lpGtkWindow, GtkWindow_FID_CACHE *lpGtkWindowFc); -void getGtkDialogFields(JNIEnv *env, jobject lpObject, GtkDialog *lpGtkDialog, GtkDialog_FID_CACHE *lpGtkDialogFc); -void setGtkDialogFields(JNIEnv *env, jobject lpObject, GtkDialog *lpGtkDialog, GtkDialog_FID_CACHE *lpGtkDialogFc); -void getGtkCheckMenuItemFields(JNIEnv *env, jobject lpObject, GtkCheckMenuItem *lpGtkCheckMenuItem, GtkCheckMenuItem_FID_CACHE *lpGtkCheckMenuItemFc); -void setGtkCheckMenuItemFields(JNIEnv *env, jobject lpObject, GtkCheckMenuItem *lpGtkCheckMenuItem, GtkCheckMenuItem_FID_CACHE *lpGtkCheckMenuItemFc); -void getGtkAdjustmentFields(JNIEnv *env, jobject lpObject, GtkAdjustment *lpGtkAdjustment, GtkAdjustment_FID_CACHE *lpGtkAdjustmentFc); -void setGtkAdjustmentFields(JNIEnv *env, jobject lpObject, GtkAdjustment *lpGtkAdjustment, GtkAdjustment_FID_CACHE *lpGtkAdjustmentFc); -void getGtkBoxFields(JNIEnv *env, jobject lpObject, GtkBox *lpGtkBox, GtkBox_FID_CACHE *lpGtkBoxFc); -void setGtkBoxFields(JNIEnv *env, jobject lpObject, GtkBox *lpGtkBox, GtkBox_FID_CACHE *lpGtkBoxFc); -void getGtkHBoxFields(JNIEnv *env, jobject lpObject, GtkHBox *lpGtkHBox, GtkHBox_FID_CACHE *lpGtkHBoxFc); -void setGtkHBoxFields(JNIEnv *env, jobject lpObject, GtkHBox *lpGtkHBox, GtkHBox_FID_CACHE *lpGtkHBoxFc); -void getGtkMenuFields(JNIEnv *env, jobject lpObject, GtkMenu *lpGtkMenu, GtkMenu_FID_CACHE *lpGtkMenuFc); -void setGtkMenuFields(JNIEnv *env, jobject lpObject, GtkMenu *lpGtkMenu, GtkMenu_FID_CACHE *lpGtkMenuFc); -void getGtkMenuShellFields(JNIEnv *env, jobject lpObject, GtkMenuShell *lpGtkMenuShell, GtkMenuShell_FID_CACHE *lpGtkMenuShellFc); -void setGtkMenuShellFields(JNIEnv *env, jobject lpObject, GtkMenuShell *lpGtkMenuShell, GtkMenuShell_FID_CACHE *lpGtkMenuShellFc); -void getGtkMenuItemFields(JNIEnv *env, jobject lpObject, GtkMenuItem *lpGtkMenuItem, GtkMenuItem_FID_CACHE *lpGtkMenuItemFc); -void setGtkMenuItemFields(JNIEnv *env, jobject lpObject, GtkMenuItem *lpGtkMenuItem, GtkMenuItem_FID_CACHE *lpGtkMenuItemFc); -void getGtkCTreeFields(JNIEnv *env, jobject lpObject, GtkCTree *lpGtkCTree, GtkCTree_FID_CACHE *lpGtkCTreeFc); -void setGtkCTreeFields(JNIEnv *env, jobject lpObject, GtkCTree *lpGtkCTree, GtkCTree_FID_CACHE *lpGtkCTreeFc); - -extern GdkColor_FID_CACHE GdkColorFc; -extern GdkEventKey_FID_CACHE GdkEventKeyFc; -extern GdkEventButton_FID_CACHE GdkEventButtonFc; -extern GdkEventMotion_FID_CACHE GdkEventMotionFc; -extern GdkEventExpose_FID_CACHE GdkEventExposeFc; -extern GdkFont_FID_CACHE GdkFontFc; -extern GdkGCValues_FID_CACHE GdkGCValuesFc; -extern GdkImage_FID_CACHE GdkImageFc; -extern GdkPoint_FID_CACHE GdkPointFc; -extern GdkRectangle_FID_CACHE GdkRectangleFc; -extern GdkVisual_FID_CACHE GdkVisualFc; - -extern GtkAdjustment_FID_CACHE GtkAdjustmentFc; -extern GtkAllocation_FID_CACHE GtkAllocationFc; -extern GtkBin_FID_CACHE GtkBinFc; -extern GtkCheckMenuItem_FID_CACHE GtkCheckMenuItemFc; -extern GtkContainer_FID_CACHE GtkContainerFc; -extern GtkCListRow_FID_CACHE GtkCListRowFc; -extern GtkCListColumn_FID_CACHE GtkCListColumnFc; -extern GtkCTreeRow_FID_CACHE GtkCTreeRowFc; -extern GtkCTree_FID_CACHE GtkCTreeFc; -extern GtkColorSelectionDialog_FID_CACHE GtkColorSelectionDialogFc;\ -extern GtkCList_FID_CACHE GtkCListFc; -extern GtkData_FID_CACHE GtkDataFc; -extern GtkEditable_FID_CACHE GtkEditableFc; -extern GtkItem_FID_CACHE GtkItemFc; -extern GtkMenu_FID_CACHE GtkMenuFc; -extern GtkMenuShell_FID_CACHE GtkMenuShellFc; -extern GtkMenuItem_FID_CACHE GtkMenuItemFc; -extern GtkObject_FID_CACHE GtkObjectFc; -extern GtkWidget_FID_CACHE GtkWidgetFc; -extern GtkWindow_FID_CACHE GtkWindowFc; -extern GtkDialog_FID_CACHE GtkDialogFc; -extern GtkBox_FID_CACHE GtkBoxFc; -extern GtkHBox_FID_CACHE GtkHBoxFc; -extern GtkCombo_FID_CACHE GtkComboFc; -extern GtkFileSelection_FID_CACHE GtkFileSelectionFc; -extern GtkFrame_FID_CACHE GtkFrameFc; -extern GtkFontSelectionDialog_FID_CACHE GtkFontSelectionDialogFc; -extern GtkText_FID_CACHE GtkTextFc; -extern GtkProgress_FID_CACHE GtkProgressFc; -extern GtkProgressBar_FID_CACHE GtkProgressBarFc; -extern GtkArg_FID_CACHE GtkArgFc; -extern GtkRequisition_FID_CACHE GtkRequisitionFc; -extern GtkStyle_FID_CACHE GtkStyleFc; -extern GtkStyleClass_FID_CACHE GtkStyleClassFc; - -#endif // INC_structs_H diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/swt.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/swt.c deleted file mode 100644 index a9f8db8414..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/swt.c +++ /dev/null @@ -1,7865 +0,0 @@ -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -/** - * SWT OS natives implementation. - */ - -/*#define PRINT_FAILED_RCODES*/ -#define NDEBUG - -#include "swt.h" -#include "structs.h" - -#include <stdio.h> -#include <assert.h> - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_draw_check - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1draw_1check - (JNIEnv *env, jclass that, jint style, jint window, jint state_type, jint shadow_type, jint x, jint y, jint width, jint height) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_post_recursive_to_depth"); -#endif - - gtk_draw_check((GtkStyle*)style, (GdkWindow *) window, (GtkStateType)state_type, (GtkShadowType)shadow_type, (gint) x, (gint) y, (gint) width, (gint) height); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_post_recursive - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1post_1recursive_1to_1depth - (JNIEnv *env, jclass that, jint ctree, jint node, jint depth, jint func, jint data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_post_recursive_to_depth"); -#endif - - gtk_ctree_post_recursive_to_depth((GtkCTree*)ctree, (GtkCTreeNode*)node, (jint)depth, (GtkCTreeFunc)func, (gpointer)data); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_row_is_visible - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1row_1is_1visible - (JNIEnv *env, jclass that, jint clist, jint row) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_row_is_visible"); -#endif - - return gtk_clist_row_is_visible((GtkCList *)clist, (gint)row); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_log_default_handler - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1log_1default_1handler - (JNIEnv *env, jclass that, jint log_domain, jint log_levels, jint message, jint unused_data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_log_default_handler"); -#endif - - g_log_default_handler((gchar *)log_domain, (GLogLevelFlags)log_levels, (gchar *)message, (gpointer)unused_data); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_log_set_handler - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1log_1set_1handler - (JNIEnv *env, jclass that, jbyteArray log_domain, jint log_levels, jint log_func, jint user_data) -{ - jint rc; - jbyte *log_domain1 = NULL; - -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_log_set_handler"); -#endif - - if (log_domain) { - log_domain1 = (*env)->GetByteArrayElements(env, log_domain, NULL); - } - rc = (jint) g_log_set_handler((gchar *)log_domain1, (GLogLevelFlags)log_levels, (GLogFunc) log_func, (gpointer) user_data); - if (log_domain) { - (*env)->ReleaseByteArrayElements(env, log_domain, log_domain1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_log_remove_handler - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1log_1remove_1handler - (JNIEnv *env, jclass that, jbyteArray log_domain, jint handler_id) -{ - jbyte *log_domain1 = NULL; - -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_log_remove_handler"); -#endif - - if (log_domain) { - log_domain1 = (*env)->GetByteArrayElements(env, log_domain, NULL); - } - g_log_remove_handler((gchar *)log_domain1, handler_id); - if (log_domain) { - (*env)->ReleaseByteArrayElements(env, log_domain, log_domain1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: GTK_WIDGET_TYPE - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_GTK_1WIDGET_1TYPE - (JNIEnv *env, jclass that, jint wid) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "GTK_WIDGET_TYPE"); -#endif - - return GTK_WIDGET_TYPE((GtkWidget*)wid); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_label_get_type - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1label_1get_1type - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_label_get_type"); -#endif - - return gtk_label_get_type (); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_object_unref - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1object_1unref - (JNIEnv *env, jclass that, jint object) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_object_unref"); -#endif - - gtk_object_unref((GtkObject*)object); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_object_ref - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1object_1destroy - (JNIEnv *env, jclass that, jint object) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_object_destroy"); -#endif - - gtk_object_destroy((GtkObject*)object); -} - -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1object_1get_1data_1by_1id - (JNIEnv *env, jclass that, jint object, jint data_id) -{ - jint result; - -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_object_get_data_by_id"); -#endif - return (jint) gtk_object_get_data_by_id((GtkObject*)object, (GQuark) data_id); -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1object_1set_1data_1by_1id - (JNIEnv *env, jclass that, jint object, jint data_id, jint data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_object_set_data_by_id"); -#endif - - gtk_object_set_data_by_id ((GtkObject*)object, (GQuark) data_id, (gpointer) data); -} - -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1quark_1from_1string - (JNIEnv *env, jclass that, jbyteArray string) -{ - jint result; - jbyte *string1 = NULL; - -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_quark_from_string"); -#endif - - if (string) { - string1 = (*env)->GetByteArrayElements(env, string, NULL); - } - result = g_quark_from_string((gchar *) string1); - if (string) { - (*env)->ReleaseByteArrayElements(env, string, string1, 0); - } - return result; -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1signal_1handler_1block_1by_1data - (JNIEnv *env, jclass that, jint object, jint data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_signal_handler_block_by_data"); -#endif - - gtk_signal_handler_block_by_data((GtkObject*)object, (gpointer) data); -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1signal_1handler_1unblock_1by_1data - (JNIEnv *env, jclass that, jint object, jint data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_signal_handler_unblock_by_data"); -#endif - - gtk_signal_handler_unblock_by_data((GtkObject*)object, (gpointer) data); -} - - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1rgb_1init - (JNIEnv *env, jclass cl) -{ - gdk_rgb_init(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_GTK_1WIDGET_1FLAGS - (JNIEnv *env, jclass that, jint wid) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "GTK_WIDGET_FLAGS"); -#endif - - return (jint) GTK_WIDGET_FLAGS((GtkWidget*)wid); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_GTK_1WIDGET_1SET_1FLAGS - (JNIEnv *env, jclass that, jint wid, jint flag) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "GTK_WIDGET_SET_FLAGS"); -#endif - - GTK_WIDGET_SET_FLAGS((GtkWidget*)wid, flag); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_GTK_1WIDGET_1UNSET_1FLAGS - (JNIEnv *env, jclass that, jint wid, jint flag) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "GTK_WIDGET_UNSET_FLAGS"); -#endif - - GTK_WIDGET_UNSET_FLAGS((GtkWidget*)wid, flag); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_GTK_1WIDGET_1NO_1WINDOW - (JNIEnv *env, jclass that, jint wid) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "GTK_WIDGET_NO_WINDOW"); -#endif - - return (jboolean) GTK_WIDGET_NO_WINDOW((GtkWidget*)wid); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: GDK_ROOT_PARENT - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_GDK_1ROOT_1PARENT - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "GDK_ROOT_PARENT"); -#endif - - return (jint) GDK_ROOT_PARENT(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_GTK_1WIDGET_1SENSITIVE - (JNIEnv *env, jclass that, jint wid) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "GTK_WIDGET_SENSITIVE"); -#endif - - return (jboolean) GTK_WIDGET_SENSITIVE((GtkWidget*)wid); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_GTK_1WIDGET_1IS_1SENSITIVE - (JNIEnv *env, jclass that, jint wid) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "GTK_WIDGET_IS_SENSITIVE"); -#endif - - return (jboolean) GTK_WIDGET_IS_SENSITIVE((GtkWidget*)wid); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_accel_group_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1accel_1group_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_accel_group_new"); -#endif - - return (jint)gtk_accel_group_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_accel_group_unref - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1accel_1group_1unref - (JNIEnv *env, jclass that, jint accel_group) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_accel_group_unref"); -#endif - - gtk_accel_group_unref((GtkAccelGroup*)accel_group); -} - -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1accel_1groups_1activate - (JNIEnv *env, jclass that, jint accel_group, jint accel_key, jint accel_mods) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_accel_groups_activate"); -#endif - - return (jboolean) gtk_accel_groups_activate(GTK_OBJECT((GtkWindow*)accel_group), - accel_key, - accel_mods); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_adjustment_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1adjustment_1new - (JNIEnv *env, jclass that, jfloat value, jfloat lower, jfloat upper, jfloat step_increment, jfloat page_increment, jfloat page_size) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_adjustment_new"); -#endif - - return (jint)gtk_adjustment_new(value, lower, upper, step_increment, page_increment, page_size); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_adjustment_changed - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1adjustment_1changed - (JNIEnv *env, jclass that, jint adjustment) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_adjustment_changed"); -#endif - - gtk_adjustment_changed((GtkAdjustment*)adjustment); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_adjustment_value_changed - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1adjustment_1value_1changed - (JNIEnv *env, jclass that, jint adjustment) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_adjustment_value_changed"); -#endif - - gtk_adjustment_value_changed((GtkAdjustment*)adjustment); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_adjustment_set_value - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1adjustment_1set_1value - (JNIEnv *env, jclass that, jint adjustment, jfloat value) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_adjustment_set_value"); -#endif - - gtk_adjustment_set_value((GtkAdjustment*)adjustment, value); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_arrow_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1arrow_1new - (JNIEnv *env, jclass that, jint arrow_type, jint shadow_type) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_arrow_new"); -#endif - - return (jint)gtk_arrow_new((GtkArrowType)arrow_type, (GtkShadowType)shadow_type); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_arrow_set - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1arrow_1set - (JNIEnv *env, jclass that, jint arrow, jint arrow_type, jint shadow_type) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_arrow_set"); -#endif - - gtk_arrow_set((GtkArrow*)arrow, (GtkArrowType)arrow_type, (GtkShadowType)shadow_type); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_box_pack_start - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1box_1pack_1start - (JNIEnv *env, jclass that, jint box, jint child, jboolean expand, jboolean fill, jint padding) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_box_pack_start"); -#endif - - gtk_box_pack_start((GtkBox*)box, (GtkWidget*)child, (gboolean)expand, (gboolean)fill, padding); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_box_pack_end - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1box_1pack_1end - (JNIEnv *env, jclass that, jint box, jint child, jboolean expand, jboolean fill, jint padding) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_box_pack_end"); -#endif - - gtk_box_pack_end((GtkBox*)box, (GtkWidget*)child, (gboolean)expand, (gboolean)fill, padding); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_button_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1button_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_button_new"); -#endif - - return (jint)gtk_button_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_button_new_with_label - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1button_1new_1with_1label - (JNIEnv *env, jclass that, jbyteArray label) -{ - jint rc; - jbyte *label1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_button_new_with_label"); -#endif - - if (label) { - label1 = (*env)->GetByteArrayElements(env, label, NULL); - } - rc = (jint)gtk_button_new_with_label((gchar*)label1); - if (label) { - (*env)->ReleaseByteArrayElements(env, label, label1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_check_button_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1check_1button_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_check_button_new"); -#endif - - return (jint)gtk_check_button_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_check_menu_item_new_with_label - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1check_1menu_1item_1new_1with_1label - (JNIEnv *env, jclass that, jbyteArray label) -{ - jint rc; - jbyte *label1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_check_menu_item_new_with_label"); -#endif - - if (label) { - label1 = (*env)->GetByteArrayElements(env, label, NULL); - } - rc = (jint)gtk_check_menu_item_new_with_label((gchar*)label1); - if (label) { - (*env)->ReleaseByteArrayElements(env, label, label1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_check_menu_item_set_active - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1check_1menu_1item_1set_1active - (JNIEnv *env, jclass that, jint check_menu_item, jboolean is_active) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_check_menu_item_set_active"); -#endif - - gtk_check_menu_item_set_active((GtkCheckMenuItem*)check_menu_item, (gboolean)is_active); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_check_menu_item_set_show_toggle - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1check_1menu_1item_1set_1show_1toggle - (JNIEnv *env, jclass that, jint menu_item, jboolean always) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_check_menu_item_set_show_toggle"); -#endif - - gtk_check_menu_item_set_show_toggle((GtkCheckMenuItem*)menu_item, (gboolean)always); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_color_selection_set_color - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1color_1selection_1set_1color - (JNIEnv *env, jclass that, jint colorsel, jdoubleArray color) -{ - jdouble *color1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_color_selection_set_color"); -#endif - - if (color) { - color1 = (*env)->GetDoubleArrayElements(env, color, NULL); - } - gtk_color_selection_set_color((GtkColorSelection*)colorsel, (gdouble*)color1); - if (color) { - (*env)->ReleaseDoubleArrayElements(env, color, color1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_color_selection_get_color - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1color_1selection_1get_1color - (JNIEnv *env, jclass that, jint colorsel, jdoubleArray color) -{ - jdouble *color1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_color_selection_get_color"); -#endif - - if (color) { - color1 = (*env)->GetDoubleArrayElements(env, color, NULL); - } - gtk_color_selection_get_color((GtkColorSelection*)colorsel, (gdouble*)color1); - if (color) { - (*env)->ReleaseDoubleArrayElements(env, color, color1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_color_selection_dialog_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1color_1selection_1dialog_1new - (JNIEnv *env, jclass that, jbyteArray title) -{ - jint rc; - jbyte *title1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_color_selection_dialog_new"); -#endif - - if (title) { - title1 = (*env)->GetByteArrayElements(env, title, NULL); - } - rc = (jint)gtk_color_selection_dialog_new((gchar*)title1); - if (title) { - (*env)->ReleaseByteArrayElements(env, title, title1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_combo_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1combo_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_combo_new"); -#endif - - return (jint)gtk_combo_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_combo_set_popdown_strings - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1combo_1set_1popdown_1strings - (JNIEnv *env, jclass that, jint combo, jint strings) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_combo_set_popdown_strings"); -#endif - - gtk_combo_set_popdown_strings((GtkCombo*)combo, (GList*)strings); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_container_add - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1container_1add - (JNIEnv *env, jclass that, jint container, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_container_add"); -#endif - - gtk_container_add((GtkContainer*)container, (GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_container_remove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1container_1remove - (JNIEnv *env, jclass that, jint container, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_container_remove"); -#endif - - gtk_container_remove((GtkContainer*)container, (GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_container_children - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1container_1children - (JNIEnv *env, jclass that, jint container) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_container_children"); -#endif - - return (jint)gtk_container_children((GtkContainer*)container); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1new - (JNIEnv *env, jclass that, jint columns, jint tree_column) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_new"); -#endif - - return (jint)gtk_ctree_new((gint)columns, (gint)tree_column); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_insert_node - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1insert_1node - (JNIEnv *env, jclass that, jint ctree, jint parent, jint sibling, jintArray text, jbyte spacing, jint pixmap_closed, jint mask_closed, jint pixmap_opened, jint mask_opened, jboolean is_leaf, jboolean expanded) -{ - jint rc; - jint *text1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_insert_node"); -#endif - - if (text) { - text1 = (*env)->GetIntArrayElements(env, text, NULL); - } - rc = (jint)gtk_ctree_insert_node((GtkCTree*)ctree, (GtkCTreeNode*)parent, (GtkCTreeNode*)sibling, (gchar**)text1, (guint8)spacing, (GdkPixmap*)pixmap_closed, (GdkBitmap*)mask_closed, (GdkPixmap*)pixmap_opened, (GdkBitmap*)mask_opened, (gboolean)is_leaf, (gboolean)expanded); - if (text) { - (*env)->ReleaseIntArrayElements(env, text, text1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_remove_node - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1remove_1node - (JNIEnv *env, jclass that, jint ctree, jint node) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_remove_node"); -#endif - - gtk_ctree_remove_node((GtkCTree*)ctree, (GtkCTreeNode*)node); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_post_recursive - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1post_1recursive - (JNIEnv *env, jclass that, jint ctree, jint node, jint func, jint data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_post_recursive"); -#endif - - gtk_ctree_post_recursive((GtkCTree*)ctree, (GtkCTreeNode*)node, (GtkCTreeFunc)func, (gpointer)data); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_is_viewable - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1is_1viewable - (JNIEnv *env, jclass that, jint ctree, jint node) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_is_viewable"); -#endif - - return (jboolean)gtk_ctree_is_viewable((GtkCTree*)ctree, (GtkCTreeNode*)node); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_node_nth - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1node_1nth - (JNIEnv *env, jclass that, jint ctree, jint row) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_node_nth"); -#endif - - return (jint)gtk_ctree_node_nth((GtkCTree*)ctree, row); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_is_hot_spot - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1is_1hot_1spot - (JNIEnv *env, jclass that, jint ctree, jint x, jint y) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_is_hot_spot"); -#endif - - return (jboolean)gtk_ctree_is_hot_spot((GtkCTree*)ctree, (gint)x, (gint)y); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_expand - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1expand - (JNIEnv *env, jclass that, jint ctree, jint node) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_expand"); -#endif - - gtk_ctree_expand((GtkCTree*)ctree, (GtkCTreeNode*)node); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_collapse - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1collapse - (JNIEnv *env, jclass that, jint ctree, jint node) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_collapse"); -#endif - - gtk_ctree_collapse((GtkCTree*)ctree, (GtkCTreeNode*)node); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_select - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1select - (JNIEnv *env, jclass that, jint ctree, jint node) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_select"); -#endif - - gtk_ctree_select((GtkCTree*)ctree, (GtkCTreeNode*)node); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_select_recursive - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1select_1recursive - (JNIEnv *env, jclass that, jint ctree, jint node) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_select_recursive"); -#endif - - gtk_ctree_select_recursive((GtkCTree*)ctree, (GtkCTreeNode*)node); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_unselect_recursive - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1unselect_1recursive - (JNIEnv *env, jclass that, jint ctree, jint node) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_unselect_recursive"); -#endif - - gtk_ctree_unselect_recursive((GtkCTree*)ctree, (GtkCTreeNode*)node); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_set_node_info - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1set_1node_1info - (JNIEnv *env, jclass that, jint ctree, jint node, jbyteArray text, jbyte spacing, jint pixmap_closed, jint mask_closed, jint pixmap_opened, jint mask_opened, jboolean is_leaf, jboolean expanded) -{ - jbyte *text1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_set_node_info"); -#endif - - if (text) { - text1 = (*env)->GetByteArrayElements(env, text, NULL); - } - gtk_ctree_set_node_info((GtkCTree*)ctree, (GtkCTreeNode*)node, (gchar*)text1, (guint8)spacing, (GdkPixmap*)pixmap_closed, (GdkBitmap*)mask_closed, (GdkPixmap*)pixmap_opened, (GdkBitmap*)mask_opened, (gboolean)is_leaf, (gboolean)expanded); - if (text) { - (*env)->ReleaseByteArrayElements(env, text, text1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_get_node_info - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1get_1node_1info - (JNIEnv *env, jclass that, jint ctree, jint node, jintArray text, jbyteArray spacing, jintArray pixmap_closed, jintArray mask_closed, jintArray pixmap_opened, jintArray mask_opened, jbooleanArray is_leaf, jbooleanArray expanded) -{ - jint rc; - jint *text1 = NULL; - jbyte *spacing1 = NULL; - jint *pixmap_closed1 = NULL; - jint *mask_closed1 = NULL; - jint *pixmap_opened1 = NULL; - jint *mask_opened1 = NULL; - jboolean *is_leaf1 = NULL; - jboolean *expanded1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_get_node_info"); -#endif - - if (text) { - text1 = (*env)->GetIntArrayElements(env, text, NULL); - } - if (spacing) { - spacing1 = (*env)->GetByteArrayElements(env, spacing, NULL); - } - if (pixmap_closed) { - pixmap_closed1 = (*env)->GetIntArrayElements(env, pixmap_closed, NULL); - } - if (mask_closed) { - mask_closed1 = (*env)->GetIntArrayElements(env, mask_closed, NULL); - } - if (pixmap_opened) { - pixmap_opened1 = (*env)->GetIntArrayElements(env, pixmap_opened, NULL); - } - if (mask_opened) { - mask_opened1 = (*env)->GetIntArrayElements(env, mask_opened, NULL); - } - if (is_leaf) { - is_leaf1 = (*env)->GetBooleanArrayElements(env, is_leaf, NULL); - } - if (expanded) { - expanded1 = (*env)->GetBooleanArrayElements(env, expanded, NULL); - } - rc = (jint)gtk_ctree_get_node_info((GtkCTree*)ctree, (GtkCTreeNode*)node, (gchar**)text1, (guint8*)spacing1, (GdkPixmap**)pixmap_closed1, (GdkBitmap**)mask_closed1, (GdkPixmap**)pixmap_opened1, (GdkBitmap**)mask_opened1, (gboolean*)is_leaf1, (gboolean*)expanded1); - if (text) { - (*env)->ReleaseIntArrayElements(env, text, text1, 0); - } - if (spacing) { - (*env)->ReleaseByteArrayElements(env, spacing, spacing1, 0); - } - if (pixmap_closed) { - (*env)->ReleaseIntArrayElements(env, pixmap_closed, pixmap_closed1, 0); - } - if (mask_closed) { - (*env)->ReleaseIntArrayElements(env, mask_closed, mask_closed1, 0); - } - if (pixmap_opened) { - (*env)->ReleaseIntArrayElements(env, pixmap_opened, pixmap_opened1, 0); - } - if (mask_opened) { - (*env)->ReleaseIntArrayElements(env, mask_opened, mask_opened1, 0); - } - if (is_leaf) { - (*env)->ReleaseBooleanArrayElements(env, is_leaf, is_leaf1, 0); - } - if (expanded) { - (*env)->ReleaseBooleanArrayElements(env, expanded, expanded1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_node_get_row_style - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1node_1get_1row_1style - (JNIEnv *env, jclass that, jint ctree, jint node) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_node_get_row_style"); -#endif - - return (jint)gtk_ctree_node_get_row_style((GtkCTree*)ctree, (GtkCTreeNode*)node); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_node_set_row_data - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1node_1set_1row_1data - (JNIEnv *env, jclass that, jint ctree, jint node, jint data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_node_set_row_data"); -#endif - - gtk_ctree_node_set_row_data((GtkCTree*)ctree, (GtkCTreeNode*)node, (gpointer)data); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_node_get_row_data - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1node_1get_1row_1data - (JNIEnv *env, jclass that, jint ctree, jint node) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_node_get_row_data"); -#endif - - return (jint)gtk_ctree_node_get_row_data((GtkCTree*)ctree, (GtkCTreeNode*)node); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_node_moveto - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1node_1moveto - (JNIEnv *env, jclass that, jint ctree, jint node, jint column, jfloat row_align, jfloat col_align) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_node_moveto"); -#endif - - gtk_ctree_node_moveto((GtkCTree*)ctree, (GtkCTreeNode*)node, (gint)column, row_align, col_align); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_ctree_node_is_visible - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1ctree_1node_1is_1visible - (JNIEnv *env, jclass that, jint ctree, jint node) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_ctree_node_is_visible"); -#endif - - return (jint)gtk_ctree_node_is_visible((GtkCTree*)ctree, (GtkCTreeNode*)node); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_dialog_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1dialog_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_dialog_new"); -#endif - - return (jint)gtk_dialog_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_drawing_area_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1drawing_1area_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_drawing_area_new"); -#endif - - return (jint)gtk_drawing_area_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_drawing_area_size - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1drawing_1area_1size - (JNIEnv *env, jclass that, jint darea, jint width, jint height) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_drawing_area_size"); -#endif - - gtk_drawing_area_size((GtkDrawingArea*)darea, (gint)width, (gint)height); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_editable_select_region - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1editable_1select_1region - (JNIEnv *env, jclass that, jint editable, jint start, jint end) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_editable_select_region"); -#endif - - gtk_editable_select_region((GtkEditable*)editable, (gint)start, (gint)end); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_editable_insert_text - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1editable_1insert_1text - (JNIEnv *env, jclass that, jint editable, jbyteArray new_text, jint new_text_length, jintArray position) -{ - jbyte *new_text1 = NULL; - jint *position1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_editable_insert_text"); -#endif - - if (new_text) { - new_text1 = (*env)->GetByteArrayElements(env, new_text, NULL); - } - if (position) { - position1 = (*env)->GetIntArrayElements(env, position, NULL); - } - gtk_editable_insert_text((GtkEditable*)editable, (gchar*)new_text1, (gint)new_text_length, (gint*)position1); - if (new_text) { - (*env)->ReleaseByteArrayElements(env, new_text, new_text1, 0); - } - if (position) { - (*env)->ReleaseIntArrayElements(env, position, position1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_editable_delete_text - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1editable_1delete_1text - (JNIEnv *env, jclass that, jint editable, jint start_pos, jint end_pos) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_editable_delete_text"); -#endif - - gtk_editable_delete_text((GtkEditable*)editable, (gint)start_pos, (gint)end_pos); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_editable_get_chars - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1editable_1get_1chars - (JNIEnv *env, jclass that, jint editable, jint start_pos, jint end_pos) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_editable_get_chars"); -#endif - - return (jint)gtk_editable_get_chars((GtkEditable*)editable, (gint)start_pos, (gint)end_pos); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_editable_delete_selection - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1editable_1delete_1selection - (JNIEnv *env, jclass that, jint editable) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_editable_delete_selection"); -#endif - - gtk_editable_delete_selection((GtkEditable*)editable); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_editable_set_position - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1editable_1set_1position - (JNIEnv *env, jclass that, jint editable, jint position) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_editable_set_position"); -#endif - - gtk_editable_set_position((GtkEditable*)editable, (gint)position); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_editable_get_position - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1editable_1get_1position - (JNIEnv *env, jclass that, jint editable) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_editable_get_position"); -#endif - - return (jint)gtk_editable_get_position((GtkEditable*)editable); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_editable_set_editable - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1editable_1set_1editable - (JNIEnv *env, jclass that, jint editable, jboolean is_editable) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_editable_set_editable"); -#endif - - gtk_editable_set_editable((GtkEditable*)editable, (gboolean)is_editable); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_entry_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1entry_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_entry_new"); -#endif - - return (jint)gtk_entry_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_entry_set_text - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1entry_1set_1text - (JNIEnv *env, jclass that, jint entry, jbyteArray text) -{ - jbyte *text1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_entry_set_text"); -#endif - - if (text) { - text1 = (*env)->GetByteArrayElements(env, text, NULL); - } - gtk_entry_set_text((GtkEntry*)entry, (gchar*)text1); - if (text) { - (*env)->ReleaseByteArrayElements(env, text, text1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_entry_append_text - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1entry_1append_1text - (JNIEnv *env, jclass that, jint entry, jbyteArray text) -{ - jbyte *text1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_entry_append_text"); -#endif - - if (text) { - text1 = (*env)->GetByteArrayElements(env, text, NULL); - } - gtk_entry_append_text((GtkEntry*)entry, (gchar*)text1); - if (text) { - (*env)->ReleaseByteArrayElements(env, text, text1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_entry_get_text - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1entry_1get_1text - (JNIEnv *env, jclass that, jint entry) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_entry_get_text"); -#endif - - return (jint)gtk_entry_get_text((GtkEntry*)entry); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_entry_set_visibility - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1entry_1set_1visibility - (JNIEnv *env, jclass that, jint entry, jboolean visible) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_entry_set_visibility"); -#endif - - gtk_entry_set_visibility((GtkEntry*)entry, (gboolean)visible); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_entry_set_editable - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1entry_1set_1editable - (JNIEnv *env, jclass that, jint entry, jboolean editable) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_entry_set_editable"); -#endif - - gtk_entry_set_editable((GtkEntry*)entry, (gboolean)editable); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_entry_set_max_length - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1entry_1set_1max_1length - (JNIEnv *env, jclass that, jint entry, jshort max) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_entry_set_max_length"); -#endif - - gtk_entry_set_max_length((GtkEntry*)entry, (guint16)max); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_event_box_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1event_1box_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_event_box_new"); -#endif - - return (jint)gtk_event_box_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_file_selection_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1file_1selection_1new - (JNIEnv *env, jclass that, jbyteArray title) -{ - jint rc; - jbyte *title1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_file_selection_new"); -#endif - - if (title) { - title1 = (*env)->GetByteArrayElements(env, title, NULL); - } - rc = (jint)gtk_file_selection_new((gchar*)title1); - if (title) { - (*env)->ReleaseByteArrayElements(env, title, title1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_file_selection_set_filename - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1file_1selection_1set_1filename - (JNIEnv *env, jclass that, jint filesel, jbyteArray filename) -{ - jbyte *filename1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_file_selection_set_filename"); -#endif - - if (filename) { - filename1 = (*env)->GetByteArrayElements(env, filename, NULL); - } - gtk_file_selection_set_filename((GtkFileSelection*)filesel, (gchar*)filename1); - if (filename) { - (*env)->ReleaseByteArrayElements(env, filename, filename1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_file_selection_get_filename - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1file_1selection_1get_1filename - (JNIEnv *env, jclass that, jint filesel) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_file_selection_get_filename"); -#endif - - return (jint)gtk_file_selection_get_filename((GtkFileSelection*)filesel); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_file_selection_complete - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1file_1selection_1complete - (JNIEnv *env, jclass that, jint filesel, jbyteArray pattern) -{ - jbyte *pattern1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_file_selection_complete"); -#endif - - if (pattern) { - pattern1 = (*env)->GetByteArrayElements(env, pattern, NULL); - } - gtk_file_selection_complete((GtkFileSelection*)filesel, (gchar*)pattern1); - if (pattern) { - (*env)->ReleaseByteArrayElements(env, pattern, pattern1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_fixed_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1fixed_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_fixed_new"); -#endif - - return (jint)gtk_fixed_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_fixed_put - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1fixed_1put - (JNIEnv *env, jclass that, jint fixed, jint widget, jshort x, jshort y) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_fixed_put"); -#endif - - gtk_fixed_put((GtkFixed*)fixed, (GtkWidget*)widget, (gint16)x, (gint16)y); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_fixed_move - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1fixed_1move - (JNIEnv *env, jclass that, jint fixed, jint widget, jshort x, jshort y) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_fixed_move"); -#endif - - gtk_fixed_move((GtkFixed*)fixed, (GtkWidget*)widget, (gint16)x, (gint16)y); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_font_selection_set_font_name - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1font_1selection_1set_1font_1name - (JNIEnv *env, jclass that, jint fontsel, jbyteArray fontname) -{ - jboolean rc; - jbyte *fontname1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_font_selection_set_font_name"); -#endif - - if (fontname) { - fontname1 = (*env)->GetByteArrayElements(env, fontname, NULL); - } - rc = (jboolean)gtk_font_selection_set_font_name((GtkFontSelection*)fontsel, (gchar*)fontname1); - if (fontname) { - (*env)->ReleaseByteArrayElements(env, fontname, fontname1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_font_selection_dialog_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1font_1selection_1dialog_1new - (JNIEnv *env, jclass that, jbyteArray title) -{ - jint rc; - jbyte *title1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_font_selection_dialog_new"); -#endif - - if (title) { - title1 = (*env)->GetByteArrayElements(env, title, NULL); - } - rc = (jint)gtk_font_selection_dialog_new((gchar*)title1); - if (title) { - (*env)->ReleaseByteArrayElements(env, title, title1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_font_selection_dialog_get_font_name - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1font_1selection_1dialog_1get_1font_1name - (JNIEnv *env, jclass that, jint fsd) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_font_selection_dialog_get_font_name"); -#endif - - return (jint)gtk_font_selection_dialog_get_font_name((GtkFontSelectionDialog*)fsd); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_font_selection_dialog_set_font_name - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1font_1selection_1dialog_1set_1font_1name - (JNIEnv *env, jclass that, jint fsd, jbyteArray fontname) -{ - jboolean rc; - jbyte *fontname1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_font_selection_dialog_set_font_name"); -#endif - - if (fontname) { - fontname1 = (*env)->GetByteArrayElements(env, fontname, NULL); - } - rc = (jboolean)gtk_font_selection_dialog_set_font_name((GtkFontSelectionDialog*)fsd, (gchar*)fontname1); - if (fontname) { - (*env)->ReleaseByteArrayElements(env, fontname, fontname1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_frame_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1frame_1new - (JNIEnv *env, jclass that, jbyteArray label) -{ - jint rc; - jbyte *label1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_frame_new"); -#endif - - if (label) { - label1 = (*env)->GetByteArrayElements(env, label, NULL); - } - rc = (jint)gtk_frame_new((gchar*)label1); - if (label) { - (*env)->ReleaseByteArrayElements(env, label, label1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_frame_set_label - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1frame_1set_1label - (JNIEnv *env, jclass that, jint frame, jbyteArray label) -{ - jbyte *label1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_frame_set_label"); -#endif - - if (label) { - label1 = (*env)->GetByteArrayElements(env, label, NULL); - } - gtk_frame_set_label((GtkFrame*)frame, (gchar*)label1); - if (label) { - (*env)->ReleaseByteArrayElements(env, label, label1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_frame_set_shadow_type - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1frame_1set_1shadow_1type - (JNIEnv *env, jclass that, jint frame, jint type) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_frame_set_shadow_type"); -#endif - - gtk_frame_set_shadow_type((GtkFrame*)frame, (GtkShadowType)type); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_hbox_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1hbox_1new - (JNIEnv *env, jclass that, jboolean homogeneous, jint spacing) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_hbox_new"); -#endif - - return (jint)gtk_hbox_new((gboolean)homogeneous, (gint)spacing); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_hscale_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1hscale_1new - (JNIEnv *env, jclass that, jint adjustment) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_hscale_new"); -#endif - - return (jint)gtk_hscale_new((GtkAdjustment*)adjustment); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_hscrollbar_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1hscrollbar_1new - (JNIEnv *env, jclass that, jint adjustment) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_hscrollbar_new"); -#endif - - return (jint)gtk_hscrollbar_new((GtkAdjustment*)adjustment); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_hseparator_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1hseparator_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_hseparator_new"); -#endif - - return (jint)gtk_hseparator_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_label_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1label_1new - (JNIEnv *env, jclass that, jbyteArray str) -{ - jint rc; - jbyte *str1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_label_new"); -#endif - - if (str) { - str1 = (*env)->GetByteArrayElements(env, str, NULL); - } - rc = (jint)gtk_label_new((gchar*)str1); - if (str) { - (*env)->ReleaseByteArrayElements(env, str, str1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_label_set_text - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1label_1set_1text - (JNIEnv *env, jclass that, jint label, jbyteArray str) -{ - jbyte *str1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_label_set_text"); -#endif - - if (str) { - str1 = (*env)->GetByteArrayElements(env, str, NULL); - } - gtk_label_set_text((GtkLabel*)label, (gchar*)str1); - if (str) { - (*env)->ReleaseByteArrayElements(env, str, str1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_label_set_justify - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1label_1set_1justify - (JNIEnv *env, jclass that, jint label, jint jtype) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_label_set_justify"); -#endif - - gtk_label_set_justify((GtkLabel*)label, (GtkJustification)jtype); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_label_set_pattern - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1label_1set_1pattern - (JNIEnv *env, jclass that, jint label, jbyteArray pattern) -{ - jbyte *pattern1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_label_set_pattern"); -#endif - - if (pattern) { - pattern1 = (*env)->GetByteArrayElements(env, pattern, NULL); - } - gtk_label_set_pattern((GtkLabel*)label, (gchar*)pattern1); - if (pattern) { - (*env)->ReleaseByteArrayElements(env, pattern, pattern1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_label_set_line_wrap - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1label_1set_1line_1wrap - (JNIEnv *env, jclass that, jint label, jboolean wrap) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_label_set_line_wrap"); -#endif - - gtk_label_set_line_wrap((GtkLabel*)label, (gboolean)wrap); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_label_parse_uline - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1label_1parse_1uline - (JNIEnv *env, jclass that, jint label, jbyteArray string) -{ - jint rc; - jbyte *string1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_label_parse_uline"); -#endif - - if (string) { - string1 = (*env)->GetByteArrayElements(env, string, NULL); - } - rc = (jint)gtk_label_parse_uline((GtkLabel*)label, (gchar*)string1); - if (string) { - (*env)->ReleaseByteArrayElements(env, string, string1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_list_clear_items - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1list_1clear_1items - (JNIEnv *env, jclass that, jint list, jint start, jint end) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_list_clear_items"); -#endif - - gtk_list_clear_items((GtkList*)list, (gint)start, (gint)end); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_list_select_item - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1list_1select_1item - (JNIEnv *env, jclass that, jint list, jint item) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_list_select_item"); -#endif - - gtk_list_select_item((GtkList*)list, (gint)item); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_check_version - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1check_1version - (JNIEnv *env, jclass that, jint required_major, jint required_minor, jint required_micro) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_check_version"); -#endif - - return (jint)gtk_check_version(required_major, required_minor, required_micro); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_init_check - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1init_1check - (JNIEnv *env, jclass that, jintArray argc, jintArray argv) -{ - jboolean rc; - jint *argc1 = NULL; - jint *argv1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_init_check"); -#endif - - if (argc) { - argc1 = (*env)->GetIntArrayElements(env, argc, NULL); - } - if (argv) { - argv1 = (*env)->GetIntArrayElements(env, argv, NULL); - } - rc = (jboolean)gtk_init_check((int*)argc1, (char***)argv1); - if (argc) { - (*env)->ReleaseIntArrayElements(env, argc, argc1, 0); - } - if (argv) { - (*env)->ReleaseIntArrayElements(env, argv, argv1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_events_pending - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1events_1pending - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_events_pending"); -#endif - - return (jint)gtk_events_pending(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_main - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1main - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_main"); -#endif - - gtk_main(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_main_quit - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1main_1quit - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_main_quit"); -#endif - - gtk_main_quit(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_main_iteration - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1main_1iteration - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_main_iteration"); -#endif - - return (jint)gtk_main_iteration(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_grab_add - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1grab_1add - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_grab_add"); -#endif - - gtk_grab_add((GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_grab_get_current - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1grab_1get_1current - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_grab_get_current"); -#endif - - return (jint)gtk_grab_get_current(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_grab_remove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1grab_1remove - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_grab_remove"); -#endif - - gtk_grab_remove((GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_timeout_add - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1timeout_1add - (JNIEnv *env, jclass that, jint interval, jint function, jint data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_timeout_add"); -#endif - - return (jint)gtk_timeout_add((guint32)interval, (GtkFunction)function, (gpointer)data); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_timeout_remove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1timeout_1remove - (JNIEnv *env, jclass that, jint timeout_handler_id) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_timeout_remove"); -#endif - - gtk_timeout_remove(timeout_handler_id); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_menu_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1menu_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_menu_new"); -#endif - - return (jint)gtk_menu_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_menu_insert - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1menu_1insert - (JNIEnv *env, jclass that, jint menu, jint child, jint position) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_menu_insert"); -#endif - - gtk_menu_insert((GtkMenu*)menu, (GtkWidget*)child, (gint)position); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_menu_popup - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1menu_1popup - (JNIEnv *env, jclass that, jint menu, jint parent_menu_shell, jint parent_menu_item, jint func, jint data, jint button, jint activate_time) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_menu_popup"); -#endif - - gtk_menu_popup((GtkMenu*)menu, (GtkWidget*)parent_menu_shell, (GtkWidget*)parent_menu_item, (GtkMenuPositionFunc)func, (gpointer)data, button, (guint32)activate_time); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_menu_popdown - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1menu_1popdown - (JNIEnv *env, jclass that, jint menu) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_menu_popdown"); -#endif - - gtk_menu_popdown((GtkMenu*)menu); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_menu_bar_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1menu_1bar_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_menu_bar_new"); -#endif - - return (jint)gtk_menu_bar_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_menu_bar_insert - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1menu_1bar_1insert - (JNIEnv *env, jclass that, jint menu_bar, jint child, jint position) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_menu_bar_insert"); -#endif - - gtk_menu_bar_insert((GtkMenuBar*)menu_bar, (GtkWidget*)child, (gint)position); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_menu_item_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1menu_1item_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_menu_item_new"); -#endif - - return (jint)gtk_menu_item_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_menu_item_new_with_label - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1menu_1item_1new_1with_1label - (JNIEnv *env, jclass that, jbyteArray label) -{ - jint rc; - jbyte *label1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_menu_item_new_with_label"); -#endif - - if (label) { - label1 = (*env)->GetByteArrayElements(env, label, NULL); - } - rc = (jint)gtk_menu_item_new_with_label((gchar*)label1); - if (label) { - (*env)->ReleaseByteArrayElements(env, label, label1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_menu_item_set_submenu - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1menu_1item_1set_1submenu - (JNIEnv *env, jclass that, jint menu_item, jint submenu) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_menu_item_set_submenu"); -#endif - - gtk_menu_item_set_submenu((GtkMenuItem*)menu_item, (GtkWidget*)submenu); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_menu_item_remove_submenu - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1menu_1item_1remove_1submenu - (JNIEnv *env, jclass that, jint menu_item) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_menu_item_remove_submenu"); -#endif - - gtk_menu_item_remove_submenu((GtkMenuItem*)menu_item); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_misc_set_alignment - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1misc_1set_1alignment - (JNIEnv *env, jclass that, jint misc, jfloat xalign, jfloat yalign) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_misc_set_alignment"); -#endif - - gtk_misc_set_alignment((GtkMisc*)misc, xalign, yalign); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_notebook_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1notebook_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_notebook_new"); -#endif - - return (jint)gtk_notebook_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_notebook_append_page - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1notebook_1append_1page - (JNIEnv *env, jclass that, jint notebook, jint child, jint tab_label) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_notebook_append_page"); -#endif - - gtk_notebook_append_page((GtkNotebook*)notebook, (GtkWidget*)child, (GtkWidget*)tab_label); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_notebook_remove_page - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1notebook_1remove_1page - (JNIEnv *env, jclass that, jint notebook, jint page_num) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_notebook_remove_page"); -#endif - - gtk_notebook_remove_page((GtkNotebook*)notebook, (gint)page_num); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_notebook_get_current_page - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1notebook_1get_1current_1page - (JNIEnv *env, jclass that, jint notebook) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_notebook_get_current_page"); -#endif - - return (jint)gtk_notebook_get_current_page((GtkNotebook*)notebook); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_notebook_set_page - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1notebook_1set_1page - (JNIEnv *env, jclass that, jint notebook, jint page_num) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_notebook_set_page"); -#endif - - gtk_notebook_set_page((GtkNotebook*)notebook, (gint)page_num); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_notebook_set_show_tabs - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1notebook_1set_1show_1tabs - (JNIEnv *env, jclass that, jint notebook, jboolean show_tabs) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_notebook_set_show_tabs"); -#endif - - gtk_notebook_set_show_tabs((GtkNotebook*)notebook, (gboolean)show_tabs); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_object_ref - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1object_1ref - (JNIEnv *env, jclass that, jint object) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_object_ref"); -#endif - - gtk_object_ref((GtkObject*)object); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_object_set_user_data - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1object_1set_1user_1data - (JNIEnv *env, jclass that, jint object, jint data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_object_set_user_data"); -#endif - - gtk_object_set_user_data((GtkObject*)object, (gpointer)data); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_object_get_user_data - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1object_1get_1user_1data - (JNIEnv *env, jclass that, jint object) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_object_get_user_data"); -#endif - - return (jint)gtk_object_get_user_data((GtkObject*)object); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_pixmap_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1pixmap_1new - (JNIEnv *env, jclass that, jint pixmap, jint mask) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_pixmap_new"); -#endif - - return (jint)gtk_pixmap_new((GdkPixmap*)pixmap, (GdkBitmap*)mask); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_pixmap_set - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1pixmap_1set - (JNIEnv *env, jclass that, jint pixmap, jint val, jint mask) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_pixmap_set"); -#endif - - gtk_pixmap_set((GtkPixmap*)pixmap, (GdkPixmap*)val, (GdkBitmap*)mask); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_progress_configure - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1progress_1configure - (JNIEnv *env, jclass that, jint progress, jfloat value, jfloat min, jfloat max) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_progress_configure"); -#endif - - gtk_progress_configure((GtkProgress*)progress, value, min, max); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_progress_bar_new_with_adjustment - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1progress_1bar_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_progress_bar_new"); -#endif - - return (jint)gtk_progress_bar_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_progress_bar_set_bar_style - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1progress_1bar_1set_1bar_1style - (JNIEnv *env, jclass that, jint pbar, jint style) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_progress_bar_set_bar_style"); -#endif - - gtk_progress_bar_set_bar_style((GtkProgressBar*)pbar, (GtkProgressBarStyle)style); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_progress_bar_set_orientation - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1progress_1bar_1set_1orientation - (JNIEnv *env, jclass that, jint pbar, jint orientation) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_progress_bar_set_orientation"); -#endif - - gtk_progress_bar_set_orientation((GtkProgressBar*)pbar, (GtkProgressBarOrientation)orientation); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_radio_button_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1radio_1button_1new - (JNIEnv *env, jclass that, jint group) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_radio_button_new"); -#endif - - return (jint)gtk_radio_button_new((GSList*)group); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_radio_button_group - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1radio_1button_1group - (JNIEnv *env, jclass that, jint radio_button) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_radio_button_group"); -#endif - - return (jint)gtk_radio_button_group((GtkRadioButton*)radio_button); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_radio_menu_item_new_with_label - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1radio_1menu_1item_1new_1with_1label - (JNIEnv *env, jclass that, jint group, jbyteArray label) -{ - jint rc; - jbyte *label1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_radio_menu_item_new_with_label"); -#endif - - if (label) { - label1 = (*env)->GetByteArrayElements(env, label, NULL); - } - rc = (jint)gtk_radio_menu_item_new_with_label((GSList*)group, (gchar*)label1); - if (label) { - (*env)->ReleaseByteArrayElements(env, label, label1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_range_get_adjustment - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1range_1get_1adjustment - (JNIEnv *env, jclass that, jint range) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_range_get_adjustment"); -#endif - - return (jint)gtk_range_get_adjustment((GtkRange*)range); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_scale_set_digits - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1scale_1set_1digits - (JNIEnv *env, jclass that, jint scale, jint digits) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_scale_set_digits"); -#endif - - gtk_scale_set_digits((GtkScale*)scale, (gint)digits); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_scale_set_draw_value - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1scale_1set_1draw_1value - (JNIEnv *env, jclass that, jint scale, jboolean draw_value) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_scale_set_draw_value"); -#endif - - gtk_scale_set_draw_value((GtkScale*)scale, (gboolean)draw_value); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_scale_set_value_pos - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1scale_1set_1value_1pos - (JNIEnv *env, jclass that, jint scale, jint pos) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_scale_set_value_pos"); -#endif - - gtk_scale_set_value_pos((GtkScale*)scale, (GtkPositionType)pos); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_scrolled_window_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1scrolled_1window_1new - (JNIEnv *env, jclass that, jint hadjustment, jint vadjustment) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_scrolled_window_new"); -#endif - - return (jint)gtk_scrolled_window_new((GtkAdjustment*)hadjustment, (GtkAdjustment*)vadjustment); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_scrolled_window_get_hadjustment - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1scrolled_1window_1get_1hadjustment - (JNIEnv *env, jclass that, jint scrolled_window) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_scrolled_window_get_hadjustment"); -#endif - - return (jint)gtk_scrolled_window_get_hadjustment((GtkScrolledWindow*)scrolled_window); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_scrolled_window_get_vadjustment - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1scrolled_1window_1get_1vadjustment - (JNIEnv *env, jclass that, jint scrolled_window) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_scrolled_window_get_vadjustment"); -#endif - - return (jint)gtk_scrolled_window_get_vadjustment((GtkScrolledWindow*)scrolled_window); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_scrolled_window_set_policy - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1scrolled_1window_1set_1policy - (JNIEnv *env, jclass that, jint scrolled_window, jint hscrollbar_policy, jint vscrollbar_policy) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_scrolled_window_set_policy"); -#endif - - gtk_scrolled_window_set_policy((GtkScrolledWindow*)scrolled_window, (GtkPolicyType)hscrollbar_policy, (GtkPolicyType)vscrollbar_policy); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_selection_owner_set - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1selection_1owner_1set - (JNIEnv *env, jclass that, jint widget, jint selection, jint time) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_selection_owner_set"); -#endif - - return (jint)gtk_selection_owner_set((GtkWidget*)widget, (GdkAtom)selection, (guint32)time); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_selection_convert - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1selection_1convert - (JNIEnv *env, jclass that, jint widget, jint selection, jint target, jint time) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_selection_convert"); -#endif - - return (jint)gtk_selection_convert((GtkWidget*)widget, (GdkAtom)selection, (GdkAtom)target, (guint32)time); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_signal_emit_stop_by_name - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1signal_1emit_1stop_1by_1name - (JNIEnv *env, jclass that, jint object, jbyteArray name) -{ - jbyte *name1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_signal_emit_stop_by_name"); -#endif - - if (name) { - name1 = (*env)->GetByteArrayElements(env, name, NULL); - } - gtk_signal_emit_stop_by_name((GtkObject*)object, (gchar*)name1); - if (name) { - (*env)->ReleaseByteArrayElements(env, name, name1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_signal_connect - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1signal_1connect - (JNIEnv *env, jclass that, jint object, jbyteArray name, jint func, jint func_data) -{ - jint rc; - jbyte *name1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_signal_connect"); -#endif - - if (name) { - name1 = (*env)->GetByteArrayElements(env, name, NULL); - } - rc = (jint)gtk_signal_connect((GtkObject*)object, (gchar*)name1, (GtkSignalFunc)func, (gpointer)func_data); - if (name) { - (*env)->ReleaseByteArrayElements(env, name, name1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_signal_connect_after - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1signal_1connect_1after - (JNIEnv *env, jclass that, jint object, jbyteArray name, jint func, jint func_data) -{ - jint rc; - jbyte *name1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_signal_connect_after"); -#endif - - if (name) { - name1 = (*env)->GetByteArrayElements(env, name, NULL); - } - rc = (jint)gtk_signal_connect_after((GtkObject*)object, (gchar*)name1, (GtkSignalFunc)func, (gpointer)func_data); - if (name) { - (*env)->ReleaseByteArrayElements(env, name, name1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_signal_handler_block_by_func - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1signal_1handler_1block_1by_1func - (JNIEnv *env, jclass that, jint object, jint func, jint data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_signal_handler_block_by_func"); -#endif - - gtk_signal_handler_block_by_func((GtkObject*)object, (GtkSignalFunc)func, (gpointer)data); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_signal_handler_unblock_by_func - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1signal_1handler_1unblock_1by_1func - (JNIEnv *env, jclass that, jint object, jint func, jint data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_signal_handler_unblock_by_func"); -#endif - - gtk_signal_handler_unblock_by_func((GtkObject*)object, (GtkSignalFunc)func, (gpointer)data); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_style_copy - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1style_1copy - (JNIEnv *env, jclass that, jint style) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_style_copy"); -#endif - - return (jint)gtk_style_copy((GtkStyle*)style); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_style_unref - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1style_1unref - (JNIEnv *env, jclass that, jint style) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_style_unref"); -#endif - - gtk_style_unref((GtkStyle*)style); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_text_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1text_1new - (JNIEnv *env, jclass that, jint hadj, jint vadj) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_text_new"); -#endif - - return (jint)gtk_text_new((GtkAdjustment*)hadj, (GtkAdjustment*)vadj); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_text_set_word_wrap - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1text_1set_1word_1wrap - (JNIEnv *env, jclass that, jint text, jint word_wrap) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_text_set_word_wrap"); -#endif - - gtk_text_set_word_wrap((GtkText*)text, (gint)word_wrap); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_text_get_length - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1text_1get_1length - (JNIEnv *env, jclass that, jint text) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_text_get_length"); -#endif - - return (jint)gtk_text_get_length((GtkText*)text); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_toggle_button_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1toggle_1button_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_toggle_button_new"); -#endif - - return (jint)gtk_toggle_button_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_toggle_button_set_active - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1toggle_1button_1set_1active - (JNIEnv *env, jclass that, jint toggle_button, jboolean is_active) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_toggle_button_set_active"); -#endif - - gtk_toggle_button_set_active((GtkToggleButton*)toggle_button, (gboolean)is_active); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_toggle_button_get_active - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1toggle_1button_1get_1active - (JNIEnv *env, jclass that, jint toggle_button) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_toggle_button_get_active"); -#endif - - return (jboolean)gtk_toggle_button_get_active((GtkToggleButton*)toggle_button); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_toolbar_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1toolbar_1new - (JNIEnv *env, jclass that, jint orientation, jint style) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_toolbar_new"); -#endif - - return (jint)gtk_toolbar_new((GtkOrientation)orientation, (GtkToolbarStyle)style); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_toolbar_insert_element - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1toolbar_1insert_1element - (JNIEnv *env, jclass that, jint toolbar, jint type, jint widget, jbyteArray text, jbyteArray tooltip_text, jbyteArray tooltip_private_text, jint icon, jint callback, jint user_data, jint position) -{ - jint rc; - jbyte *text1 = NULL; - jbyte *tooltip_text1 = NULL; - jbyte *tooltip_private_text1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_toolbar_insert_element"); -#endif - - if (text) { - text1 = (*env)->GetByteArrayElements(env, text, NULL); - } - if (tooltip_text) { - tooltip_text1 = (*env)->GetByteArrayElements(env, tooltip_text, NULL); - } - if (tooltip_private_text) { - tooltip_private_text1 = (*env)->GetByteArrayElements(env, tooltip_private_text, NULL); - } - rc = (jint)gtk_toolbar_insert_element((GtkToolbar*)toolbar, (GtkToolbarChildType)type, (GtkWidget*)widget, (char*)text1, (char*)tooltip_text1, (char*)tooltip_private_text1, (GtkWidget*)icon, (GtkSignalFunc)callback, (gpointer)user_data, (gint)position); - if (text) { - (*env)->ReleaseByteArrayElements(env, text, text1, 0); - } - if (tooltip_text) { - (*env)->ReleaseByteArrayElements(env, tooltip_text, tooltip_text1, 0); - } - if (tooltip_private_text) { - (*env)->ReleaseByteArrayElements(env, tooltip_private_text, tooltip_private_text1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_toolbar_insert_widget - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1toolbar_1insert_1widget - (JNIEnv *env, jclass that, jint toolbar, jint widget, jbyteArray tooltip_text, jbyteArray tooltip_private_text, jint position) -{ - jbyte *tooltip_text1 = NULL; - jbyte *tooltip_private_text1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_toolbar_insert_widget"); -#endif - - if (tooltip_text) { - tooltip_text1 = (*env)->GetByteArrayElements(env, tooltip_text, NULL); - } - if (tooltip_private_text) { - tooltip_private_text1 = (*env)->GetByteArrayElements(env, tooltip_private_text, NULL); - } - gtk_toolbar_insert_widget((GtkToolbar*)toolbar, (GtkWidget*)widget, (char*)tooltip_text1, (char*)tooltip_private_text1, (gint)position); - if (tooltip_text) { - (*env)->ReleaseByteArrayElements(env, tooltip_text, tooltip_text1, 0); - } - if (tooltip_private_text) { - (*env)->ReleaseByteArrayElements(env, tooltip_private_text, tooltip_private_text1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_toolbar_set_orientation - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1toolbar_1set_1orientation - (JNIEnv *env, jclass that, jint toolbar, jint orientation) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_toolbar_set_orientation"); -#endif - - gtk_toolbar_set_orientation((GtkToolbar*)toolbar, (GtkOrientation)orientation); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_toolbar_set_button_relief - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1toolbar_1set_1button_1relief - (JNIEnv *env, jclass that, jint toolbar, jint relief) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_toolbar_set_button_relief"); -#endif - - gtk_toolbar_set_button_relief((GtkToolbar*)toolbar, (GtkReliefStyle)relief); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_tooltips_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1tooltips_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_tooltips_new"); -#endif - - return (jint)gtk_tooltips_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_tooltips_set_tip - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1tooltips_1set_1tip - (JNIEnv *env, jclass that, jint tooltips, jint widget, jbyteArray tip_text, jbyteArray tip_private) -{ - jbyte *tip_text1 = NULL; - jbyte *tip_private1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_tooltips_set_tip"); -#endif - - if (tip_text) { - tip_text1 = (*env)->GetByteArrayElements(env, tip_text, NULL); - } - if (tip_private) { - tip_private1 = (*env)->GetByteArrayElements(env, tip_private, NULL); - } - gtk_tooltips_set_tip((GtkTooltips*)tooltips, (GtkWidget*)widget, (gchar*)tip_text1, (gchar*)tip_private1); - if (tip_text) { - (*env)->ReleaseByteArrayElements(env, tip_text, tip_text1, 0); - } - if (tip_private) { - (*env)->ReleaseByteArrayElements(env, tip_private, tip_private1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_vbox_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1vbox_1new - (JNIEnv *env, jclass that, jboolean homogeneous, jint spacing) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_vbox_new"); -#endif - - return (jint)gtk_vbox_new((gboolean)homogeneous, (gint)spacing); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_vscale_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1vscale_1new - (JNIEnv *env, jclass that, jint adjustment) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_vscale_new"); -#endif - - return (jint)gtk_vscale_new((GtkAdjustment*)adjustment); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_vscrollbar_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1vscrollbar_1new - (JNIEnv *env, jclass that, jint adjustment) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_vscrollbar_new"); -#endif - - return (jint)gtk_vscrollbar_new((GtkAdjustment*)adjustment); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_vseparator_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1vseparator_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_vseparator_new"); -#endif - - return (jint)gtk_vseparator_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_destroy - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1destroy - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_destroy"); -#endif - - gtk_widget_destroy((GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_show - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1show - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_show"); -#endif - - gtk_widget_show((GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_show_now - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1show_1now - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_show_now"); -#endif - - gtk_widget_show_now((GtkWidget*)widget); -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1show_1all - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_show_all"); -#endif - - gtk_widget_show_all((GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_hide - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1hide - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_hide"); -#endif - - gtk_widget_hide((GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_realize - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1realize - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_realize"); -#endif - - gtk_widget_realize((GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_queue_draw - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1queue_1draw - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_queue_draw"); -#endif - - gtk_widget_queue_draw((GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_size_request - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1size_1request - (JNIEnv *env, jclass that, jint widget, jobject requisition) -{ - DECL_GLOB(pGlob) - GtkRequisition requisition_struct, *requisition1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_size_request"); -#endif - - if (requisition) { - requisition1 = &requisition_struct; - cacheGtkRequisitionFids(env, requisition, &PGLOB(GtkRequisitionFc)); - getGtkRequisitionFields(env, requisition, requisition1, &PGLOB(GtkRequisitionFc)); - } - gtk_widget_size_request((GtkWidget*)widget, (GtkRequisition*)requisition1); - if (requisition) { - setGtkRequisitionFields(env, requisition, requisition1, &PGLOB(GtkRequisitionFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_size_allocate - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1size_1allocate - (JNIEnv *env, jclass that, jint widget, jobject allocation) -{ - DECL_GLOB(pGlob) - GtkAllocation allocation_struct, *allocation1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_size_allocate"); -#endif - - if (allocation) { - allocation1 = &allocation_struct; - cacheGtkAllocationFids(env, allocation, &PGLOB(GtkAllocationFc)); - getGtkAllocationFields(env, allocation, allocation1, &PGLOB(GtkAllocationFc)); - } - gtk_widget_size_allocate((GtkWidget*)widget, (GtkAllocation*)allocation1); - if (allocation) { - setGtkAllocationFields(env, allocation, allocation1, &PGLOB(GtkAllocationFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_add_accelerator - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1add_1accelerator - (JNIEnv *env, jclass that, jint widget, jbyteArray accel_signal, jint accel_group, jint accel_key, jint accel_mods, jint accel_flags) -{ - jbyte *accel_signal1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_add_accelerator"); -#endif - - if (accel_signal) { - accel_signal1 = (*env)->GetByteArrayElements(env, accel_signal, NULL); - } - gtk_widget_add_accelerator((GtkWidget*)widget, (gchar*)accel_signal1, (GtkAccelGroup*)accel_group, accel_key, accel_mods, (GtkAccelFlags)accel_flags); - if (accel_signal) { - (*env)->ReleaseByteArrayElements(env, accel_signal, accel_signal1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_remove_accelerator - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1remove_1accelerator - (JNIEnv *env, jclass that, jint widget, jint accel_group, jint accel_key, jint accel_mods) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_remove_accelerator"); -#endif - - gtk_widget_remove_accelerator((GtkWidget*)widget, (GtkAccelGroup*)accel_group, accel_key, accel_mods); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_event - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1event - (JNIEnv *env, jclass that, jint widget, jint event) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_event"); -#endif - - return (jint)gtk_widget_event((GtkWidget*)widget, (GdkEvent*)event); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_reparent - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1reparent - (JNIEnv *env, jclass that, jint widget, jint new_parent) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_reparent"); -#endif - - gtk_widget_reparent((GtkWidget*)widget, (GtkWidget*)new_parent); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_grab_focus - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1grab_1focus - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_grab_focus"); -#endif - - gtk_widget_grab_focus((GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_set_state - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1set_1state - (JNIEnv *env, jclass that, jint widget, jint state) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_set_state"); -#endif - - gtk_widget_set_state((GtkWidget*)widget, (GtkStateType)state); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_set_sensitive - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1set_1sensitive - (JNIEnv *env, jclass that, jint widget, jboolean sensitive) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_set_sensitive"); -#endif - - gtk_widget_set_sensitive((GtkWidget*)widget, (gboolean)sensitive); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_set_parent - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1set_1parent - (JNIEnv *env, jclass that, jint widget, jint parent) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_set_parent"); -#endif - - gtk_widget_set_parent((GtkWidget*)widget, (GtkWidget*)parent); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_set_uposition - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1set_1uposition - (JNIEnv *env, jclass that, jint widget, jint x, jint y) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_set_uposition"); -#endif - - gtk_widget_set_uposition((GtkWidget*)widget, (gint)x, (gint)y); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_set_usize - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1set_1usize - (JNIEnv *env, jclass that, jint widget, jint width, jint height) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_set_usize"); -#endif - - gtk_widget_set_usize((GtkWidget*)widget, (gint)width, (gint)height); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_add_events - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1add_1events - (JNIEnv *env, jclass that, jint widget, jint events) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_add_events"); -#endif - - gtk_widget_add_events((GtkWidget*)widget, (gint)events); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_set_style - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1set_1style - (JNIEnv *env, jclass that, jint widget, jint style) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_set_style"); -#endif - - gtk_widget_set_style((GtkWidget*)widget, (GtkStyle*)style); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_ensure_style - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1ensure_1style - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_ensure_style"); -#endif - - gtk_widget_ensure_style((GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_get_style - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1get_1style - (JNIEnv *env, jclass that, jint widget) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_get_style"); -#endif - - return (jint)gtk_widget_get_style((GtkWidget*)widget); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_widget_get_default_style - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1widget_1get_1default_1style - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_widget_get_default_style"); -#endif - - return (jint)gtk_widget_get_default_style(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_window_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1window_1new - (JNIEnv *env, jclass that, jint type) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_window_new"); -#endif - - return (jint)gtk_window_new((GtkWindowType)type); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_window_set_title - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1window_1set_1title - (JNIEnv *env, jclass that, jint window, jbyteArray title) -{ - jbyte *title1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_window_set_title"); -#endif - - if (title) { - title1 = (*env)->GetByteArrayElements(env, title, NULL); - } - gtk_window_set_title((GtkWindow*)window, (gchar*)title1); - if (title) { - (*env)->ReleaseByteArrayElements(env, title, title1, 0); - } -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1window_1set_1transient_1for - (JNIEnv *env, jclass that, jint window, jint parent) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_window_set_transient_for"); -#endif - gtk_window_set_transient_for((GtkWindow*)window, (GtkWindow*)parent); -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1window_1set_1modal - (JNIEnv *env, jclass that, jint window, jboolean modal) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_window_set_modal"); -#endif - gtk_window_set_modal((GtkWindow*)window, modal); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_window_set_policy - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1window_1set_1policy - (JNIEnv *env, jclass that, jint window, jint allow_shrink, jint allow_grow, jint auto_shrink) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_window_set_policy"); -#endif - - gtk_window_set_policy((GtkWindow*)window, (gint)allow_shrink, (gint)allow_grow, (gint)auto_shrink); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_window_add_accel_group - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1window_1add_1accel_1group - (JNIEnv *env, jclass that, jint window, jint accel_group) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_window_add_accel_group"); -#endif - - gtk_window_add_accel_group((GtkWindow*)window, (GtkAccelGroup*)accel_group); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_event_get - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1event_1get - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_event_get"); -#endif - - return (jint)gdk_event_get(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_event_get_graphics_expose - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1event_1get_1graphics_1expose - (JNIEnv *env, jclass that, jint window) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_event_get_graphics_expose"); -#endif - - return (jint)gdk_event_get_graphics_expose((GdkWindow*)window); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_event_free - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1event_1free - (JNIEnv *env, jclass that, jint event) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_event_free"); -#endif - - gdk_event_free((GdkEvent*)event); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_time_get - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1time_1get - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_time_get"); -#endif - - return (jint)gdk_time_get(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_screen_width - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1screen_1width - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_screen_width"); -#endif - - return (jint)gdk_screen_width(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_screen_height - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1screen_1height - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_screen_height"); -#endif - - return (jint)gdk_screen_height(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_screen_width_mm - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1screen_1width_1mm - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_screen_width_mm"); -#endif - - return (jint)gdk_screen_width_mm(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_flush - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1flush - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_flush"); -#endif - - gdk_flush(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_beep - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1beep - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_beep"); -#endif - - gdk_beep(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_visual_get_system - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1visual_1get_1system - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_visual_get_system"); -#endif - - return (jint)gdk_visual_get_system(); -} - - -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1get_1pixtext - (JNIEnv *env, jclass that, jint clist, jint row, jint column, jintArray text, jintArray spacing, jintArray pixmap, jintArray mask) -{ - jint *text1 = NULL; - jint *spacing1 = NULL; - jint *pixmap1 = NULL; - jint *mask1 = NULL; - int rc; - - if (text) text1 = (*env)->GetIntArrayElements(env, text, NULL); - if (spacing) spacing1 = (*env)->GetIntArrayElements(env, spacing, NULL); - if (pixmap) pixmap1 = (*env)->GetIntArrayElements(env, pixmap, NULL); - if (mask) mask1 = (*env)->GetIntArrayElements(env, mask, NULL); - rc = gtk_clist_get_pixtext((GtkCList*)clist, row, column, (gchar**)text1, (guint8*)spacing1, (GdkPixmap**)pixmap1, (GdkBitmap**)mask1); - if (text) (*env)->ReleaseIntArrayElements(env, text, text1, 0); - if (spacing) (*env)->ReleaseIntArrayElements(env, spacing, spacing1, 0); - if (pixmap) (*env)->ReleaseIntArrayElements(env, pixmap, pixmap1, 0); - if (mask) (*env)->ReleaseIntArrayElements(env, mask, mask1, 0); - - return (jint) rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_at_pointer - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1at_1pointer - (JNIEnv *env, jclass that, jintArray win_x, jintArray win_y) -{ - jint rc; - jint *win_x1 = NULL; - jint *win_y1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_at_pointer"); -#endif - - if (win_x) { - win_x1 = (*env)->GetIntArrayElements(env, win_x, NULL); - } - if (win_y) { - win_y1 = (*env)->GetIntArrayElements(env, win_y, NULL); - } - rc = (jint)gdk_window_at_pointer((gint*)win_x1, (gint*)win_y1); - if (win_x) { - (*env)->ReleaseIntArrayElements(env, win_x, win_x1, 0); - } - if (win_y) { - (*env)->ReleaseIntArrayElements(env, win_y, win_y1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_clear_area - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1clear_1area - (JNIEnv *env, jclass that, jint window, jint x, jint y, jint width, jint height) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_clear_area"); -#endif - - gdk_window_clear_area((GdkWindow*)window, (gint)x, (gint)y, (gint)width, (gint)height); -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1resize - (JNIEnv *env, jclass that, jint window, jint width, jint height) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_resize"); -#endif - - gdk_window_resize((GdkWindow*)window, (gint)width, (gint)height); -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1move - (JNIEnv *env, jclass that, jint window, jint x, jint y) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_move"); -#endif - - gdk_window_move((GdkWindow*)window, (gint)x, (gint)y); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_clear_area_e - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1clear_1area_1e - (JNIEnv *env, jclass that, jint window, jint x, jint y, jint width, jint height) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_clear_area_e"); -#endif - - gdk_window_clear_area_e((GdkWindow*)window, (gint)x, (gint)y, (gint)width, (gint)height); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_copy_area - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1copy_1area - (JNIEnv *env, jclass that, jint window, jint gc, jint x, jint y, jint source_window, jint source_x, jint source_y, jint width, jint height) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_copy_area"); -#endif - - gdk_window_copy_area((GdkWindow*)window, (GdkGC*)gc, (gint)x, (gint)y, (GdkWindow*)source_window, (gint)source_x, (gint)source_y, (gint)width, (gint)height); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_raise - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1raise - (JNIEnv *env, jclass that, jint window) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_raise"); -#endif - - gdk_window_raise((GdkWindow*)window); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_lower - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1lower - (JNIEnv *env, jclass that, jint window) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_lower"); -#endif - - gdk_window_lower((GdkWindow*)window); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_set_user_data - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1set_1user_1data - (JNIEnv *env, jclass that, jint window, jint user_data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_set_user_data"); -#endif - - gdk_window_set_user_data((GdkWindow*)window, (gpointer)user_data); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_set_cursor - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1set_1cursor - (JNIEnv *env, jclass that, jint window, jint cursor) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_set_cursor"); -#endif - - gdk_window_set_cursor((GdkWindow*)window, (GdkCursor*)cursor); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_get_user_data - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1get_1user_1data - (JNIEnv *env, jclass that, jint window, jintArray data) -{ - jint *data1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_get_user_data"); -#endif - - if (data) { - data1 = (*env)->GetIntArrayElements(env, data, NULL); - } - gdk_window_get_user_data((GdkWindow*)window, (gpointer*)data1); - if (data) { - (*env)->ReleaseIntArrayElements(env, data, data1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_get_geometry - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1get_1geometry - (JNIEnv *env, jclass that, jint window, jintArray x, jintArray y, jintArray width, jintArray height, jintArray depth) -{ - jint *x1 = NULL; - jint *y1 = NULL; - jint *width1 = NULL; - jint *height1 = NULL; - jint *depth1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_get_geometry"); -#endif - - if (x) { - x1 = (*env)->GetIntArrayElements(env, x, NULL); - } - if (y) { - y1 = (*env)->GetIntArrayElements(env, y, NULL); - } - if (width) { - width1 = (*env)->GetIntArrayElements(env, width, NULL); - } - if (height) { - height1 = (*env)->GetIntArrayElements(env, height, NULL); - } - if (depth) { - depth1 = (*env)->GetIntArrayElements(env, depth, NULL); - } - gdk_window_get_geometry((GdkWindow*)window, (gint*)x1, (gint*)y1, (gint*)width1, (gint*)height1, (gint*)depth1); - if (x) { - (*env)->ReleaseIntArrayElements(env, x, x1, 0); - } - if (y) { - (*env)->ReleaseIntArrayElements(env, y, y1, 0); - } - if (width) { - (*env)->ReleaseIntArrayElements(env, width, width1, 0); - } - if (height) { - (*env)->ReleaseIntArrayElements(env, height, height1, 0); - } - if (depth) { - (*env)->ReleaseIntArrayElements(env, depth, depth1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_get_origin - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1get_1origin - (JNIEnv *env, jclass that, jint window, jintArray x, jintArray y) -{ - jint rc; - jint *x1 = NULL; - jint *y1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_get_origin"); -#endif - - if (x) { - x1 = (*env)->GetIntArrayElements(env, x, NULL); - } - if (y) { - y1 = (*env)->GetIntArrayElements(env, y, NULL); - } - rc = (jint)gdk_window_get_origin((GdkWindow*)window, (gint*)x1, (gint*)y1); - if (x) { - (*env)->ReleaseIntArrayElements(env, x, x1, 0); - } - if (y) { - (*env)->ReleaseIntArrayElements(env, y, y1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_get_pointer - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1get_1pointer - (JNIEnv *env, jclass that, jint window, jintArray x, jintArray y, jint mask) -{ - jint rc; - jint *x1 = NULL; - jint *y1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_get_pointer"); -#endif - - if (x) { - x1 = (*env)->GetIntArrayElements(env, x, NULL); - } - if (y) { - y1 = (*env)->GetIntArrayElements(env, y, NULL); - } - rc = (jint)gdk_window_get_pointer((GdkWindow*)window, (gint*)x1, (gint*)y1, (GdkModifierType*)mask); - if (x) { - (*env)->ReleaseIntArrayElements(env, x, x1, 0); - } - if (y) { - (*env)->ReleaseIntArrayElements(env, y, y1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_set_icon - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1set_1icon - (JNIEnv *env, jclass that, jint window, jint icon_window, jint pixmap, jint mask) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_set_icon"); -#endif - - gdk_window_set_icon((GdkWindow*)window, (GdkWindow*)icon_window, (GdkPixmap*)pixmap, (GdkBitmap*)mask); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_window_set_decorations - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1set_1decorations - (JNIEnv *env, jclass that, jint window, jint decorations) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_set_decorations"); -#endif - - gdk_window_set_decorations((GdkWindow*)window, (GdkWMDecoration)decorations); -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1window_1show - (JNIEnv *env, jclass that, jint window) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_window_show"); -#endif - - gdk_window_show((GdkWindow*)window); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_cursor_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1cursor_1new - (JNIEnv *env, jclass that, jint cursor_type) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_cursor_new"); -#endif - - return (jint)gdk_cursor_new((GdkCursorType)cursor_type); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_cursor_new_from_pixmap - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1cursor_1new_1from_1pixmap - (JNIEnv *env, jclass that, jint source, jint mask, jobject fg, jobject bg, jint x, jint y) -{ - DECL_GLOB(pGlob) - jint rc; - GdkColor fg_struct, *fg1 = NULL; - GdkColor bg_struct, *bg1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_cursor_new_from_pixmap"); -#endif - - if (fg) { - fg1 = &fg_struct; - cacheGdkColorFids(env, fg, &PGLOB(GdkColorFc)); - getGdkColorFields(env, fg, fg1, &PGLOB(GdkColorFc)); - } - if (bg) { - bg1 = &bg_struct; - cacheGdkColorFids(env, bg, &PGLOB(GdkColorFc)); - getGdkColorFields(env, bg, bg1, &PGLOB(GdkColorFc)); - } - rc = (jint)gdk_cursor_new_from_pixmap((GdkPixmap*)source, (GdkPixmap*)mask, (GdkColor*)fg1, (GdkColor*)bg1, (gint)x, (gint)y); - if (fg) { - setGdkColorFields(env, fg, fg1, &PGLOB(GdkColorFc)); - } - if (bg) { - setGdkColorFields(env, bg, bg1, &PGLOB(GdkColorFc)); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_cursor_destroy - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1cursor_1destroy - (JNIEnv *env, jclass that, jint cursor) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_cursor_destroy"); -#endif - - gdk_cursor_destroy((GdkCursor*)cursor); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1new - (JNIEnv *env, jclass that, jint window) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_new"); -#endif - - return (jint)gdk_gc_new((GdkWindow*)window); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_unref - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1unref - (JNIEnv *env, jclass that, jint gc) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_unref"); -#endif - - gdk_gc_unref((GdkGC*)gc); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_destroy - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1destroy - (JNIEnv *env, jclass that, jint gc) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_destroy"); -#endif - - gdk_gc_destroy((GdkGC*)gc); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_get_values - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1get_1values - (JNIEnv *env, jclass that, jint gc, jobject values) -{ - DECL_GLOB(pGlob) - GdkGCValues values_struct, *values1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_get_values"); -#endif - - if (values) { - values1 = &values_struct; - cacheGdkGCValuesFids(env, values, &PGLOB(GdkGCValuesFc)); - getGdkGCValuesFields(env, values, values1, &PGLOB(GdkGCValuesFc)); - } - gdk_gc_get_values((GdkGC*)gc, (GdkGCValues*)values1); - if (values) { - setGdkGCValuesFields(env, values, values1, &PGLOB(GdkGCValuesFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_foreground - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1foreground - (JNIEnv *env, jclass that, jint gc, jobject color) -{ - DECL_GLOB(pGlob) - GdkColor color_struct, *color1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_foreground"); -#endif - - if (color) { - color1 = &color_struct; - cacheGdkColorFids(env, color, &PGLOB(GdkColorFc)); - getGdkColorFields(env, color, color1, &PGLOB(GdkColorFc)); - } - gdk_gc_set_foreground((GdkGC*)gc, (GdkColor*)color1); - if (color) { - setGdkColorFields(env, color, color1, &PGLOB(GdkColorFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_background - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1background - (JNIEnv *env, jclass that, jint gc, jobject color) -{ - DECL_GLOB(pGlob) - GdkColor color_struct, *color1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_background"); -#endif - - if (color) { - color1 = &color_struct; - cacheGdkColorFids(env, color, &PGLOB(GdkColorFc)); - getGdkColorFields(env, color, color1, &PGLOB(GdkColorFc)); - } - gdk_gc_set_background((GdkGC*)gc, (GdkColor*)color1); - if (color) { - setGdkColorFields(env, color, color1, &PGLOB(GdkColorFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_font - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1font - (JNIEnv *env, jclass that, jint gc, jint font) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_font"); -#endif - - gdk_gc_set_font((GdkGC*)gc, (GdkFont*)font); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_function - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1function - (JNIEnv *env, jclass that, jint gc, jint function) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_function"); -#endif - - gdk_gc_set_function((GdkGC*)gc, (GdkFunction)function); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_fill - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1fill - (JNIEnv *env, jclass that, jint gc, jint fill) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_fill"); -#endif - - gdk_gc_set_fill((GdkGC*)gc, (GdkFill)fill); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_stipple - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1stipple - (JNIEnv *env, jclass that, jint gc, jint stipple) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_stipple"); -#endif - - gdk_gc_set_stipple((GdkGC*)gc, (GdkPixmap*)stipple); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_clip_mask - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1clip_1mask - (JNIEnv *env, jclass that, jint gc, jint mask) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_clip_mask"); -#endif - - gdk_gc_set_clip_mask((GdkGC*)gc, (GdkBitmap*)mask); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_clip_rectangle - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1clip_1rectangle - (JNIEnv *env, jclass that, jint gc, jobject rectangle) -{ - DECL_GLOB(pGlob) - GdkRectangle rectangle_struct, *rectangle1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_clip_rectangle"); -#endif - - if (rectangle) { - rectangle1 = &rectangle_struct; - cacheGdkRectangleFids(env, rectangle, &PGLOB(GdkRectangleFc)); - getGdkRectangleFields(env, rectangle, rectangle1, &PGLOB(GdkRectangleFc)); - } - gdk_gc_set_clip_rectangle((GdkGC*)gc, (GdkRectangle*)rectangle1); - if (rectangle) { - setGdkRectangleFields(env, rectangle, rectangle1, &PGLOB(GdkRectangleFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_clip_region - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1clip_1region - (JNIEnv *env, jclass that, jint gc, jint region) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_clip_region"); -#endif - - gdk_gc_set_clip_region((GdkGC*)gc, (GdkRegion*)region); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_subwindow - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1subwindow - (JNIEnv *env, jclass that, jint gc, jint mode) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_subwindow"); -#endif - - gdk_gc_set_subwindow((GdkGC*)gc, (GdkSubwindowMode)mode); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_exposures - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1exposures - (JNIEnv *env, jclass that, jint gc, jboolean exposures) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_exposures"); -#endif - - gdk_gc_set_exposures((GdkGC*)gc, (gboolean)exposures); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_line_attributes - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1line_1attributes - (JNIEnv *env, jclass that, jint gc, jint line_width, jint line_style, jint cap_style, jint join_style) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_line_attributes"); -#endif - - gdk_gc_set_line_attributes((GdkGC*)gc, (gint)line_width, (GdkLineStyle)line_style, (GdkCapStyle)cap_style, (GdkJoinStyle)join_style); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_gc_set_dashes - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1gc_1set_1dashes - (JNIEnv *env, jclass that, jint gc, jint dash_offset, jbyteArray dash_list, jint n) -{ - jbyte *dash_list1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_gc_set_dashes"); -#endif - - if (dash_list) { - dash_list1 = (*env)->GetByteArrayElements(env, dash_list, NULL); - } - gdk_gc_set_dashes((GdkGC*)gc, (gint)dash_offset, (gint8*)dash_list1, (gint)n); - if (dash_list) { - (*env)->ReleaseByteArrayElements(env, dash_list, dash_list1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_pixmap_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1pixmap_1new - (JNIEnv *env, jclass that, jint window, jint width, jint height, jint depth) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_pixmap_new"); -#endif - - return (jint)gdk_pixmap_new((GdkWindow*)window, (gint)width, (gint)height, (gint)depth); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_bitmap_create_from_data - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1bitmap_1create_1from_1data - (JNIEnv *env, jclass that, jint window, jbyteArray data, jint width, jint height) -{ - jint rc; - jbyte *data1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_bitmap_create_from_data"); -#endif - - if (data) { - data1 = (*env)->GetByteArrayElements(env, data, NULL); - } - rc = (jint)gdk_bitmap_create_from_data((GdkWindow*)window, (gchar*)data1, (gint)width, (gint)height); - if (data) { - (*env)->ReleaseByteArrayElements(env, data, data1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_pixmap_unref - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1pixmap_1unref - (JNIEnv *env, jclass that, jint pixmap) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_pixmap_unref"); -#endif - - gdk_pixmap_unref((GdkPixmap*)pixmap); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_bitmap_unref - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1bitmap_1unref - (JNIEnv *env, jclass that, jint pixmap) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_bitmap_unref"); -#endif - - gdk_bitmap_unref((GdkBitmap*)pixmap); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_image_get - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1image_1get - (JNIEnv *env, jclass that, jint window, jint x, jint y, jint width, jint height) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_image_get"); -#endif - - return (jint)gdk_image_get((GdkWindow*)window, (gint)x, (gint)y, (gint)width, (gint)height); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_image_get_pixel - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1image_1get_1pixel - (JNIEnv *env, jclass that, jint image, jint x, jint y) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_image_get_pixel"); -#endif - - return (jint)gdk_image_get_pixel((GdkImage*)image, (gint)x, (gint)y); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_colormap_get_system - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1colormap_1get_1system - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_colormap_get_system"); -#endif - - return (jint)gdk_colormap_get_system(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_color_free - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1color_1free - (JNIEnv *env, jclass that, jobject color) -{ - DECL_GLOB(pGlob) - GdkColor color_struct, *color1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_color_free"); -#endif - - if (color) { - color1 = &color_struct; - cacheGdkColorFids(env, color, &PGLOB(GdkColorFc)); - getGdkColorFields(env, color, color1, &PGLOB(GdkColorFc)); - } - gdk_color_free((GdkColor*)color1); - if (color) { - setGdkColorFields(env, color, color1, &PGLOB(GdkColorFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_colors_free - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1colors_1free - (JNIEnv *env, jclass that, jint colormap, jintArray pixels, jint npixels, jint planes) -{ - jint *pixels1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_colors_free"); -#endif - - if (pixels) { - pixels1 = (*env)->GetIntArrayElements(env, pixels, NULL); - } - gdk_colors_free((GdkColormap*)colormap, (gulong*)pixels1, (gint)npixels, (gulong)planes); - if (pixels) { - (*env)->ReleaseIntArrayElements(env, pixels, pixels1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_color_white - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1color_1white - (JNIEnv *env, jclass that, jint colormap, jobject color) -{ - DECL_GLOB(pGlob) - jboolean rc; - GdkColor color_struct, *color1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_color_white"); -#endif - - if (color) { - color1 = &color_struct; - cacheGdkColorFids(env, color, &PGLOB(GdkColorFc)); - getGdkColorFields(env, color, color1, &PGLOB(GdkColorFc)); - } - rc = (jboolean)gdk_color_white((GdkColormap*)colormap, (GdkColor*)color1); - if (color) { - setGdkColorFields(env, color, color1, &PGLOB(GdkColorFc)); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_color_alloc - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1color_1alloc - (JNIEnv *env, jclass that, jint colormap, jobject color) -{ - DECL_GLOB(pGlob) - jboolean rc; - GdkColor color_struct, *color1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_color_alloc"); -#endif - - if (color) { - color1 = &color_struct; - cacheGdkColorFids(env, color, &PGLOB(GdkColorFc)); - getGdkColorFields(env, color, color1, &PGLOB(GdkColorFc)); - } - rc = (jboolean)gdk_color_alloc((GdkColormap*)colormap, (GdkColor*)color1); - if (color) { - setGdkColorFields(env, color, color1, &PGLOB(GdkColorFc)); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_font_load - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1font_1load - (JNIEnv *env, jclass that, jbyteArray font_name) -{ - jint rc; - jbyte *font_name1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_font_load"); -#endif - - if (font_name) { - font_name1 = (*env)->GetByteArrayElements(env, font_name, NULL); - } - rc = (jint)gdk_font_load((gchar*)font_name1); - if (font_name) { - (*env)->ReleaseByteArrayElements(env, font_name, font_name1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_font_ref - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1font_1ref - (JNIEnv *env, jclass that, jint font) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_font_ref"); -#endif - - return (jint)gdk_font_ref((GdkFont*)font); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_font_unref - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1font_1unref - (JNIEnv *env, jclass that, jint font) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_font_unref"); -#endif - - gdk_font_unref((GdkFont*)font); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_font_equal - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1font_1equal - (JNIEnv *env, jclass that, jint fonta, jint fontb) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_font_equal"); -#endif - - return (jboolean)gdk_font_equal((GdkFont*)fonta, (GdkFont*)fontb); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_string_width - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1string_1width - (JNIEnv *env, jclass that, jint font, jbyteArray string) -{ - jint rc; - jbyte *string1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_string_width"); -#endif - - if (string) { - string1 = (*env)->GetByteArrayElements(env, string, NULL); - } - rc = (jint)gdk_string_width((GdkFont*)font, (gchar*)string1); - if (string) { - (*env)->ReleaseByteArrayElements(env, string, string1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_char_width - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1char_1width - (JNIEnv *env, jclass that, jint font, jbyte character) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_char_width"); -#endif - - return (jint)gdk_char_width((GdkFont*)font, (gchar)character); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_string_height - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1string_1height - (JNIEnv *env, jclass that, jint font, jbyteArray string) -{ - jint rc; - jbyte *string1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_string_height"); -#endif - - if (string) { - string1 = (*env)->GetByteArrayElements(env, string, NULL); - } - rc = (jint)gdk_string_height((GdkFont*)font, (gchar*)string1); - if (string) { - (*env)->ReleaseByteArrayElements(env, string, string1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_string_extents - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1string_1extents - (JNIEnv *env, jclass that, jint font, jbyteArray string, jintArray lbearing, jintArray rbearing, jintArray width, jintArray ascent, jintArray descent) -{ - jbyte *string1 = NULL; - jint *lbearing1 = NULL; - jint *rbearing1 = NULL; - jint *width1 = NULL; - jint *ascent1 = NULL; - jint *descent1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_string_extents"); -#endif - - if (string) { - string1 = (*env)->GetByteArrayElements(env, string, NULL); - } - if (lbearing) { - lbearing1 = (*env)->GetIntArrayElements(env, lbearing, NULL); - } - if (rbearing) { - rbearing1 = (*env)->GetIntArrayElements(env, rbearing, NULL); - } - if (width) { - width1 = (*env)->GetIntArrayElements(env, width, NULL); - } - if (ascent) { - ascent1 = (*env)->GetIntArrayElements(env, ascent, NULL); - } - if (descent) { - descent1 = (*env)->GetIntArrayElements(env, descent, NULL); - } - gdk_string_extents((GdkFont*)font, (gchar*)string1, (gint*)lbearing1, (gint*)rbearing1, (gint*)width1, (gint*)ascent1, (gint*)descent1); - if (string) { - (*env)->ReleaseByteArrayElements(env, string, string1, 0); - } - if (lbearing) { - (*env)->ReleaseIntArrayElements(env, lbearing, lbearing1, 0); - } - if (rbearing) { - (*env)->ReleaseIntArrayElements(env, rbearing, rbearing1, 0); - } - if (width) { - (*env)->ReleaseIntArrayElements(env, width, width1, 0); - } - if (ascent) { - (*env)->ReleaseIntArrayElements(env, ascent, ascent1, 0); - } - if (descent) { - (*env)->ReleaseIntArrayElements(env, descent, descent1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_draw_line - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1draw_1line - (JNIEnv *env, jclass that, jint drawable, jint gc, jint x1, jint y1, jint x2, jint y2) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_draw_line"); -#endif - - gdk_draw_line((GdkDrawable*)drawable, (GdkGC*)gc, (gint)x1, (gint)y1, (gint)x2, (gint)y2); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_draw_rectangle - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1draw_1rectangle - (JNIEnv *env, jclass that, jint drawable, jint gc, jint filled, jint x, jint y, jint width, jint height) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_draw_rectangle"); -#endif - - gdk_draw_rectangle((GdkDrawable*)drawable, (GdkGC*)gc, (gint)filled, (gint)x, (gint)y, (gint)width, (gint)height); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_draw_arc - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1draw_1arc - (JNIEnv *env, jclass that, jint drawable, jint gc, jint filled, jint x, jint y, jint width, jint height, jint angle1, jint angle2) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_draw_arc"); -#endif - - gdk_draw_arc((GdkDrawable*)drawable, (GdkGC*)gc, (gint)filled, (gint)x, (gint)y, (gint)width, (gint)height, (gint)angle1, (gint)angle2); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_draw_polygon - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1draw_1polygon - (JNIEnv *env, jclass that, jint drawable, jint gc, jint filled, jshortArray points, jint npoints) -{ - jshort *points1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_draw_polygon"); -#endif - - if (points) { - points1 = (*env)->GetShortArrayElements(env, points, NULL); - } - gdk_draw_polygon((GdkDrawable*)drawable, (GdkGC*)gc, (gint)filled, (GdkPoint*)points1, (gint)npoints); - if (points) { - (*env)->ReleaseShortArrayElements(env, points, points1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_draw_string - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1draw_1string - (JNIEnv *env, jclass that, jint drawable, jint font, jint gc, jint x, jint y, jbyteArray string) -{ - jbyte *string1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_draw_string"); -#endif - - if (string) { - string1 = (*env)->GetByteArrayElements(env, string, NULL); - } - gdk_draw_string((GdkDrawable*)drawable, (GdkFont*)font, (GdkGC*)gc, (gint)x, (gint)y, (gchar*)string1); - if (string) { - (*env)->ReleaseByteArrayElements(env, string, string1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_draw_pixmap - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1draw_1pixmap - (JNIEnv *env, jclass that, jint drawable, jint gc, jint src, jint xsrc, jint ysrc, jint xdest, jint ydest, jint width, jint height) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_draw_pixmap"); -#endif - - gdk_draw_pixmap((GdkDrawable*)drawable, (GdkGC*)gc, (GdkDrawable*)src, (gint)xsrc, (gint)ysrc, (gint)xdest, (gint)ydest, (gint)width, (gint)height); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_draw_lines - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1draw_1lines - (JNIEnv *env, jclass that, jint drawable, jint gc, jshortArray points, jint npoints) -{ - jshort *points1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_draw_lines"); -#endif - - if (points) { - points1 = (*env)->GetShortArrayElements(env, points, NULL); - } - gdk_draw_lines((GdkDrawable*)drawable, (GdkGC*)gc, (GdkPoint*)points1, (gint)npoints); - if (points) { - (*env)->ReleaseShortArrayElements(env, points, points1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_atom_intern - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1atom_1intern - (JNIEnv *env, jclass that, jbyteArray atom_name, jint only_if_exists) -{ - jint rc; - jbyte *atom_name1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_atom_intern"); -#endif - - if (atom_name) { - atom_name1 = (*env)->GetByteArrayElements(env, atom_name, NULL); - } - rc = (jint)gdk_atom_intern((gchar*)atom_name1, (gint)only_if_exists); - if (atom_name) { - (*env)->ReleaseByteArrayElements(env, atom_name, atom_name1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_region_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1region_1new - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_region_new"); -#endif - - return (jint)gdk_region_new(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_region_destroy - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1region_1destroy - (JNIEnv *env, jclass that, jint region) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_region_destroy"); -#endif - - gdk_region_destroy((GdkRegion*)region); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_region_get_clipbox - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1region_1get_1clipbox - (JNIEnv *env, jclass that, jint region, jobject rectangle) -{ - DECL_GLOB(pGlob) - GdkRectangle rectangle_struct, *rectangle1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_region_get_clipbox"); -#endif - - if (rectangle) { - rectangle1 = &rectangle_struct; - cacheGdkRectangleFids(env, rectangle, &PGLOB(GdkRectangleFc)); - getGdkRectangleFields(env, rectangle, rectangle1, &PGLOB(GdkRectangleFc)); - } - gdk_region_get_clipbox((GdkRegion*)region, (GdkRectangle*)rectangle1); - if (rectangle) { - setGdkRectangleFields(env, rectangle, rectangle1, &PGLOB(GdkRectangleFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_region_empty - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1region_1empty - (JNIEnv *env, jclass that, jint region) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_region_empty"); -#endif - - return (jboolean)gdk_region_empty((GdkRegion*)region); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_region_equal - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1region_1equal - (JNIEnv *env, jclass that, jint region1, jint region2) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_region_equal"); -#endif - - return (jboolean)gdk_region_equal((GdkRegion*)region1, (GdkRegion*)region2); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_region_point_in - * Signature: - */ -JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1region_1point_1in - (JNIEnv *env, jclass that, jint region, jint x, jint y) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_region_point_in"); -#endif - - return (jboolean)gdk_region_point_in((GdkRegion*)region, (int)x, (int)y); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_region_rect_in - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1region_1rect_1in - (JNIEnv *env, jclass that, jint region, jobject rect) -{ - DECL_GLOB(pGlob) - jint rc; - GdkRectangle rect_struct, *rect1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_region_rect_in"); -#endif - - if (rect) { - rect1 = &rect_struct; - cacheGdkRectangleFids(env, rect, &PGLOB(GdkRectangleFc)); - getGdkRectangleFields(env, rect, rect1, &PGLOB(GdkRectangleFc)); - } - rc = (jint)gdk_region_rect_in((GdkRegion*)region, (GdkRectangle*)rect1); - if (rect) { - setGdkRectangleFields(env, rect, rect1, &PGLOB(GdkRectangleFc)); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_region_union_with_rect - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1region_1union_1with_1rect - (JNIEnv *env, jclass that, jint region, jobject rect) -{ - DECL_GLOB(pGlob) - jint rc; - GdkRectangle rect_struct, *rect1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_region_union_with_rect"); -#endif - - if (rect) { - rect1 = &rect_struct; - cacheGdkRectangleFids(env, rect, &PGLOB(GdkRectangleFc)); - getGdkRectangleFields(env, rect, rect1, &PGLOB(GdkRectangleFc)); - } - rc = (jint)gdk_region_union_with_rect((GdkRegion*)region, (GdkRectangle*)rect1); - if (rect) { - setGdkRectangleFields(env, rect, rect1, &PGLOB(GdkRectangleFc)); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_regions_union - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1regions_1union - (JNIEnv *env, jclass that, jint source1, jint source2) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_regions_union"); -#endif - - return (jint)gdk_regions_union((GdkRegion*)source1, (GdkRegion*)source2); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gdk_regions_subtract - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gdk_1regions_1subtract - (JNIEnv *env, jclass that, jint source1, jint source2) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gdk_regions_subtract"); -#endif - - return (jint)gdk_regions_subtract((GdkRegion*)source1, (GdkRegion*)source2); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_list_free - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1list_1free - (JNIEnv *env, jclass that, jint list) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_list_free"); -#endif - - g_list_free((GList*)list); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_list_append - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1list_1append - (JNIEnv *env, jclass that, jint list, jint data) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_list_append"); -#endif - - return (jint)g_list_append((GList*)list, (gpointer)data); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_list_nth - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1list_1nth - (JNIEnv *env, jclass that, jint list, jint n) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_list_nth"); -#endif - - return (jint)g_list_nth((GList*)list, n); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_list_length - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1list_1length - (JNIEnv *env, jclass that, jint list) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_list_length"); -#endif - - return (jint)g_list_length((GList*)list); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_list_nth_data - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1list_1nth_1data - (JNIEnv *env, jclass that, jint list, jint n) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_list_nth_data"); -#endif - - return (jint)g_list_nth_data((GList*)list, n); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_slist_nth - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1slist_1nth - (JNIEnv *env, jclass that, jint list, jint n) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_slist_nth"); -#endif - - return (jint)g_slist_nth((GSList*)list, n); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_slist_length - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1slist_1length - (JNIEnv *env, jclass that, jint list) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_slist_length"); -#endif - - return (jint)g_slist_length((GSList*)list); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_slist_nth_data - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1slist_1nth_1data - (JNIEnv *env, jclass that, jint list, jint n) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_slist_nth_data"); -#endif - - return (jint)g_slist_nth_data((GSList*)list, n); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_malloc - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1malloc - (JNIEnv *env, jclass that, jint size) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_malloc"); -#endif - - return (jint)g_malloc((gulong)size); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_free - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1free - (JNIEnv *env, jclass that, jint mem) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_free"); -#endif - - g_free((gpointer)mem); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_strdup - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1strdup - (JNIEnv *env, jclass that, jbyteArray str) -{ - jint rc; - jbyte *str1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_strdup"); -#endif - - if (str) { - str1 = (*env)->GetByteArrayElements(env, str, NULL); - } - rc = (jint)g_strdup((gchar*)str1); - if (str) { - (*env)->ReleaseByteArrayElements(env, str, str1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: g_get_home_dir - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_g_1get_1home_1dir - (JNIEnv *env, jclass that) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "g_get_home_dir"); -#endif - - return (jint)g_get_home_dir(); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_new - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1new - (JNIEnv *env, jclass that, jint columns) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_new"); -#endif - - return (jint)gtk_clist_new((gint)columns); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_set_shadow_type - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1set_1shadow_1type - (JNIEnv *env, jclass that, jint clist, jint type) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_set_shadow_type"); -#endif - - gtk_clist_set_shadow_type((GtkCList*)clist, (GtkShadowType)type); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_set_selection_mode - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1set_1selection_1mode - (JNIEnv *env, jclass that, jint clist, jint mode) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_set_selection_mode"); -#endif - - gtk_clist_set_selection_mode((GtkCList*)clist, (GtkSelectionMode)mode); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_freeze - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1freeze - (JNIEnv *env, jclass that, jint clist) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_freeze"); -#endif - - gtk_clist_freeze((GtkCList*)clist); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_thaw - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1thaw - (JNIEnv *env, jclass that, jint clist) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_thaw"); -#endif - - gtk_clist_thaw((GtkCList*)clist); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_column_titles_show - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1column_1titles_1show - (JNIEnv *env, jclass that, jint clist) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_column_titles_show"); -#endif - - gtk_clist_column_titles_show((GtkCList*)clist); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_column_titles_hide - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1column_1titles_1hide - (JNIEnv *env, jclass that, jint clist) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_column_titles_hide"); -#endif - - gtk_clist_column_titles_hide((GtkCList*)clist); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_column_title_passive - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1column_1title_1passive - (JNIEnv *env, jclass that, jint clist, jint column) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_column_title_passive"); -#endif - - gtk_clist_column_title_passive((GtkCList*)clist, (gint)column); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_column_titles_passive - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1column_1titles_1passive - (JNIEnv *env, jclass that, jint clist) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_column_titles_passive"); -#endif - - gtk_clist_column_titles_passive((GtkCList*)clist); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_set_column_title - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1set_1column_1title - (JNIEnv *env, jclass that, jint clist, jint column, jbyteArray title) -{ - jbyte *title1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_set_column_title"); -#endif - - if (title) { - title1 = (*env)->GetByteArrayElements(env, title, NULL); - } - gtk_clist_set_column_title((GtkCList*)clist, (gint)column, (gchar*)title1); - if (title) { - (*env)->ReleaseByteArrayElements(env, title, title1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_set_column_justification - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1set_1column_1justification - (JNIEnv *env, jclass that, jint clist, jint column, jint justification) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_set_column_justification"); -#endif - - gtk_clist_set_column_justification((GtkCList*)clist, (gint)column, (GtkJustification)justification); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_set_column_visibility - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1set_1column_1visibility - (JNIEnv *env, jclass that, jint clist, jint column, jboolean visible) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_set_column_visibility"); -#endif - - gtk_clist_set_column_visibility((GtkCList*)clist, (gint)column, (gboolean)visible); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_set_column_resizeable - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1set_1column_1resizeable - (JNIEnv *env, jclass that, jint clist, jint column, jboolean resizeable) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_set_column_resizeable"); -#endif - - gtk_clist_set_column_resizeable((GtkCList*)clist, (gint)column, (gboolean)resizeable); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_set_column_width - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1set_1column_1width - (JNIEnv *env, jclass that, jint clist, jint column, jint width) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_set_column_width"); -#endif - - gtk_clist_set_column_width((GtkCList*)clist, (gint)column, (gint)width); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_moveto - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1moveto - (JNIEnv *env, jclass that, jint clist, jint row, jint column, jfloat row_align, jfloat col_align) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_moveto"); -#endif - - gtk_clist_moveto((GtkCList*)clist, (gint)row, (gint)column, row_align, col_align); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_set_text - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1set_1text - (JNIEnv *env, jclass that, jint clist, jint row, jint column, jbyteArray text) -{ - jbyte *text1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_set_text"); -#endif - - if (text) { - text1 = (*env)->GetByteArrayElements(env, text, NULL); - } - gtk_clist_set_text((GtkCList*)clist, (gint)row, (gint)column, (gchar*)text1); - if (text) { - (*env)->ReleaseByteArrayElements(env, text, text1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_get_text - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1get_1text - (JNIEnv *env, jclass that, jint clist, jint row, jint column, jintArray text) -{ - jint rc; - jint *text1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_get_text"); -#endif - - if (text) { - text1 = (*env)->GetIntArrayElements(env, text, NULL); - } - rc = (jint)gtk_clist_get_text((GtkCList*)clist, (gint)row, (gint)column, (gchar**)text1); - if (text) { - (*env)->ReleaseIntArrayElements(env, text, text1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_set_pixmap - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1set_1pixmap - (JNIEnv *env, jclass that, jint clist, jint row, jint column, jint pixmap, jint mask) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_set_pixmap"); -#endif - - gtk_clist_set_pixmap((GtkCList*)clist, (gint)row, (gint)column, (GdkPixmap*)pixmap, (GdkBitmap*)mask); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_set_pixtext - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1set_1pixtext - (JNIEnv *env, jclass that, jint clist, jint row, jint column, jbyteArray text, jbyte spacing, jint pixmap, jint mask) -{ - jbyte *text1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_set_pixtext"); -#endif - - if (text) { - text1 = (*env)->GetByteArrayElements(env, text, NULL); - } - gtk_clist_set_pixtext((GtkCList*)clist, (gint)row, (gint)column, (gchar*)text1, (guint8)spacing, (GdkPixmap*)pixmap, (GdkBitmap*)mask); - if (text) { - (*env)->ReleaseByteArrayElements(env, text, text1, 0); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_append - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1append - (JNIEnv *env, jclass that, jint clist, jintArray text) -{ - jint rc; - jint *text1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_append"); -#endif - - if (text) { - text1 = (*env)->GetIntArrayElements(env, text, NULL); - } - rc = (jint)gtk_clist_append((GtkCList*)clist, (gchar**)text1); - if (text) { - (*env)->ReleaseIntArrayElements(env, text, text1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_insert - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1insert - (JNIEnv *env, jclass that, jint clist, jint row, jintArray text) -{ - jint rc; - jint *text1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_insert"); -#endif - - if (text) { - text1 = (*env)->GetIntArrayElements(env, text, NULL); - } - rc = (jint)gtk_clist_insert((GtkCList*)clist, (gint)row, (gchar**)text1); - if (text) { - (*env)->ReleaseIntArrayElements(env, text, text1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_remove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1remove - (JNIEnv *env, jclass that, jint clist, jint row) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_remove"); -#endif - - gtk_clist_remove((GtkCList*)clist, (gint)row); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_select_row - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1select_1row - (JNIEnv *env, jclass that, jint clist, jint row, jint column) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_select_row"); -#endif - - gtk_clist_select_row((GtkCList*)clist, (gint)row, (gint)column); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_unselect_row - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1unselect_1row - (JNIEnv *env, jclass that, jint clist, jint row, jint column) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_unselect_row"); -#endif - - gtk_clist_unselect_row((GtkCList*)clist, (gint)row, (gint)column); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_clear - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1clear - (JNIEnv *env, jclass that, jint clist) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_clear"); -#endif - - gtk_clist_clear((GtkCList*)clist); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_get_selection_info - * Signature: - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1get_1selection_1info - (JNIEnv *env, jclass that, jint clist, jint x, jint y, jintArray row, jintArray column) -{ - jint rc; - jint *row1 = NULL; - jint *column1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_get_selection_info"); -#endif - - if (row) { - row1 = (*env)->GetIntArrayElements(env, row, NULL); - } - if (column) { - column1 = (*env)->GetIntArrayElements(env, column, NULL); - } - rc = (jint)gtk_clist_get_selection_info((GtkCList*)clist, (gint)x, (gint)y, (gint*)row1, (gint*)column1); - if (row) { - (*env)->ReleaseIntArrayElements(env, row, row1, 0); - } - if (column) { - (*env)->ReleaseIntArrayElements(env, column, column1, 0); - } - return rc; -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_select_all - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1select_1all - (JNIEnv *env, jclass that, jint clist) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_select_all"); -#endif - - gtk_clist_select_all((GtkCList*)clist); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_clist_unselect_all - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_1clist_1unselect_1all - (JNIEnv *env, jclass that, jint clist) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "gtk_clist_unselect_all"); -#endif - - gtk_clist_unselect_all((GtkCList*)clist); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkColor_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GdkColor src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGdkColorFids(env, src, &PGLOB(GdkColorFc)); - getGdkColorFields(env, src, src1, &PGLOB(GdkColorFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GdkColor_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkColor_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GdkColor dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GdkColor_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGdkColorFids(env, dest, &PGLOB(GdkColorFc)); - setGdkColorFields(env, dest, dest1, &PGLOB(GdkColorFc)); - } -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkDialog_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkDialog dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkDialog_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkDialogFids(env, dest, &PGLOB(GtkDialogFc)); - setGtkDialogFields(env, dest, dest1, &PGLOB(GtkDialogFc)); - } -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkStyleClass_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkStyleClass dest_struct, *dest1 = NULL; - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkStyleClassFids(env, dest, &PGLOB(GtkStyleClassFc)); - setGtkStyleClassFields(env, dest, dest1, &PGLOB(GtkStyleClassFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkEventKey_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GdkEvent src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGdkEventKeyFids(env, src, &PGLOB(GdkEventKeyFc)); - getGdkEventKeyFields(env, src, src1, &PGLOB(GdkEventKeyFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GdkEventKey_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventKey_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GdkEvent dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GdkEventKey_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGdkEventKeyFids(env, dest, &PGLOB(GdkEventKeyFc)); - setGdkEventKeyFields(env, dest, dest1, &PGLOB(GdkEventKeyFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkEventButton_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GdkEvent src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGdkEventButtonFids(env, src, &PGLOB(GdkEventButtonFc)); - getGdkEventButtonFields(env, src, src1, &PGLOB(GdkEventButtonFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GdkEventButton_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventButton_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GdkEvent dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GdkEventButton_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGdkEventButtonFids(env, dest, &PGLOB(GdkEventButtonFc)); - setGdkEventButtonFields(env, dest, dest1, &PGLOB(GdkEventButtonFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkEventMotion_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GdkEvent src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGdkEventMotionFids(env, src, &PGLOB(GdkEventMotionFc)); - getGdkEventMotionFields(env, src, src1, &PGLOB(GdkEventMotionFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GdkEventMotion_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventMotion_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GdkEvent dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GdkEventMotion_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGdkEventMotionFids(env, dest, &PGLOB(GdkEventMotionFc)); - setGdkEventMotionFields(env, dest, dest1, &PGLOB(GdkEventMotionFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkEventExpose_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GdkEvent src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGdkEventExposeFids(env, src, &PGLOB(GdkEventExposeFc)); - getGdkEventExposeFields(env, src, src1, &PGLOB(GdkEventExposeFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GdkEventExpose_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkEventExpose_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GdkEvent dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GdkEventExpose_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGdkEventExposeFids(env, dest, &PGLOB(GdkEventExposeFc)); - setGdkEventExposeFields(env, dest, dest1, &PGLOB(GdkEventExposeFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkFont_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GdkFont src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGdkFontFids(env, src, &PGLOB(GdkFontFc)); - getGdkFontFields(env, src, src1, &PGLOB(GdkFontFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GdkFont_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkFont_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GdkFont dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GdkFont_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGdkFontFids(env, dest, &PGLOB(GdkFontFc)); - setGdkFontFields(env, dest, dest1, &PGLOB(GdkFontFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkGCValues_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GdkGCValues src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGdkGCValuesFids(env, src, &PGLOB(GdkGCValuesFc)); - getGdkGCValuesFields(env, src, src1, &PGLOB(GdkGCValuesFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GdkGCValues_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkGCValues_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GdkGCValues dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GdkGCValues_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGdkGCValuesFids(env, dest, &PGLOB(GdkGCValuesFc)); - setGdkGCValuesFields(env, dest, dest1, &PGLOB(GdkGCValuesFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkImage_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GdkImage src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGdkImageFids(env, src, &PGLOB(GdkImageFc)); - getGdkImageFields(env, src, src1, &PGLOB(GdkImageFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GdkImage_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkImage_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GdkImage dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GdkImage_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGdkImageFids(env, dest, &PGLOB(GdkImageFc)); - setGdkImageFields(env, dest, dest1, &PGLOB(GdkImageFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkPoint_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GdkPoint src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGdkPointFids(env, src, &PGLOB(GdkPointFc)); - getGdkPointFields(env, src, src1, &PGLOB(GdkPointFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GdkPoint_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkPoint_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GdkPoint dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GdkPoint_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGdkPointFids(env, dest, &PGLOB(GdkPointFc)); - setGdkPointFields(env, dest, dest1, &PGLOB(GdkPointFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkRectangle_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GdkRectangle src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGdkRectangleFids(env, src, &PGLOB(GdkRectangleFc)); - getGdkRectangleFields(env, src, src1, &PGLOB(GdkRectangleFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GdkRectangle_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkRectangle_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GdkRectangle dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GdkRectangle_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGdkRectangleFids(env, dest, &PGLOB(GdkRectangleFc)); - setGdkRectangleFields(env, dest, dest1, &PGLOB(GdkRectangleFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GdkVisual_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GdkVisual src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGdkVisualFids(env, src, &PGLOB(GdkVisualFc)); - getGdkVisualFields(env, src, src1, &PGLOB(GdkVisualFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GdkVisual_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GdkVisual_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GdkVisual dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GdkVisual_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGdkVisualFids(env, dest, &PGLOB(GdkVisualFc)); - setGdkVisualFields(env, dest, dest1, &PGLOB(GdkVisualFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkAllocation_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkAllocation src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkAllocationFids(env, src, &PGLOB(GtkAllocationFc)); - getGtkAllocationFields(env, src, src1, &PGLOB(GtkAllocationFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkAllocation_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkAllocation_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkAllocation dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkAllocation_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkAllocationFids(env, dest, &PGLOB(GtkAllocationFc)); - setGtkAllocationFields(env, dest, dest1, &PGLOB(GtkAllocationFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkArg_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkArg src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkArgFids(env, src, &PGLOB(GtkArgFc)); - getGtkArgFields(env, src, src1, &PGLOB(GtkArgFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkArg_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkArg_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkArg dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkArg_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkArgFids(env, dest, &PGLOB(GtkArgFc)); - setGtkArgFields(env, dest, dest1, &PGLOB(GtkArgFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkBin_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkBin src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkBinFids(env, src, &PGLOB(GtkBinFc)); - getGtkBinFields(env, src, src1, &PGLOB(GtkBinFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkBin_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkBin_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkBin dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkBin_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkBinFids(env, dest, &PGLOB(GtkBinFc)); - setGtkBinFields(env, dest, dest1, &PGLOB(GtkBinFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkCList_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkCList src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkCListFids(env, src, &PGLOB(GtkCListFc)); - getGtkCListFields(env, src, src1, &PGLOB(GtkCListFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkCList_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkCList_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkCList dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkCList_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkCListFids(env, dest, &PGLOB(GtkCListFc)); - setGtkCListFields(env, dest, dest1, &PGLOB(GtkCListFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkMenu_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkMenu src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkMenuFids(env, src, &PGLOB(GtkMenuFc)); - getGtkMenuFields(env, src, src1, &PGLOB(GtkMenuFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkMenu_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkMenu_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkMenu dest_struct={0}, *dest1 = NULL; - -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkMenu_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkMenuFids(env, dest, &PGLOB(GtkMenuFc)); - setGtkMenuFields(env, dest, dest1, &PGLOB(GtkMenuFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkCTree_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkCTree src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkCTreeFids(env, src, &PGLOB(GtkCTreeFc)); - getGtkCTreeFields(env, src, src1, &PGLOB(GtkCTreeFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkCTree_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkCTree_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkCTree dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkCTree_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkCTreeFids(env, dest, &PGLOB(GtkCTreeFc)); - setGtkCTreeFields(env, dest, dest1, &PGLOB(GtkCTreeFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkColorSelectionDialog_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkColorSelectionDialog src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkColorSelectionDialogFids(env, src, &PGLOB(GtkColorSelectionDialogFc)); - getGtkColorSelectionDialogFields(env, src, src1, &PGLOB(GtkColorSelectionDialogFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkColorSelectionDialog_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkColorSelectionDialog_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkColorSelectionDialog dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkColorSelectionDialog_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkColorSelectionDialogFids(env, dest, &PGLOB(GtkColorSelectionDialogFc)); - setGtkColorSelectionDialogFields(env, dest, dest1, &PGLOB(GtkColorSelectionDialogFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkCombo_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkCombo src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkComboFids(env, src, &PGLOB(GtkComboFc)); - getGtkComboFields(env, src, src1, &PGLOB(GtkComboFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkCombo_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkCombo_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkCombo dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkCombo_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkComboFids(env, dest, &PGLOB(GtkComboFc)); - setGtkComboFields(env, dest, dest1, &PGLOB(GtkComboFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkContainer_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkContainer src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkContainerFids(env, src, &PGLOB(GtkContainerFc)); - getGtkContainerFields(env, src, src1, &PGLOB(GtkContainerFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkContainer_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkContainer_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkContainer dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkContainer_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkContainerFids(env, dest, &PGLOB(GtkContainerFc)); - setGtkContainerFields(env, dest, dest1, &PGLOB(GtkContainerFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkData_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkData src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkDataFids(env, src, &PGLOB(GtkDataFc)); - getGtkDataFields(env, src, src1, &PGLOB(GtkDataFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkData_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkData_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkData dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkData_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkDataFids(env, dest, &PGLOB(GtkDataFc)); - setGtkDataFields(env, dest, dest1, &PGLOB(GtkDataFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkEditable_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkEditable src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkEditableFids(env, src, &PGLOB(GtkEditableFc)); - getGtkEditableFields(env, src, src1, &PGLOB(GtkEditableFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkEditable_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkEditable_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkEditable dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkEditable_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkEditableFids(env, dest, &PGLOB(GtkEditableFc)); - setGtkEditableFields(env, dest, dest1, &PGLOB(GtkEditableFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkText_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkText src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkTextFids(env, src, &PGLOB(GtkTextFc)); - getGtkTextFields(env, src, src1, &PGLOB(GtkTextFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkText_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkText_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkText dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkText_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkTextFids(env, dest, &PGLOB(GtkTextFc)); - setGtkTextFields(env, dest, dest1, &PGLOB(GtkTextFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: gtk_text_inquiry - * Signature: - * Not implemented yet; - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_gtk_text_inquiry__Lorg_eclipse_swt_internal_gtk_GtkText_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkFileSelection_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkFileSelection src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkFileSelectionFids(env, src, &PGLOB(GtkFileSelectionFc)); - getGtkFileSelectionFields(env, src, src1, &PGLOB(GtkFileSelectionFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkFileSelection_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkFileSelection_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkFileSelection dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkFileSelection_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkFileSelectionFids(env, dest, &PGLOB(GtkFileSelectionFc)); - setGtkFileSelectionFields(env, dest, dest1, &PGLOB(GtkFileSelectionFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkFontSelectionDialog_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkFontSelectionDialog src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkFontSelectionDialogFids(env, src, &PGLOB(GtkFontSelectionDialogFc)); - getGtkFontSelectionDialogFields(env, src, src1, &PGLOB(GtkFontSelectionDialogFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkFontSelectionDialog_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkFontSelectionDialog_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkFontSelectionDialog dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkFontSelectionDialog_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkFontSelectionDialogFids(env, dest, &PGLOB(GtkFontSelectionDialogFc)); - setGtkFontSelectionDialogFields(env, dest, dest1, &PGLOB(GtkFontSelectionDialogFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkObject_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkObject src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkObjectFids(env, src, &PGLOB(GtkObjectFc)); - getGtkObjectFields(env, src, src1, &PGLOB(GtkObjectFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkObject_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkObject_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkObject dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkObject_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkObjectFids(env, dest, &PGLOB(GtkObjectFc)); - setGtkObjectFields(env, dest, dest1, &PGLOB(GtkObjectFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkProgress_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkProgress src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkProgressFids(env, src, &PGLOB(GtkProgressFc)); - getGtkProgressFields(env, src, src1, &PGLOB(GtkProgressFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkProgress_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkProgress_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkProgress dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkProgress_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkProgressFids(env, dest, &PGLOB(GtkProgressFc)); - setGtkProgressFields(env, dest, dest1, &PGLOB(GtkProgressFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkProgressBar_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkProgressBar src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkProgressBarFids(env, src, &PGLOB(GtkProgressBarFc)); - getGtkProgressBarFields(env, src, src1, &PGLOB(GtkProgressBarFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkProgressBar_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkProgressBar_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkProgressBar dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkProgressBar_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkProgressBarFids(env, dest, &PGLOB(GtkProgressBarFc)); - setGtkProgressBarFields(env, dest, dest1, &PGLOB(GtkProgressBarFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkRequisition_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkRequisition src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkRequisitionFids(env, src, &PGLOB(GtkRequisitionFc)); - getGtkRequisitionFields(env, src, src1, &PGLOB(GtkRequisitionFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkRequisition_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkRequisition_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkRequisition dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkRequisition_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkRequisitionFids(env, dest, &PGLOB(GtkRequisitionFc)); - setGtkRequisitionFields(env, dest, dest1, &PGLOB(GtkRequisitionFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkStyle_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkStyle src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkStyleFids(env, src, &PGLOB(GtkStyleFc)); - getGtkStyleFields(env, src, src1, &PGLOB(GtkStyleFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkStyle_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkStyle_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkStyle dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkStyle_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkStyleFids(env, dest, &PGLOB(GtkStyleFc)); - setGtkStyleFields(env, dest, dest1, &PGLOB(GtkStyleFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkWidget_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkWidget src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkWidgetFids(env, src, &PGLOB(GtkWidgetFc)); - getGtkWidgetFields(env, src, src1, &PGLOB(GtkWidgetFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkWidget_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkWidget_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkWidget dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkWidget_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkWidgetFids(env, dest, &PGLOB(GtkWidgetFc)); - setGtkWidgetFields(env, dest, dest1, &PGLOB(GtkWidgetFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkFrame_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkFrame src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkFrameFids(env, src, &PGLOB(GtkFrameFc)); - getGtkFrameFields(env, src, src1, &PGLOB(GtkFrameFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkFrame_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkFrame_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkFrame dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkFrame_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkFrameFids(env, dest, &PGLOB(GtkFrameFc)); - setGtkFrameFields(env, dest, dest1, &PGLOB(GtkFrameFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkWindow_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkWindow src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkWindowFids(env, src, &PGLOB(GtkWindowFc)); - getGtkWindowFields(env, src, src1, &PGLOB(GtkWindowFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkWindow_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkWindow_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkWindow dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkWindow_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkWindowFids(env, dest, &PGLOB(GtkWindowFc)); - setGtkWindowFields(env, dest, dest1, &PGLOB(GtkWindowFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkCheckMenuItem_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkCheckMenuItem src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkCheckMenuItemFids(env, src, &PGLOB(GtkCheckMenuItemFc)); - getGtkCheckMenuItemFields(env, src, src1, &PGLOB(GtkCheckMenuItemFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkCheckMenuItem_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkCheckMenuItem_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkCheckMenuItem dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkCheckMenuItem_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkCheckMenuItemFids(env, dest, &PGLOB(GtkCheckMenuItemFc)); - setGtkCheckMenuItemFields(env, dest, dest1, &PGLOB(GtkCheckMenuItemFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkAdjustment_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkAdjustment src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkAdjustmentFids(env, src, &PGLOB(GtkAdjustmentFc)); - getGtkAdjustmentFields(env, src, src1, &PGLOB(GtkAdjustmentFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkAdjustment_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkAdjustment_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkAdjustment dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkAdjustment_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkAdjustmentFids(env, dest, &PGLOB(GtkAdjustmentFc)); - setGtkAdjustmentFields(env, dest, dest1, &PGLOB(GtkAdjustmentFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkBox_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkBox src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkBoxFids(env, src, &PGLOB(GtkBoxFc)); - getGtkBoxFields(env, src, src1, &PGLOB(GtkBoxFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkBox_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkBox_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkBox dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkBox_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkBoxFids(env, dest, &PGLOB(GtkBoxFc)); - setGtkBoxFields(env, dest, dest1, &PGLOB(GtkBoxFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkHBox_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkHBox src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkHBoxFids(env, src, &PGLOB(GtkHBoxFc)); - getGtkHBoxFields(env, src, src1, &PGLOB(GtkHBoxFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkHBox_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkHBox_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkHBox dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkHBox_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkHBoxFids(env, dest, &PGLOB(GtkHBoxFc)); - setGtkHBoxFields(env, dest, dest1, &PGLOB(GtkHBoxFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkMenuItem_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkMenuItem src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkMenuItemFids(env, src, &PGLOB(GtkMenuItemFc)); - getGtkMenuItemFields(env, src, src1, &PGLOB(GtkMenuItemFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkMenuItem_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkMenuItem_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkMenuItem dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkMenuItem_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkMenuItemFids(env, dest, &PGLOB(GtkMenuItemFc)); - setGtkMenuItemFields(env, dest, dest1, &PGLOB(GtkMenuItemFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkCListRow_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkCListRow src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkCListRowFids(env, src, &PGLOB(GtkCListRowFc)); - getGtkCListRowFields(env, src, src1, &PGLOB(GtkCListRowFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkCListRow_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkCListRow_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkCListRow dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkCListRow_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkCListRowFids(env, dest, &PGLOB(GtkCListRowFc)); - setGtkCListRowFields(env, dest, dest1, &PGLOB(GtkCListRowFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkCListColumn_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkCListColumn src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkCListColumnFids(env, src, &PGLOB(GtkCListColumnFc)); - getGtkCListColumnFields(env, src, src1, &PGLOB(GtkCListColumnFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkCListColumn_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkCListColumn_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkCListColumn dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkCListColumn_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkCListColumnFids(env, dest, &PGLOB(GtkCListColumnFc)); - setGtkCListColumnFields(env, dest, dest1, &PGLOB(GtkCListColumnFc)); - } -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__ILorg_eclipse_swt_internal_gtk_GtkCTreeRow_2I - (JNIEnv *env, jclass that, jint dest, jobject src, jint count) -{ - DECL_GLOB(pGlob) - GtkCTreeRow src_struct={0}, *src1 = NULL; - if (src) { - src1 = &src_struct; - cacheGtkCTreeRowFids(env, src, &PGLOB(GtkCTreeRowFc)); - getGtkCTreeRowFields(env, src, src1, &PGLOB(GtkCTreeRowFc)); - } -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__ILorg_eclipse_swt_internal_gtk_GtkCTreeRow_2I\n"); -#endif - - memmove((void*)dest, (void*)src1, count); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: memmove - * Signature: - */ -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__Lorg_eclipse_swt_internal_gtk_GtkCTreeRow_2II - (JNIEnv *env, jclass that, jobject dest, jint src, jint count) -{ - DECL_GLOB(pGlob) - GtkCTreeRow dest_struct={0}, *dest1 = NULL; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__Lorg_eclipse_swt_internal_gtk_GtkCTreeRow_2II\n"); -#endif - - memmove((void*)&dest_struct, (void*)src, count); - if (dest) { - dest1 = &dest_struct; - cacheGtkCTreeRowFids(env, dest, &PGLOB(GtkCTreeRowFc)); - setGtkCTreeRowFields(env, dest, dest1, &PGLOB(GtkCTreeRowFc)); - } -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__I_3BI - (JNIEnv *env, jclass that, jint dest, jbyteArray src, jint count) -{ - jbyte *src1; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__I_3BI\n"); -#endif - - if (src) { - src1 = (*env)->GetByteArrayElements(env, src, NULL); - memmove((void*)dest, (void*)src1, count); - (*env)->ReleaseByteArrayElements(env, src, src1, 0); - } -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove__I_3II - (JNIEnv *env, jclass that, jint dest, jintArray src, jint count) -{ - jint *src1; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__I_3II\n"); -#endif - - if (src) { - src1 = (*env)->GetIntArrayElements(env, src, NULL); - memmove((void*)dest, (void*)src1, count); - (*env)->ReleaseIntArrayElements(env, src, src1, 0); - } -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove___3III - (JNIEnv *env, jclass that, jintArray dest, jint src, jint count) -{ - jint *dest1; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove__III\n"); -#endif - - if (dest) { - dest1 = (*env)->GetIntArrayElements(env, dest, NULL); - memmove((void*)dest1, (void*)src, count); - (*env)->ReleaseIntArrayElements(env, dest, dest1, 0); - } -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove___3BII - (JNIEnv *env, jclass that, jbyteArray dest, jint src, jint count) -{ - jbyte *dest1; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove___3BII\n"); -#endif - - if (dest) { - dest1 = (*env)->GetByteArrayElements(env, dest, NULL); - memmove((void*)dest1, (void*)src, count); - (*env)->ReleaseByteArrayElements(env, dest, dest1, 0); - } -} - -JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_gtk_OS_memmove___3I_3BI - (JNIEnv *env, jclass that, jintArray dest, jbyteArray src, jint count) -{ - jint *dest1; - jbyte *src1; -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "memmove___3I_3BI\n"); -#endif - - if (src && dest) { - dest1 = (*env)->GetIntArrayElements(env, dest, NULL); - src1 = (*env)->GetByteArrayElements(env, dest, NULL); - memmove((void*)dest1, (void*)src1, count); - (*env)->ReleaseIntArrayElements(env, dest, dest1, 0); - (*env)->ReleaseByteArrayElements(env, src, src1, 0); - } -} - -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_strlen - (JNIEnv *env, jclass that, jint string) -{ -#ifdef DEBUG_CALL_PRINTS - fprintf(stderr, "strlen\n"); -#endif - - return (jint)strlen((char*)string); -} - -/* - * Class: org_eclipse_swt_internal_gtk_OS - * Method: XListFonts - * Signature: ([BI[I)I - */ -JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_gtk_OS_XListFonts - (JNIEnv *env, jclass that, jbyteArray pattern, jint maxnames, jintArray actual_count_return) -{ - jbyte *pattern1 = NULL; - jint *actual_count_return1=NULL; - jint rc; - - if (pattern) - pattern1 = (*env)->GetByteArrayElements(env, pattern, NULL); - if (actual_count_return) - actual_count_return1 = (*env)->GetIntArrayElements(env, actual_count_return, NULL); - - rc = (jint) XListFonts(GDK_DISPLAY(), (char *)pattern1, maxnames, (int *)actual_count_return1); - - if (pattern) - (*env)->ReleaseByteArrayElements(env, pattern, pattern1, 0); - if (actual_count_return) - (*env)->ReleaseIntArrayElements(env, actual_count_return, actual_count_return1, 0); - return rc; -} - diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDKPIXBUF.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDKPIXBUF.java deleted file mode 100644 index 713ba8d723..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDKPIXBUF.java +++ /dev/null @@ -1,225 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -import org.eclipse.swt.internal.Library; - -public class GDKPIXBUF extends OS { - - /* GdkColorspace enumeration */ - /* R/G/B additive color space */ - public final static int GDK_COLORSPACE_RGB = 0; - - /* GIF-like animation overlay modes for frames */ - public final static int GDK_PIXBUF_FRAME_RETAIN = 0; - public final static int GDK_PIXBUF_FRAME_DISPOSE = 1; - public final static int GDK_PIXBUF_FRAME_REVERT = 2; - - /* Alpha compositing mode */ - public final static int GDK_PIXBUF_ALPHA_BILEVEL = 0; - public final static int GDK_PIXBUF_ALPHA_FULL = 1; - - /* Interpolation modes */ - public final static int GDK_INTERP_NEAREST = 0; - public final static int GDK_INTERP_TILES = 1; - public final static int GDK_INTERP_BILINEAR = 2; - public final static int GDK_INTERP_HYPER = 3; - - -/* - * NATIVES - */ - -/* GdkPixbuf accessors */ - -/** - * Returns the colorspace of the pixbuf argument - */ -public static final native int gdk_pixbuf_get_colorspace (int pixbuf); - -/** - * Returns the number of channels in the pixbuf argument - */ -public static final native int gdk_pixbuf_get_n_channels (int pixbuf); - -/** - * Returns true if the pixbuf specified by the argument has an alpha channel - * (opacity information), and false otherwise. - */ -public static final native boolean gdk_pixbuf_get_has_alpha (int pixbuf); - -/** - * Returns the number of bits per pixel in each channel. - * Normally 8. - */ -public static final native int gdk_pixbuf_get_bits_per_sample (int pixbuf); - -/** - * Returns the address of the actual image data in the OS memory. - */ -public static final native int gdk_pixbuf_get_pixels (int pixbuf); - -/** - * Returns the width of the pixbuf specified by the argument. - */ -public static final native int gdk_pixbuf_get_width (int pixbuf); - -/** - * Returns the height of the pixbuf specified by the argument. - */ -public static final native int gdk_pixbuf_get_height (int pixbuf); - -/** - * Returns the rowstride of the pixbuf specified by the argument. - */ -public static final native int gdk_pixbuf_get_rowstride (int pixbuf); - - -/* PIXBUF CREATION FROM DATA IN MEMORY */ - -/** - * Create a blank pixbuf with an optimal rowstride and a new buffer - */ -public static final native int gdk_pixbuf_new ( - int colorspace, - boolean has_alpha, - int bits_per_sample, - int width, - int height); - -public static final native int gdk_pixbuf_copy(int source); - -public static final native int gdk_pixbuf_new_from_data ( - byte[] data, - int colorspace, - boolean has_alpha, - int bits_per_sample, - int width, - int height, - int rowstride, - int destroy_fn, - int destroy_fn_data); - -public static final native int gdk_pixbuf_new_from_xpm_data (int pdata); - - -/* PIXBUF CREATION - FILE LOADING */ - -public static final native int gdk_pixbuf_new_from_file (byte[] filename); - - - -/* RENDERING TO A DRAWABLE */ - - -public static final native void gdk_pixbuf_render_to_drawable_alpha (int pixbuf, - int drawable, - int src_x, int src_y, - int dest_x, int dest_y, - int width, int height, - int alpha_mode, - int alpha_threshold, - int dither, - int x_dither, int y_dither); - -public static final native void gdk_pixbuf_render_to_drawable (int pixbuf, - int drawable, - int gc, - int src_x, int src_y, - int dest_x, int dest_y, - int width, int height, - int dither, - int x_dither, int y_dither); - -/* SCALING */ - -public static final native void gdk_pixbuf_scale ( - int src, int dest, - int dest_x, - int dest_y, - int dest_width, - int dest_height, - double offset_x, - double offset_y, - double scale_x, - double scale_y, - int interp_type); - -public static final native void gdk_pixbuf_composite ( - int src, int dest, - int dest_x, - int dest_y, - int dest_width, - int dest_height, - double offset_x, - double offset_y, - double scale_x, - double scale_y, - int interp_type, - int overall_alpha); - -public static final native void gdk_pixbuf_composite_color ( - int src, - int dest, - int dest_x, - int dest_y, - int dest_width, - int dest_height, - double offset_x, - double offset_y, - double scale_x,double scale_y, - int interp_type, - int overall_alpha, - int check_x, - int check_y, - int check_size, - int color1, - int color2); - -public static final native int gdk_pixbuf_scale_simple ( - int src, - int dest_width, - int dest_height, - int interp_type); - -public static final native int gdk_pixbuf_composite_color_simple ( - int src,int dest_width, - int dest_height, - int interp_type, - int overall_alpha, - int check_size, - int color1, - int color2); - - - -public static final native int gdk_pixbuf_get_from_drawable ( - int dest, - int src, - int cmap, - int src_x, - int src_y, - int dest_x, - int dest_y, - int width, - int height); - - - -/* LOAD THE DLL */ - -static { - Library.loadLibrary ("swt-pixbuf"); -} -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkColor.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkColor.java deleted file mode 100644 index 1db777f4b6..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkColor.java +++ /dev/null @@ -1,22 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkColor {
- public int pixel;
- public short red;
- public short green;
- public short blue;
- public static final int sizeof = 10;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEvent.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEvent.java deleted file mode 100644 index 6da6571c0a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEvent.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkEvent {
- public int type;
- public int window;
- public byte send_event;
- public static final int sizeof = 88;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventButton.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventButton.java deleted file mode 100644 index 17d1febbcf..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventButton.java +++ /dev/null @@ -1,29 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkEventButton extends GdkEvent {
- public int time;
- public long x;
- public long y;
- public long pressure;
- public long xtilt;
- public long ytilt;
- public int state;
- public int button;
- public int source;
- public int deviceid;
- public long x_root;
- public long y_root;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventExpose.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventExpose.java deleted file mode 100644 index 6fd9920e97..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventExpose.java +++ /dev/null @@ -1,22 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkEventExpose extends GdkEvent {
- public short x;
- public short y;
- public short width;
- public short height;
- public int count;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventKey.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventKey.java deleted file mode 100644 index 6e4acded51..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventKey.java +++ /dev/null @@ -1,22 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkEventKey extends GdkEvent {
- public int time;
- public int state;
- public int keyval;
- public int length;
- public int string;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventMotion.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventMotion.java deleted file mode 100644 index 5a8d5b9c16..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkEventMotion.java +++ /dev/null @@ -1,29 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkEventMotion extends GdkEvent {
- public int time;
- public long x;
- public long y;
- public long pressure;
- public long xtilt;
- public long ytilt;
- public int state;
- public int is_hint;
- public int source;
- public int deviceid;
- public long x_root;
- public long y_root;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkFont.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkFont.java deleted file mode 100644 index 6d7df17522..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkFont.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkFont {
- public int type;
- public int ascent;
- public int descent;
- public static final int sizeof = 12;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkGCValues.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkGCValues.java deleted file mode 100644 index df0b4d54b5..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkGCValues.java +++ /dev/null @@ -1,42 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkGCValues {
- public int foreground_pixel;
- public short foreground_red;
- public short foreground_green;
- public short foreground_blue;
- public int background_pixel;
- public short background_red;
- public short background_green;
- public short background_blue;
- public int font;
- public int function;
- public int fill;
- public int tile;
- public int stipple;
- public int clip_mask;
- public int subwindow_mode;
- public int ts_x_origin;
- public int ts_y_origin;
- public int clip_x_origin;
- public int clip_y_origin;
- public int graphics_exposures;
- public int line_width;
- public int line_style;
- public int cap_style;
- public int join_style;
- public static final int sizeof = 84;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkRectangle.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkRectangle.java deleted file mode 100644 index 1dad9e7991..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkRectangle.java +++ /dev/null @@ -1,22 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkRectangle {
- public short x;
- public short y;
- public short width;
- public short height;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkVisual.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkVisual.java deleted file mode 100644 index 3b0630a614..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GdkVisual.java +++ /dev/null @@ -1,32 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GdkVisual {
- public int type;
- public int depth;
- public int byte_order;
- public int colormap_size;
- public int bits_per_rgb;
- public int red_mask;
- public int red_shift;
- public int red_prec;
- public int green_mask;
- public int green_shift;
- public int green_prec;
- public int blue_mask;
- public int blue_shift;
- public int blue_prec;
- public static final int sizeof = 56;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkAdjustment.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkAdjustment.java deleted file mode 100644 index b1a55987f6..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkAdjustment.java +++ /dev/null @@ -1,24 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkAdjustment extends GtkObject {
- public float lower;
- public float upper;
- public float value;
- public float step_increment;
- public float page_increment;
- public float page_size;
- public static final int sizeof = 40;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkAllocation.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkAllocation.java deleted file mode 100644 index fc264d98b2..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkAllocation.java +++ /dev/null @@ -1,22 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkAllocation {
- public short x;
- public short y;
- public short width;
- public short height;
- public static final int sizeof = 8;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkBin.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkBin.java deleted file mode 100644 index d408fc5b42..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkBin.java +++ /dev/null @@ -1,19 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkBin extends GtkContainer { - public int child; - public static final int sizeof = 64; -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkBox.java deleted file mode 100644 index f948c7e4fd..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkBox.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkBox extends GtkContainer {
- public int children;
- public short spacing;
- public int homogeneous;
- public static final int sizeof = 68;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCList.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCList.java deleted file mode 100644 index cb4843b18c..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCList.java +++ /dev/null @@ -1,74 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkCList extends GtkContainer { - public short clist_flags; - public int row_mem_chunk; - public int cell_mem_chunk; - public int freeze_count; - public short internal_allocation_x; - public short internal_allocation_y; - public short internal_allocation_width; - public short internal_allocation_height; - public int rows; - public int row_center_offset; - public int row_height; - public int row_list; - public int row_list_end; - public int columns; - public short column_title_area_x; - public short column_title_area_y; - public short column_title_area_width; - public short column_title_area_height; - public int title_window; - public int column; - public int clist_window; - public int clist_window_width; - public int clist_window_height; - public int hoffset; - public int voffset; - public int shadow_type; - public int selection_mode; - public int selection; - public int selection_end; - public int undo_selection; - public int undo_unselection; - public int undo_anchor; - public byte button_actions0; - public byte button_actions1; - public byte button_actions2; - public byte button_actions3; - public byte button_actions4; - public byte drag_button; - public int click_cell_row; - public int click_cell_column; - public int hadjustment; - public int vadjustment; - public int xor_gc; - public int fg_gc; - public int bg_gc; - public int cursor_drag; - public int x_drag; - public int focus_row; - public int anchor; - public int anchor_state; - public int drag_pos; - public int htimer; - public int vtimer; - public int sort_type; - public int compare; - public int sort_column; - public static final int sizeof = 252; -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCListColumn.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCListColumn.java deleted file mode 100644 index 818924d046..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCListColumn.java +++ /dev/null @@ -1,34 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkCListColumn {
- public int title;
- public short area_x;
- public short area_y;
- public short area_width;
- public short area_height;
- public int button;
- public int window;
- public int width;
- public int min_width;
- public int max_width;
- public int justification;
- public int visible;
- public int width_set;
- public int resizeable;
- public int auto_resize;
- public int button_passive;
- public static final int sizeof = 40;
-} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCListRow.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCListRow.java deleted file mode 100644 index 73c9063ebd..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCListRow.java +++ /dev/null @@ -1,34 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkCListRow {
- public int cell;
- public int state;
- public short foreground_red;
- public short foreground_green;
- public short foreground_blue;
- public int foreground_pixel;
- public short background_red;
- public short background_green;
- public short background_blue;
- public int background_pixel;
- public int style;
- public int data;
- public int destroy; // bitfield: 1
- public int fg_set; // bitfield: 1
- public int bg_set; // bitfield: 1
- public int selectable; // bitfield: 1
- public static final int sizeof = 48;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCTree.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCTree.java deleted file mode 100644 index 7f6bb8ef21..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCTree.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkCTree extends GtkCList { - public int tree_indent; - public int tree_column; - public static final int sizeof = 276; -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCTreeRow.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCTreeRow.java deleted file mode 100644 index ce9e4d6b4f..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCTreeRow.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkCTreeRow extends GtkCListRow {
- public int parent;
- public int sibling;
- public int children;
- public int pixmap_closed;
- public int mask_closed;
- public int pixmap_opened;
- public int mask_opened;
- public short level;
- public int is_leaf; // bitfield: 1
- public int expanded; // bitfield: 1
- public static final int sizeof = 80;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCheckMenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCheckMenuItem.java deleted file mode 100644 index ce3c4db9b3..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCheckMenuItem.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkCheckMenuItem extends GtkMenuItem {
- public int active;
- public int always_show_toggle;
- public static final int sizeof = 88;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkColorSelectionDialog.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkColorSelectionDialog.java deleted file mode 100644 index b677e23d94..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkColorSelectionDialog.java +++ /dev/null @@ -1,24 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkColorSelectionDialog extends GtkWindow {
- public int colorsel;
- public int main_vbox;
- public int ok_button;
- public int reset_button;
- public int cancel_button;
- public int help_button;
- public static final int sizeof = 120;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCombo.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCombo.java deleted file mode 100644 index 2b44b570d1..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCombo.java +++ /dev/null @@ -1,32 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkCombo extends GtkHBox { - public int entry; - public int button; - public int popup; - public int popwin; - public int list; - public int entry_change_id; - public int list_change_id; - public int value_in_list; // bitfield : 1 - public int ok_if_empty; // bitfield : 1 - public int case_sensitive; // bitfield : 1 - public int use_arrows; // bitfield : 1 - public int use_arrows_always; // bitfield : 1 - public short current_button; - public int activate_id; - public static final int sizeof = 104; -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkContainer.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkContainer.java deleted file mode 100644 index 52cb47acf2..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkContainer.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkContainer extends GtkWidget { - public int focus_child; - public int border_width; - public int need_resize; - public int resize_mode; - public int resize_widgets; - public static final int sizeof = 60; -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkDialog.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkDialog.java deleted file mode 100644 index d4f2ddf603..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkDialog.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkDialog extends GtkWindow { - public int vbox; - public int action_area; - public static final int sizeof = 104; -} - diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkEditable.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkEditable.java deleted file mode 100644 index 8f2b772924..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkEditable.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkEditable extends GtkWidget { - public int current_pos; - public int selection_start_pos; - public int selection_end_pos; - public int has_selection; // bitfield : 1 - public int editable; // bitfield : 1 - public int visible; // bitfield : 1 - public int ic; - public int ic_attr; - public int clipboard_text; - public static final int sizeof = 76; -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFileSelection.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFileSelection.java deleted file mode 100644 index ebaf37d250..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFileSelection.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkFileSelection extends GtkWindow {
- public int dir_list;
- public int file_list;
- public int selection_entry;
- public int selection_text;
- public int main_vbox;
- public int ok_button;
- public int cancel_button;
- public int help_button;
- public int history_pulldown;
- public int history_menu;
- public int history_list;
- public int fileop_dialog;
- public int fileop_entry;
- public int fileop_file;
- public int cmpl_state;
- public int fileop_c_dir;
- public int fileop_del_file;
- public int fileop_ren_file;
- public int button_area;
- public int action_area;
- public static final int sizeof = 176;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFontSelectionDialog.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFontSelectionDialog.java deleted file mode 100644 index 09ee75981c..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFontSelectionDialog.java +++ /dev/null @@ -1,26 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkFontSelectionDialog extends GtkWindow {
- public int fontsel;
- public int main_vbox;
- public int action_area;
- public int ok_button;
- public int apply_button;
- public int cancel_button;
- public int dialog_width;
- public int auto_resize;
- public static final int sizeof = 132;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFrame.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFrame.java deleted file mode 100644 index 0541461e5b..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkFrame.java +++ /dev/null @@ -1,24 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkFrame extends GtkBin { - public int label; - public short shadow_type; - public short label_width; - public short label_height; - public float label_xalign; - public float label_yalign; - public static final int sizeof = 84; -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkHBox.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkHBox.java deleted file mode 100644 index 656601480a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkHBox.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkHBox extends GtkBox {
- public static final int sizeof = 68;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkItem.java deleted file mode 100644 index 80db35e791..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkItem.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkItem extends GtkBin {
- public static final int sizeof = 64;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkMenuItem.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkMenuItem.java deleted file mode 100644 index ed4542029e..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkMenuItem.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkMenuItem extends GtkItem {
- public int submenu;
- public int accelerator_signal;
- public int toggle_size;
- public int accelerator_width;
- public int show_toggle_indicator;
- public int show_submenu_indicator;
- public int submenu_placement;
- public int submenu_direction;
- public int right_justify;
- public int timer;
- public static final int sizeof = 84;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkObject.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkObject.java deleted file mode 100644 index 226d4a7d0c..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkObject.java +++ /dev/null @@ -1,22 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkObject { - public int klass; - public int flags; - public int ref_count; - public int object_data; - public static final int sizeof = 16; -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkRequisition.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkRequisition.java deleted file mode 100644 index 0c12fe44f0..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkRequisition.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkRequisition {
- public short width;
- public short height;
- public static final int sizeof = 4;
-}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkStyle.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkStyle.java deleted file mode 100644 index a07067261a..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkStyle.java +++ /dev/null @@ -1,112 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkStyle { - public int klass; - public int fg0_pixel; - public short fg0_red, fg0_green, fg0_blue; - public int fg1_pixel; - public short fg1_red, fg1_green, fg1_blue; - public int fg2_pixel; - public short fg2_red, fg2_green, fg2_blue; - public int fg3_pixel; - public short fg3_red, fg3_green, fg3_blue; - public int fg4_pixel; - public short fg4_red, fg4_green, fg4_blue; - public int bg0_pixel; - public short bg0_red, bg0_green, bg0_blue; - public int bg1_pixel; - public short bg1_red, bg1_green, bg1_blue; - public int bg2_pixel; - public short bg2_red, bg2_green, bg2_blue; - public int bg3_pixel; - public short bg3_red, bg3_green, bg3_blue; - public int bg4_pixel; - public short bg4_red, bg4_green, bg4_blue; - public int light0_pixel; - public short light0_red, light0_green, light0_blue; - public int light1_pixel; - public short light1_red, light1_green, light1_blue; - public int light2_pixel; - public short light2_red, light2_green, light2_blue; - public int light3_pixel; - public short light3_red, light3_green, light3_blue; - public int light4_pixel; - public short light4_red, light4_green, light4_blue; - public int dark0_pixel; - public short dark0_red, dark0_green, dark0_blue; - public int dark1_pixel; - public short dark1_red, dark1_green, dark1_blue; - public int dark2_pixel; - public short dark2_red, dark2_green, dark2_blue; - public int dark3_pixel; - public short dark3_red, dark3_green, dark3_blue; - public int dark4_pixel; - public short dark4_red, dark4_green, dark4_blue; - public int mid0_pixel; - public short mid0_red, mid0_green, mid0_blue; - public int mid1_pixel; - public short mid1_red, mid1_green, mid1_blue; - public int mid2_pixel; - public short mid2_red, mid2_green, mid2_blue; - public int mid3_pixel; - public short mid3_red, mid3_green, mid3_blue; - public int mid4_pixel; - public short mid4_red, mid4_green, mid4_blue; - public int text0_pixel; - public short text0_red, text0_green, text0_blue; - public int text1_pixel; - public short text1_red, text1_green, text1_blue; - public int text2_pixel; - public short text2_red, text2_green, text2_blue; - public int text3_pixel; - public short text3_red, text3_green, text3_blue; - public int text4_pixel; - public short text4_red, text4_green, text4_blue; - public int base0_pixel; - public short base0_red, base0_green, base0_blue; - public int base1_pixel; - public short base1_red, base1_green, base1_blue; - public int base2_pixel; - public short base2_red, base2_green, base2_blue; - public int base3_pixel; - public short base3_red, base3_green, base3_blue; - public int base4_pixel; - public short base4_red, base4_green, base4_blue; - public int black_pixel; - public short black_red, black_green, black_blue; - public int white_pixel; - public short white_red, white_green, white_blue; - public int font; - public int fg_gc0, fg_gc1, fg_gc2, fg_gc3, fg_gc4; - public int bg_gc0, bg_gc1, bg_gc2, bg_gc3, bg_gc4; - public int light_gc0, light_gc1, light_gc2, light_gc3, light_gc4; - public int dark_gc0, dark_gc1, dark_gc2, dark_gc3, dark_gc4; - public int mid_gc0, mid_gc1, mid_gc2, mid_gc3, mid_gc4; - public int text_gc0, text_gc1, text_gc2, text_gc3, text_gc4; - public int base_gc0, base_gc1, base_gc2, base_gc3, base_gc4; - public int black_gc; - public int white_gc; - public int bg_pixmap0, bg_pixmap1, bg_pixmap2, bg_pixmap3, bg_pixmap4, bg_pixmap5; - public int ref_count; - public int attach_count; - public int depth; - public int colormap; - public int engine; - public int engine_data; - public int rc_style; - public int styles; - public static final int sizeof = 652; -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkStyleClass.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkStyleClass.java deleted file mode 100644 index a086ab46fd..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkStyleClass.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkStyleClass {
- public int xthickness;
- public int ythickness;
- public static final int sizeof = 8;
-} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkText.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkText.java deleted file mode 100644 index fda4196346..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkText.java +++ /dev/null @@ -1,25 +0,0 @@ -package org.eclipse.swt.internal.gtk;
-
-/*
- * Copyright (c) IBM Corp. 2000, 2001. All rights reserved.
- *
- * The contents of this file are made available under the terms
- * of the GNU Lesser General Public License (LGPL) Version 2.1 that
- * accompanies this distribution (lgpl-v21.txt). The LGPL is also
- * available at http://www.gnu.org/licenses/lgpl.html. If the version
- * of the LGPL at http://www.gnu.org is different to the version of
- * the LGPL accompanying this distribution and there is any conflict
- * between the two license versions, the terms of the LGPL accompanying
- * this distribution shall govern.
- */
-
-public class GtkText extends GtkEditable {
- public int first_line_start_index;
- public int first_onscreen_hor_pixel;
- public int first_onscreen_ver_pixel;
- public int default_tab_width;
- public int cursor_pos_x;
- public int cursor_pos_y;
- public int cursor_virtual_x;
- public static final int sizeof = 244;
-} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkWidget.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkWidget.java deleted file mode 100644 index 405fbeb6b2..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkWidget.java +++ /dev/null @@ -1,31 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkWidget extends GtkObject { - public short private_flags; - public byte state; - public byte saved_state; - public int name; - public int style; - public short req_width; - public short req_height; - public short alloc_x; - public short alloc_y; - public short alloc_width; - public short alloc_height; - public int window; - public int parent; - public static final int sizeof = 48; -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkWindow.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkWindow.java deleted file mode 100644 index 152dc729f1..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkWindow.java +++ /dev/null @@ -1,33 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -public class GtkWindow extends GtkBin { - public int title; - public int wmclass_name; - public int wmclass_class; - public int type; - public int focus_widget; - public int default_widget; - public int transient_parent; - public short resize_count; - public int allow_shrink; - public int allow_grow; - public int auto_shrink; - public int handling_resize; - public int position; - public int use_uposition; - public int modal; - public static final int sizeof = 96; -} diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java deleted file mode 100644 index 2433905716..0000000000 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java +++ /dev/null @@ -1,663 +0,0 @@ -package org.eclipse.swt.internal.gtk; - -/* - * Copyright (c) IBM Corp. 2000, 2001. All rights reserved. - * - * The contents of this file are made available under the terms - * of the GNU Lesser General Public License (LGPL) Version 2.1 that - * accompanies this distribution (lgpl-v21.txt). The LGPL is also - * available at http://www.gnu.org/licenses/lgpl.html. If the version - * of the LGPL at http://www.gnu.org is different to the version of - * the LGPL accompanying this distribution and there is any conflict - * between the two license versions, the terms of the LGPL accompanying - * this distribution shall govern. - */ - -import org.eclipse.swt.internal.Library; - -public class OS { - static { - Library.loadLibrary("swt-pi"); - } - - - public static final int GDK_NONE = 0; - - /* For Display.KeyTable: */ - /* Keyboard and mouse masks */ - public static final int GDK_Alt_L = 0xFFE9; - public static final int GDK_Alt_R = 0xFFEA; - public static final int GDK_Shift_L = 0xFFE1; - public static final int GDK_Shift_R = 0xFFE2; - public static final int GDK_Control_L = 0xFFE3; - public static final int GDK_Control_R = 0xFFE4; - /* Non-numeric keypad constants */ - public static final int GDK_Up = 0xFF52; - public static final int GDK_Down = 0xFF54; - public static final int GDK_Left = 0xFF51; - public static final int GDK_Right = 0xFF53; - public static final int GDK_Page_Up = 0xFF55; - public static final int GDK_Page_Down = 0xFF56; - public static final int GDK_Home = 0xFF50; - public static final int GDK_End = 0xFF57; - public static final int GDK_Insert = 0xFF63; - public static final int GDK_Delete = 0xFFFF; - /* Functions Keys */ - public static final int GDK_F1 = 0xFFBE; - public static final int GDK_F2 = 0xFFBF; - public static final int GDK_F3 = 0xFFC0; - public static final int GDK_F4 = 0xFFC1; - public static final int GDK_F5 = 0xFFC2; - public static final int GDK_F6 = 0xFFC3; - public static final int GDK_F7 = 0xFFC4; - public static final int GDK_F8 = 0xFFC5; - public static final int GDK_F9 = 0xFFC6; - public static final int GDK_F10 = 0xFFC7; - public static final int GDK_F11 = 0xFFC8; - public static final int GDK_F12 = 0xFFC9; - public static final int GDK_Return = 0xFF0D; - /* Numeric Keypad */ - public static final int GDK_KP_Add = 0xFFAB; - public static final int GDK_KP_Subtract = 0xFFAD; - public static final int GDK_KP_Multiply = 0xFFAA; - public static final int GDK_KP_Divide = 0xFFAF; - public static final int GDK_KP_Enter = 0xFF8D; - public static final int GDK_KP_Decimal = 0xFFAE; - public static final int GDK_KP_0 = 0xFFB0; - public static final int GDK_KP_1 = 0xFFB1; - public static final int GDK_KP_2 = 0xFFB2; - public static final int GDK_KP_3 = 0xFFB3; - public static final int GDK_KP_4 = 0xFFB4; - public static final int GDK_KP_5 = 0xFFB5; - public static final int GDK_KP_6 = 0xFFB6; - public static final int GDK_KP_7 = 0xFFB7; - public static final int GDK_KP_8 = 0xFFB8; - public static final int GDK_KP_9 = 0xFFB9; - - public static final int GDK_FONT_FONT = 0; - public static final int GDK_FONT_FONTSET = 1; - public static final int GDK_COPY = 0; - public static final int GDK_INVERT = 1; - public static final int GDK_XOR = 2; - public static final int GDK_STIPPLED = 2; - public static final int GDK_LINE_SOLID = 0; - public static final int GDK_LINE_ON_OFF_DASH = 1; - public static final int GDK_LINE_DOUBLE_DASH = 2; - public static final int GDK_CAP_BUTT = 1; - public static final int GDK_JOIN_MITER = 0; - public static final int GDK_X_CURSOR = 0; - public static final int GDK_BOTTOM_LEFT_CORNER = 12; - public static final int GDK_BOTTOM_RIGHT_CORNER = 14; - public static final int GDK_BOTTOM_SIDE = 16; - public static final int GDK_CROSS = 30; - public static final int GDK_DIAMOND_CROSS = 36; - public static final int GDK_DOUBLE_ARROW = 42; - public static final int GDK_HAND1 = 58; - public static final int GDK_LEFT_PTR = 68; - public static final int GDK_LEFT_SIDE = 70; - public static final int GDK_QUESTION_ARROW = 92; - public static final int GDK_RIGHT_PTR = 94; - public static final int GDK_RIGHT_SIDE = 96; - public static final int GDK_SB_H_DOUBLE_ARROW = 108; - public static final int GDK_SB_UP_ARROW = 114; - public static final int GDK_SB_V_DOUBLE_ARROW = 116; - public static final int GDK_SIZING = 120; - public static final int GDK_TOP_LEFT_CORNER = 134; - public static final int GDK_TOP_RIGHT_CORNER = 136; - public static final int GDK_TOP_SIDE = 138; - public static final int GDK_WATCH = 150; - public static final int GDK_XTERM = 152; - public static final int GDK_CURSOR_IS_PIXMAP = -1; - public static final int GDK_MOTION_NOTIFY = 3; - public static final int GDK_BUTTON_PRESS = 4; - public static final int GDK_2BUTTON_PRESS = 5; - public static final int GDK_3BUTTON_PRESS = 6; - public static final int GDK_BUTTON_RELEASE = 7; - public static final int GDK_KEY_PRESS = 8; - public static final int GDK_KEY_RELEASE = 9; - public static final int GDK_NO_EXPOSE = 30; - public static final int GDK_EXPOSURE_MASK = 1 << 1; - public static final int GDK_POINTER_MOTION_MASK = 1 << 2; - public static final int GDK_POINTER_MOTION_HINT_MASK = 1 << 3; - public static final int GDK_BUTTON_MOTION_MASK = 1 << 4; - public static final int GDK_BUTTON1_MOTION_MASK = 1 << 5; - public static final int GDK_BUTTON2_MOTION_MASK = 1 << 6; - public static final int GDK_BUTTON3_MOTION_MASK = 1 << 7; - public static final int GDK_BUTTON_PRESS_MASK = 1 << 8; - public static final int GDK_BUTTON_RELEASE_MASK = 1 << 9; - public static final int GDK_KEY_PRESS_MASK = 1 << 10; - public static final int GDK_KEY_RELEASE_MASK = 1 << 11; - public static final int GDK_ENTER_NOTIFY_MASK = 1 << 12; - public static final int GDK_LEAVE_NOTIFY_MASK = 1 << 13; - public static final int GDK_FOCUS_CHANGE_MASK = 1 << 14; - public static final int GDK_SHIFT_MASK = 1 << 0; - public static final int GDK_LOCK_MASK = 1 << 1; - public static final int GDK_CONTROL_MASK = 1 << 2; - public static final int GDK_MOD1_MASK = 1 << 3; - public static final int GDK_BUTTON1_MASK = 1 << 8; - public static final int GDK_BUTTON2_MASK = 1 << 9; - public static final int GDK_BUTTON3_MASK = 1 << 10; - public static final int GDK_RELEASE_MASK = 1 << 13; - public static final int GDK_MODIFIER_MASK = 0x3fff; - public static final int GDK_INCLUDE_INFERIORS = 1; - public static final int GDK_DECOR_ALL = 1 << 0; - public static final int GDK_DECOR_BORDER = 1 << 1; - public static final int GDK_DECOR_RESIZEH = 1 << 2; - public static final int GDK_DECOR_TITLE = 1 << 3; - public static final int GDK_DECOR_MENU = 1 << 4; - public static final int GDK_DECOR_MINIMIZE = 1 << 5; - public static final int GDK_DECOR_MAXIMIZE = 1 << 6; - public static final int GDK_OVERLAP_RECTANGLE_IN = 0; - public static final int GDK_OVERLAP_RECTANGLE_OUT = 1; - public static final int GDK_OVERLAP_RECTANGLE_PART = 2; - public static final int GDK_RGB_DITHER_NONE = 0; - public static final int GDK_RGB_DITHER_NORMAL = 1; - public static final int GDK_RGB_DITHER_MAX = 2; - public static final int GTK_ARROW_UP = 0; - public static final int GTK_ARROW_DOWN = 1; - public static final int GTK_ARROW_LEFT = 2; - public static final int GTK_ARROW_RIGHT = 3; - public static final int GTK_JUSTIFY_LEFT = 0; - public static final int GTK_JUSTIFY_RIGHT = 1; - public static final int GTK_JUSTIFY_CENTER = 2; - public static final int GTK_JUSTIFY_FILL = 3; - public static final int GTK_ORIENTATION_HORIZONTAL = 0; - public static final int GTK_ORIENTATION_VERTICAL = 1; - public static final int GTK_POLICY_ALWAYS = 0; - public static final int GTK_POLICY_AUTOMATIC = 1; // can't fix now - public static final int GTK_POLICY_NEVER = 2; - public static final int GTK_RELIEF_NORMAL = 0; -// public static final int GTK_RELIEF_HALF = 1; - public static final int GTK_RELIEF_NONE = 2; - public static final int GTK_SELECTION_SINGLE = 0; // extra code in Table, can't fix now - public static final int GTK_SELECTION_BROWSE = 1; - public static final int GTK_SELECTION_MULTIPLE = 2; - public static final int GTK_SELECTION_EXTENDED = 3; - public static final int GTK_SHADOW_NONE = 0; - public static final int GTK_SHADOW_IN = 1; - public static final int GTK_SHADOW_OUT = 2; - public static final int GTK_SHADOW_ETCHED_IN = 3; - public static final int GTK_SHADOW_ETCHED_OUT = 4; - public static final int GTK_STATE_NORMAL = 0; - public static final int GTK_STATE_ACTIVE = 1; - public static final int GTK_STATE_PRELIGHT = 2; - public static final int GTK_STATE_SELECTED = 3; - public static final int GTK_STATE_INSENSITIVE = 4; - public static final int GTK_TOP_BOTTOM = 0; - public static final int GTK_LEFT_RIGHT = 1; - public static final int GTK_TOOLBAR_ICONS = 0; - public static final int GTK_TOOLBAR_TEXT = 1; - public static final int GTK_TOOLBAR_BOTH = 2; - public static final int GTK_VISIBILITY_NONE = 0; - public static final int GTK_VISIBILITY_PARTIAL = 1; - public static final int GTK_VISIBILITY_FULL = 2; - public static final int GTK_WINDOW_TOPLEVEL = 0; - public static final int GTK_WINDOW_DIALOG = 1; - public static final int GTK_WINDOW_POPUP = 2; - public static final int GTK_ACCEL_VISIBLE = 1 << 0; - public static final int GTK_NO_WINDOW = 1 << 5; - public static final int GTK_MAPPED = 1 << 7; - public static final int GTK_VISIBLE = 1 << 8; - public static final int GTK_SENSITIVE = 1 << 9; - public static final int GTK_CAN_FOCUS = 1 << 11; - public static final int GTK_HAS_FOCUS = 1 << 12; - public static final int GTK_CLIST_SHOW_TITLES = 1 << 2; - public static final int GTK_PROGRESS_CONTINUOUS = 0; - public static final int GTK_PROGRESS_DISCRETE = 1; - public static final int GTK_PROGRESS_LEFT_TO_RIGHT = 0; - public static final int GTK_PROGRESS_RIGHT_TO_LEFT = 1; - public static final int GTK_PROGRESS_BOTTOM_TO_TOP = 2; - public static final int GTK_PROGRESS_TOP_TO_BOTTOM = 3; - public static final int GTK_TOOLBAR_CHILD_SPACE = 0; - public static final int GTK_TOOLBAR_CHILD_BUTTON = 1; - public static final int GTK_TOOLBAR_CHILD_TOGGLEBUTTON = 2; - public static final int GTK_TOOLBAR_CHILD_RADIOBUTTON = 3; - public static final int GTK_TOOLBAR_CHILD_WIDGET = 4; - - public static final int G_LOG_FLAG_RECURSION = 1 << 0; - public static final int G_LOG_FLAG_FATAL = 1 << 1; -// public static final int G_LOG_LEVEL_ERROR = 1 << 2; -// public static final int G_LOG_LEVEL_CRITICAL = 1 << 3; -// public static final int G_LOG_LEVEL_WARNING = 1 << 4; -// public static final int G_LOG_LEVEL_MESSAGE = 1 << 5; -// public static final int G_LOG_LEVEL_INFO = 1 << 6; -// public static final int G_LOG_LEVEL_DEBUG = 1 << 7; - public static final int G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL); - -public static final native int GTK_WIDGET_FLAGS(int wid); -public static final native void GTK_WIDGET_SET_FLAGS(int wid,int flag); -public static final native void GTK_WIDGET_UNSET_FLAGS(int wid,int flag); -public static final native boolean GTK_WIDGET_NO_WINDOW(int wid); -public static final native void gdk_rgb_init(); -public static final native boolean GTK_WIDGET_SENSITIVE(int wid); -public static final native boolean GTK_WIDGET_IS_SENSITIVE(int wid); -public static final native void memmove(GtkStyleClass dest, int src, int size); -public static final native void gtk_signal_handler_block_by_data(int object, int data); -public static final native void gtk_signal_handler_unblock_by_data(int object, int data); -public static final native int gtk_object_get_data_by_id(int object, int data_id); -public static final native void gtk_object_set_data_by_id(int object, int data_id, int data); -public static final native int g_quark_from_string(byte [] string); -public static final native void gtk_object_unref(int object); -public static final native void gtk_object_destroy(int object); -public static final native int GTK_WIDGET_TYPE(int wid); -public static final native int gtk_label_get_type(); -public static final native int g_log_set_handler(byte [] log_domain, int log_levels, int log_func, int user_data); -public static final native void g_log_remove_handler(byte [] log_domain, int handler_id); -public static final native void g_log_default_handler(int log_domain, int log_levels, int message, int unused_data); -public static final native int gtk_clist_row_is_visible(int clist, int row); -public static final native void gtk_ctree_post_recursive_to_depth(int ctree, int node, int depth, int func, int data); -public static final native void gtk_draw_check(int style, int window, int state_type, int shadow_type, int x, int y, int width, int height); - -public static final native void g_free(int mem); -public static final native int g_get_home_dir(); -public static final native int g_list_length(int list); -public static final native int g_list_nth(int list, int n); -public static final native int g_list_nth_data(int list, int n); -public static final native void g_list_free(int list); -public static final native int g_malloc(int size); -public static final native int g_list_append(int list, int data); -public static final native int g_slist_length(int list); -public static final native int g_slist_nth(int list, int n); -public static final native int g_slist_nth_data(int list, int n); -public static final native int g_strdup(byte[] str); -public static final native int gdk_colormap_get_system(); -public static final native void gdk_colors_free(int colormap, int[] pixels, int npixels, int planes); -public static final native boolean gdk_color_alloc(int colormap, GdkColor color); -public static final native int gdk_cursor_new(int cursor_type); -public static final native int gdk_bitmap_create_from_data(int window, byte[] data, int width, int height); -public static final native int gdk_cursor_new_from_pixmap(int source, int mask, GdkColor fg, GdkColor bg, int x, int y); -public static final native void gdk_cursor_destroy(int cursor); -public static final native int gdk_font_load(byte[] font_name); -public static final native int gdk_font_ref(int font); -public static final native void gdk_font_unref(int font); -public static final native boolean gdk_font_equal(int fonta, int fontb); -public static final native int gdk_char_width(int font, byte character); -public static final native void gdk_gc_get_values(int gc, GdkGCValues values); -public static final native void gdk_gc_set_font(int gc, int font); -public static final native void gdk_gc_set_foreground(int gc, GdkColor color); -public static final native void gdk_gc_set_background(int gc, GdkColor color); -public static final native void gdk_gc_set_clip_mask(int gc, int mask); -public static final native void gdk_gc_set_clip_rectangle(int gc, GdkRectangle rectangle); -public static final native void gdk_gc_set_clip_region(int gc, int region); -public static final native void gdk_gc_set_line_attributes(int gc, int line_width, int line_style, int cap_style, int join_style); -public static final native void gdk_gc_set_dashes(int gc, int dash_offset, byte[] dash_list, int n); -public static final native void gdk_gc_set_function(int gc, int function); -public static final native void gdk_draw_line(int drawable, int gc, int x1, int y1, int x2, int y2); -public static final native void gdk_draw_arc(int drawable, int gc, int filled, int x, int y, int width, int height, int angle1, int angle2); -public static final native void gdk_draw_rectangle(int drawable, int gc, int filled, int x, int y, int width, int height); -public static final native void gdk_draw_pixmap(int drawable, int gc, int src, int xsrc, int ysrc, int xdest, int ydest, int width, int height); -public static final native void gdk_draw_lines(int drawable, int gc, short[] points, int npoints); -public static final native void gdk_draw_polygon(int drawable, int gc, int filled, short[] points, int npoints); -public static final native void gdk_draw_string(int drawable, int font, int gc, int x, int y, byte[] string); -public static final native void gdk_gc_unref(int gc); -public static final native int gdk_gc_new(int window); -public static final native void gdk_gc_destroy(int gc); -public static final native void gdk_bitmap_unref(int pixmap); -public static final native boolean gdk_color_white(int colormap, GdkColor color); -public static final native int gdk_image_get(int window, int x, int y, int width, int height); -public static final native int gdk_image_get_pixel(int image, int x, int y); -public static final native void gdk_gc_set_exposures(int gc, boolean exposures); -public static final native int gdk_event_get_graphics_expose(int window); -public static final native void gdk_event_free(int event); -public static final native void gdk_flush(); -public static final native void gdk_beep(); -public static final native void gdk_color_free(GdkColor color); -public static final native int GDK_ROOT_PARENT(); -public static final native void gdk_gc_set_stipple(int gc, int stipple); -public static final native void gdk_gc_set_subwindow(int gc, int mode); -public static final native void gdk_gc_set_fill(int gc, int fill); -public static final native int gdk_atom_intern(byte[] atom_name, int only_if_exists); -public static final native int gdk_event_get(); -public static final native void gdk_pixmap_unref(int pixmap); -public static final native void gdk_region_get_clipbox(int region, GdkRectangle rectangle); -public static final native int gdk_region_new(); -public static final native int gdk_region_union_with_rect(int region, GdkRectangle rect); -public static final native int gdk_regions_subtract(int source1, int source2); -public static final native int gdk_regions_union(int source1, int source2); -public static final native void gdk_region_destroy(int region); -public static final native int gdk_pixmap_new(int window, int width, int height, int depth); -public static final native boolean gdk_region_point_in(int region, int x, int y); -public static final native boolean gdk_region_empty(int region); -public static final native boolean gdk_region_equal(int region1, int region2); -public static final native int gdk_screen_height(); -public static final native int gdk_screen_width(); -public static final native int gdk_region_rect_in(int region, GdkRectangle rect); -public static final native int gdk_visual_get_system(); -public static final native void gdk_string_extents(int font, byte[] string, int[] lbearing, int[] rbearing, int[] width, int[] ascent, int[] descent); -public static final native int gdk_string_height(int font, byte[] string); -public static final native int gdk_string_width(int font, byte[] string); -public static final native void gdk_window_copy_area(int window, int gc, int x, int y, int source_window, int source_x, int source_y, int width, int height); -public static final native void gdk_window_clear_area(int window, int x, int y, int width, int height); -public static final native void gdk_window_clear_area_e(int window, int x, int y, int width, int height); -public static final native void gdk_window_resize(int window, int width, int height); -public static final native void gdk_window_move (int window, int x, int y); -public static final native int gdk_window_at_pointer(int[] win_x, int[] win_y); -public static final native int gdk_time_get(); -public static final native int gdk_screen_width_mm(); -public static final native void gdk_window_get_geometry(int window, int[] x, int[] y, int[] width, int[] height, int[] depth); -public static final native void gdk_window_raise(int window); -public static final native void gdk_window_lower(int window); -public static final native int gdk_window_get_origin(int window, int[] x, int[] y); -public static final native int gdk_window_get_pointer(int window, int[] x, int[] y, int mask); -public static final native void gdk_window_set_cursor(int window, int cursor); -public static final native void gdk_window_set_icon(int window, int icon_window, int pixmap, int mask); -public static final native void gdk_window_set_user_data(int window, int user_data); -public static final native void gdk_window_show(int window); -public static final native void gdk_window_get_user_data(int window, int[] data); -public static final native void gdk_window_set_decorations(int window, int decorations); -public static final native int gtk_adjustment_new(float value, float lower, float upper, float step_increment, float page_increment, float page_size); -public static final native void gtk_adjustment_changed(int adjustment); -public static final native void gtk_adjustment_set_value(int adjustment, float value); -public static final native void gtk_adjustment_value_changed(int adjustment); -public static final native int gtk_accel_group_new(); -public static final native void gtk_accel_group_unref(int accel_group); -public static final native boolean gtk_accel_groups_activate(int accelGroup, int accelKey, int accelMods); // accelMods is one of GdkModifierType defined in gdk/gdktypes.h -public static final native int gtk_arrow_new(int arrow_type, int shadow_type); -public static final native void gtk_arrow_set(int arrow, int arrow_type, int shadow_type); -public static final native void gtk_box_pack_start(int box, int child, boolean expand, boolean fill, int padding); -public static final native void gtk_box_pack_end(int box, int child, boolean expand, boolean fill, int padding); -public static final native int gtk_button_new(); -public static final native int gtk_check_button_new(); -public static final native int gtk_check_version(int required_major, int required_minor, int required_micro); -public static final native int gtk_clist_append(int clist, int[] text); -public static final native void gtk_clist_clear(int clist); -public static final native int gtk_check_menu_item_new_with_label(byte[] label); -public static final native int gtk_button_new_with_label(byte[] label); -public static final native void gtk_clist_column_title_passive(int clist, int column); -public static final native void gtk_clist_column_titles_show(int clist); -public static final native void gtk_clist_column_titles_hide(int clist); -public static final native void gtk_clist_freeze(int clist); -public static final native void gtk_clist_get_pixtext(int clist, int row, int column, int[] text, int[] spacing, int[] pixmap, int[] mask); -public static final native void gtk_check_menu_item_set_show_toggle(int menu_item, boolean always); -public static final native void gtk_clist_column_titles_passive(int clist); -public static final native void gtk_check_menu_item_set_active(int check_menu_item, boolean is_active); -public static final native int gtk_clist_insert(int clist, int row, int[] text); -public static final native int gtk_clist_new(int columns); -public static final native void gtk_clist_set_selection_mode(int clist, int mode); -public static final native int gtk_clist_get_text(int clist, int row, int column, int[] text); -public static final native void gtk_clist_remove(int clist, int row); -public static final native void gtk_clist_select_row(int clist, int row, int column); -public static final native void gtk_clist_select_all(int clist); -public static final native void gtk_clist_moveto(int clist, int row, int column, float row_align, float col_align); -public static final native void gtk_clist_set_column_title(int clist, int column, byte[] title); -public static final native void gtk_clist_set_column_visibility(int clist, int column, boolean visible); -public static final native int gtk_clist_get_selection_info(int clist, int x, int y, int[] row, int[] column); -public static final native void gtk_clist_set_column_justification(int clist, int column, int justification); -public static final native void gtk_clist_set_column_resizeable(int clist, int column, boolean resizeable); -public static final native void gtk_clist_set_column_width(int clist, int column, int width); -public static final native void gtk_clist_set_pixtext(int clist, int row, int column, byte[] text, byte spacing, int pixmap, int mask); -public static final native void gtk_clist_set_pixmap(int clist, int row, int column, int pixmap, int mask); -public static final native void gtk_container_add(int container, int widget); -public static final native int gtk_container_children(int container); -public static final native int gtk_color_selection_dialog_new(byte[] title); -public static final native void gtk_color_selection_get_color(int colorsel, double[] color); -public static final native void gtk_color_selection_set_color(int colorsel, double[] color); -public static final native int gtk_combo_new(); -public static final native void gtk_combo_set_popdown_strings(int combo, int strings); -public static final native void gtk_clist_set_shadow_type(int clist, int type); -public static final native void gtk_clist_unselect_row(int clist, int row, int column); -public static final native void gtk_clist_unselect_all(int clist); -public static final native void gtk_clist_set_text(int clist, int row, int column, byte[] text); -public static final native void gtk_clist_thaw(int clist); -public static final native void gtk_container_remove(int container, int widget); -public static final native int gtk_ctree_new(int columns, int tree_column); -public static final native int gtk_ctree_insert_node(int ctree, int parent, int sibling, int[] text, byte spacing, int pixmap_closed, int mask_closed, int pixmap_opened, int mask_opened, boolean is_leaf, boolean expanded); -public static final native int gtk_ctree_node_get_row_data(int ctree, int node); -public static final native void gtk_ctree_expand(int ctree, int node); -public static final native boolean gtk_ctree_is_hot_spot(int ctree, int x, int y); -public static final native boolean gtk_ctree_is_viewable(int ctree, int node); -public static final native int gtk_ctree_node_get_row_style(int ctree, int node); -public static final native void gtk_ctree_collapse(int ctree, int node); -public static final native int gtk_ctree_get_node_info(int ctree, int node, int[] text, byte[] spacing, int[] pixmap_closed, int[] mask_closed, int[] pixmap_opened, int[] mask_opened, boolean[] is_leaf, boolean[] expanded); -public static final native void gtk_ctree_node_set_row_data(int ctree, int node, int data); -public static final native void gtk_ctree_select(int ctree, int node); -public static final native int gtk_ctree_node_nth(int ctree, int row); -public static final native void gtk_ctree_select_recursive(int ctree, int node); -public static final native void gtk_ctree_unselect_recursive(int ctree, int node); -public static final native void gtk_ctree_post_recursive(int ctree, int node, int func, int data); -public static final native void gtk_ctree_remove_node(int ctree, int node); -public static final native int gtk_ctree_node_is_visible(int ctree, int node); -public static final native void gtk_ctree_node_moveto(int ctree, int node, int column, float row_align, float col_align); -public static final native void gtk_ctree_set_node_info(int ctree, int node, byte[] text, byte spacing, int pixmap_closed, int mask_closed, int pixmap_opened, int mask_opened, boolean is_leaf, boolean expanded); -public static final native int gtk_drawing_area_new(); -public static final native int gtk_dialog_new(); -public static final native int gtk_event_box_new(); -public static final native int gtk_editable_get_position(int editable); -public static final native void gtk_editable_set_position(int editable, int position); -public static final native int gtk_fixed_new(); -public static final native void gtk_entry_set_editable(int entry, boolean editable); -public static final native void gtk_fixed_put(int fixed, int widget, short x, short y); -public static final native int gtk_entry_get_text(int entry); -public static final native void gtk_entry_set_text(int entry, byte[] text); -public static final native void gtk_editable_select_region(int editable, int start, int end); -public static final native void gtk_editable_delete_text(int editable, int start_pos, int end_pos); -public static final native void gtk_editable_insert_text(int editable, byte[] new_text, int new_text_length, int[] position); -public static final native void gtk_drawing_area_size(int darea, int width, int height); -public static final native int gtk_events_pending(); -public static final native int gtk_file_selection_get_filename(int filesel); -public static final native int gtk_file_selection_new(byte[] title); -public static final native void gtk_file_selection_set_filename(int filesel, byte[] filename); -public static final native void gtk_file_selection_complete(int filesel, byte[] pattern); -public static final native int gtk_font_selection_dialog_get_font_name(int fsd); -public static final native int gtk_font_selection_dialog_new(byte[] title); -public static final native boolean gtk_font_selection_dialog_set_font_name(int fsd, byte[] fontname); -public static final native void gtk_editable_set_editable(int editable, boolean is_editable); -public static final native boolean gtk_font_selection_set_font_name(int fontsel, byte[] fontname); -public static final native int gtk_entry_new(); -public static final native void gtk_entry_append_text(int entry, byte[] text); -public static final native void gtk_editable_delete_selection(int editable); -public static final native int gtk_editable_get_chars(int editable, int start_pos, int end_pos); -public static final native void gtk_entry_set_visibility(int entry, boolean visible); -public static final native void gtk_entry_set_max_length(int entry, short max); -public static final native void gtk_fixed_move(int fixed, int widget, short x, short y); -public static final native boolean gtk_init_check(int[] argc, int[] argv); -public static final native int gtk_frame_new(byte[] label); -public static final native void gtk_frame_set_shadow_type(int frame, int type); -public static final native void gtk_frame_set_label(int frame, byte[] label); -public static final native int gtk_hseparator_new(); -public static final native int gtk_hbox_new(boolean homogeneous, int spacing); -public static final native void gtk_grab_add(int widget); -public static final native int gtk_grab_get_current(); -public static final native void gtk_grab_remove(int widget); -public static final native int gtk_hscale_new(int adjustment); -public static final native int gtk_hscrollbar_new(int adjustment); -public static final native void gtk_label_set_justify(int label, int jtype); -public static final native int gtk_label_new(byte[] str); -public static final native void gtk_label_set_pattern(int label, byte[] pattern); -public static final native void gtk_main_quit(); -public static final native void gtk_main(); -public static final native void gtk_list_clear_items(int list, int start, int end); -public static final native void gtk_list_select_item(int list, int item); -public static final native int gtk_main_iteration(); -public static final native void gtk_label_set_line_wrap(int label, boolean wrap); -public static final native int gtk_label_parse_uline(int label, byte[] string); -public static final native void gtk_label_set_text(int label, byte[] str); -public static final native void gtk_misc_set_alignment(int misc, float xalign, float yalign); -public static final native int gtk_menu_bar_new(); -public static final native int gtk_menu_new(); -public static final native void gtk_menu_popdown(int menu); -public static final native void gtk_menu_popup(int menu, int parent_menu_shell, int parent_menu_item, int func, int data, int button, int activate_time); -public static final native int gtk_menu_item_new(); -public static final native int gtk_menu_item_new_with_label(byte[] label); -public static final native void gtk_menu_bar_insert(int menu_bar, int child, int position); -public static final native void gtk_menu_insert(int menu, int child, int position); -public static final native void gtk_menu_item_set_submenu(int menu_item, int submenu); -public static final native void gtk_menu_item_remove_submenu(int menu_item); -public static final native int gtk_notebook_new(); -public static final native void gtk_notebook_append_page(int notebook, int child, int tab_label); -public static final native int gtk_notebook_get_current_page(int notebook); -public static final native void gtk_object_ref(int object); -public static final native void gtk_notebook_set_show_tabs(int notebook, boolean show_tabs); -public static final native void gtk_notebook_remove_page(int notebook, int page_num); -public static final native void gtk_notebook_set_page(int notebook, int page_num); -public static final native void gtk_object_set_user_data(int object, int data); -public static final native int gtk_object_get_user_data(int object); -public static final native int gtk_pixmap_new(int pixmap, int mask); -public static final native int gtk_progress_bar_new(); -public static final native void gtk_progress_bar_set_orientation(int pbar, int orientation); -public static final native void gtk_progress_bar_set_bar_style(int pbar, int style); -public static final native void gtk_progress_configure(int progress, float value, float min, float max); -public static final native void gtk_pixmap_set(int pixmap, int val, int mask); -public static final native int gtk_radio_button_new(int group); -public static final native int gtk_radio_button_group(int radio_button); -public static final native int gtk_radio_menu_item_new_with_label(int group, byte[] label); -public static final native int gtk_range_get_adjustment(int range); -public static final native int gtk_scrolled_window_new(int hadjustment, int vadjustment); -public static final native void gtk_scale_set_digits(int scale, int digits); -public static final native void gtk_scale_set_draw_value(int scale, boolean draw_value); -public static final native void gtk_scale_set_value_pos(int scale, int pos); -public static final native int gtk_scrolled_window_get_hadjustment(int scrolled_window); -public static final native void gtk_scrolled_window_set_policy(int scrolled_window, int hscrollbar_policy, int vscrollbar_policy); -public static final native int gtk_scrolled_window_get_vadjustment(int scrolled_window); -public static final native int gtk_selection_convert(int widget, int selection, int target, int time); -public static final native int gtk_signal_connect(int object, byte[] name, int func, int func_data); -public static final native int gtk_selection_owner_set(int widget, int selection, int time); -public static final native void gtk_signal_emit_stop_by_name(int object, byte[] name); -public static final native void gtk_signal_handler_block_by_func(int object, int func, int data); -public static final native void gtk_signal_handler_unblock_by_func(int object, int func, int data); -public static final native int gtk_signal_connect_after(int object, byte[] name, int func, int func_data); -public static final native int gtk_style_copy(int style); -public static final native void gtk_style_unref(int style); -public static final native int gtk_toggle_button_new(); -public static final native void gtk_toggle_button_set_active(int toggle_button, boolean is_active); -public static final native boolean gtk_toggle_button_get_active(int toggle_button); -public static final native int gtk_timeout_add(int interval, int function, int data); -public static final native void gtk_timeout_remove(int timeout_handler_id); -public static final native int gtk_text_new(int hadj, int vadj); -public static final native void gtk_text_set_word_wrap(int text, int word_wrap); -public static final native int gtk_text_get_length(int text); -public static final native int gtk_toolbar_new(int orientation, int style); -public static final native void gtk_toolbar_set_button_relief(int toolbar, int relief); -public static final native void gtk_toolbar_insert_widget(int toolbar, int widget, byte[] tooltip_text, byte[] tooltip_private_text, int position); -public static final native void gtk_toolbar_set_orientation(int toolbar, int orientation); -public static final native int gtk_toolbar_insert_element(int toolbar, int type, int widget, byte[] text, byte[] tooltip_text, byte[] tooltip_private_text, int icon, int callback, int user_data, int position); -public static final native int gtk_tooltips_new(); -public static final native int gtk_vseparator_new(); -public static final native int gtk_vbox_new(boolean homogeneous, int spacing); -public static final native int gtk_vscale_new(int adjustment); -public static final native int gtk_vscrollbar_new(int adjustment); -public static final native void gtk_tooltips_set_tip(int tooltips, int widget, byte[] tip_text, byte[] tip_private); -public static final native int gtk_widget_get_default_style(); -public static final native void gtk_widget_add_events(int widget, int events); -public static final native void gtk_widget_destroy(int widget); -public static final native int gtk_widget_event(int widget, int event); -public static final native void gtk_widget_hide(int widget); -public static final native void gtk_widget_grab_focus(int widget); -public static final native int gtk_widget_get_style(int widget); -public static final native void gtk_widget_add_accelerator(int widget, byte[] accel_signal, int accel_group, int accel_key, int accel_mods, int accel_flags); -public static final native void gtk_widget_ensure_style(int widget); -public static final native void gtk_widget_show(int widget); -public static final native void gtk_widget_realize(int widget); -static int malloc(String name) { - int length = name.length(); - char [] unicode = new char [length]; - name.getChars (0, length, unicode, 0); - byte[] buffer = new byte [length + 1]; - for (int i = 0; i < length; i++) { - buffer[i] = (byte) unicode[i]; - } - return OS.g_strdup (buffer); -} - -public static final native void gtk_widget_show_all(int widget); -public static final native void gtk_widget_show_now(int widget); -public static final native void gtk_widget_queue_draw(int widget); -public static final native void gtk_widget_set_style(int widget, int style); -public static final native void gtk_widget_set_sensitive(int widget, boolean sensitive); -public static final native void gtk_widget_set_state(int widget, int state); -public static final native int gtk_window_new(int type); -public static final native void gtk_widget_size_request(int widget, GtkRequisition requisition); -public static final native void gtk_widget_set_uposition(int widget, int x, int y); -public static final native void gtk_widget_set_usize(int widget, int width, int height); -public static final native void gtk_widget_remove_accelerator(int widget, int accel_group, int accel_key, int accel_mods); -public static final native void gtk_widget_set_parent(int widget, int parent); -public static final native void gtk_window_add_accel_group(int window, int accel_group); -public static final native void gtk_window_set_policy(int window, int allow_shrink, int allow_grow, int auto_shrink); -public static final native void gtk_window_set_modal(int window, boolean modal); -public static final native void gtk_window_set_title(int window, byte[] title); -public static final native void gtk_window_set_transient_for(int window, int parent); -public static final native void gtk_widget_reparent(int widget, int new_parent); -public static final native void gtk_widget_size_allocate(int widget, GtkAllocation allocation); -public static final native int XListFonts(byte[] pattern, int maxFonts, int[] pnum_fonts); -public static final native void memmove(int[] dest, int src, int size); -public static final native int strlen (int str); - -/* NEW MEMMOVES - doesn't work because of inheritance of natives */ -public static final native void memmove(byte[] dest, int src, int size); -public static final native void memmove(int dest, GtkStyle src, int size); -public static final native void memmove(GdkFont dest, int src, int size); -public static final native void memmove(GtkStyle dest, int src, int size); -public static final native void memmove(int[] dest, byte[] src, int size); -public static final native void memmove(int dest, byte[] src, int size); -public static final native void memmove(GdkColor dest, int src, int size); -public static final native void memmove(GdkEventButton dest, int src, int size); -public static final native void memmove(GdkEventExpose dest, int src, int size); -public static final native void memmove(GdkEventKey dest, int src, int size); -public static final native void memmove(GdkEventMotion dest, int src, int size); -public static final native void memmove(int dest, int[] src, int size); -public static final native void memmove(GdkVisual dest, int src, int size); -public static final native void memmove(GtkAdjustment dest, int src, int size); -public static final native void memmove(GtkBin dest, int src, int size); -public static final native void memmove(GtkCList dest, int src, int size); -public static final native void memmove(GtkCombo dest, int src, int size); -public static final native void memmove(GtkContainer dest, int src, int size); -public static final native void memmove(GtkCTreeRow dest, int src, int size); -public static final native void memmove(GtkEditable dest, int src, int size); -public static final native void memmove(GtkDialog dest, int src, int size); -public static final native void memmove(GtkObject dest, int src, int size); -public static final native void memmove(GtkWidget dest, int src, int size); -public static final native void memmove(int dest, GtkAdjustment src, int size); -public static final native void memmove(int dest, GtkBin src, int size); -public static final native void memmove(int dest, GtkCListColumn src, int size); -public static final native void memmove(GtkCListRow dest, int src, int size); -public static final native void memmove(GtkCListColumn dest, int src, int size); -public static final native void memmove(int dest, GtkEditable src, int size); -public static final native void memmove(int dest, GtkText src, int size); -public static final native void memmove(int dest, GtkObject src, int size); - -/* OLD MEMMOVES - these need to be pruned */ -public static final native void memmove(int dest, GdkColor src, int size); -public static final native void memmove(int dest, GdkEventButton src, int size); -public static final native void memmove(int dest, GdkEventExpose src, int size); -public static final native void memmove(int dest, GdkEventKey src, int size); -public static final native void memmove(int dest, GdkEventMotion src, int size); -public static final native void memmove(int dest, GdkGCValues src, int size); -public static final native void memmove(int dest, GdkRectangle src, int size); -public static final native void memmove(int dest, GdkVisual src, int size); -public static final native void memmove(int dest, GtkAllocation src, int size); -//public static final native void memmove(int dest, GtkArg src, int size); -public static final native void memmove(int dest, GtkBox src, int size); -public static final native void memmove(int dest, GtkCList src, int size); -public static final native void memmove(int dest, GtkCListRow src, int size); -public static final native void memmove(int dest, GtkCTreeRow src, int size); -public static final native void memmove(int dest, GtkCheckMenuItem src, int size); -public static final native void memmove(int dest, GtkColorSelectionDialog src, int size); -public static final native void memmove(int dest, GtkCombo src, int size); -public static final native void memmove(int dest, GtkContainer src, int size); -//public static final native void memmove(int dest, GtkData src, int size); -public static final native void memmove(int dest, GtkFileSelection src, int size); -public static final native void memmove(int dest, GtkFontSelectionDialog src, int size); -public static final native void memmove(int dest, GtkHBox src, int size); -public static final native void memmove(int dest, GtkMenuItem src, int size); -public static final native void memmove(int dest, GtkRequisition src, int size); -public static final native void memmove(int dest, GtkWidget src, int size); -public static final native void memmove(int dest, GtkWindow src, int size); -public static final native void memmove(int dest, GtkCTree src, int size); -public static final native void memmove(GdkGCValues dest, int src, int size); -public static final native void memmove(GdkRectangle dest, int src, int size); -public static final native void memmove(GtkAllocation dest, int src, int size); -//public static final native void memmove(GtkArg dest, int src, int size); -public static final native void memmove(GtkBox dest, int src, int size); -public static final native void memmove(GtkCheckMenuItem dest, int src, int size); -public static final native void memmove(GtkColorSelectionDialog dest, int src, int size); -//public static final native void memmove(GtkData dest, int src, int size); -public static final native void memmove(GtkFrame dest, int src, int size); -public static final native void memmove(GtkFileSelection dest, int src, int size); -public static final native void memmove(GtkFontSelectionDialog dest, int src, int size); -public static final native void memmove(GtkHBox dest, int src, int size); -public static final native void memmove(GtkMenuItem dest, int src, int size); -public static final native void memmove(GtkRequisition dest, int src, int size); -public static final native void memmove(GtkText dest, int src, int size); -public static final native void memmove(GtkWindow dest, int src, int size); -public static final native void memmove(GtkCTree dest, int src, int size); -} |