====== gui (Module) ====== Utilities for GUI applications. ===== Functions ===== #@Identifier_HTML~colorAlpha~@# ( #@UArg_HTML~colorVector~@#, #@Arg_HTML~Number,alpha~@# ) Returns a new color with the alpha value changed to //alpha//. #@Identifier_HTML~colorMix~@# ( #@UArg_HTML~a~@#, #@UArg_HTML~b~@#, #@Arg_HTML~Number,amount~@# ) Returns a color where vectors //a// and //b// are interpolated by //amount//. If //amount// is 0, the result is //a//; if //amount// is 1, the result is //b//. #@Identifier_HTML~dpiScaledImagePath~@# ( #@Arg_HTML~Text,path~@# ) Returns a version of //path// where "@2x" is appended to the end if ''DisplayMode.PIXEL_RATIO'' is 2 (approximately). #@Identifier_HTML~scale~@# ( #@UArg_HTML~value~@#, #@Arg_HTML~Number,factor~@# ) Scales a value by //factor//. If //value// is a text string, the suffixes "pt" and "px" (point, pixel) are retained in the result. ; //value// : Value to scale. Number or Text, may have "pt" or "px" as suffix. ; //factor// : Scale factor. #@Identifier_HTML~setDefaults~@# ( #@Arg_HTML~Record,d~@# ) Populate record //d// with the default configuration variables for a GUI app.