| 575 | } |
| 576 | |
| 577 | std::string App::pathFix( std::string path ) { |
| 578 | if ( !path.empty() && ( path.at( 0 ) != '/' || !( Sys::getPlatform() == "Windows" && |
| 579 | path.size() > 3 && path.at( 1 ) != ':' ) ) ) { |
| 580 | return mBasePath + path; |
| 581 | } |
| 582 | |
| 583 | return path; |
| 584 | } |
| 585 | |
| 586 | void App::loadUITheme( std::string themePath ) { |
| 587 | TextureAtlasLoader tgl( themePath ); |