Rename ShadowUI to Cacao

This commit is contained in:
Shadowfacts 2019-06-22 15:02:17 -04:00
parent c6aefdaad4
commit 7bfb18830c
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
20 changed files with 55 additions and 53 deletions

View File

@ -1,13 +1,13 @@
package net.shadowfacts.asmr
import net.shadowfacts.kiwidsl.dsl
import net.shadowfacts.shadowui.Screen
import net.shadowfacts.shadowui.view.View
import net.shadowfacts.shadowui.Window
import net.shadowfacts.shadowui.geometry.Axis
import net.shadowfacts.shadowui.geometry.Size
import net.shadowfacts.shadowui.util.Color
import net.shadowfacts.shadowui.view.StackView
import net.shadowfacts.cacao.Screen
import net.shadowfacts.cacao.view.View
import net.shadowfacts.cacao.Window
import net.shadowfacts.cacao.geometry.Axis
import net.shadowfacts.cacao.geometry.Size
import net.shadowfacts.cacao.util.Color
import net.shadowfacts.cacao.view.StackView
/**
* @author shadowfacts

View File

@ -1,6 +1,6 @@
package net.shadowfacts.shadowui
package net.shadowfacts.cacao
import net.shadowfacts.shadowui.view.View
import net.shadowfacts.cacao.view.View
import no.birkett.kiwi.Variable
/**

View File

@ -0,0 +1,3 @@
# Cacao
Cacao is a UI framework for Fabric/Minecraft mods based on Apple's [Cocoa](https://en.wikipedia.org/wiki/Cocoa_(API)) UI toolkit.

View File

@ -1,9 +1,8 @@
package net.shadowfacts.shadowui
package net.shadowfacts.cacao
import net.minecraft.client.gui.screen.Screen
import net.minecraft.network.chat.TextComponent
import net.shadowfacts.shadowui.geometry.Point
import no.birkett.kiwi.Solver
import net.shadowfacts.cacao.geometry.Point
/**
* @author shadowfacts

View File

@ -1,7 +1,7 @@
package net.shadowfacts.shadowui
package net.shadowfacts.cacao
import net.shadowfacts.shadowui.geometry.Point
import net.shadowfacts.shadowui.view.View
import net.shadowfacts.cacao.geometry.Point
import net.shadowfacts.cacao.view.View
import no.birkett.kiwi.Solver
/**

View File

@ -1,4 +1,4 @@
package net.shadowfacts.shadowui.geometry
package net.shadowfacts.cacao.geometry
/**
* @author shadowfacts

View File

@ -1,4 +1,4 @@
package net.shadowfacts.shadowui.geometry
package net.shadowfacts.cacao.geometry
/**
* @author shadowfacts

View File

@ -1,4 +1,4 @@
package net.shadowfacts.shadowui.geometry
package net.shadowfacts.cacao.geometry
/**
* @author shadowfacts

View File

@ -1,4 +1,4 @@
package net.shadowfacts.shadowui.geometry
package net.shadowfacts.cacao.geometry
/**
* @author shadowfacts

View File

@ -0,0 +1,6 @@
package net.shadowfacts.cacao.geometry
/**
* @author shadowfacts
*/
data class Size(val width: Double, val height: Double)

View File

@ -1,4 +1,4 @@
package net.shadowfacts.shadowui.util
package net.shadowfacts.cacao.util
/**
* @author shadowfacts

View File

@ -1,7 +1,7 @@
package net.shadowfacts.shadowui.util
package net.shadowfacts.cacao.util
import net.minecraft.client.gui.DrawableHelper
import net.shadowfacts.shadowui.geometry.Rect
import net.shadowfacts.cacao.geometry.Rect
/**
* @author shadowfacts

View File

@ -1,9 +1,9 @@
package net.shadowfacts.shadowui.view
package net.shadowfacts.cacao.view
import net.minecraft.client.MinecraftClient
import net.minecraft.client.font.TextRenderer
import net.shadowfacts.shadowui.geometry.Size
import net.shadowfacts.shadowui.util.Color
import net.shadowfacts.cacao.geometry.Size
import net.shadowfacts.cacao.util.Color
/**
* @author shadowfacts

View File

@ -1,10 +1,10 @@
package net.shadowfacts.shadowui.view
package net.shadowfacts.cacao.view
import net.shadowfacts.kiwidsl.dsl
import net.shadowfacts.shadowui.LayoutVariable
import net.shadowfacts.shadowui.geometry.Axis
import net.shadowfacts.shadowui.geometry.AxisPosition
import net.shadowfacts.shadowui.geometry.AxisPosition.*
import net.shadowfacts.cacao.LayoutVariable
import net.shadowfacts.cacao.geometry.Axis
import net.shadowfacts.cacao.geometry.AxisPosition
import net.shadowfacts.cacao.geometry.AxisPosition.*
import no.birkett.kiwi.Constraint
/**

View File

@ -1,14 +1,14 @@
package net.shadowfacts.shadowui.view
package net.shadowfacts.cacao.view
import com.mojang.blaze3d.platform.GlStateManager
import net.shadowfacts.kiwidsl.dsl
import net.shadowfacts.shadowui.LayoutVariable
import net.shadowfacts.shadowui.geometry.Axis
import net.shadowfacts.shadowui.geometry.AxisPosition
import net.shadowfacts.shadowui.geometry.Rect
import net.shadowfacts.shadowui.geometry.Size
import net.shadowfacts.shadowui.util.Color
import net.shadowfacts.shadowui.util.RenderHelper
import net.shadowfacts.cacao.LayoutVariable
import net.shadowfacts.cacao.geometry.Axis
import net.shadowfacts.cacao.geometry.AxisPosition
import net.shadowfacts.cacao.geometry.Rect
import net.shadowfacts.cacao.geometry.Size
import net.shadowfacts.cacao.util.Color
import net.shadowfacts.cacao.util.RenderHelper
import no.birkett.kiwi.Constraint
import no.birkett.kiwi.Solver

View File

@ -1,6 +0,0 @@
package net.shadowfacts.shadowui.geometry
/**
* @author shadowfacts
*/
data class Size(val width: Double, val height: Double)

View File

@ -1,8 +1,8 @@
package net.shadowfacts.shadowui
package net.shadowfacts.cacao
import net.shadowfacts.kiwidsl.dsl
import net.shadowfacts.shadowui.geometry.Size
import net.shadowfacts.shadowui.view.View
import net.shadowfacts.cacao.geometry.Size
import net.shadowfacts.cacao.view.View
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test

View File

@ -1,4 +1,4 @@
package net.shadowfacts.shadowui.geometry
package net.shadowfacts.cacao.geometry
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test

View File

@ -1,4 +1,4 @@
package net.shadowfacts.shadowui.util
package net.shadowfacts.cacao.util
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test

View File

@ -1,9 +1,9 @@
package net.shadowfacts.shadowui.view
package net.shadowfacts.cacao.view
import net.shadowfacts.kiwidsl.dsl
import net.shadowfacts.shadowui.Window
import net.shadowfacts.shadowui.geometry.Axis
import net.shadowfacts.shadowui.geometry.Size
import net.shadowfacts.cacao.Window
import net.shadowfacts.cacao.geometry.Axis
import net.shadowfacts.cacao.geometry.Size
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test