summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scale.java
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2002-09-20 20:56:21 +0000
committerSilenio Quarti <silenio>2002-09-20 20:56:21 +0000
commit625d7442af2e067cc40f25eb22b19ef7acd83ba7 (patch)
tree05f42aebe86d80bf7976156c68e8e7e255f8e76d /bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scale.java
parentff7a7565646414b3418637259a20a7e8cc0d7d33 (diff)
downloadeclipse.platform.swt-625d7442af2e067cc40f25eb22b19ef7acd83ba7.tar.gz
eclipse.platform.swt-625d7442af2e067cc40f25eb22b19ef7acd83ba7.tar.xz
eclipse.platform.swt-625d7442af2e067cc40f25eb22b19ef7acd83ba7.zip
23807 + 23753
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scale.java')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scale.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scale.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scale.java
index aa775c6881..255b070a8f 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scale.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scale.java
@@ -141,6 +141,11 @@ void createHandle (int index) {
if (handle == 0) error (SWT.ERROR_NO_HANDLES);
}
+byte [] defaultFont () {
+ Display display = getDisplay ();
+ return display.GAUGE_FONT;
+}
+
/**
* Returns the amount that the receiver's value will be
* modified by when the up/down (or right/left) arrows