Migrate to latest JGL to fix XWindow Viewport not updating correctly!

This commit is contained in:
2024-08-05 13:53:57 -04:00
parent 9a281ca9a5
commit 7fb63db263
3 changed files with 4 additions and 5 deletions

View File

@@ -48,12 +48,12 @@ CPMAddPackage(
CPMAddPackage(
NAME ReWindow
URL https://git.redacted.cc/Redacted/ReWindow/archive/Prerelease-8.zip
URL https://git.redacted.cc/Redacted/ReWindow/archive/Prerelease-9.zip
)
CPMAddPackage(
NAME JGL
URL https://git.redacted.cc/josh/JGL/archive/Prerelease-29.zip
URL https://git.redacted.cc/josh/JGL/archive/Prerelease-30.zip
)
target_include_directories(JUI PUBLIC ${Event_SOURCE_DIR}/include)

View File

@@ -12,6 +12,8 @@ It is expressly built with our Redacted3D engine in mind, but steps have been ta
JUI provides a set of objects that we term Widgets. Widgets can be styled and laid out on-screen in relation to each other. Each widget has a single parent, and a list of child elements. Your root widget should be a Scene object.
Provided widgets include Scene, Rect, Text, TextRect, Button, TextButton, TextInputForms, Slider, Image, ImageRect, RadioButton
## Features
### Why use this instead of imgui?

View File

@@ -1,7 +1,6 @@
#pragma once
#include <JUI/Base/Widget.hpp>
namespace JUI
{
// TODO: SceneSizingBehavior - FillToWindow, CustomSized
@@ -14,8 +13,6 @@ namespace JUI
Event<Vector2> MouseMoved;
void Update(float delta) override;
[[nodiscard]] Vector2 GetAbsolutePosition() const override;