Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/Ruby_bindings/RubyDialogController.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 91 - (show annotations) (download) (as text)
Fri Sep 8 15:43:57 2017 UTC (6 years, 8 months ago) by toshinagata1964
File MIME type: text/x-chdr
File size: 1357 byte(s)
More warnings are removed (semantic and unused warnings)
1 //
2 // RubyDialogController.h
3 // Alchemusica
4 //
5 // Created by Toshi Nagata on 08/04/13.
6 // Copyright 2008-2016 Toshi Nagata. All rights reserved.
7 //
8 /*
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation version 2 of the License.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17 */
18
19 #ifndef __RubyDialogController__
20 #define __RubyDialogController__
21
22 #import <Cocoa/Cocoa.h>
23
24 #include "ruby_dialog.h"
25
26 @interface RubyDialogController : NSWindowController <NSTextFieldDelegate, NSWindowDelegate, NSTextViewDelegate, NSTableViewDataSource, NSTableViewDelegate> {
27 RubyValue dval; /* Ruby object representing this object */
28 NSMutableArray *ditems; /* Array of dialog items */
29 @public
30 int style; /* Window style */
31 NSTimer *myTimer;
32 BOOL onKeyHandlerEnabled;
33 BOOL autoResizeEnabled;
34 NSSize mySize;
35 BOOL isModal;
36 }
37 - (void)dialogItemAction: (id)sender;
38 - (void)setRubyObject: (RubyValue)val;
39 - (void)addDialogItem: (id)ditem;
40 - (id)dialogItemAtIndex: (int)index;
41 - (int)searchDialogItem: (id)ditem;
42 @end
43
44 #endif /* __MDRubyDialog__ */
45

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26