Rename ShadowUI to Cacao
This commit is contained in:
parent
c6aefdaad4
commit
7bfb18830c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
/**
|
|
@ -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.
|
|
@ -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
|
|
@ -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
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package net.shadowfacts.shadowui.geometry
|
||||
package net.shadowfacts.cacao.geometry
|
||||
|
||||
/**
|
||||
* @author shadowfacts
|
|
@ -1,4 +1,4 @@
|
|||
package net.shadowfacts.shadowui.geometry
|
||||
package net.shadowfacts.cacao.geometry
|
||||
|
||||
/**
|
||||
* @author shadowfacts
|
|
@ -1,4 +1,4 @@
|
|||
package net.shadowfacts.shadowui.geometry
|
||||
package net.shadowfacts.cacao.geometry
|
||||
|
||||
/**
|
||||
* @author shadowfacts
|
|
@ -1,4 +1,4 @@
|
|||
package net.shadowfacts.shadowui.geometry
|
||||
package net.shadowfacts.cacao.geometry
|
||||
|
||||
/**
|
||||
* @author shadowfacts
|
|
@ -0,0 +1,6 @@
|
|||
package net.shadowfacts.cacao.geometry
|
||||
|
||||
/**
|
||||
* @author shadowfacts
|
||||
*/
|
||||
data class Size(val width: Double, val height: Double)
|
|
@ -1,4 +1,4 @@
|
|||
package net.shadowfacts.shadowui.util
|
||||
package net.shadowfacts.cacao.util
|
||||
|
||||
/**
|
||||
* @author shadowfacts
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
||||
|
||||
/**
|
|
@ -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
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
package net.shadowfacts.shadowui.geometry
|
||||
|
||||
/**
|
||||
* @author shadowfacts
|
||||
*/
|
||||
data class Size(val width: Double, val height: Double)
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue