git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10692 a95241bf-73f2-0310-859d-f6bbb57e9c96
28 lines
540 B
C++
28 lines
540 B
C++
/*
|
|
* Copyright 2005, Waldemar Kornewald <[email protected]>
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
|
|
#include "StatusWindow.h"
|
|
#include "StatusView.h"
|
|
|
|
|
|
StatusWindow::StatusWindow(BRect frame, ppp_interface_id id)
|
|
: BWindow(frame, "", B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE,
|
|
B_ALL_WORKSPACES)
|
|
{
|
|
SetPulseRate(1000000);
|
|
|
|
StatusView *view = new StatusView(Bounds(), id);
|
|
AddChild(view);
|
|
}
|
|
|
|
|
|
bool
|
|
StatusWindow::QuitRequested()
|
|
{
|
|
// only the replicant may delete this window!
|
|
Hide();
|
|
return false;
|
|
}
|