update to latest gioui.org API, fix cross platform builds
This commit is contained in:
@@ -5,7 +5,7 @@ package gel
|
||||
import (
|
||||
"golang.org/x/exp/shiny/materialdesign/icons"
|
||||
|
||||
l "github.com/p9c/p9/pkg/gel/gio/layout"
|
||||
l "gioui.org/layout"
|
||||
)
|
||||
|
||||
type RadioButton struct {
|
||||
@@ -26,9 +26,9 @@ func (w *Window) RadioButton(checkable *Checkable, group *Enum, key,
|
||||
group: group,
|
||||
Window: w,
|
||||
Checkable: checkable.
|
||||
CheckedStateIcon(&icons.ToggleRadioButtonChecked). // Color("Primary").
|
||||
CheckedStateIcon(&icons.ToggleRadioButtonChecked). // Color("Primary").
|
||||
UncheckedStateIcon(&icons.ToggleRadioButtonUnchecked). // Color("PanelBg").
|
||||
Label(label), // .Color("DocText").IconColor("PanelBg"),
|
||||
Label(label), // .Color("DocText").IconColor("PanelBg"),
|
||||
key: key,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user