Search in sources :

Example 11 with Button

use of com.spinyowl.legui.component.Button in project legui by SpinyOwl.

the class SingleClassExample2 method createLeftPanel.

private static Panel createLeftPanel() {
    Panel leftPanel = new Panel();
    leftPanel.getStyle().setMargin(20F);
    leftPanel.getStyle().setMinWidth(200F);
    leftPanel.getStyle().setWidth(200F);
    leftPanel.getStyle().setMinHeight(HEIGHT - 40F);
    leftPanel.getStyle().setPosition(RELATIVE);
    leftPanel.getStyle().getFlexStyle().setFlexDirection(COLUMN);
    leftPanel.getStyle().getFlexStyle().setJustifyContent(JustifyContent.FLEX_START);
    leftPanel.getStyle().getFlexStyle().setAlignContent(AlignContent.STRETCH);
    leftPanel.getStyle().getFlexStyle().setAlignItems(AlignItems.STRETCH);
    leftPanel.getStyle().setDisplay(FLEX);
    Panel personPanel = createPersonPanel();
    leftPanel.add(personPanel);
    SimpleLineBorder border = new SimpleLineBorder(ColorConstants.lightGray(), 0.8f);
    leftPanel.add(createMenuButton("Protect", border));
    leftPanel.add(createMenuButton("Some", border));
    leftPanel.add(createMenuButton("Cool", border));
    leftPanel.add(createMenuButton("Aliens", border));
    Button apply = new Button("\uF12C");
    setBottomButtonStyles(apply, border);
    apply.getStyle().getBackground().setColor(ColorUtil.rgba(0xa5, 0xd6, 0xa7, 1));
    apply.getStyle().setLeft(0);
    apply.getStyle().setBottom(0);
    leftPanel.add(apply);
    Button decline = new Button("\uF156");
    setBottomButtonStyles(decline, border);
    decline.getStyle().getBackground().setColor(ColorUtil.rgba(0xef, 0x9a, 0x9a, 1));
    decline.getStyle().setRight(0);
    decline.getStyle().setBottom(0);
    leftPanel.add(decline);
    return leftPanel;
}
Also used : Panel(com.spinyowl.legui.component.Panel) Button(com.spinyowl.legui.component.Button) SimpleLineBorder(com.spinyowl.legui.style.border.SimpleLineBorder)

Example 12 with Button

use of com.spinyowl.legui.component.Button in project legui by SpinyOwl.

the class SingleClassExample method createGuiElements.

