зеркало из https://github.com/mozilla/gecko-dev.git
Initial location abr commit. NPOB.
This commit is contained in:
Родитель
0b34d0e467
Коммит
ea500ec3db
|
@ -67,6 +67,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
<string>319 496 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -45,8 +45,10 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>160</integer>
|
||||
<integer>56</integer>
|
||||
<integer>82</integer>
|
||||
<integer>394</integer>
|
||||
<integer>160</integer>
|
||||
<integer>10</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
|
|
Двоичный файл не отображается.
|
@ -0,0 +1,30 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is the Mozilla browser.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 2002 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* David Hyatt <hyatt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface CHLocationBar : NSView {
|
||||
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,46 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is the Mozilla browser.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 2002 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* David Hyatt <hyatt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import "CHLocationBar.h"
|
||||
|
||||
@implementation CHLocationBar
|
||||
|
||||
- (id)initWithFrame:(NSRect)frame {
|
||||
if ( (self = [super initWithFrame:frame]) ) {
|
||||
// Initialization code here.
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)drawRect:(NSRect)aRect {
|
||||
// Frame the border.
|
||||
//NSDrawLightBezel([self bounds], aRect);
|
||||
|
||||
[[NSColor colorWithCalibratedWhite: 0.98 alpha: 1.0] set];
|
||||
NSRectFill(aRect);
|
||||
|
||||
[[NSColor colorWithCalibratedWhite: 0.90 alpha: 1.0] set];
|
||||
NSFrameRectWithWidth([self bounds], 2.0);
|
||||
}
|
||||
|
||||
@end
|
|
@ -2071,12 +2071,12 @@
|
|||
};
|
||||
F57074BD026D80DF01A80166 = {
|
||||
isa = PBXFileReference;
|
||||
path = LocationBar.h;
|
||||
path = CHLocationBar.h;
|
||||
refType = 4;
|
||||
};
|
||||
F57074BE026D80DF01A80166 = {
|
||||
isa = PBXFileReference;
|
||||
path = LocationBar.mm;
|
||||
path = CHLocationBar.mm;
|
||||
refType = 4;
|
||||
};
|
||||
F57074BF026D80DF01A80166 = {
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
<string>319 496 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -45,8 +45,10 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>160</integer>
|
||||
<integer>56</integer>
|
||||
<integer>82</integer>
|
||||
<integer>394</integer>
|
||||
<integer>160</integer>
|
||||
<integer>10</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
|
|
Двоичный файл не отображается.
|
@ -2071,12 +2071,12 @@
|
|||
};
|
||||
F57074BD026D80DF01A80166 = {
|
||||
isa = PBXFileReference;
|
||||
path = LocationBar.h;
|
||||
path = CHLocationBar.h;
|
||||
refType = 4;
|
||||
};
|
||||
F57074BE026D80DF01A80166 = {
|
||||
isa = PBXFileReference;
|
||||
path = LocationBar.mm;
|
||||
path = CHLocationBar.mm;
|
||||
refType = 4;
|
||||
};
|
||||
F57074BF026D80DF01A80166 = {
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
<string>319 496 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -45,8 +45,10 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>160</integer>
|
||||
<integer>56</integer>
|
||||
<integer>82</integer>
|
||||
<integer>394</integer>
|
||||
<integer>160</integer>
|
||||
<integer>10</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
|
|
Двоичные данные
camino/resources/localized/English.lproj/BrowserWindow.nib/objects.nib
сгенерированный
Двоичные данные
camino/resources/localized/English.lproj/BrowserWindow.nib/objects.nib
сгенерированный
Двоичный файл не отображается.
|
@ -0,0 +1,30 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is the Mozilla browser.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 2002 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* David Hyatt <hyatt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface CHLocationBar : NSView {
|
||||
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,46 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is the Mozilla browser.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 2002 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* David Hyatt <hyatt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import "CHLocationBar.h"
|
||||
|
||||
@implementation CHLocationBar
|
||||
|
||||
- (id)initWithFrame:(NSRect)frame {
|
||||
if ( (self = [super initWithFrame:frame]) ) {
|
||||
// Initialization code here.
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)drawRect:(NSRect)aRect {
|
||||
// Frame the border.
|
||||
//NSDrawLightBezel([self bounds], aRect);
|
||||
|
||||
[[NSColor colorWithCalibratedWhite: 0.98 alpha: 1.0] set];
|
||||
NSRectFill(aRect);
|
||||
|
||||
[[NSColor colorWithCalibratedWhite: 0.90 alpha: 1.0] set];
|
||||
NSFrameRectWithWidth([self bounds], 2.0);
|
||||
}
|
||||
|
||||
@end
|
|
@ -67,6 +67,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
<string>319 496 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -45,8 +45,10 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>160</integer>
|
||||
<integer>56</integer>
|
||||
<integer>82</integer>
|
||||
<integer>394</integer>
|
||||
<integer>160</integer>
|
||||
<integer>10</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
|
|
Двоичный файл не отображается.
|
@ -0,0 +1,30 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is the Mozilla browser.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 2002 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* David Hyatt <hyatt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface CHLocationBar : NSView {
|
||||
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,46 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is the Mozilla browser.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 2002 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* David Hyatt <hyatt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import "CHLocationBar.h"
|
||||
|
||||
@implementation CHLocationBar
|
||||
|
||||
- (id)initWithFrame:(NSRect)frame {
|
||||
if ( (self = [super initWithFrame:frame]) ) {
|
||||
// Initialization code here.
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)drawRect:(NSRect)aRect {
|
||||
// Frame the border.
|
||||
//NSDrawLightBezel([self bounds], aRect);
|
||||
|
||||
[[NSColor colorWithCalibratedWhite: 0.98 alpha: 1.0] set];
|
||||
NSRectFill(aRect);
|
||||
|
||||
[[NSColor colorWithCalibratedWhite: 0.90 alpha: 1.0] set];
|
||||
NSFrameRectWithWidth([self bounds], 2.0);
|
||||
}
|
||||
|
||||
@end
|
|
@ -2071,12 +2071,12 @@
|
|||
};
|
||||
F57074BD026D80DF01A80166 = {
|
||||
isa = PBXFileReference;
|
||||
path = LocationBar.h;
|
||||
path = CHLocationBar.h;
|
||||
refType = 4;
|
||||
};
|
||||
F57074BE026D80DF01A80166 = {
|
||||
isa = PBXFileReference;
|
||||
path = LocationBar.mm;
|
||||
path = CHLocationBar.mm;
|
||||
refType = 4;
|
||||
};
|
||||
F57074BF026D80DF01A80166 = {
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
<string>319 496 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -45,8 +45,10 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>160</integer>
|
||||
<integer>56</integer>
|
||||
<integer>82</integer>
|
||||
<integer>394</integer>
|
||||
<integer>160</integer>
|
||||
<integer>10</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
|
|
Двоичный файл не отображается.
|
@ -2071,12 +2071,12 @@
|
|||
};
|
||||
F57074BD026D80DF01A80166 = {
|
||||
isa = PBXFileReference;
|
||||
path = LocationBar.h;
|
||||
path = CHLocationBar.h;
|
||||
refType = 4;
|
||||
};
|
||||
F57074BE026D80DF01A80166 = {
|
||||
isa = PBXFileReference;
|
||||
path = LocationBar.mm;
|
||||
path = CHLocationBar.mm;
|
||||
refType = 4;
|
||||
};
|
||||
F57074BF026D80DF01A80166 = {
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
{CLASS = CHBookmarksToolbar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = CHExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = CHExtendedTabView; LANGUAGE = ObjC; SUPERCLASS = NSTabView; },
|
||||
{CLASS = CHLocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
{CLASS = ExtendedOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; },
|
||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||
{CLASS = LocationBar; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<key>463</key>
|
||||
<string>7 444 200 252 0 0 1152 746 </string>
|
||||
<key>56</key>
|
||||
<string>404 484 343 68 0 0 1152 746 </string>
|
||||
<string>319 496 343 68 0 0 1152 746 </string>
|
||||
</dict>
|
||||
<key>IBFramework Version</key>
|
||||
<string>248.0</string>
|
||||
|
@ -45,8 +45,10 @@
|
|||
</array>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>160</integer>
|
||||
<integer>56</integer>
|
||||
<integer>82</integer>
|
||||
<integer>394</integer>
|
||||
<integer>160</integer>
|
||||
<integer>10</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
|
|
Двоичные данные
chimera/resources/localized/English.lproj/BrowserWindow.nib/objects.nib
сгенерированный
Двоичные данные
chimera/resources/localized/English.lproj/BrowserWindow.nib/objects.nib
сгенерированный
Двоичный файл не отображается.
|
@ -0,0 +1,30 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is the Mozilla browser.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 2002 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* David Hyatt <hyatt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface CHLocationBar : NSView {
|
||||
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,46 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is the Mozilla browser.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 2002 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* David Hyatt <hyatt@netscape.com> (Original Author)
|
||||
*/
|
||||
|
||||
#import "CHLocationBar.h"
|
||||
|
||||
@implementation CHLocationBar
|
||||
|
||||
- (id)initWithFrame:(NSRect)frame {
|
||||
if ( (self = [super initWithFrame:frame]) ) {
|
||||
// Initialization code here.
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)drawRect:(NSRect)aRect {
|
||||
// Frame the border.
|
||||
//NSDrawLightBezel([self bounds], aRect);
|
||||
|
||||
[[NSColor colorWithCalibratedWhite: 0.98 alpha: 1.0] set];
|
||||
NSRectFill(aRect);
|
||||
|
||||
[[NSColor colorWithCalibratedWhite: 0.90 alpha: 1.0] set];
|
||||
NSFrameRectWithWidth([self bounds], 2.0);
|
||||
}
|
||||
|
||||
@end
|
Загрузка…
Ссылка в новой задаче