Files
questshock/modding/hacked/editor/bitmaps/ViewModel.go
T

20 lines
350 B
Go

package bitmaps
import (
"github.com/inkyblackness/hacked/ss1/resource"
"github.com/inkyblackness/hacked/ss1/world/ids"
)
type viewModel struct {
windowOpen bool
restoreFocus bool
currentKey resource.Key
}
func freshViewModel() viewModel {
return viewModel{
currentKey: resource.KeyOf(ids.MfdDataBitmaps, resource.LangDefault, 0),
}
}