24 lines
440 B
Go
24 lines
440 B
Go
package project
|
|
|
|
import (
|
|
"github.com/inkyblackness/imgui-go/v3"
|
|
|
|
"github.com/inkyblackness/hacked/ui/gui"
|
|
)
|
|
|
|
type saveModAsStartState struct {
|
|
machine gui.ModalStateMachine
|
|
view *View
|
|
}
|
|
|
|
func (state saveModAsStartState) Render() {
|
|
imgui.OpenPopup("Save mod as")
|
|
state.machine.SetState(&saveModAsWaitingState{
|
|
machine: state.machine,
|
|
view: state.view,
|
|
})
|
|
}
|
|
|
|
func (state saveModAsStartState) HandleFiles(names []string) {
|
|
}
|