X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fcomponents%2Fgui%2FBasicGUIComponent.java;h=47479b172bba3a822d06aeedf9a85b729830b637;hb=2b0da6fe9cf595da828ad4465b2a16aa7509b180;hp=db586a235dffac7838a6d169362760f3fe122f41;hpb=d98fa021857cfc7918b206b98fe66065450d9cf1;p=Mograsim.git diff --git a/LogicUI/src/era/mi/components/gui/BasicGUIComponent.java b/LogicUI/src/era/mi/components/gui/BasicGUIComponent.java index db586a23..47479b17 100644 --- a/LogicUI/src/era/mi/components/gui/BasicGUIComponent.java +++ b/LogicUI/src/era/mi/components/gui/BasicGUIComponent.java @@ -18,6 +18,7 @@ public interface BasicGUIComponent public Rectangle getBounds(); /** * Called when this component is clicked. Relative coordinates of the click are given. + * Returns true if this component has to be redrawn. */ public default boolean clicked(double x, double y) {