blob: 60c51f079f58c28c1b5d2afc80f6ad557f828398 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// 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_COCOA_GROW_BOX_VIEW_H_
#define CHROME_BROWSER_COCOA_GROW_BOX_VIEW_H_
#import <Cocoa/Cocoa.h>
// A class that handles drawing and mouse tracking to replace the standard
// window "grow box" grippy in cases where the OS one won't do. Relies on
// an image named "grow_box" be included in the application's resources. The
// box should be 15x15 in size, but that's not a requirement.
@interface GrowBoxView : NSView {
@private
NSImage* image_; // grow box image
}
@end
#endif // CHROME_BROWSER_COCOA_GROW_BOX_VIEW_H_
|