blob: a0991d2b5a38ee6ad3c40ab0b66a0f7a94c86858 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// 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_TOOLBAR_BUTTON_CELL_H_
#define CHROME_BROWSER_COCOA_TOOLBAR_BUTTON_CELL_H_
#import <Cocoa/Cocoa.h>
// A button cell that handles drawing/highlighting of buttons in the
// toolbar bar. The appearance is determined by setting the cell's tag (not the
// view's) to one of the constants below (ButtonType).
enum {
kLeftButtonType = -1,
kLeftButtonWithShadowType = -2,
kStandardButtonType = 0,
kRightButtonType = 1,
};
typedef NSInteger ButtonType;
@interface ToolbarButtonCell : NSButtonCell {
}
@end
#endif // CHROME_BROWSER_COCOA_TOOLBAR_BUTTON_CELL_H_
|