refactor
[nikiroo-utils.git] / src / jexer / backend / Screen.java
index 2a71073176a6608b3a35d0740855e187c746d0e0..f1f42db34e6f90e2734b71ba43259fc9feed262f 100644 (file)
@@ -409,4 +409,24 @@ public interface Screen {
      */
     public int getTextHeight();
 
+    /**
+     * Invert the cell color at a position, including both halves of a
+     * double-width cell.
+     *
+     * @param x column position
+     * @param y row position
+     */
+    public void invertCell(final int x, final int y);
+
+    /**
+     * Invert the cell color at a position.
+     *
+     * @param x column position
+     * @param y row position
+     * @param onlyThisCell if true, only invert this cell, otherwise invert
+     * both halves of a double-width cell if necessary
+     */
+    public void invertCell(final int x, final int y,
+        final boolean onlyThisCell);
+
 }