private static void createGuiElements(Frame frame) {
    // Set background color for frame
    frame.getContainer().getStyle().getBackground().setColor(ColorConstants.lightBlue());
    frame.getContainer().setFocusable(false);
    // frame.getContainer().getStyle().setDisplay(FLEX);
    // frame.getContainer().getStyle().setPosition(PositionType.ABSOLUTE);
    // frame.getContainer().getStyle().getFlexStyle().setFlexDirection(FlexDirection.COLUMN);
    // 
    // Panel menuBar = createPanel(ColorConstants.blue());
    // Panel mainPanel = createPanel(ColorConstants.red());
    // Panel animationPanel = createPanel(ColorConstants.green());
    // 
    // frame.getContainer().addAll(List.of(menuBar, mainPanel, animationPanel));
    Button button = new Button("Add components", 10, 10, 160, 30);
    SimpleLineBorder border = new SimpleLineBorder(ColorConstants.black(), 1);
    button.getStyle().setBorder(border);
    AtomicBoolean added = new AtomicBoolean(false);
    button.getListenerMap().addListener(MouseClickEvent.class, (MouseClickEventListener) event -> {
        if (!added.getAndSet(true)) {
            for (Component c : generateOnFly()) {
                frame.getContainer().add(c);
            }
        }
    });
    button.getListenerMap().addListener(CursorEnterEvent.class, (CursorEnterEventListener) System.out::println);
    mouseTargetLabel = new Label("Hello Label 1", 10, HEIGHT - 30, WIDTH - 20, 20);
    frame.getContainer().add(mouseTargetLabel);
    frame.getContainer().add(button);
}
Also used : TOP(com.spinyowl.legui.component.TabbedPanel.TabStripPosition.TOP) GLFW.glfwDestroyWindow(org.lwjgl.glfw.GLFW.glfwDestroyWindow) GLFW_RELEASE(org.lwjgl.glfw.GLFW.GLFW_RELEASE) Button(com.spinyowl.legui.component.Button) RIGHT(com.spinyowl.legui.component.TabbedPanel.TabStripPosition.RIGHT) GLFW.glfwCreateWindow(org.lwjgl.glfw.GLFW.glfwCreateWindow) GLFW.glfwPollEvents(org.lwjgl.glfw.GLFW.glfwPollEvents) GLFW.glfwSwapInterval(org.lwjgl.glfw.GLFW.glfwSwapInterval) GL11.glViewport(org.lwjgl.opengl.GL11.glViewport) NULL(org.lwjgl.system.MemoryUtil.NULL) KeyEvent(com.spinyowl.legui.event.KeyEvent) Renderer(com.spinyowl.legui.system.renderer.Renderer) FlexDirection(com.spinyowl.legui.style.flex.FlexStyle.FlexDirection) MouseClickAction(com.spinyowl.legui.event.MouseClickEvent.MouseClickAction) AtomicInteger(java.util.concurrent.atomic.AtomicInteger) CallbackKeeper(com.spinyowl.legui.system.context.CallbackKeeper) GLFW.glfwShowWindow(org.lwjgl.glfw.GLFW.glfwShowWindow) LayoutManager(com.spinyowl.legui.system.layout.LayoutManager) CursorEnterEventListener(com.spinyowl.legui.listener.CursorEnterEventListener) GL_STENCIL_BUFFER_BIT(org.lwjgl.opengl.GL11.GL_STENCIL_BUFFER_BIT) CursorEnterEvent(com.spinyowl.legui.event.CursorEnterEvent) PositionType(com.spinyowl.legui.style.Style.PositionType) ColorUtil(com.spinyowl.legui.style.color.ColorUtil) LEFT(com.spinyowl.legui.component.TabbedPanel.TabStripPosition.LEFT) FLEX(com.spinyowl.legui.style.Style.DisplayType.FLEX) ColorConstants(com.spinyowl.legui.style.color.ColorConstants) Frame(com.spinyowl.legui.component.Frame) GLFW.glfwTerminate(org.lwjgl.glfw.GLFW.glfwTerminate) GLFW_KEY_5(org.lwjgl.glfw.GLFW.GLFW_KEY_5) GLFWKeyCallbackI(org.lwjgl.glfw.GLFWKeyCallbackI) GLFW_KEY_6(org.lwjgl.glfw.GLFW.GLFW_KEY_6) DefaultCallbackKeeper(com.spinyowl.legui.system.context.DefaultCallbackKeeper) Label(com.spinyowl.legui.component.Label) GLFW(org.lwjgl.glfw.GLFW) GLFW.glfwMakeContextCurrent(org.lwjgl.glfw.GLFW.glfwMakeContextCurrent) EventProcessorProvider(com.spinyowl.legui.listener.processor.EventProcessorProvider) List(java.util.List) Vector2i(org.joml.Vector2i) TabStripPosition(com.spinyowl.legui.component.TabbedPanel.TabStripPosition) NotNull(org.jetbrains.annotations.NotNull) GLFW.glfwSwapBuffers(org.lwjgl.glfw.GLFW.glfwSwapBuffers) Component(com.spinyowl.legui.component.Component) TabbedPanel(com.spinyowl.legui.component.TabbedPanel) MouseClickEventListener(com.spinyowl.legui.listener.MouseClickEventListener) BOTTOM(com.spinyowl.legui.component.TabbedPanel.TabStripPosition.BOTTOM) AtomicBoolean(java.util.concurrent.atomic.AtomicBoolean) ArrayList(java.util.ArrayList) GL_COLOR_BUFFER_BIT(org.lwjgl.opengl.GL11.GL_COLOR_BUFFER_BIT) GLFWWindowCloseCallbackI(org.lwjgl.glfw.GLFWWindowCloseCallbackI) GLFW_KEY_3(org.lwjgl.glfw.GLFW.GLFW_KEY_3) GL11.glClear(org.lwjgl.opengl.GL11.glClear) GLFW_KEY_4(org.lwjgl.glfw.GLFW.GLFW_KEY_4) GLFW_KEY_1(org.lwjgl.glfw.GLFW.GLFW_KEY_1) GLFW_KEY_2(org.lwjgl.glfw.GLFW.GLFW_KEY_2) NvgRenderer(com.spinyowl.legui.system.renderer.nvg.NvgRenderer) Context(com.spinyowl.legui.system.context.Context) SystemEventProcessorImpl(com.spinyowl.legui.system.handler.processor.SystemEventProcessorImpl) GL11.glClearColor(org.lwjgl.opengl.GL11.glClearColor) IOException(java.io.IOException) AnimatorProvider(com.spinyowl.legui.animation.AnimatorProvider) Panel(com.spinyowl.legui.component.Panel) MouseClickEvent(com.spinyowl.legui.event.MouseClickEvent) SystemEventProcessor(com.spinyowl.legui.system.handler.processor.SystemEventProcessor) SimpleLineBorder(com.spinyowl.legui.style.border.SimpleLineBorder) Widget(com.spinyowl.legui.component.Widget) GLFW_KEY_ESCAPE(org.lwjgl.glfw.GLFW.GLFW_KEY_ESCAPE) Tab(com.spinyowl.legui.component.TabbedPanel.Tab) Vector4f(org.joml.Vector4f) GL(org.lwjgl.opengl.GL) AtomicBoolean(java.util.concurrent.atomic.AtomicBoolean) Button(com.spinyowl.legui.component.Button) Label(com.spinyowl.legui.component.Label) SimpleLineBorder(com.spinyowl.legui.style.border.SimpleLineBorder) Component(com.spinyowl.legui.component.Component)

