File: SDLMain.h

package info (click to toggle)
tuxpaint 1%3A0.9.20-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 21,004 kB
  • ctags: 2,143
  • sloc: ansic: 22,917; objc: 1,082; makefile: 922; sh: 172; cpp: 119; python: 75
file content (45 lines) | stat: -rwxr-xr-x 1,425 bytes parent folder | download | duplicates (5)
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
/*   SDLMain.m - main entry point for our Cocoa-ized SDL app
       Initial Version: Darrell Walisser <dwaliss1@purdue.edu>
       Non-NIB-Code & other changes: Max Horn <max@quendi.de>

    Feel free to customize this file to suit your needs
	 $Id: SDLMain.h,v 1.6 2008/02/20 05:32:21 mfuhrer Exp $
*/

//#define MAC_OS_X_VERSION_MAX_ALLOWED MAC_OS_X_VERSION_10_2
//#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_2

#import <Cocoa/Cocoa.h>
#import "TransparentTextView.h"

@interface SDLMain : NSObject
{
    IBOutlet NSWindow *messagePanel;
    IBOutlet NSTextField *messageText;
    IBOutlet NSTextField *messageStatus;
    IBOutlet NSProgressIndicator *messageProgress;
    IBOutlet NSWindow *aboutWindow;
    IBOutlet NSTextField *appnameText;
    IBOutlet NSTextField *versionText;
    IBOutlet TransparentTextView *acknowledgmentsText;
}

- (IBAction)onAbout:(id)sender;
- (IBAction)onNew:(id)sender;
- (IBAction)onOpen:(id)sender;
- (IBAction)onSave:(id)sender;
- (IBAction)onPrint:(id)sender;
- (IBAction)onPageSetup:(id)sender;
- (IBAction)onUndo:(id)sender;
- (IBAction)onRedo:(id)sender;
- (IBAction)onHelp:(id)sender;
- (IBAction)onQuit:(id)sender;

- (void) sendSDLControlKeystroke:(int)key;
- (void) sendSDLControlShiftKeystroke:(int)key;
- (void) setupBridge;

- (void) displayMessage:(NSString*)message andStatus:(NSString*)status withProgressIndicator:(BOOL)progress;
- (void) hideMessage;

@end