Style fixes and update copywrite headers

This commit is contained in:
John Scipione
2013-05-10 00:51:24 -04:00
parent 298cd4c2bf
commit 55067dfe82
3 changed files with 11 additions and 5 deletions
+8 -3
View File
@@ -1,8 +1,11 @@
/*
* Copyright 2007-2010, Haiku, Inc. All rights reserved.
* Copyright 2007-2013 Haiku, Inc. All rights reserved.
* Copyright 2003-2004 Kian Duffy, [email protected]
* Parts Copyright 1998-1999 Kazuho Okui and Takashi Murai.
* All rights reserved. Distributed under the terms of the MIT license.
*
* Authors:
* John Scipione, [email protected]
*/
#include "FindWindow.h"
@@ -26,11 +29,13 @@ const uint32 MSG_FIND_HIDE = 'Fhid';
const uint32 TOGGLE_FIND_CONTROL = 'MTFG';
const BRect kWindowFrame(10, 30, 250, 200);
#undef B_TRANSLATION_CONTEXT
#define B_TRANSLATION_CONTEXT "Terminal FindWindow"
FindWindow::FindWindow(BMessenger messenger, const BString& str,
bool findSelection, bool matchWord, bool matchCase, bool forwardSearch)
bool findSelection, bool matchWord, bool matchCase, bool forwardSearch)
:
BWindow(kWindowFrame, B_TRANSLATE("Find"), B_FLOATING_WINDOW,
B_NOT_RESIZABLE | B_NOT_ZOOMABLE | B_CLOSE_ON_ESCAPE
@@ -39,7 +44,7 @@ FindWindow::FindWindow(BMessenger messenger, const BString& str,
{
SetLayout(new BGroupLayout(B_VERTICAL));
BBox *separator = new BBox("separator");
BBox* separator = new BBox("separator");
separator->SetExplicitMinSize(BSize(250.0, B_SIZE_UNSET));
separator->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, 1.0));
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2007, Haiku, Inc.
* Copyright 2007-2013 Haiku, Inc. All rights reserved.
* Copyright 2003-2004 Kian Duffy, [email protected]
* Parts Copyright 1998-1999 Kazuho Okui and Takashi Murai.
* All rights reserved. Distributed under the terms of the MIT license.
@@ -29,8 +29,8 @@ public:
bool matchCase, bool forwardSearch);
virtual ~FindWindow();
virtual void Quit();
virtual void MessageReceived(BMessage* msg);
virtual void Quit();
private:
void _SendFindMessage();
+1
View File
@@ -9,6 +9,7 @@
* Authors:
* Kian Duffy, [email protected]
* Daniel Furrer, [email protected]
* John Scipione, [email protected]
* Siarzhuk Zharski, [email protected]
*/