summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-05-14 14:34:58 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-05-14 14:34:58 +0200
commitbb280894c14b9dbf7747a97fcd78714628100fd8 (patch)
treec2706f043ac97916759d6ae161576bab93e1912a /test
parentc93fd2cf018184a1d2fc83977a84a29319af0dd1 (diff)
downloadgdx-boardgame-bb280894c14b9dbf7747a97fcd78714628100fd8.zip
gdx-boardgame-bb280894c14b9dbf7747a97fcd78714628100fd8.tar.gz
UI : tainted -> dirty + audit clean up all
Diffstat (limited to 'test')
-rw-r--r--test/src/ch/asynk/gdx/boardgame/test/UiScreen.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java b/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java
index bdd8b88..ef153aa 100644
--- a/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java
+++ b/test/src/ch/asynk/gdx/boardgame/test/UiScreen.java
@@ -155,6 +155,7 @@ class MyButton extends Button
@Override public void computePosition()
{
super.computePosition();
+ System.err.println("call to label.write(…)");
label.write(String.format("%04d;%04d", (int)getX(), (int)getY()));
}
}
@@ -224,7 +225,7 @@ class MyList extends Patch
@Override public void draw(Batch batch)
{
if (!visible) return;
- if (tainted) computeGeometry();
+ if (dirty) computeGeometry();
super.draw(batch);
title.draw(batch);
scrollable.draw(batch);