Jump to content

Change window to full screen?


Yue
 Share

Recommended Posts

Same as any object in Leadwerks, Release():
https://www.leadwerks.com/learn?page=API-Reference_Object_Release

You might try Window::SetShape() first, it might allow resizing a fullscreen window. Just make sure the new size is one of the support graphics resolutions for your monitor.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

2 minutes ago, Josh said:

Same as any object in Leadwerks, Release():
https://www.leadwerks.com/learn?page=API-Reference_Object_Release

You might try Window::SetShape() first, it might allow resizing a fullscreen window. Just make sure the new size is one of the support graphics resolutions for your monitor.

Thank you very much, always something to learn with Leadwerks. :)

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Link to comment
Share on other sites

2 hours ago, Josh said:

Same as any object in Leadwerks, Release():
https://www.leadwerks.com/learn?page=API-Reference_Object_Release

You might try Window::SetShape() first, it might allow resizing a fullscreen window. Just make sure the new size is one of the support graphics resolutions for your monitor.

When I delete the window, is the context of the window and the world it contains deleted?

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Link to comment
Share on other sites

On 9/14/2021 at 1:42 PM, Josh said:

The context is deleted, but the world is not.

The GUI is also deleted, the thing is that in the resolution change it seems that the GUI is broken, it does not draw the menu correctly in the coordinates, I think I have to delete it and create it again.

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...