Now has a handy constant for the window cascade amount in pixel. Set that

one to 20 (instead of 15) which fits DiskProbe's value.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6552 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-02-10 12:05:21 +00:00
parent e23d6a15a6
commit 5d5bcda961
+3 -1
View File
@@ -24,6 +24,8 @@
static const char *kSignature = "application/x-vnd.OpenBeOS-DiskProbe";
static const uint32 kCascadeOffset = 20;
class DiskProbe : public BApplication {
public:
@@ -243,7 +245,7 @@ DiskProbe::Probe(entry_ref &ref)
// cascade window
BRect rect = fWindowPosition;
rect.OffsetBy(probeWindows * 15, probeWindows * 15);
rect.OffsetBy(probeWindows * kCascadeOffset, probeWindows * kCascadeOffset);
BWindow *window = new ProbeWindow(rect, &ref);
window->Show();