style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23502 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
bf86f09912
commit
c71ff07bd9
@ -77,7 +77,6 @@ HEventItem::DrawItem(BView *owner, BRect itemRect, bool complete)
|
|||||||
owner->SetLowColor(color);
|
owner->SetLowColor(color);
|
||||||
owner->FillRect(itemRect);
|
owner->FillRect(itemRect);
|
||||||
owner->SetHighColor(kBlack);
|
owner->SetHighColor(kBlack);
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
owner->SetLowColor(owner->ViewColor());
|
owner->SetLowColor(owner->ViewColor());
|
||||||
|
@ -40,9 +40,9 @@
|
|||||||
* Constructor
|
* Constructor
|
||||||
***********************************************************/
|
***********************************************************/
|
||||||
HWindow::HWindow(BRect rect, const char* name)
|
HWindow::HWindow(BRect rect, const char* name)
|
||||||
:_inherited(rect,name,B_TITLED_WINDOW,0)
|
:_inherited(rect, name, B_TITLED_WINDOW, 0),
|
||||||
,fFilePanel(NULL)
|
fFilePanel(NULL),
|
||||||
,fPlayer(NULL)
|
fPlayer(NULL)
|
||||||
{
|
{
|
||||||
InitGUI();
|
InitGUI();
|
||||||
float min_width, min_height, max_width, max_height;
|
float min_width, min_height, max_width, max_height;
|
||||||
@ -336,7 +336,7 @@ HWindow::SetupMenuField()
|
|||||||
BEntry entry;
|
BEntry entry;
|
||||||
BPath item_path;
|
BPath item_path;
|
||||||
while (err == B_OK){
|
while (err == B_OK){
|
||||||
err = dir.GetNextEntry( (BEntry*)&entry, TRUE );
|
err = dir.GetNextEntry((BEntry *)&entry, true);
|
||||||
if (entry.InitCheck() != B_NO_ERROR) {
|
if (entry.InitCheck() != B_NO_ERROR) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -356,7 +356,7 @@ HWindow::SetupMenuField()
|
|||||||
dir.SetTo(path.Path());
|
dir.SetTo(path.Path());
|
||||||
err = B_OK;
|
err = B_OK;
|
||||||
while (err == B_OK) {
|
while (err == B_OK) {
|
||||||
err = dir.GetNextEntry( (BEntry*)&entry, TRUE );
|
err = dir.GetNextEntry((BEntry *)&entry, true);
|
||||||
if (entry.InitCheck() != B_NO_ERROR) {
|
if (entry.InitCheck() != B_NO_ERROR) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -377,7 +377,7 @@ HWindow::SetupMenuField()
|
|||||||
dir.SetTo(path.Path());
|
dir.SetTo(path.Path());
|
||||||
err = B_OK;
|
err = B_OK;
|
||||||
while (err == B_OK) {
|
while (err == B_OK) {
|
||||||
err = dir.GetNextEntry( (BEntry*)&entry, TRUE );
|
err = dir.GetNextEntry((BEntry *)&entry, true);
|
||||||
if (entry.InitCheck() != B_NO_ERROR) {
|
if (entry.InitCheck() != B_NO_ERROR) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user