draggable window
[fanfix.git] / src / jexer / TWidget.java
index 6312d087c84e12258a0d89db4e6624af9576f797..4d9e22ced4e628770657303343284d77c0566cac 100644 (file)
@@ -153,6 +153,15 @@ public abstract class TWidget {
      */
     private boolean hasCursor = false;
 
+    /**
+     * See if this widget has a visible cursor.
+     *
+     * @return if true, this widget has a visible cursor
+     */
+    public final boolean visibleCursor() {
+        return hasCursor;
+    }
+
     /**
      * Cursor column position in relative coordinates.
      */