Allow scaled vect with BITMAP GET

This commit is contained in:
Jim
2015-04-15 11:51:47 -07:00
parent c4b92fcf47
commit d24e5115f3
3 changed files with 23 additions and 7 deletions

View File

@@ -8482,7 +8482,14 @@ void YabInterface::BitmapGet(double w, const char* id, const char* path)
BNode *fNode = new BNode(path);
BNodeInfo fInfo(fNode);
fInfo.GetTrackerIcon( iBitmap, B_LARGE_ICON );
int i;
i=int(w);
icon_size ics;
ics=(icon_size)i;
fInfo.GetTrackerIcon( iBitmap, ics );
fBitmap->Lock();
bview->DrawBitmap( iBitmap, iFrame );