|
|
@ -6,6 +6,8 @@ import java.util.HashMap; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.TreeSet; |
|
|
|
import java.util.TreeSet; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.newdawn.slick.opengl.GLUtils; |
|
|
|
|
|
|
|
|
|
|
|
import mightypork.gamecore.core.modules.AppAccess; |
|
|
|
import mightypork.gamecore.core.modules.AppAccess; |
|
|
|
import mightypork.gamecore.core.modules.AppModule; |
|
|
|
import mightypork.gamecore.core.modules.AppModule; |
|
|
|
import mightypork.gamecore.gui.events.LayoutChangeEvent; |
|
|
|
import mightypork.gamecore.gui.events.LayoutChangeEvent; |
|
|
@ -83,6 +85,8 @@ public class ScreenRegistry extends AppModule implements ScreenRequestListener, |
|
|
|
toShow.setActive(true); |
|
|
|
toShow.setActive(true); |
|
|
|
|
|
|
|
|
|
|
|
active = toShow; |
|
|
|
active = toShow; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fireLayoutUpdateEvent(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -110,7 +114,7 @@ public class ScreenRegistry extends AppModule implements ScreenRequestListener, |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void onViewportChanged(ViewportChangeEvent event) |
|
|
|
public void onViewportChanged(ViewportChangeEvent event) |
|
|
|
{ |
|
|
|
{ |
|
|
|
fireLayoutUpdateEvent(); |
|
|
|
if(active != null) fireLayoutUpdateEvent(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|