|
7 | 7 |
|
8 | 8 | @interface MRDPRailView : NSView
|
9 | 9 | {
|
10 |
| - freerdp * rdp_instance; |
11 |
| - rdpContext * context; |
12 |
| - NSBitmapImageRep * bmiRep; |
13 |
| - NSPoint savedDragLocation; |
14 |
| - char * pixelData; |
15 |
| - BOOL mouseInClientArea; |
16 |
| - BOOL titleBarClicked; |
17 |
| - BOOL gestureEventInProgress; |
18 |
| - int width; |
19 |
| - int height; |
20 |
| - int savedWindowId; |
21 |
| - int scrollWheelCount; |
| 10 | + freerdp* rdp_instance; |
| 11 | + rdpContext* context; |
| 12 | + NSBitmapImageRep* bmiRep; |
| 13 | + NSPoint savedDragLocation; |
| 14 | + char* pixelData; |
| 15 | + BOOL mouseInClientArea; |
| 16 | + BOOL titleBarClicked; |
| 17 | + BOOL gestureEventInProgress; |
| 18 | + int width; |
| 19 | + int height; |
| 20 | + int savedWindowId; |
| 21 | + int scrollWheelCount; |
22 | 22 |
|
23 |
| - // store state info for some keys |
24 |
| - int kdlshift; |
25 |
| - int kdrshift; |
26 |
| - int kdlctrl; |
27 |
| - int kdrctrl; |
28 |
| - int kdlalt; |
29 |
| - int kdralt; |
30 |
| - int kdlmeta; |
31 |
| - int kdrmeta; |
32 |
| - int kdcapslock; |
| 23 | + /* store state info for some keys */ |
| 24 | + int kdlshift; |
| 25 | + int kdrshift; |
| 26 | + int kdlctrl; |
| 27 | + int kdrctrl; |
| 28 | + int kdlalt; |
| 29 | + int kdralt; |
| 30 | + int kdlmeta; |
| 31 | + int kdrmeta; |
| 32 | + int kdcapslock; |
33 | 33 |
|
34 | 34 | @public
|
35 |
| - BOOL isMoveSizeInProgress; |
36 |
| - BOOL saveInitialDragLoc; |
37 |
| - BOOL skipMoveWindowOnce; |
38 |
| - int localMoveType; |
| 35 | + BOOL isMoveSizeInProgress; |
| 36 | + BOOL saveInitialDragLoc; |
| 37 | + BOOL skipMoveWindowOnce; |
| 38 | + int localMoveType; |
39 | 39 | }
|
40 | 40 |
|
41 |
| -@property (assign) MRDPRailWindow * mrdpRailWindow; |
| 41 | +@property (assign) MRDPRailWindow* mrdpRailWindow; |
42 | 42 | @property (assign) int windowIndex;
|
43 | 43 | @property (assign) BOOL activateWindow;
|
44 | 44 |
|
45 |
| -- (void) windowDidMove:(NSNotification *) notification; |
| 45 | +- (void) windowDidMove:(NSNotification*) notification; |
46 | 46 | - (void) updateDisplay;
|
47 |
| -- (void) setRdpInstance:(freerdp *) instance width:(int) w andHeight:(int) h windowID:(int) windowID; |
48 |
| -- (BOOL) eventIsInClientArea :(NSEvent *) event :(int *) xptr :(int *) yptr; |
| 47 | +- (void) setRdpInstance:(freerdp*) instance width:(int) w andHeight:(int) h windowID:(int) windowID; |
49 | 48 | - (void) setupBmiRep:(int) width :(int) height;
|
50 | 49 | - (void) releaseResources;
|
51 | 50 |
|
52 |
| -void mac_rail_MoveWindow(rdpRail *rail, rdpWindow *window); |
53 |
| -void apple_to_windowMove(NSRect * r, RAIL_WINDOW_MOVE_ORDER * windowMove); |
54 |
| -void mac_send_rail_client_event(rdpChannels *channels, UINT16 event_type, void *param); |
55 |
| -void windows_to_apple_cords(NSRect * r); |
56 |
| -void rail_MoveWindow(rdpRail * rail, rdpWindow * window); |
| 51 | +void mac_rail_MoveWindow(rdpRail* rail, rdpWindow* window); |
| 52 | +void apple_to_windowMove(NSRect* r, RAIL_WINDOW_MOVE_ORDER* windowMove); |
| 53 | +void mac_send_rail_client_event(rdpChannels* channels, UINT16 event_type, void* param); |
| 54 | +void windows_to_apple_cords(NSRect* r); |
| 55 | +void rail_MoveWindow(rdpRail* rail, rdpWindow* window); |
57 | 56 | void mac_rail_send_activate(int window_id);
|
58 | 57 |
|
59 | 58 | @end
|
60 |
| - |
0 commit comments