added third buttonglyph from Tom Lisjac

git-svn-id: trunk@4371 -
This commit is contained in:
mattias 2003-07-06 08:59:41 +00:00
parent 04c90479b5
commit fc194c6045

View File

@ -89,8 +89,9 @@ begin
ImgID:=0;
case State of
bsDisabled: if NumGlyphs>1 then ImgID:=1;
bsDown: if NumGlyphs>2 then ImgID:=2;
bsDisabled: if NumGlyphs>1 then ImgID:=1;
bsDown: if NumGlyphs>2 then ImgID:=2;
bsExclusive: if NumGlyphs>3 then ImgID:=3;
end;
Result := Rect((ImgID*gWidth), 0, ((ImgID+1)*gWidth), gHeight);