| 826 | |
| 827 | |
| 828 | Viewer::Image* Viewer::FindImage(const tString& filename) |
| 829 | { |
| 830 | Image* img = nullptr; |
| 831 | for (Image* si = Images.First(); si; si = si->Next()) |
| 832 | { |
| 833 | if (si->Filename.IsEqualCI(filename)) |
| 834 | { |
| 835 | img = si; |
| 836 | break; |
| 837 | } |
| 838 | } |
| 839 | |
| 840 | return img; |
| 841 | } |
| 842 | |
| 843 | |
| 844 | bool Viewer::SetCurrentImage(const tString& currFilename, bool forceReload) |
nothing calls this directly
no outgoing calls
no test coverage detected