|
1 package org.eclipse.swt.animation.internal.qt; |
|
2 |
|
3 |
|
4 public final class OS { |
|
5 |
|
6 static { |
|
7 System.loadLibrary("swt-animations"); |
|
8 } |
|
9 |
|
10 // QAbstractAnimation |
|
11 public static final native void QAbstractAnimation_start(int handle); |
|
12 public static final native void QAbstractAnimation_stop(int handle) ; |
|
13 public static final native void QAbstractAnimation_setLoopCount(int handle, int repeatCount) ; |
|
14 public static final native int QAbstractAnimation_duration(int handle); |
|
15 |
|
16 // QPropertyAnimation |
|
17 public static final native int QPropertyAnimation_new(int parent); |
|
18 public static final native void QPropertyAnimation_setTargetObject(int handle, int target); |
|
19 public static final native void QPropertyAnimation_setPropertyName(int handle, String string); |
|
20 |
|
21 // QVariantAnimation |
|
22 public static final native void QVariantAnimation_setDuration(int handle, int duration); |
|
23 public static final native void QVariantAnimation_setEasingCurve(int handle, int interpolator) ; |
|
24 public static final native void QVariantAnimation_swt_setEndValuePoint(int handle, int x, int y) ; |
|
25 public static final native void QVariantAnimation_swt_setStartValuePoint(int propertyType, int x, int y); |
|
26 public static final native void QVariantAnimation_swt_setEndValueDouble(int handle, double doubleValue); |
|
27 public static final native void QVariantAnimation_swt_setStartValueDouble(int handle, double doubleValue); |
|
28 |
|
29 // QEasingCurve |
|
30 public static final native int QEasingCurve_new(int type) ; |
|
31 |
|
32 // QAnimationGroup |
|
33 public static final native void QAnimationGroup_addAnimation(int handle, int child); |
|
34 |
|
35 // QSequentialAnimationGroup |
|
36 public static final native int QSequentialAnimationGroup_new(int i) ; |
|
37 public static final native void QSequentialAnimationGroup_addPause(int handle, int msecs) ; |
|
38 |
|
39 // QParallelAnimationGroup |
|
40 public static final native int QParallelAnimationGroup_new(int i); |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 } |