From f842b59caa0b98c0c0e229ecb9f7c615650e50e8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 27 Nov 2011 17:24:29 +0100 Subject: NEWT: Add DriverUpdatePosition interface; Clarify NativeWindow API doc (position) DriverUpdatePosition: Interface tagging driver requirement of absolute positioning, ie. depend on parent position. --- src/newt/classes/jogamp/newt/driver/DriverClearFocus.java | 2 +- src/newt/classes/jogamp/newt/driver/DriverUpdatePosition.java | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/newt/classes/jogamp/newt/driver/DriverUpdatePosition.java (limited to 'src/newt/classes/jogamp') diff --git a/src/newt/classes/jogamp/newt/driver/DriverClearFocus.java b/src/newt/classes/jogamp/newt/driver/DriverClearFocus.java index 4d23c4ea8..0a824e83b 100644 --- a/src/newt/classes/jogamp/newt/driver/DriverClearFocus.java +++ b/src/newt/classes/jogamp/newt/driver/DriverClearFocus.java @@ -1,7 +1,7 @@ package jogamp.newt.driver; /** - * Interface tagging driver feature / requirement of clearing the focus. + * Interface tagging driver requirement of clearing the focus. *

* Some drivers require a programmatic {@link #clearFocus()} when traversing the focus. *

diff --git a/src/newt/classes/jogamp/newt/driver/DriverUpdatePosition.java b/src/newt/classes/jogamp/newt/driver/DriverUpdatePosition.java new file mode 100644 index 000000000..bb846c081 --- /dev/null +++ b/src/newt/classes/jogamp/newt/driver/DriverUpdatePosition.java @@ -0,0 +1,9 @@ +package jogamp.newt.driver; + +/** + * Interface tagging driver requirement of absolute positioning, ie. depend on parent position. + */ +public interface DriverUpdatePosition { + /** Programmatic update the position */ + void updatePosition(); +} -- cgit v1.2.3