cosmetical improvements to status view, it also shows the image size now

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9113 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2004-09-29 19:47:18 +00:00
parent 33140fa001
commit 0cd4ecd8b2
3 changed files with 57 additions and 3 deletions
+3
View File
@@ -288,6 +288,9 @@ ShowImageView::Notify(const char* status)
if (status != NULL) {
msg.AddString("status", status);
}
msg.AddInt32("width", fBitmap->Bounds().IntegerWidth() + 1);
msg.AddInt32("height", fBitmap->Bounds().IntegerHeight() + 1);
msg.AddInt32("colors", fBitmap->ColorSpace());
BMessenger msgr(Window());
msgr.SendMessage(&msg);