eepp: Fixed a crash on single click navigation when selecting folder or file in UIFileDialog.

eeiv: Add drag & drop of images and folders. Added small welcome screen.
eterm: Detect windows below the default width and height and resize the window to fix the screen.
This commit is contained in:
Martín Lucas Golini
2026-08-01 00:31:55 -03:00
parent 13508c20d1
commit 14207f228b
6 changed files with 217 additions and 2 deletions
+7
View File
@@ -280,6 +280,13 @@ EE_MAIN_FUNC int main( int argc, char* argv[] ) {
defaultResourceScope().getFontService().setAntialiasing( fontAntialiasing.Get() );
Sizei winSize( width.Get(), height.Get() );
if ( winSize.getWidth() >= currentDisplay->getBounds().getWidth() )
winSize.setWidth( static_cast<int>( currentDisplay->getBounds().getWidth() * 0.8 ) );
if ( winSize.getHeight() >= currentDisplay->getBounds().getHeight() )
winSize.setHeight( static_cast<int>( currentDisplay->getBounds().getHeight() * 0.75 ) );
win = Engine::instance()->createWindow(
WindowSettings( winSize.getWidth(), winSize.getHeight(), "eterm", WindowStyle::Default,
WindowBackend::Default, 32, resPath + "icon/eterm.png",