Enable deserializing widget definitions in :engine
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.bartlomiejpluta.base.api.game.gui.base;
|
||||
|
||||
import com.bartlomiejpluta.base.api.game.gui.component.Component;
|
||||
import com.bartlomiejpluta.base.api.game.input.KeyEventHandler;
|
||||
import com.bartlomiejpluta.base.api.internal.gc.Disposable;
|
||||
import com.bartlomiejpluta.base.api.internal.render.Renderable;
|
||||
@@ -20,6 +21,8 @@ public interface GUI extends Renderable, Disposable, KeyEventHandler {
|
||||
int IMAGE_PREMULTIPLIED = 1 << 4;
|
||||
int IMAGE_NEAREST = 1 << 5;
|
||||
|
||||
Component inflateComponent(String widgetUid);
|
||||
|
||||
Widget getRoot();
|
||||
|
||||
void setRoot(Widget root);
|
||||
|
||||
Reference in New Issue
Block a user