OSDN Git Service

ver0.632
[awarsiii/AwarsIV.git] / Awars III / CommandView.h
1 //
2 //  CommandView.h
3 //  Awars III
4 //
5 //  Created by Killery on 2013/02/05.
6 //  Copyright (c) 2013年 Killery. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
10
11 int SLCx;
12 int SLCy;
13 bool DoubleClickedC;
14 bool CommandSelected;
15
16 @interface CommandView : NSView
17 {
18     NSTimer *time;
19     NSImage *chip;
20     NSImage *chip2, *chip3, *chip4, *chip5;
21     
22     NSPoint selectPoint;
23 }
24
25 -(NSImage*)LoadImage:(NSString*)name;
26 -(void)DrawImage:(NSImage*)image x:(float)x y:(float)y cx:(int)cx cy:(int)cy;
27
28 -(void)EventLoopCommandView;
29 @end
30
31 CommandView *CommandViewInst;