| 728 | |
| 729 | |
| 730 | tString Viewer::FindImagesInImageToLoadDir(tList<tSystem::tFileInfo>& foundFiles) |
| 731 | { |
| 732 | tString imagesDir; |
| 733 | if (!ImageToLoad.IsEmpty() && tSystem::tIsAbsolutePath(ImageToLoad)) |
| 734 | imagesDir = tSystem::tGetDir(ImageToLoad); |
| 735 | else |
| 736 | imagesDir = tSystem::tGetCurrentDir(); |
| 737 | |
| 738 | tPrintf("Finding image files in %s\n", imagesDir.Chr()); |
| 739 | tSystem::tExtensions extensions(FileTypes_Load); |
| 740 | tSystem::tFindFiles(foundFiles, imagesDir, extensions); |
| 741 | |
| 742 | return imagesDir; |
| 743 | } |
| 744 | |
| 745 | |
| 746 | tuint256 Viewer::ComputeImagesHash(const tList<tSystem::tFileInfo>& files) |
nothing calls this directly
no outgoing calls
no test coverage detected