summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java
diff options
context:
space:
mode:
authorChristophe Cornu <ccornu>2004-02-20 16:27:04 +0000
committerChristophe Cornu <ccornu>2004-02-20 16:27:04 +0000
commitfcc0c13a871cf20a18999921224b7590b83d7802 (patch)
treeb12a3659f1d7b55beb80e017b8713fcb64156c5b /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java
parent62fa8901ad710270f48c7ee890623da17bf1bfd8 (diff)
downloadeclipse.platform.swt-fcc0c13a871cf20a18999921224b7590b83d7802.tar.gz
eclipse.platform.swt-fcc0c13a871cf20a18999921224b7590b83d7802.tar.xz
eclipse.platform.swt-fcc0c13a871cf20a18999921224b7590b83d7802.zip
37775 - 64 bit /*long*/ markup
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.java10
1 files changed, 5 insertions, 5 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 19ebc24bfb..f473b013cc 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
@@ -285,7 +285,7 @@ public int getSelection () {
public Point getSize () {
checkWidget ();
int barHandle = 0;
- int scrolledHandle = parent.scrolledHandle;
+ int /*long*/ scrolledHandle = parent.scrolledHandle;
if ((style & SWT.HORIZONTAL) != 0) {
barHandle = OS.GTK_SCROLLED_WINDOW_HSCROLLBAR (scrolledHandle);
} else {
@@ -336,7 +336,7 @@ public int getThumb () {
*/
public boolean getVisible () {
checkWidget ();
- int scrolledHandle = parent.scrolledHandle;
+ int /*long*/ scrolledHandle = parent.scrolledHandle;
int [] hsp = new int [1], vsp = new int [1];
OS.gtk_scrolled_window_get_policy (scrolledHandle, hsp, vsp);
if ((style & SWT.HORIZONTAL) != 0) {
@@ -346,7 +346,7 @@ public boolean getVisible () {
}
}
-int gtk_value_changed (int adjustment) {
+int /*long*/ gtk_value_changed (int /*long*/ adjustment) {
postEvent (SWT.Selection);
return 0;
}
@@ -670,7 +670,7 @@ public void setValues (int selection, int minimum, int maximum, int thumb, int i
*/
public void setVisible (boolean visible) {
checkWidget ();
- int scrolledHandle = parent.scrolledHandle;
+ int /*long*/ scrolledHandle = parent.scrolledHandle;
int [] hsp = new int [1], vsp = new int [1];
OS.gtk_scrolled_window_get_policy (scrolledHandle, hsp, vsp);
int policy = visible ? OS.GTK_POLICY_ALWAYS : OS.GTK_POLICY_NEVER;
@@ -686,7 +686,7 @@ public void setVisible (boolean visible) {
/*
* Force the container to allocate the size of its children.
*/
- int parentHandle = parent.scrolledHandle;
+ int /*long*/ parentHandle = parent.scrolledHandle;
OS.gtk_container_resize_children (parentHandle);
parent.sendEvent (SWT.Resize);