numeric statistics dimensions; minor tweaks of graph

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@150 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-22 22:47:48 +00:00
parent 69e4edff95
commit d5db3f46ff
12 changed files with 92 additions and 37 deletions
+3 -2
View File
@@ -54,9 +54,10 @@ void PackageList::showData(const String& pattern) {
PackageP package = ::packages.openAny(f);
// open image
InputStreamP stream = package->openIconFile();
Image img;
Bitmap bmp;
if (stream) {
bmp = Bitmap(Image(*stream));
if (stream && img.LoadFile(*stream)) {
bmp = Bitmap(img);
}
// add to list
packages.push_back(PackageData(package, bmp));