-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathHandlerBase.h
47 lines (36 loc) · 1.24 KB
/
HandlerBase.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
//
// HandlerBase.h
// SimpleCap
//
// Created by - on 08/03/23.
// Copyright 2008 Hiroshi Hashiguchi. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class CaptureController;
@class Window;
@interface HandlerBase : NSObject {
CaptureController* _capture_controller;
int _animation_counter;
}
- (id)initWithCaptureController:(CaptureController*)captureController;
- (void)drawBackground:(NSRect)rect;
//- (BOOL)isDockWindow:(CFDictionaryRef)window;
- (void)keyDown:(NSEvent *)theEvent;
- (void)flagsChanged:(NSEvent *)theEvent;
- (void)setup;
- (NSMenu *)menuForEvent:(NSEvent *)theEvent;
- (void)setupQuickConfigMenu:(NSMenu*)menu;
- (NSColor*)backgroundColor;
- (NSInteger)defaultWindowLevel;
- (void)drawSelectedBoxRect:(NSRect)rect Counter:(int)counter;
- (void)drawSelectedBoxRect2:(NSRect)rect Counter:(int)counter;
- (NSArray*)getWindowListWindowID:(CGWindowID)window_id;
- (NSArray*)getWindowList;
- (NSArray*)getSortedWindowListDirection:(BOOL)direction;
- (NSArray*)getWindowAllList;
- (CGImageRef)cgimageWithWindowList:(NSArray*)list cgrect:(CGRect)cgrect;
- (CGImageRef)cgimageWithWindowList:(NSArray*)list cgrect:(CGRect)cgrect ignoreOptions:(BOOL)ignore;
// override
- (Window*)topWindow;
- (BOOL)isTargetWindow:(Window*)window;
@end