Hello,
I'm trying to open a window like this:
Code: Select all
displayAttrs = {Title = "My Window", Color = #BLACK, Width = 640, Height = 480, Mode = "Windowed", Borderless = False, Sizeable = False, HideTitleBar = False}
@DISPLAY displayAttrs
Code: Select all
windowWidth = 640
windowHeight = 480
title$ = "My Window"
displayAttrs = {}
displayAttrs.Title = title$
displayAttrs.Color = #BLACK
displayAttrs.Width = windowWidth
displayAttrs.Height = windowHeight
displayAttrs.Mode = "Windowed"
displayAttrs.Borderless = False
displayAttrs.Sizeable = False
displayAttrs.HideTitleBar = False
@DISPLAY displayAttrs
Code: Select all
windowWidth = 640
windowHeight = 480
title$ = "My Window"
@DISPLAY {Title = title$, Color = #BLACK, Width = windowWidth, Height = windowHeight, Mode = "Windowed", Borderless = False, Sizeable = False, HideTitleBar = False}
-- JANNE janne.email-address-removed@nospam.com