forked from overtake/telegram
-
Notifications
You must be signed in to change notification settings - Fork 6
/
GRCustomizableWindow.h
executable file
·53 lines (44 loc) · 1.31 KB
/
GRCustomizableWindow.h
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// GRCustomizableWindow.h
// GRCustomizableWindow
//
// Created by Guilherme Rambo on 26/02/14.
// Copyright (c) 2014 Guilherme Rambo. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface GRCustomizableWindow : NSWindow
/*!
@property titlebarHeight
@abstract Defines the height of the window's titlebar
*/
@property (nonatomic, copy) NSNumber *titlebarHeight;
/*!
@property titlebarColor
@abstract Defines the background color of the window's titlebar
@discussion
Set the window's titlebar background color, It will be overlaid by a subtle gradient
*/
@property (nonatomic, copy) NSColor *titlebarColor;
/*!
@property titleColor
@abstract Defines the color used to draw the window's title
@discussion
If left nil, will use a darker version of titlebarColor
*/
@property (nonatomic, copy) NSColor *titleColor;
/*!
@property titleFont
@abstract Defines the font used to draw the window's title
*/
@property (nonatomic, copy) NSFont *titleFont;
/*!
@property centerControls
@abstract Defines if the window's buttons and title should be centered vertically
*/
@property (nonatomic, assign) BOOL centerControls;
/*!
@property enableGradients
@abstract Defines whether the window's title bar and content border should have a gradient added to them
*/
@property (nonatomic, assign) BOOL enableGradients;
@end