About Store Forum Documentation Contact
Donations:
158$/mo



Post Reply 
Setting application main window size
Author Message
s.padikov Offline
Member

Post: #1
Setting application main window size
Hello,

I'm a new to the Esenthel engine. Currently I'm trying some simple tutorial, but I don't know how to set the size(width and height) of the application's main window (on Windows system). Unfortunatelly the 'Application' struct doesn't export some method to determine the initial window site, similar to the application name.

Thank you in advance for your help
03-06-2015 02:21 PM
Find all posts by this user Quote this message in a reply
Pherael Offline
Member

Post: #2
RE: Setting application main window size
Code:
// settings
   Display& mode (Int w=-1, Int h=-1, Int full=-1 ); // set Display Resolution Mode, -1=keep original value, if the method fails then previous mode is restored, if previous mode can't be restored then Exit is called
03-06-2015 02:27 PM
Find all posts by this user Quote this message in a reply
s.padikov Offline
Member

Post: #3
RE: Setting application main window size
Thank you, it works smile
03-06-2015 02:39 PM
Find all posts by this user Quote this message in a reply
Post Reply