Starting to redo inputs
This commit is contained in:
parent
4292ea266f
commit
8333e832a2
|
@ -3,8 +3,8 @@ package speiger.src.coreengine;
|
|||
import java.nio.file.Path;
|
||||
|
||||
import speiger.src.coreengine.application.Application;
|
||||
import speiger.src.coreengine.rendering.input.window.Window;
|
||||
import speiger.src.coreengine.rendering.input.window.WindowProvider;
|
||||
import speiger.src.coreengine.rendering.inputOld.window.Window;
|
||||
import speiger.src.coreengine.rendering.inputOld.window.WindowProvider;
|
||||
|
||||
public class Testing extends Application {
|
||||
public static void main(String... args) {
|
||||
|
|
|
@ -12,14 +12,14 @@ import speiger.src.collections.objects.utils.ObjectLists;
|
|||
import speiger.src.coreengine.assets.AssetManager;
|
||||
import speiger.src.coreengine.assets.base.IAssetPackage;
|
||||
import speiger.src.coreengine.assets.reloader.ResourceReloader;
|
||||
import speiger.src.coreengine.rendering.gui.GuiManager;
|
||||
import speiger.src.coreengine.rendering.gui.base.DebugOverlay;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.provider.FontManager;
|
||||
import speiger.src.coreengine.rendering.input.Keyboard;
|
||||
import speiger.src.coreengine.rendering.input.Mouse;
|
||||
import speiger.src.coreengine.rendering.input.camera.Camera;
|
||||
import speiger.src.coreengine.rendering.input.window.Window;
|
||||
import speiger.src.coreengine.rendering.input.window.WindowProvider;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiManager;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.DebugOverlay;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.provider.FontManager;
|
||||
import speiger.src.coreengine.rendering.inputOld.Keyboard;
|
||||
import speiger.src.coreengine.rendering.inputOld.Mouse;
|
||||
import speiger.src.coreengine.rendering.inputOld.camera.Camera;
|
||||
import speiger.src.coreengine.rendering.inputOld.window.Window;
|
||||
import speiger.src.coreengine.rendering.inputOld.window.WindowProvider;
|
||||
import speiger.src.coreengine.rendering.shaderOld.ProjectionBuffer;
|
||||
import speiger.src.coreengine.rendering.shaderOld.ShaderTracker;
|
||||
import speiger.src.coreengine.rendering.texturesOld.base.TextureManager;
|
||||
|
|
|
@ -6,7 +6,7 @@ import org.lwjgl.opengl.GL11;
|
|||
|
||||
import speiger.src.collections.objects.queues.ObjectArrayFIFOQueue;
|
||||
import speiger.src.collections.objects.queues.ObjectPriorityQueue;
|
||||
import speiger.src.coreengine.rendering.input.window.Window;
|
||||
import speiger.src.coreengine.rendering.inputOld.window.Window;
|
||||
import speiger.src.coreengine.rendering.utils.AllocationTracker;
|
||||
import speiger.src.coreengine.rendering.utils.GLStamper;
|
||||
import speiger.src.coreengine.rendering.utils.GLStamper.GLStamp;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package speiger.src.coreengine.application;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiManager;
|
||||
import speiger.src.coreengine.rendering.gui.base.DebugOverlay;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiManager;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.DebugOverlay;
|
||||
import speiger.src.coreengine.rendering.models.buffers.UniformBuffer;
|
||||
import speiger.src.coreengine.utils.collections.FlagHolder;
|
||||
import speiger.src.coreengine.utils.profiler.EmptyProfiler;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.newGui.animation;
|
||||
package speiger.src.coreengine.rendering.gui.animation;
|
||||
|
||||
public class GuiAnimation {
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.components.base.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.base.IInteractable;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
|
||||
public class TestComponent extends GuiComponent implements IInteractable {
|
||||
public TestComponent(IGuiBox box) {
|
||||
super(box);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() {}
|
||||
}
|
|
@ -1,12 +1,12 @@
|
|||
package speiger.src.coreengine.rendering.newGui.components.base;
|
||||
package speiger.src.coreengine.rendering.gui.components.base;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import speiger.src.collections.objects.lists.ObjectArrayList;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.newGui.layout.constraints.ConstraintContainer;
|
||||
import speiger.src.coreengine.rendering.newGui.renderer.IUIRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.layout.constraints.ConstraintContainer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.IUIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.utils.collections.CollectionUtils;
|
||||
import speiger.src.coreengine.utils.collections.FlagObject;
|
||||
import speiger.src.coreengine.utils.misc.ICastable;
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.newGui.components.base;
|
||||
package speiger.src.coreengine.rendering.gui.components.base;
|
||||
|
||||
import speiger.src.coreengine.rendering.newGui.renderer.IUIRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.IUIRenderer;
|
||||
|
||||
public interface IComponentRenderer<T extends GuiComponent> {
|
||||
public void renderComponent(T component, IUIRenderer renderer, int mouseX, int mouseY, float particalTicks);
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.newGui.components.base;
|
||||
package speiger.src.coreengine.rendering.gui.components.base;
|
||||
|
||||
public interface IInteractable
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.newGui.components.base;
|
||||
package speiger.src.coreengine.rendering.gui.components.base;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.newGui.components.base;
|
||||
package speiger.src.coreengine.rendering.gui.components.base;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
|
||||
public interface ILayoutComponent {
|
||||
public void calculateBounds(ILayoutScanner output);
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.newGui.components.base;
|
||||
package speiger.src.coreengine.rendering.gui.components.base;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.newGui.components.base;
|
||||
package speiger.src.coreengine.rendering.gui.components.base;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.BooleanSupplier;
|
||||
|
@ -7,7 +7,7 @@ import speiger.src.collections.ints.sets.IntOpenHashSet;
|
|||
import speiger.src.collections.ints.sets.IntSet;
|
||||
import speiger.src.collections.objects.lists.ObjectArrayList;
|
||||
import speiger.src.collections.objects.utils.ObjectLists;
|
||||
import speiger.src.coreengine.rendering.newGui.components.base.IInteractableContainer.IRecursiveInteractionContainer;
|
||||
import speiger.src.coreengine.rendering.gui.components.base.IInteractableContainer.IRecursiveInteractionContainer;
|
||||
|
||||
public class InteractionContainer implements IRecursiveInteractionContainer {
|
||||
List<IInteractable> children = new ObjectArrayList<>();
|
|
@ -1,10 +0,0 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.misc;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
|
||||
public interface ICheckBox<T extends GuiComponent>
|
||||
{
|
||||
public boolean isChecked();
|
||||
|
||||
public T setChecked(boolean value);
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
package speiger.src.coreengine.rendering.newGui.layout.constraints;
|
||||
package speiger.src.coreengine.rendering.gui.layout.constraints;
|
||||
|
||||
import speiger.src.coreengine.rendering.newGui.components.base.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.newGui.layout.constraints.IConstraint.Target;
|
||||
import speiger.src.coreengine.rendering.gui.components.base.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.layout.constraints.IConstraint.Target;
|
||||
|
||||
public class ConstraintContainer {
|
||||
private static final int CONSTRAINT_LENGTH = 4;
|
|
@ -1,10 +1,10 @@
|
|||
package speiger.src.coreengine.rendering.newGui.layout.constraints;
|
||||
package speiger.src.coreengine.rendering.gui.layout.constraints;
|
||||
|
||||
import java.util.function.BooleanSupplier;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.newGui.components.base.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.newGui.layout.constraints.IConstraint.ISimpleConstraint;
|
||||
import speiger.src.coreengine.rendering.gui.components.base.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.layout.constraints.IConstraint.ISimpleConstraint;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
|
||||
public class Constraints {
|
||||
public static record Pixels(float value, boolean inverted) implements ISimpleConstraint {
|
|
@ -1,14 +1,14 @@
|
|||
package speiger.src.coreengine.rendering.newGui.layout.constraints;
|
||||
package speiger.src.coreengine.rendering.gui.layout.constraints;
|
||||
|
||||
import java.util.function.BooleanSupplier;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.newGui.components.base.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.newGui.layout.constraints.Constraints.Center;
|
||||
import speiger.src.coreengine.rendering.newGui.layout.constraints.Constraints.Conditional;
|
||||
import speiger.src.coreengine.rendering.newGui.layout.constraints.Constraints.Parent;
|
||||
import speiger.src.coreengine.rendering.newGui.layout.constraints.Constraints.Pixels;
|
||||
import speiger.src.coreengine.rendering.newGui.layout.constraints.Constraints.Relative;
|
||||
import speiger.src.coreengine.rendering.gui.components.base.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.layout.constraints.Constraints.Center;
|
||||
import speiger.src.coreengine.rendering.gui.layout.constraints.Constraints.Conditional;
|
||||
import speiger.src.coreengine.rendering.gui.layout.constraints.Constraints.Parent;
|
||||
import speiger.src.coreengine.rendering.gui.layout.constraints.Constraints.Pixels;
|
||||
import speiger.src.coreengine.rendering.gui.layout.constraints.Constraints.Relative;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
|
||||
public interface IConstraint {
|
||||
public void apply(GuiComponent owner, GuiComponent child, Target target);
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.newGui.layout.layouts;
|
||||
package speiger.src.coreengine.rendering.gui.layout.layouts;
|
||||
|
||||
import speiger.src.coreengine.rendering.newGui.components.base.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.base.GuiComponent;
|
||||
|
||||
public interface ILayout {
|
||||
public default ILayout add(GuiComponent comp) { return add(comp, null); }
|
|
@ -1,7 +1,7 @@
|
|||
package speiger.src.coreengine.rendering.newGui.renderer;
|
||||
package speiger.src.coreengine.rendering.gui.renderer;
|
||||
|
||||
import speiger.src.coreengine.math.vector.quaternion.Quaternion;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
|
||||
public interface IUIRenderer {
|
||||
public boolean isInScissors(IGuiBox box);
|
|
@ -1,25 +1,25 @@
|
|||
package speiger.src.coreengine.rendering.gui;
|
||||
package speiger.src.coreengine.rendering.guiOld;
|
||||
|
||||
import java.util.function.IntToLongFunction;
|
||||
|
||||
import speiger.src.collections.ints.maps.impl.hash.Int2LongOpenHashMap;
|
||||
import speiger.src.collections.ints.maps.interfaces.Int2LongMap;
|
||||
import speiger.src.collections.ints.sets.IntSet;
|
||||
import speiger.src.coreengine.rendering.gui.base.DebugOverlay;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.FontRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.input.events.MouseEvent;
|
||||
import speiger.src.coreengine.rendering.input.events.MouseEvent.MouseClickEvent;
|
||||
import speiger.src.coreengine.rendering.input.events.MouseEvent.MouseMoveEvent;
|
||||
import speiger.src.coreengine.rendering.input.events.MouseEvent.MouseScrollEvent;
|
||||
import speiger.src.coreengine.rendering.input.window.ScaledResolution;
|
||||
import speiger.src.coreengine.rendering.input.window.Window;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.DebugOverlay;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.FontRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.inputOld.events.MouseEvent;
|
||||
import speiger.src.coreengine.rendering.inputOld.events.MouseEvent.MouseClickEvent;
|
||||
import speiger.src.coreengine.rendering.inputOld.events.MouseEvent.MouseMoveEvent;
|
||||
import speiger.src.coreengine.rendering.inputOld.events.MouseEvent.MouseScrollEvent;
|
||||
import speiger.src.coreengine.rendering.inputOld.window.ScaledResolution;
|
||||
import speiger.src.coreengine.rendering.inputOld.window.Window;
|
||||
import speiger.src.coreengine.utils.profiler.IProfiler;
|
||||
|
||||
public abstract class GuiBase
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui;
|
||||
package speiger.src.coreengine.rendering.guiOld;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
@ -13,23 +13,23 @@ import speiger.src.collections.objects.sets.ObjectLinkedOpenHashSet;
|
|||
import speiger.src.coreengine.assets.AssetLocation;
|
||||
import speiger.src.coreengine.math.collision2d.Plane;
|
||||
import speiger.src.coreengine.math.vector.doubles.Vec2d;
|
||||
import speiger.src.coreengine.rendering.gui.base.GuiScreenBase;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.gui.helper.animations.Animator;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.GuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.FontRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.IComponentRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.input.Keyboard;
|
||||
import speiger.src.coreengine.rendering.input.bindings.utils.BindingType;
|
||||
import speiger.src.coreengine.rendering.input.bindings.utils.ModType;
|
||||
import speiger.src.coreengine.rendering.input.window.Window;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.GuiScreenBase;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.animations.Animator;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.GuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.FontRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.IComponentRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.inputOld.Keyboard;
|
||||
import speiger.src.coreengine.rendering.inputOld.bindings.utils.BindingType;
|
||||
import speiger.src.coreengine.rendering.inputOld.bindings.utils.ModType;
|
||||
import speiger.src.coreengine.rendering.inputOld.window.Window;
|
||||
import speiger.src.coreengine.rendering.utils.Cursor;
|
||||
import speiger.src.coreengine.rendering.utils.GLStateTracker;
|
||||
import speiger.src.coreengine.utils.collections.CollectionUtils;
|
|
@ -1,20 +1,20 @@
|
|||
package speiger.src.coreengine.rendering.gui;
|
||||
package speiger.src.coreengine.rendering.guiOld;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import speiger.src.coreengine.assets.AssetLocation;
|
||||
import speiger.src.coreengine.math.vector.ints.Vec2i;
|
||||
import speiger.src.coreengine.rendering.gui.base.DebugOverlay;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.FontRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.GuiShader;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.provider.FontManager;
|
||||
import speiger.src.coreengine.rendering.input.events.KeyEvent.CharTypeEvent;
|
||||
import speiger.src.coreengine.rendering.input.events.KeyEvent.KeyPressEvent;
|
||||
import speiger.src.coreengine.rendering.input.events.MouseEvent;
|
||||
import speiger.src.coreengine.rendering.input.window.IWindowListener;
|
||||
import speiger.src.coreengine.rendering.input.window.ScaledResolution;
|
||||
import speiger.src.coreengine.rendering.input.window.Window;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.DebugOverlay;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.FontRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.GuiShader;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.provider.FontManager;
|
||||
import speiger.src.coreengine.rendering.inputOld.events.MouseEvent;
|
||||
import speiger.src.coreengine.rendering.inputOld.events.KeyEvent.CharTypeEvent;
|
||||
import speiger.src.coreengine.rendering.inputOld.events.KeyEvent.KeyPressEvent;
|
||||
import speiger.src.coreengine.rendering.inputOld.window.IWindowListener;
|
||||
import speiger.src.coreengine.rendering.inputOld.window.ScaledResolution;
|
||||
import speiger.src.coreengine.rendering.inputOld.window.Window;
|
||||
import speiger.src.coreengine.rendering.models.buffers.UniformBuffer;
|
||||
import speiger.src.coreengine.rendering.shaderOld.ShaderTracker;
|
||||
import speiger.src.coreengine.rendering.utils.Cursor;
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui;
|
||||
package speiger.src.coreengine.rendering.guiOld;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui;
|
||||
package speiger.src.coreengine.rendering.guiOld;
|
||||
|
||||
import speiger.src.coreengine.assets.AssetLocation;
|
||||
import speiger.src.coreengine.rendering.texturesOld.base.ITexture;
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.gui.base;
|
||||
package speiger.src.coreengine.rendering.guiOld.base;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiBase;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiBase;
|
||||
|
||||
public abstract class DebugOverlay extends GuiScreenBase
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.base;
|
||||
package speiger.src.coreengine.rendering.guiOld.base;
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.Iterator;
|
||||
|
@ -23,11 +23,11 @@ import speiger.src.collections.objects.sets.ObjectOrderedSet;
|
|||
import speiger.src.collections.objects.utils.maps.Object2ObjectMaps;
|
||||
import speiger.src.coreengine.math.MathUtils;
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiBase;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TooltipPanel;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiBase;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TooltipPanel;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.utils.collections.iterators.IterableWrapper;
|
||||
|
||||
public class GuiScreenBase extends GuiBase
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.gui.base;
|
||||
package speiger.src.coreengine.rendering.guiOld.base;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
|
||||
public interface IButtonComponent extends IInputComponent
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.gui.base;
|
||||
package speiger.src.coreengine.rendering.guiOld.base;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
|
||||
public interface IInputComponent
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.base;
|
||||
package speiger.src.coreengine.rendering.guiOld.base;
|
||||
|
||||
public interface IKeyComponent extends IInputComponent
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
|
||||
public class ButtonComponent extends GuiComponent implements IButtonComponent
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.misc.ICheckBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.misc.ICheckBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.buffer.RenderBuffer;
|
||||
|
||||
public class CheckBoxComponent extends GuiComponent implements IButtonComponent, ICheckBox<CheckBoxComponent>
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
|
||||
public class EmptyComponent extends GuiComponent
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import java.util.function.IntFunction;
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.icon.IIcon;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.icon.IIcon;
|
||||
|
||||
public class IconButtonComponent extends GuiComponent implements IButtonComponent
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.texturesOld.base.ITexture;
|
||||
|
||||
public class IconComponent extends GuiComponent
|
|
@ -1,7 +1,7 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
|
||||
public class LabelComponent extends GuiComponent
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
|
@ -18,13 +18,13 @@ import speiger.src.collections.objects.utils.ObjectIterators;
|
|||
import speiger.src.coreengine.math.MathUtils;
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.math.vector.ints.Vec2i;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.list.IListEntry;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.input.Keyboard;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.list.IListEntry;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.inputOld.Keyboard;
|
||||
|
||||
public class ListComponent<T extends IListEntry> extends GuiComponent
|
||||
implements Iterable<T>, IButtonComponent
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
|
||||
public class PanelComponent extends GuiComponent
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Supplier;
|
||||
|
@ -7,8 +7,8 @@ import org.lwjgl.opengl.GL11;
|
|||
|
||||
import speiger.src.coreengine.math.MathUtils;
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.tesselationOld.Tesselator;
|
||||
import speiger.src.coreengine.rendering.tesselationOld.VertexType;
|
||||
import speiger.src.coreengine.rendering.utils.GLStateTracker;
|
|
@ -1,13 +1,13 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import java.util.function.IntFunction;
|
||||
import java.util.function.IntSupplier;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.ParentBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.ParentBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
|
||||
public class ProgressBarComponent extends GuiComponent
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.math.MathUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
|
||||
public class ScrollBarComponent extends GuiComponent implements IButtonComponent
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ConditionalConstraint;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ConditionalConstraint;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
|
||||
public class ScrollPanelComponent extends GuiComponent
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ConditionalConstraint;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ConditionalConstraint;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
|
||||
public class ScrollWindowComponent extends WindowComponent
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.function.Consumer;
|
||||
|
@ -8,15 +8,15 @@ import org.lwjgl.opengl.GL11;
|
|||
import speiger.src.collections.ints.collections.IntCollection;
|
||||
import speiger.src.coreengine.math.value.IValue;
|
||||
import speiger.src.coreengine.math.value.LiniarValue;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.list.SelectionEntry;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain.Target;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.list.SelectionEntry;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain.Target;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.tesselationOld.Tesselator;
|
||||
import speiger.src.coreengine.rendering.tesselationOld.VertexType;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.collections.floats.functions.FloatSupplier;
|
||||
import speiger.src.collections.objects.functions.function.ToFloatFunction;
|
||||
|
@ -6,12 +6,12 @@ import speiger.src.collections.objects.lists.ObjectArrayList;
|
|||
import speiger.src.collections.objects.lists.ObjectList;
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.math.misc.Facing;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain.Target;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.DynamicConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.DynamicConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain.Target;
|
||||
|
||||
public class SingleTabPanelComponent extends PanelComponent
|
||||
{
|
|
@ -1,14 +1,14 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import java.util.function.IntFunction;
|
||||
|
||||
import speiger.src.coreengine.math.MathUtils;
|
||||
import speiger.src.coreengine.math.misc.Facing;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.buffer.RenderBuffer;
|
||||
|
||||
public class SliderComponent extends GuiComponent implements IButtonComponent
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.collections.floats.functions.FloatSupplier;
|
||||
import speiger.src.collections.objects.functions.function.ToFloatFunction;
|
||||
|
@ -6,12 +6,12 @@ import speiger.src.collections.objects.lists.ObjectArrayList;
|
|||
import speiger.src.collections.objects.lists.ObjectList;
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.math.misc.Facing;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain.Target;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.DynamicConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.DynamicConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain.Target;
|
||||
|
||||
public class TabbedPanelComponent extends PanelComponent
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.TextConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.TextConstrain;
|
||||
|
||||
public class TextCheckBoxComponent extends CheckBoxComponent
|
||||
{
|
|
@ -1,12 +1,12 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.FontRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.lexer.TextMetadata;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.FontRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.lexer.TextMetadata;
|
||||
|
||||
public class TextComponent extends GuiComponent
|
||||
{
|
|
@ -1,23 +1,23 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import org.lwjgl.glfw.GLFW;
|
||||
|
||||
import speiger.src.coreengine.math.MathUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.ParentBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain.Target;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.lexer.TextMetadata;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.lexer.Word;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.lexer.WordType;
|
||||
import speiger.src.coreengine.rendering.input.Keyboard;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.ParentBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain.Target;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.lexer.TextMetadata;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.lexer.Word;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.lexer.WordType;
|
||||
import speiger.src.coreengine.rendering.inputOld.Keyboard;
|
||||
import speiger.src.coreengine.rendering.utils.Cursor;
|
||||
import speiger.src.coreengine.utils.functions.Functions;
|
||||
|
|
@ -1,22 +1,22 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import org.lwjgl.glfw.GLFW;
|
||||
|
||||
import speiger.src.coreengine.math.vector.ints.Vec2i;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.lexer.Line;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.lexer.TextMetadata;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.lexer.Word;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.lexer.WordType;
|
||||
import speiger.src.coreengine.rendering.input.Keyboard;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.lexer.Line;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.lexer.TextMetadata;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.lexer.Word;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.lexer.WordType;
|
||||
import speiger.src.coreengine.rendering.inputOld.Keyboard;
|
||||
import speiger.src.coreengine.rendering.utils.Cursor;
|
||||
import speiger.src.coreengine.utils.functions.Functions;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
@ -9,12 +9,12 @@ import speiger.src.collections.objects.maps.impl.hash.Object2ObjectLinkedOpenHas
|
|||
import speiger.src.collections.objects.maps.interfaces.Object2ObjectMap;
|
||||
import speiger.src.collections.objects.utils.maps.Object2ObjectMaps;
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.ParentBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.MenuConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.ParentBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.MenuConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ParentConstrain;
|
||||
|
||||
public class TooltipPanel extends PanelComponent
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
@ -13,15 +13,15 @@ import speiger.src.coreengine.math.MathUtils;
|
|||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.math.misc.Facing;
|
||||
import speiger.src.coreengine.math.vector.ints.Vec2i;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.tree.ITreeEntry;
|
||||
import speiger.src.coreengine.rendering.gui.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.input.Keyboard;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.tree.ITreeEntry;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.inputOld.Keyboard;
|
||||
|
||||
public class TreeComponent<T extends ITreeEntry> extends GuiComponent implements IButtonComponent
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components;
|
||||
package speiger.src.coreengine.rendering.guiOld.components;
|
||||
|
||||
import java.util.function.Consumer;
|
||||
import java.util.function.ObjIntConsumer;
|
||||
|
@ -10,15 +10,15 @@ import speiger.src.coreengine.math.value.IValue;
|
|||
import speiger.src.coreengine.math.value.LiniarValue;
|
||||
import speiger.src.coreengine.math.vector.floats.Vec2f;
|
||||
import speiger.src.coreengine.math.vector.ints.Vec2i;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.icon.CrossIcon;
|
||||
import speiger.src.coreengine.rendering.gui.components.icon.LineIcon;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.icon.CrossIcon;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.icon.LineIcon;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.utils.Cursor;
|
||||
import speiger.src.coreengine.utils.functions.ConsumerConverter;
|
||||
import speiger.src.coreengine.utils.helpers.InternalThreadPools;
|
|
@ -1,8 +1,8 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.icon;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.icon;
|
||||
|
||||
import speiger.src.coreengine.math.misc.Facing;
|
||||
import speiger.src.coreengine.rendering.gui.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
|
||||
public class ArrowIcon implements IIcon
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.icon;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.icon;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
|
||||
public class CrossIcon implements IIcon
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.icon;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.icon;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
|
||||
public interface IIcon
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.icon;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.icon;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
|
||||
public class LineIcon implements IIcon
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.icon;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.icon;
|
||||
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.texturesOld.base.ITexture;
|
||||
|
||||
public class TexturedIcon implements IIcon
|
|
@ -1,11 +1,11 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.layouts;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.layouts;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import speiger.src.coreengine.math.vector.floats.Vec2f;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
|
||||
public class FlowLayout implements Consumer<GuiComponent>
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.layouts;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.layouts;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import speiger.src.collections.objects.lists.ObjectArrayList;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
|
||||
public class VerticalLayout implements Consumer<GuiComponent>
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.list;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.list;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
|
||||
public class BaseClickableListEntry extends BaseListEntry implements IButtonComponent
|
||||
{
|
|
@ -1,12 +1,12 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.list;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.list;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
import speiger.src.collections.objects.lists.ObjectArrayList;
|
||||
import speiger.src.coreengine.rendering.gui.GuiBase;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiBase;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
|
||||
public abstract class BaseListEntry implements IListEntry
|
||||
{
|
|
@ -1,15 +1,15 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.list;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.list;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiBase;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.CheckBoxComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiBase;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.CheckBoxComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
|
||||
public class ExampleEntry implements IListEntry, IButtonComponent
|
||||
{
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
package speiger.src.coreengine.rendering.gui.components.list;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.list;
|
||||
|
||||
import java.io.File;
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.list;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.list;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiBase;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiBase;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
|
||||
public interface IListEntry
|
||||
{
|
|
@ -1,12 +1,12 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.list;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.list;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiBase;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiBase;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
|
||||
public class SelectionEntry implements IListEntry
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.list;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.list;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
|
||||
public class TextListEntry extends BaseListEntry
|
||||
{
|
|
@ -1,13 +1,13 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.menu;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.menu;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import speiger.src.collections.objects.lists.ObjectArrayList;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.MenuConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.MenuConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.PixelConstrain;
|
||||
|
||||
public class MenuBarComponent extends GuiComponent
|
||||
{
|
|
@ -1,13 +1,13 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.menu;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.menu;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.components.misc.ICheckBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.DynamicConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.misc.ICheckBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.UIShapes;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.DynamicConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.buffer.RenderBuffer;
|
||||
|
||||
public class MenuCheckBoxComponent extends MenuItemComponent implements ICheckBox<MenuCheckBoxComponent>
|
||||
{
|
|
@ -1,15 +1,15 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.menu;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.menu;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import speiger.src.collections.objects.lists.ObjectArrayList;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.DynamicConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.MenuConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.DynamicConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.MenuConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.PixelConstrain;
|
||||
|
||||
public class MenuComponent extends MenuItemComponent implements Consumer<GuiComponent>
|
||||
{
|
|
@ -1,13 +1,13 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.menu;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.menu;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.TextConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.TextConstrain;
|
||||
|
||||
public class MenuItemComponent extends GuiComponent implements IButtonComponent
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.menu;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.menu;
|
||||
|
||||
public class MenuTextComponent extends MenuItemComponent
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.misc;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.misc;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
|
@ -6,7 +6,7 @@ import java.util.function.Consumer;
|
|||
import speiger.src.collections.objects.lists.ObjectArrayList;
|
||||
import speiger.src.collections.objects.lists.ObjectList;
|
||||
import speiger.src.collections.objects.utils.ObjectLists;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
|
||||
public class CheckBoxGroup<T extends GuiComponent & ICheckBox<T>> implements Consumer<GuiComponent>
|
||||
{
|
|
@ -0,0 +1,10 @@
|
|||
package speiger.src.coreengine.rendering.guiOld.components.misc;
|
||||
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
|
||||
public interface ICheckBox<T extends GuiComponent>
|
||||
{
|
||||
public boolean isChecked();
|
||||
|
||||
public T setChecked(boolean value);
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.special;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.special;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
|
@ -7,17 +7,17 @@ import org.lwjgl.glfw.GLFW;
|
|||
|
||||
import speiger.src.collections.objects.lists.ObjectArrayList;
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.ListComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.ScrollBarComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextFieldComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.list.TextListEntry;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.RelativeConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.IFontRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.ListComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.ScrollBarComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextFieldComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.list.TextListEntry;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.RelativeConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.IFontRenderer;
|
||||
|
||||
public class ConsoleComponent extends GuiComponent implements IKeyComponent
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.tree;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.tree;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.base.IButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IButtonComponent;
|
||||
|
||||
public class BaseClickableTreeEntry extends BaseTreeEntry implements IButtonComponent
|
||||
{
|
|
@ -1,13 +1,13 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.tree;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.tree;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import speiger.src.collections.objects.lists.ObjectArrayList;
|
||||
import speiger.src.coreengine.rendering.gui.GuiBase;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.list.BaseListEntry;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiBase;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.list.BaseListEntry;
|
||||
|
||||
public abstract class BaseTreeEntry extends BaseListEntry implements ITreeEntry
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.tree;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.tree;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.components.list.IListEntry;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.list.IListEntry;
|
||||
|
||||
public interface ITreeEntry extends IListEntry, Iterable<ITreeEntry>
|
||||
{
|
|
@ -1,15 +1,15 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.tree;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.tree;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.GuiBase;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.window.debug.PieProfilerWindow;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.input.Keyboard;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiBase;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.window.debug.PieProfilerWindow;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
import speiger.src.coreengine.rendering.inputOld.Keyboard;
|
||||
import speiger.src.coreengine.utils.profiler.IProfiler.IProfilerEntry;
|
||||
|
||||
public class ProfilerTreeEntry extends BaseTreeEntry
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
package speiger.src.coreengine.rendering.gui.components.tree;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.tree;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
|
||||
public class TextTreeEntry extends BaseTreeEntry
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.window.color;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.window.color;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.util.function.IntConsumer;
|
||||
|
@ -7,19 +7,19 @@ import speiger.src.coreengine.math.MathUtils;
|
|||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.math.misc.Facing;
|
||||
import speiger.src.coreengine.math.vector.floats.Vec2f;
|
||||
import speiger.src.coreengine.rendering.gui.UITextures;
|
||||
import speiger.src.coreengine.rendering.gui.components.ButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.GradientSliderComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.SliderComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextFieldComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.icon.IIcon;
|
||||
import speiger.src.coreengine.rendering.gui.components.icon.TexturedIcon;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.GuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.RelativeConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.UITextures;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.ButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.GradientSliderComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.SliderComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextFieldComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.icon.IIcon;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.icon.TexturedIcon;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.GuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.box.IGuiBox;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.RelativeConstrain;
|
||||
import speiger.src.coreengine.utils.functions.Functions;
|
||||
import speiger.src.coreengine.utils.helpers.InternalThreadPools;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.window.color;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.window.color;
|
||||
|
||||
import java.util.BitSet;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.window.debug;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.window.debug;
|
||||
|
||||
import java.text.DecimalFormat;
|
||||
import java.util.List;
|
||||
|
@ -13,20 +13,20 @@ import speiger.src.coreengine.math.MathUtils;
|
|||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.math.misc.Facing;
|
||||
import speiger.src.coreengine.math.vector.floats.Vec2f;
|
||||
import speiger.src.coreengine.rendering.gui.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.PieComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.PieComponent.IPieIndex;
|
||||
import speiger.src.coreengine.rendering.gui.components.PieComponent.PieIndex;
|
||||
import speiger.src.coreengine.rendering.gui.components.SingleTabPanelComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.Align;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain.Target;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.DynamicConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.input.Keyboard;
|
||||
import speiger.src.coreengine.rendering.guiOld.base.IKeyComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.PieComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.SingleTabPanelComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.PieComponent.IPieIndex;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.PieComponent.PieIndex;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.Align;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.DynamicConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain.Target;
|
||||
import speiger.src.coreengine.rendering.inputOld.Keyboard;
|
||||
import speiger.src.coreengine.utils.profiler.IProfiler;
|
||||
import speiger.src.coreengine.utils.profiler.IProfiler.IProfilerEntry;
|
||||
import speiger.src.coreengine.utils.profiler.IProfiler.ProfilerData;
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.window.debug;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.window.debug;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
|
@ -10,12 +10,12 @@ import speiger.src.collections.objects.lists.ObjectArrayList;
|
|||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.math.misc.Facing;
|
||||
import speiger.src.coreengine.math.vector.floats.Vec2f;
|
||||
import speiger.src.coreengine.rendering.gui.components.SingleTabPanelComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TreeComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.tree.ProfilerTreeEntry;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrain.Target;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.SingleTabPanelComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TreeComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.tree.ProfilerTreeEntry;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrain.Target;
|
||||
import speiger.src.coreengine.utils.profiler.IProfiler;
|
||||
import speiger.src.coreengine.utils.profiler.IProfiler.IProfilerEntry;
|
||||
|
|
@ -1,15 +1,15 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.window.misc;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.window.misc;
|
||||
|
||||
import speiger.src.collections.booleans.functions.BooleanConsumer;
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.components.ButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.RelativeConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.TextConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.ButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.RelativeConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.TextConstrain;
|
||||
|
||||
public class ChoiceComponent extends WindowComponent
|
||||
{
|
|
@ -1,13 +1,13 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.window.misc;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.window.misc;
|
||||
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.components.ButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.TextConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.ButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.Constrains;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.TextConstrain;
|
||||
|
||||
public class MessageComponent extends WindowComponent
|
||||
{
|
|
@ -1,14 +1,14 @@
|
|||
package speiger.src.coreengine.rendering.gui.components.window.misc;
|
||||
package speiger.src.coreengine.rendering.guiOld.components.window.misc;
|
||||
|
||||
import speiger.src.coreengine.math.misc.ColorUtils;
|
||||
import speiger.src.coreengine.rendering.gui.components.ButtonComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.TextFieldComponent;
|
||||
import speiger.src.coreengine.rendering.gui.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.RelativeConstrain;
|
||||
import speiger.src.coreengine.rendering.gui.helper.constrains.TextConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.ButtonComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.TextFieldComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.components.WindowComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.ParentConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.PixelConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.RelativeConstrain;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.constrains.TextConstrain;
|
||||
|
||||
public class TextInputComponent extends WindowComponent
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper;
|
||||
|
||||
public enum Align
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Font;
|
||||
|
@ -35,7 +35,7 @@ import speiger.src.collections.objects.maps.impl.hash.Object2ObjectLinkedOpenHas
|
|||
import speiger.src.collections.objects.misc.pairs.ObjectObjectPair;
|
||||
import speiger.src.coreengine.assets.AssetLocation;
|
||||
import speiger.src.coreengine.math.vector.ints.Vec2i;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.IFontRenderer.CharInstance;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.IFontRenderer.CharInstance;
|
||||
import speiger.src.coreengine.rendering.textures.custom.AtlasStitcher;
|
||||
import speiger.src.coreengine.rendering.textures.custom.AtlasStitcher.Entry;
|
||||
import speiger.src.coreengine.rendering.texturesOld.custom.TextureAtlas;
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper;
|
||||
|
||||
import java.util.function.Predicate;
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import speiger.src.coreengine.math.misc.Facing;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.gui.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.UIRenderer;
|
||||
import speiger.src.coreengine.rendering.guiOld.renderer.buffer.RenderBuffer;
|
||||
import speiger.src.coreengine.rendering.tesselationOld.Tesselator;
|
||||
import speiger.src.coreengine.rendering.tesselationOld.VertexType;
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper.animations;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper.animations;
|
||||
|
||||
import speiger.src.collections.objects.maps.impl.hash.Object2ObjectLinkedOpenHashMap;
|
||||
import speiger.src.collections.objects.maps.interfaces.Object2ObjectMap;
|
||||
import speiger.src.collections.objects.utils.maps.Object2ObjectMaps;
|
||||
import speiger.src.coreengine.math.value.IValue;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.animations.transitions.ITransition;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.animations.transitions.ITransition;
|
||||
|
||||
public class Animation
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper.animations;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper.animations;
|
||||
|
||||
import speiger.src.collections.objects.maps.interfaces.Object2ObjectMap;
|
||||
import speiger.src.collections.objects.utils.maps.Object2ObjectMaps;
|
||||
import speiger.src.coreengine.math.value.ConstantValue;
|
||||
import speiger.src.coreengine.math.value.IValue;
|
||||
import speiger.src.coreengine.rendering.gui.helper.animations.Animation.AnimationListener;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.animations.Animation.AnimationListener;
|
||||
|
||||
public class AnimationInstance
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper.animations;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper.animations;
|
||||
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
|
||||
public enum AnimationTarget
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper.animations;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper.animations;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
@ -8,8 +8,8 @@ import speiger.src.collections.objects.lists.ObjectArrayList;
|
|||
import speiger.src.collections.objects.maps.impl.hash.Object2ObjectLinkedOpenHashMap;
|
||||
import speiger.src.collections.objects.maps.interfaces.Object2ObjectMap;
|
||||
import speiger.src.collections.objects.utils.maps.Object2ObjectMaps;
|
||||
import speiger.src.coreengine.rendering.gui.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.gui.helper.animations.Animation.AnimationListener;
|
||||
import speiger.src.coreengine.rendering.guiOld.GuiComponent;
|
||||
import speiger.src.coreengine.rendering.guiOld.helper.animations.Animation.AnimationListener;
|
||||
|
||||
public class Animator
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper.animations.transitions;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper.animations.transitions;
|
||||
|
||||
import speiger.src.coreengine.math.value.IValue;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper.animations.transitions;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper.animations.transitions;
|
||||
|
||||
import speiger.src.coreengine.math.value.IValue;
|
||||
import speiger.src.coreengine.math.value.LiniarValue;
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper.box;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper.box;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package speiger.src.coreengine.rendering.gui.helper.box;
|
||||
package speiger.src.coreengine.rendering.guiOld.helper.box;
|
||||
|
||||
import speiger.src.coreengine.math.misc.Facing;
|
||||
import speiger.src.coreengine.math.misc.FacingList;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue