Attr-Texture name

From Vectorlab
Jump to: navigation, search


Returns a texture name or '-'. This is nice for pulldown menues. By Orso B. Schmid


{ Orso ***************************** }	
{ returns the texture name or '-' if no texture }
FUNCTION A_TextureName(nameIndx: LONGINT): STRING;
	BEGIN
		A_TextureName := '-';
		IF nameIndx > 0 THEN
			A_TextureName := Index2Name(nameIndx);
	END;