Example 13 with Button

use of com.spinyowl.legui.component.Button in project legui by SpinyOwl.

the class ShaderProgram method createFrameWithGUI.

private Frame createFrameWithGUI() {
    Frame frame = new Frame(WIDTH, HEIGHT);
    // Set background color for frame
    frame.getContainer().getStyle().getBackground().setColor(ColorConstants.transparent());
    frame.getContainer().setFocusable(false);
    Button button = new Button("Add components", 20, 20, 160, 30);
    SimpleLineBorder border = new SimpleLineBorder(ColorConstants.black(), 1);
    button.getStyle().setBorder(border);
    boolean[] added = { false };
    button.getListenerMap().addListener(MouseClickEvent.class, (MouseClickEventListener) event -> {
        if (!added[0]) {
            added[0] = true;
            for (Component c : generateOnFly()) {
                frame.getContainer().add(c);
            }
        }
    });
    button.getListenerMap().addListener(CursorEnterEvent.class, (CursorEnterEventListener) System.out::println);
    frame.getContainer().add(button);
    return frame;
}
Also used : GLFW.glfwDestroyWindow(org.lwjgl.glfw.GLFW.glfwDestroyWindow) GL15.glBufferData(org.lwjgl.opengl.GL15.glBufferData) GLFW_RELEASE(org.lwjgl.glfw.GLFW.GLFW_RELEASE) GL_COMPILE_STATUS(org.lwjgl.opengl.GL20.GL_COMPILE_STATUS) GL30.glDeleteVertexArrays(org.lwjgl.opengl.GL30.glDeleteVertexArrays) GL20.glCompileShader(org.lwjgl.opengl.GL20.glCompileShader) Button(com.spinyowl.legui.component.Button) FloatBuffer(java.nio.FloatBuffer) GLFW.glfwCreateWindow(org.lwjgl.glfw.GLFW.glfwCreateWindow) GLFW.glfwPollEvents(org.lwjgl.glfw.GLFW.glfwPollEvents) GL_INFO_LOG_LENGTH(org.lwjgl.opengl.GL20.GL_INFO_LOG_LENGTH) GLFW.glfwSwapInterval(org.lwjgl.glfw.GLFW.glfwSwapInterval) GL20.glCreateShader(org.lwjgl.opengl.GL20.glCreateShader) GL11.glDisable(org.lwjgl.opengl.GL11.glDisable) GL11.glViewport(org.lwjgl.opengl.GL11.glViewport) GL20.glAttachShader(org.lwjgl.opengl.GL20.glAttachShader) NULL(org.lwjgl.system.MemoryUtil.NULL) Renderer(com.spinyowl.legui.system.renderer.Renderer) GL20.glGetShaderInfoLog(org.lwjgl.opengl.GL20.glGetShaderInfoLog) CallbackKeeper(com.spinyowl.legui.system.context.CallbackKeeper) GLFW.glfwShowWindow(org.lwjgl.glfw.GLFW.glfwShowWindow) GL30.glGenVertexArrays(org.lwjgl.opengl.GL30.glGenVertexArrays) LayoutManager(com.spinyowl.legui.system.layout.LayoutManager) GL15.glDeleteBuffers(org.lwjgl.opengl.GL15.glDeleteBuffers) CursorEnterEventListener(com.spinyowl.legui.listener.CursorEnterEventListener) GL_STENCIL_BUFFER_BIT(org.lwjgl.opengl.GL11.GL_STENCIL_BUFFER_BIT) CursorEnterEvent(com.spinyowl.legui.event.CursorEnterEvent) GL_TRIANGLES(org.lwjgl.opengl.GL11.GL_TRIANGLES) ColorConstants(com.spinyowl.legui.style.color.ColorConstants) Frame(com.spinyowl.legui.component.Frame) RadioButtonGroup(com.spinyowl.legui.component.RadioButtonGroup) GLFW.glfwTerminate(org.lwjgl.glfw.GLFW.glfwTerminate) GL_DEPTH_TEST(org.lwjgl.opengl.GL11.GL_DEPTH_TEST) GLFWKeyCallbackI(org.lwjgl.glfw.GLFWKeyCallbackI) Label(com.spinyowl.legui.component.Label) GL20.glShaderSource(org.lwjgl.opengl.GL20.glShaderSource) GL20.glLinkProgram(org.lwjgl.opengl.GL20.glLinkProgram) GL_VERTEX_SHADER(org.lwjgl.opengl.GL20.GL_VERTEX_SHADER) GLFW(org.lwjgl.glfw.GLFW) GLFW.glfwMakeContextCurrent(org.lwjgl.glfw.GLFW.glfwMakeContextCurrent) BufferUtils(org.lwjgl.BufferUtils) GL_STATIC_DRAW(org.lwjgl.opengl.GL15.GL_STATIC_DRAW) EventProcessorProvider(com.spinyowl.legui.listener.processor.EventProcessorProvider) List(java.util.List) Vector2i(org.joml.Vector2i) GLFW_KEY_H(org.lwjgl.glfw.GLFW.GLFW_KEY_H) GL_FLOAT(org.lwjgl.opengl.GL11.GL_FLOAT) GL20.glDeleteProgram(org.lwjgl.opengl.GL20.glDeleteProgram) GL11.glDrawArrays(org.lwjgl.opengl.GL11.glDrawArrays) GL20.glGetProgrami(org.lwjgl.opengl.GL20.glGetProgrami) GLFW.glfwSwapBuffers(org.lwjgl.glfw.GLFW.glfwSwapBuffers) GL20.glUseProgram(org.lwjgl.opengl.GL20.glUseProgram) DefaultInitializer(com.spinyowl.legui.DefaultInitializer) GL20.glDeleteShader(org.lwjgl.opengl.GL20.glDeleteShader) Component(com.spinyowl.legui.component.Component) MouseClickEventListener(com.spinyowl.legui.listener.MouseClickEventListener) GL20.glEnableVertexAttribArray(org.lwjgl.opengl.GL20.glEnableVertexAttribArray) GL_LINK_STATUS(org.lwjgl.opengl.GL20.GL_LINK_STATUS) RadioButton(com.spinyowl.legui.component.RadioButton) GL15.glBindBuffer(org.lwjgl.opengl.GL15.glBindBuffer) GL15.glGenBuffers(org.lwjgl.opengl.GL15.glGenBuffers) ArrayList(java.util.ArrayList) GL_COLOR_BUFFER_BIT(org.lwjgl.opengl.GL11.GL_COLOR_BUFFER_BIT) GLFWWindowCloseCallbackI(org.lwjgl.glfw.GLFWWindowCloseCallbackI) GL11.glClear(org.lwjgl.opengl.GL11.glClear) Context(com.spinyowl.legui.system.context.Context) GL11.glEnable(org.lwjgl.opengl.GL11.glEnable) GL30.glBindVertexArray(org.lwjgl.opengl.GL30.glBindVertexArray) GL20.glVertexAttribPointer(org.lwjgl.opengl.GL20.glVertexAttribPointer) GL11.glClearColor(org.lwjgl.opengl.GL11.glClearColor) GL_FRAGMENT_SHADER(org.lwjgl.opengl.GL20.GL_FRAGMENT_SHADER) GL20.glCreateProgram(org.lwjgl.opengl.GL20.glCreateProgram) IOException(java.io.IOException) AnimatorProvider(com.spinyowl.legui.animation.AnimatorProvider) GL_ARRAY_BUFFER(org.lwjgl.opengl.GL15.GL_ARRAY_BUFFER) MouseClickEvent(com.spinyowl.legui.event.MouseClickEvent) GL_FALSE(org.lwjgl.opengl.GL11.GL_FALSE) GL20.glDetachShader(org.lwjgl.opengl.GL20.glDetachShader) GL_BLEND(org.lwjgl.opengl.GL11.GL_BLEND) GL20.glDisableVertexAttribArray(org.lwjgl.opengl.GL20.glDisableVertexAttribArray) SimpleLineBorder(com.spinyowl.legui.style.border.SimpleLineBorder) GLFW_KEY_ESCAPE(org.lwjgl.glfw.GLFW.GLFW_KEY_ESCAPE) GL20.glGetShaderi(org.lwjgl.opengl.GL20.glGetShaderi) GL(org.lwjgl.opengl.GL) Frame(com.spinyowl.legui.component.Frame) Button(com.spinyowl.legui.component.Button) RadioButton(com.spinyowl.legui.component.RadioButton) SimpleLineBorder(com.spinyowl.legui.style.border.SimpleLineBorder) Component(com.spinyowl.legui.component.Component)

