Move module to git.zacharyzhang.com; drop GitHub workflow and links
This commit is contained in:
1151 files changed
+2884
-2951
No files matched your search
+3
-3
@@ -5,9 +5,9 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/icons"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/icons"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// AppShellOptions are the slots of an AppShell. Content is required; the others are optional.
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
type appShellProbe struct {
|
||||
|
||||
@@ -3,7 +3,7 @@ package layout
|
||||
import (
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
)
|
||||
|
||||
// AspectRatioOptions configure an AspectRatio.
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
// aspectRatioBounds returns the frame (via a filling child) and a fixed 40x20 child.
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@ package layout
|
||||
import (
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// Space is a spacing step scaled by the window's density. Zero picks the component's default.
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
func TestContainerPaddingByDensity(t *testing.T) {
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@ package layout
|
||||
import (
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// dividerDiamond is the ornament's size in DIPs.
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/input"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/input"
|
||||
)
|
||||
|
||||
func TestDividerSizes(t *testing.T) {
|
||||
|
||||
@@ -3,10 +3,10 @@ package layout_test
|
||||
import (
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/icons"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/input"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/layout"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/icons"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/input"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/layout"
|
||||
)
|
||||
|
||||
func ExampleAppShell() {
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package layout
|
||||
import (
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
// GridOptions configure a Grid.
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
func TestGridFixedAndFrTracks(t *testing.T) {
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal/snaptest"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal/snaptest"
|
||||
)
|
||||
|
||||
// snapshot compares view in both themes with testdata/snapshots/<os>/<name>-<mode>.png.
|
||||
|
||||
@@ -3,8 +3,8 @@ package layout
|
||||
import (
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// ScrollDirection is the way a ScrollArea scrolls. The zero value is vertical.
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
func scrollAreaView(st *ui.ScrollState, opts ScrollAreaOptions, rows int) func(c *ui.Context) {
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// SplitPaneSide names a pane of a SplitPane.
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
type splitPaneProbe struct {
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package layout
|
||||
import (
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
// StackAlign places children across a Stack's direction. Zero stretches a vertical stack and centers a horizontal one.
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
)
|
||||
|
||||
func TestStackVerticalGap(t *testing.T) {
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/internal"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// StatusItemTone colors a status item's text and icon. The zero value is muted text.
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/icons"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/icons"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
func statusBarSample() StatusBarOptions {
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@ package layout
|
||||
import (
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/theme"
|
||||
)
|
||||
|
||||
// TitleBarOptions configure a TitleBar.
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/egoist/mygo/ui"
|
||||
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"github.com/ZacharyZhang-NY/MujicaUI/input"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/core"
|
||||
"git.zacharyzhang.com/ZacharyZhang-NY/MujicaUI/input"
|
||||
)
|
||||
|
||||
func TestTitleBarDefaultHeight(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user