From 2aa3993447c701a01a5f4cb51ecfea921da92e94 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Wed, 11 Dec 2024 20:39:50 +0100 Subject: [PATCH] rename hui-painter to hui-painter-wip prob never getting done lol im experimenting with an entirely new library, this one's a mess and i think i could design sth better if i start from the ground up --- Cargo.toml | 11 ++++++++++- {hui-painter => hui-painter-wip}/Cargo.toml | 4 ++-- {hui-painter => hui-painter-wip}/src/lib.rs | 0 {hui-painter => hui-painter-wip}/src/paint.rs | 0 {hui-painter => hui-painter-wip}/src/paint/buffer.rs | 0 {hui-painter => hui-painter-wip}/src/paint/command.rs | 0 .../src/paint/command/list.rs | 0 .../src/paint/command/rectangle.rs | 0 .../src/paint/command/text.rs | 0 .../src/paint/command/transform.rs | 0 {hui-painter => hui-painter-wip}/src/text.rs | 0 {hui-painter => hui-painter-wip}/src/text/font.rs | 0 {hui-painter => hui-painter-wip}/src/text/ftm.rs | 0 {hui-painter => hui-painter-wip}/src/texture.rs | 0 {hui-painter => hui-painter-wip}/src/texture/atlas.rs | 0 {hui-painter => hui-painter-wip}/src/util.rs | 0 16 files changed, 12 insertions(+), 3 deletions(-) rename {hui-painter => hui-painter-wip}/Cargo.toml (89%) rename {hui-painter => hui-painter-wip}/src/lib.rs (100%) rename {hui-painter => hui-painter-wip}/src/paint.rs (100%) rename {hui-painter => hui-painter-wip}/src/paint/buffer.rs (100%) rename {hui-painter => hui-painter-wip}/src/paint/command.rs (100%) rename {hui-painter => hui-painter-wip}/src/paint/command/list.rs (100%) rename {hui-painter => hui-painter-wip}/src/paint/command/rectangle.rs (100%) rename {hui-painter => hui-painter-wip}/src/paint/command/text.rs (100%) rename {hui-painter => hui-painter-wip}/src/paint/command/transform.rs (100%) rename {hui-painter => hui-painter-wip}/src/text.rs (100%) rename {hui-painter => hui-painter-wip}/src/text/font.rs (100%) rename {hui-painter => hui-painter-wip}/src/text/ftm.rs (100%) rename {hui-painter => hui-painter-wip}/src/texture.rs (100%) rename {hui-painter => hui-painter-wip}/src/texture/atlas.rs (100%) rename {hui-painter => hui-painter-wip}/src/util.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 99cdea0..c96a093 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,12 @@ [workspace] resolver = "2" -members = ["hui", "hui-derive", "hui-examples", "hui-glium", "hui-painter", "hui-shared", "hui-wgpu", "hui-winit"] +members = [ + "hui", + "hui-derive", + "hui-examples", + "hui-glium", + "hui-painter-wip", + "hui-shared", + "hui-wgpu", + "hui-winit" +] diff --git a/hui-painter/Cargo.toml b/hui-painter-wip/Cargo.toml similarity index 89% rename from hui-painter/Cargo.toml rename to hui-painter-wip/Cargo.toml index 8b3d123..743d302 100644 --- a/hui-painter/Cargo.toml +++ b/hui-painter-wip/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "hui-painter" +name = "hui-painter-wip" description = "UI rendering middleware for hUI, abstracts away triangulation, text layout and rendering and all the other hard stuff." repository = "https://github.com/griffi-gh/hui" readme = "../README.md" @@ -8,7 +8,7 @@ rust-version = "1.75" version = "0.1.0-alpha.5" edition = "2021" license = "GPL-3.0-or-later" -publish = true +publish = false # TODO: change to true once ready include = [ "src/**/*.rs", "Cargo.toml", diff --git a/hui-painter/src/lib.rs b/hui-painter-wip/src/lib.rs similarity index 100% rename from hui-painter/src/lib.rs rename to hui-painter-wip/src/lib.rs diff --git a/hui-painter/src/paint.rs b/hui-painter-wip/src/paint.rs similarity index 100% rename from hui-painter/src/paint.rs rename to hui-painter-wip/src/paint.rs diff --git a/hui-painter/src/paint/buffer.rs b/hui-painter-wip/src/paint/buffer.rs similarity index 100% rename from hui-painter/src/paint/buffer.rs rename to hui-painter-wip/src/paint/buffer.rs diff --git a/hui-painter/src/paint/command.rs b/hui-painter-wip/src/paint/command.rs similarity index 100% rename from hui-painter/src/paint/command.rs rename to hui-painter-wip/src/paint/command.rs diff --git a/hui-painter/src/paint/command/list.rs b/hui-painter-wip/src/paint/command/list.rs similarity index 100% rename from hui-painter/src/paint/command/list.rs rename to hui-painter-wip/src/paint/command/list.rs diff --git a/hui-painter/src/paint/command/rectangle.rs b/hui-painter-wip/src/paint/command/rectangle.rs similarity index 100% rename from hui-painter/src/paint/command/rectangle.rs rename to hui-painter-wip/src/paint/command/rectangle.rs diff --git a/hui-painter/src/paint/command/text.rs b/hui-painter-wip/src/paint/command/text.rs similarity index 100% rename from hui-painter/src/paint/command/text.rs rename to hui-painter-wip/src/paint/command/text.rs diff --git a/hui-painter/src/paint/command/transform.rs b/hui-painter-wip/src/paint/command/transform.rs similarity index 100% rename from hui-painter/src/paint/command/transform.rs rename to hui-painter-wip/src/paint/command/transform.rs diff --git a/hui-painter/src/text.rs b/hui-painter-wip/src/text.rs similarity index 100% rename from hui-painter/src/text.rs rename to hui-painter-wip/src/text.rs diff --git a/hui-painter/src/text/font.rs b/hui-painter-wip/src/text/font.rs similarity index 100% rename from hui-painter/src/text/font.rs rename to hui-painter-wip/src/text/font.rs diff --git a/hui-painter/src/text/ftm.rs b/hui-painter-wip/src/text/ftm.rs similarity index 100% rename from hui-painter/src/text/ftm.rs rename to hui-painter-wip/src/text/ftm.rs diff --git a/hui-painter/src/texture.rs b/hui-painter-wip/src/texture.rs similarity index 100% rename from hui-painter/src/texture.rs rename to hui-painter-wip/src/texture.rs diff --git a/hui-painter/src/texture/atlas.rs b/hui-painter-wip/src/texture/atlas.rs similarity index 100% rename from hui-painter/src/texture/atlas.rs rename to hui-painter-wip/src/texture/atlas.rs diff --git a/hui-painter/src/util.rs b/hui-painter-wip/src/util.rs similarity index 100% rename from hui-painter/src/util.rs rename to hui-painter-wip/src/util.rs