Example 14 with Button

use of com.spinyowl.legui.component.Button in project legui by SpinyOwl.

the class WidgetTreeExample method createGuiElements.

@Override
protected void createGuiElements(Frame frame) {
    Button button = new Button("Toggle autoclose", 10, 10, WIDTH - 20, 20);
    button.getListenerMap().addListener(MouseClickEvent.class, e -> {
        if (e.getAction() == MouseClickEvent.MouseClickAction.CLICK) {
            autoCloseWidgets = !autoCloseWidgets;
        }
    });
    frame.getContainer().add(button);
    Widget root = createFlexWidget("Root");
    root.setPosition(10, 40);
    root.setSize(WIDTH - 20, HEIGHT - 50);
    root.setCloseable(false);
    Widget rootChild1 = createFlexChildWidget("C1", root);
    Widget c1C1 = createFlexChildWidget("c1 c1", root);
    c1C1.getContainer().add(createChildWidget("c1 c1 c1", root));
    c1C1.getContainer().add(createChildWidget("c1 c1 c2", root));
    c1C1.getContainer().add(createChildWidget("c1 c1 c3", root, true));
    rootChild1.getContainer().add(c1C1);
    rootChild1.getContainer().add(createChildWidget("c1 c2", root));
    rootChild1.getContainer().add(createChildWidget("c1 c3", root, true));
    Widget rootChild2 = createFlexChildWidget("C2", root, true);
    rootChild2.getContainer().add(createChildWidget("c2 c1", root));
    rootChild2.getContainer().add(createChildWidget("c2 c2", root));
    rootChild2.getContainer().add(createChildWidget("c2 c3", root, true));
    root.getContainer().add(rootChild1);
    root.getContainer().add(rootChild2);
    frame.getContainer().add(root);
}
Also used : Button(com.spinyowl.legui.component.Button) Widget(com.spinyowl.legui.component.Widget)

