diff options
author | Bogdan Gheorghe <gheorghe> | 2007-08-17 21:48:24 +0000 |
---|---|---|
committer | Bogdan Gheorghe <gheorghe> | 2007-08-17 21:48:24 +0000 |
commit | 28aa455ae3ab9d2b8c756bcae7568a88b06cc8eb (patch) | |
tree | 8d93b2622f436723ce446f1579e79ea359453060 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java | |
parent | 5d5d6c8770a1d46c82c940b44d6a2e4884862a10 (diff) | |
download | eclipse.platform.swt-28aa455ae3ab9d2b8c756bcae7568a88b06cc8eb.tar.gz eclipse.platform.swt-28aa455ae3ab9d2b8c756bcae7568a88b06cc8eb.tar.xz eclipse.platform.swt-28aa455ae3ab9d2b8c756bcae7568a88b06cc8eb.zip |
200083 Support BIDI on Linux GTK
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java index 6cd8180e42..0e25896873 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java @@ -595,6 +595,15 @@ public void setMinimum (int value) { OS.g_signal_handlers_unblock_matched (adjustmentHandle, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, VALUE_CHANGED); } +void setOrientation () { + super.setOrientation (); + if ((parent.style & SWT.MIRRORED) != 0) { + if ((style & SWT.HORIZONTAL) != 0) { + OS.gtk_range_set_inverted (handle, true); + } + } +} + /** * Sets the amount that the receiver's value will be * modified by when the page increment/decrement areas |