C++程序  |  24行  |  694 B

// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_COCOA_BACKGROUND_TILE_VIEW_H_
#define CHROME_BROWSER_UI_COCOA_BACKGROUND_TILE_VIEW_H_
#pragma once

#import <Cocoa/Cocoa.h>

// A custom view that draws a image tiled as the background.  This isn't meant
// to be used where themes might be need, and is for other windows (about box).

@interface BackgroundTileView : NSView {
 @private
  BOOL showsDivider_;
  NSImage* tileImage_;
}

@property(nonatomic, retain) NSImage* tileImage;
@end

#endif  // CHROME_BROWSER_UI_COCOA_BACKGROUND_TILE_VIEW_H_