Starting to redo inputs

This commit is contained in:
Speiger 2024-04-29 21:13:58 +02:00
parent 4292ea266f
commit 8333e832a2
161 changed files with 717 additions and 621 deletions

View File

@ -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) {

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package speiger.src.coreengine.rendering.newGui.animation;
package speiger.src.coreengine.rendering.gui.animation;
public class GuiAnimation {

View File

@ -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() {}
}

View File

@ -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;

View File

@ -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);

View File

@ -1,4 +1,4 @@
package speiger.src.coreengine.rendering.newGui.components.base;
package speiger.src.coreengine.rendering.gui.components.base;
public interface IInteractable
{

View File

@ -1,4 +1,4 @@
package speiger.src.coreengine.rendering.newGui.components.base;
package speiger.src.coreengine.rendering.gui.components.base;
import java.util.List;

View File

@ -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);

View File

@ -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;

View File

@ -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<>();

View File

@ -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);
}

View File

@ -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;

View File

@ -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 {

View File

@ -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);

View File

@ -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); }

View File

@ -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);

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package speiger.src.coreengine.rendering.gui;
package speiger.src.coreengine.rendering.guiOld;
import java.util.Map;
import java.util.UUID;

View File

@ -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;

View File

@ -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
{

View File

@ -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

View File

@ -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
{

View File

@ -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
{

View File

@ -1,4 +1,4 @@
package speiger.src.coreengine.rendering.gui.base;
package speiger.src.coreengine.rendering.guiOld.base;
public interface IKeyComponent extends IInputComponent
{

View File

@ -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
{

View File

@ -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>
{

View File

@ -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
{

View File

@ -1,4 +1,4 @@
package speiger.src.coreengine.rendering.gui.components;
package speiger.src.coreengine.rendering.guiOld.components;
import java.util.function.IntFunction;

View File

@ -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
{

View File

@ -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

View File

@ -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
{

View File

@ -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

View File

@ -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
{

View File

@ -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;

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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;

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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;

View File

@ -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;

View File

@ -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
{

View File

@ -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
{

View File

@ -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;

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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

View File

@ -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>
{

View File

@ -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>
{

View 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.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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -1,5 +1,5 @@
package speiger.src.coreengine.rendering.gui.components.list;
package speiger.src.coreengine.rendering.guiOld.components.list;
import java.io.File;

View 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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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>
{

View File

@ -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>
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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>
{

View File

@ -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);
}

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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>
{

View File

@ -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

View File

@ -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
{

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -1,4 +1,4 @@
package speiger.src.coreengine.rendering.gui.helper;
package speiger.src.coreengine.rendering.guiOld.helper;
public enum Align
{

View File

@ -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;

View File

@ -1,4 +1,4 @@
package speiger.src.coreengine.rendering.gui.helper;
package speiger.src.coreengine.rendering.guiOld.helper;
import java.util.function.Predicate;

View File

@ -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;

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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
{

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package speiger.src.coreengine.rendering.gui.helper.box;
package speiger.src.coreengine.rendering.guiOld.helper.box;
import java.util.List;

View File

@ -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