* Made the window much larger by default.
* Cleaned up the about requester a bit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32258 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
780e0413a1
commit
43d5e9c5d1
@ -547,10 +547,9 @@ PowerStatusReplicant::MouseDown(BPoint point)
|
|||||||
void
|
void
|
||||||
PowerStatusReplicant::_AboutRequested()
|
PowerStatusReplicant::_AboutRequested()
|
||||||
{
|
{
|
||||||
BAlert *alert = new BAlert("about", "PowerStatus\n"
|
BAlert* alert = new BAlert("about", "PowerStatus\n"
|
||||||
"written by Axel Dörfler,\n"
|
"written by Axel Dörfler, Clemens Zeidler\n"
|
||||||
"\tClemens Zeidler\n"
|
"Copyright 2006, Haiku, Inc.\n", "Ok");
|
||||||
"\tCopyright 2006, Haiku, Inc.\n", "Ok");
|
|
||||||
BTextView *view = alert->TextView();
|
BTextView *view = alert->TextView();
|
||||||
BFont font;
|
BFont font;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2006, Haiku, Inc. All Rights Reserved.
|
* Copyright 2006-2009, Haiku, Inc. All Rights Reserved.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
|
|
||||||
PowerStatusWindow::PowerStatusWindow()
|
PowerStatusWindow::PowerStatusWindow()
|
||||||
: BWindow(BRect(100, 150, 147, 197), "PowerStatus", B_TITLED_WINDOW,
|
: BWindow(BRect(100, 150, 281, 299), "PowerStatus", B_TITLED_WINDOW,
|
||||||
B_NOT_ZOOMABLE | B_ASYNCHRONOUS_CONTROLS)
|
B_NOT_ZOOMABLE | B_ASYNCHRONOUS_CONTROLS)
|
||||||
{
|
{
|
||||||
BView* topView = new BView(Bounds(), NULL, B_FOLLOW_ALL, B_WILL_DRAW);
|
BView* topView = new BView(Bounds(), NULL, B_FOLLOW_ALL, B_WILL_DRAW);
|
||||||
|
Loading…
Reference in New Issue
Block a user