Unable to create scalable window?
BlitzPlus Forums/BlitzPlus Programming/Unable to create scalable window?
| ||
| I've tried this: Graphics 240,320,16,3 ...but it doesn't work. It tries to go fullscreen, but it should just open a scalable window! Any ideas? |
| ||
| see the help for CreateWindow |
| ||
or do this :)
appwindow=CreateWindow("blah",0,0,640,480,0,3)
appcanvas=CreateCanvas(0,0,640,480,appwindow)
SetGadgetLayout appcanvas,1,1,1,1
SetBuffer CanvasBuffer(appcanvas)
Text 80,80,"Booh!"
Oval 300,200,70,60
FlipCanvas appcanvas
Repeat
WaitEvent()
If EventID()=$803 quit=True
Until quit
End
|
| ||
| Thanks, I have switched to CreateWindow rather than Graphics, as the "3" option in that seems to be baulked. |
| ||
| I read one of the updates changed '3' to something with the screen flipping, but the docs still have the old meaning. |
| ||
| Thanks, I'll try to get the docs changed. |