- Split ImageAspect into 2 types, ImageAspect for images and ImageAspectScreenFilter for screens

- Change ImageDetails into a class and add some accessors for the filtering logic for screen aspect and image aspect
This commit is contained in:
Alfred Reynolds
2021-09-08 11:56:47 +12:00
parent 7fef2e5a68
commit 8bb97ed926
8 changed files with 79 additions and 33 deletions

View File

@@ -51,7 +51,7 @@ bool parseCommandLine(AppConfig &appConfig, int argc, char *argv[]) {
if (appConfig.valid_aspects.find(optarg[0]) == std::string::npos)
{
std::cout << "Invalid Aspect option, defaulting to all" << std::endl;
appConfig.baseDisplayOptions.onlyAspect = ImageAspect_Any;
appConfig.baseDisplayOptions.onlyAspect = ImageAspectScreenFilter_Any;
}
else
{