Example 15 with Button

use of com.spinyowl.legui.component.Button in project legui by SpinyOwl.

the class MultipleWindowsMultipleThreadsExample method createGuiElements.

private static void createGuiElements(Frame frame) {
    // Set background color for frame
    frame.getContainer().getStyle().getBackground().setColor(ColorConstants.lightBlue());
    Button button = new Button("Add components", 20, 20, 160, 30);
    SimpleLineBorder border = new SimpleLineBorder(ColorConstants.black(), 1);
    button.getStyle().setBorder(border);
    boolean[] added = { false };
    button.getListenerMap().addListener(MouseClickEvent.class, (MouseClickEventListener) event -> {
        if (!added[0]) {
            added[0] = true;
            for (Component c : generateOnFly()) {
                frame.getContainer().add(c);
            }
        }
    });
    button.getListenerMap().addListener(CursorEnterEvent.class, (CursorEnterEventListener) System.out::println);
    frame.getContainer().add(button);
}
Also used : GLFW.glfwDestroyWindow(org.lwjgl.glfw.GLFW.glfwDestroyWindow) GLFW_RELEASE(org.lwjgl.glfw.GLFW.GLFW_RELEASE) GL.setCapabilities(org.lwjgl.opengl.GL.setCapabilities) Button(com.spinyowl.legui.component.Button) GLFW.glfwCreateWindow(org.lwjgl.glfw.GLFW.glfwCreateWindow) GLFW.glfwSwapInterval(org.lwjgl.glfw.GLFW.glfwSwapInterval) GL11.glViewport(org.lwjgl.opengl.GL11.glViewport) NULL(org.lwjgl.system.MemoryUtil.NULL) Renderer(com.spinyowl.legui.system.renderer.Renderer) CallbackKeeper(com.spinyowl.legui.system.context.CallbackKeeper) GLFW.glfwShowWindow(org.lwjgl.glfw.GLFW.glfwShowWindow) LayoutManager(com.spinyowl.legui.system.layout.LayoutManager) CursorEnterEventListener(com.spinyowl.legui.listener.CursorEnterEventListener) GL_STENCIL_BUFFER_BIT(org.lwjgl.opengl.GL11.GL_STENCIL_BUFFER_BIT) CursorEnterEvent(com.spinyowl.legui.event.CursorEnterEvent) ColorConstants(com.spinyowl.legui.style.color.ColorConstants) Frame(com.spinyowl.legui.component.Frame) RadioButtonGroup(com.spinyowl.legui.component.RadioButtonGroup) GLFW.glfwTerminate(org.lwjgl.glfw.GLFW.glfwTerminate) GLFWKeyCallbackI(org.lwjgl.glfw.GLFWKeyCallbackI) DefaultCallbackKeeper(com.spinyowl.legui.system.context.DefaultCallbackKeeper) Label(com.spinyowl.legui.component.Label) GLFW(org.lwjgl.glfw.GLFW) GLFW.glfwWaitEvents(org.lwjgl.glfw.GLFW.glfwWaitEvents) GLFW.glfwMakeContextCurrent(org.lwjgl.glfw.GLFW.glfwMakeContextCurrent) EventProcessorProvider(com.spinyowl.legui.listener.processor.EventProcessorProvider) List(java.util.List) Vector2i(org.joml.Vector2i) GLFW.glfwSwapBuffers(org.lwjgl.glfw.GLFW.glfwSwapBuffers) Component(com.spinyowl.legui.component.Component) MouseClickEventListener(com.spinyowl.legui.listener.MouseClickEventListener) GLFWErrorCallback(org.lwjgl.glfw.GLFWErrorCallback) RadioButton(com.spinyowl.legui.component.RadioButton) ArrayList(java.util.ArrayList) GL_COLOR_BUFFER_BIT(org.lwjgl.opengl.GL11.GL_COLOR_BUFFER_BIT) GLFW.glfwSetErrorCallback(org.lwjgl.glfw.GLFW.glfwSetErrorCallback) GLFWWindowCloseCallbackI(org.lwjgl.glfw.GLFWWindowCloseCallbackI) GL.createCapabilities(org.lwjgl.opengl.GL.createCapabilities) GL11.glClear(org.lwjgl.opengl.GL11.glClear) NvgRenderer(com.spinyowl.legui.system.renderer.nvg.NvgRenderer) Context(com.spinyowl.legui.system.context.Context) SystemEventProcessorImpl(com.spinyowl.legui.system.handler.processor.SystemEventProcessorImpl) GL11.glClearColor(org.lwjgl.opengl.GL11.glClearColor) IOException(java.io.IOException) GLFW.glfwSetWindowPos(org.lwjgl.glfw.GLFW.glfwSetWindowPos) AnimatorProvider(com.spinyowl.legui.animation.AnimatorProvider) MouseClickEvent(com.spinyowl.legui.event.MouseClickEvent) TimeUnit(java.util.concurrent.TimeUnit) SystemEventProcessor(com.spinyowl.legui.system.handler.processor.SystemEventProcessor) GLCapabilities(org.lwjgl.opengl.GLCapabilities) SimpleLineBorder(com.spinyowl.legui.style.border.SimpleLineBorder) GLFW_KEY_ESCAPE(org.lwjgl.glfw.GLFW.GLFW_KEY_ESCAPE) Button(com.spinyowl.legui.component.Button) RadioButton(com.spinyowl.legui.component.RadioButton) SimpleLineBorder(com.spinyowl.legui.style.border.SimpleLineBorder) Component(com.spinyowl.legui.component.Component)

