src/preferences Code formatting
* No functional change code formatting changes only Change-Id: Id861adea9266a9ccbf9925d36e4a2bad85b640b7 Reviewed-on: https://review.haiku-os.org/c/895 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
@@ -113,7 +113,7 @@ LookAndFeelSettingsView::LookAndFeelSettingsView(const char* name)
|
|||||||
// control layout
|
// control layout
|
||||||
BLayoutBuilder::Grid<>(this, B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING)
|
BLayoutBuilder::Grid<>(this, B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING)
|
||||||
.Add(fDecorMenuField->CreateLabelLayoutItem(), 0, 0)
|
.Add(fDecorMenuField->CreateLabelLayoutItem(), 0, 0)
|
||||||
.Add(fDecorMenuField->CreateMenuBarLayoutItem(), 1, 0)
|
.Add(fDecorMenuField->CreateMenuBarLayoutItem(), 1, 0)
|
||||||
.Add(fDecorInfoButton, 2, 0)
|
.Add(fDecorInfoButton, 2, 0)
|
||||||
.Add(scrollBarLabel, 0, 1)
|
.Add(scrollBarLabel, 0, 1)
|
||||||
.Add(arrowStyleBox, 1, 1)
|
.Add(arrowStyleBox, 1, 1)
|
||||||
|
|||||||
@@ -281,10 +281,10 @@ InquiryPanel::MessageReceived(BMessage* message)
|
|||||||
((DeviceListItem*)fRemoteList->ItemAt(retrievalIndex))
|
((DeviceListItem*)fRemoteList->ItemAt(retrievalIndex))
|
||||||
->SetDevice((BluetoothDevice*) fDiscoveryAgent
|
->SetDevice((BluetoothDevice*) fDiscoveryAgent
|
||||||
->RetrieveDevices(0).ItemAt(retrievalIndex));
|
->RetrieveDevices(0).ItemAt(retrievalIndex));
|
||||||
fRemoteList->InvalidateItem(retrievalIndex);
|
fRemoteList->InvalidateItem(retrievalIndex);
|
||||||
|
|
||||||
retrievalIndex++;
|
retrievalIndex++;
|
||||||
labelPlaced = false;
|
labelPlaced = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
BMessageRunner::StartSending(fMessenger, fRetrieveMessage, 500000, 1);
|
BMessageRunner::StartSending(fMessenger, fRetrieveMessage, 500000, 1);
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ CalibWin::CalibWin(BRect frame,const char *title, window_look look,
|
|||||||
fView->AddChild(fButton11);
|
fView->AddChild(fButton11);
|
||||||
fView->AddChild(fButton12);
|
fView->AddChild(fButton12);
|
||||||
|
|
||||||
AddChild(fView);
|
AddChild(fView);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -24,9 +24,9 @@ MessageWin::MessageWin(BRect parentFrame, const char *title,
|
|||||||
fBox->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
|
fBox->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
|
||||||
fBox->SetLowColor(fBox->ViewColor());
|
fBox->SetLowColor(fBox->ViewColor());
|
||||||
|
|
||||||
// Rects for the text view
|
// Rects for the text view
|
||||||
BRect outside(fBox->Bounds());
|
BRect outside(fBox->Bounds());
|
||||||
outside.InsetBy(10, 10);
|
outside.InsetBy(10, 10);
|
||||||
BRect insider(outside);
|
BRect insider(outside);
|
||||||
insider.OffsetTo(B_ORIGIN);
|
insider.OffsetTo(B_ORIGIN);
|
||||||
|
|
||||||
@@ -47,10 +47,10 @@ MessageWin::MessageWin(BRect parentFrame, const char *title,
|
|||||||
|
|
||||||
void MessageWin::SetText(const char* str)
|
void MessageWin::SetText(const char* str)
|
||||||
{
|
{
|
||||||
Lock();
|
Lock();
|
||||||
fText->SetText(str);
|
fText->SetText(str);
|
||||||
fText->Flush();
|
fText->Flush();
|
||||||
Unlock();
|
Unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
|
|
||||||
|
|
||||||
enum BNetworkInterfaceType {
|
enum BNetworkInterfaceType {
|
||||||
B_NETWORK_INTERFACE_TYPE_WIFI = 'wifi',
|
B_NETWORK_INTERFACE_TYPE_WIFI = 'wifi',
|
||||||
B_NETWORK_INTERFACE_TYPE_ETHERNET = 'ethr',
|
B_NETWORK_INTERFACE_TYPE_ETHERNET = 'ethr',
|
||||||
B_NETWORK_INTERFACE_TYPE_DIAL_UP = 'dial',
|
B_NETWORK_INTERFACE_TYPE_DIAL_UP = 'dial',
|
||||||
B_NETWORK_INTERFACE_TYPE_VPN = 'nvpn',
|
B_NETWORK_INTERFACE_TYPE_VPN = 'nvpn',
|
||||||
B_NETWORK_INTERFACE_TYPE_OTHER = 'othe',
|
B_NETWORK_INTERFACE_TYPE_OTHER = 'othe',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user