test.bmx 415 B

123456789101112131415161718192021222324
  1. Strict
  2. Import "TLauncher.bmx"
  3. Local myL:TLauncher
  4. Local myMode:TGraphicsMode
  5. 'myL = TLauncher.Create() <- The quick way, will create a standard requester with only a 4:3 aspect ratio.
  6. myL = New TLauncher
  7. myL.addAspectRatio( 4 , 3 )
  8. myL.addAspectRatio( 16 , 9 )
  9. myL.populateModes
  10. myL.initGUI()
  11. myL.show()
  12. While Not myL.terminate
  13. myL.main
  14. EndWhile
  15. If myL.selected <> Null
  16. Print myL.selected.toString()
  17. EndIf