-
Notifications
You must be signed in to change notification settings - Fork 0
Window
Dima Marhitych edited this page Oct 24, 2023
·
4 revisions
Import it like this:
import (
"github.com/dimkauzh/vertex/src/window"
)
const True int = 1
const False int = 0
type Window struct {
Window *glfw.Window
Width int
Height int
Title string
}
func (w *Window) Loop() -> bool
// Deprecated: No longer needed because of the integration into the Loop() method
func (w *Window) Refresh()
func NewWindow(width int, height int, title string) -> Window
func NewCustomWindow(width, height int, title string, resizable int) -> Window