Minor fixes.

Bumped SDL version for VC build.
This commit is contained in:
Martín Lucas Golini
2020-05-25 19:15:06 -03:00
parent 71e9775824
commit cd4684a148
13 changed files with 78 additions and 35 deletions

View File

@@ -36,7 +36,7 @@ void loadFileFromPath( const std::string& path ) {
}
void openFileDialog() {
UICommonDialog* TGDialog = UICommonDialog::New( UI_CDL_DEFAULT_FLAGS, "*.xml;*.css;*.svg" );
UICommonDialog* TGDialog = UICommonDialog::New( UI_CDL_DEFAULT_FLAGS, "*" );
TGDialog->setWinFlags( UI_WIN_DEFAULT_FLAGS | UI_WIN_MAXIMIZE_BUTTON | UI_WIN_MODAL );
TGDialog->setTitle( "Open layout..." );
TGDialog->addEventListener( Event::OpenFile, []( const Event* event ) {