Aggregations

Button (com.spinyowl.legui.component.Button)17 Component (com.spinyowl.legui.component.Component)9 SimpleLineBorder (com.spinyowl.legui.style.border.SimpleLineBorder)9 Label (com.spinyowl.legui.component.Label)8 RadioButton (com.spinyowl.legui.component.RadioButton)8 MouseClickEvent (com.spinyowl.legui.event.MouseClickEvent)7 Panel (com.spinyowl.legui.component.Panel)6 RadioButtonGroup (com.spinyowl.legui.component.RadioButtonGroup)6 Widget (com.spinyowl.legui.component.Widget)6 CursorEnterEvent (com.spinyowl.legui.event.CursorEnterEvent)6 CursorEnterEventListener (com.spinyowl.legui.listener.CursorEnterEventListener)6 MouseClickEventListener (com.spinyowl.legui.listener.MouseClickEventListener)6 ColorConstants (com.spinyowl.legui.style.color.ColorConstants)6 List (java.util.List)6 GLFW (org.lwjgl.glfw.GLFW)6 ToggleButton (com.spinyowl.legui.component.ToggleButton)5 Frame (com.spinyowl.legui.component.Frame)4 EventProcessorProvider (com.spinyowl.legui.listener.processor.EventProcessorProvider)4 CallbackKeeper (com.spinyowl.legui.system.context.CallbackKeeper)4 Context (com.spinyowl.legui.system.context.Context)4