- Manehattan MAS hub
- https://holanet.xyz
-
Sasha Koshka is the name I go by online. E-mail me if you have questions about that or about my projects in general.
- Joined on
2022-08-07
Block a user
Need a config system
Alternatively, the pattern used for canvases and textures could be used, providing more explicit ownership of resources:
type Config interface {
Set (key string, value any)…
Need a config system
The API could look like:
type Config struct { ... }
func (Config) Set (key string, value any) error
func (Config) Get (key string, default any) (any, error)
func (Config) OnChange…
Recover from panics in RunApplication()
On second thought, this would not work at all.
Because application code is either run in callbacks (executed in the backend's event loop), or in a separate goroutine, nasin would have to…
Recover from panics in RunApplication()
Change ReccomendedHeightFor to RecommendedHeight
Its also spelled wrong. Should be RecommendedHeight.
Need a way for ContentBoxes to reccomend heights/widths