+DirNameToDisplayName is String function used to get the +descriptive name associated with the specified widgetset directory name. +
++ADirName contains the widgetset directory handled in the routine. +It is not a full path - or even a relative path - it simply a directory name +like 'qt5' or 'win32'. +
++DirNameToDisplayName calls DirNameToLCLPlatform to get the TLCLPlatform +enumeration value for the widgetset directory. If ADirName is not found, the +lpGtk2 platform is assumed. The enumeration value is used an an index into the +LCLPlatformDisplayNames constant where the return value is stored. +
++Use DisplayNameToDirName to convert the descriptive name back to the directory +where the widgetset files are found. +
++DisplayNameToDirName is a String function used to +convert the specified descriptive name for a widgetset to the directory where +its files are stored. +
+
+The return value refers to a directory located in the
+
+ADisplayName contains the descriptive name for the widgetset as returned from +DirNameToDisplayName, and should contain a value from the +LCLPlatformDisplayNames constant. Case is not significant for the argument +value. +
++DisplayNameToDirName iterates over the values in LCLPlatformDisplayNames to +locate the position for the value in ADisplayName. The corresponding value +from LCLPatformDirNames is used as the return value. If the specified +descriptive name is not found, the value 'gtk2' is used. +
+Used in the lazbuild utility to get the target widgetset used for -the -various platform defines. + the various platform defines.