20,741
edits
m (→Orbital Map: begin generalization: get rid of magic numbers (untested)) |
|||
Line 30: | Line 30: | ||
<syntaxhighlight lang="nasal"> | <syntaxhighlight lang="nasal"> | ||
var (width,height) = (400 | var (width,height) = (800,400); | ||
# create a new window, dimensions are 400 x | # create a new window, dimensions are 400 x 400, using the dialog decoration (i.e. titlebar) | ||
var window = canvas.Window.new([width, height],"dialog"); | var window = canvas.Window.new([width, height],"dialog"); | ||