Initial import.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1483 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
6d7b97c7a0
commit
4722680fda
5 changed files with 4095 additions and 0 deletions
20
samples/cocoa/SfmlController.h
Normal file
20
samples/cocoa/SfmlController.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
////////////////////////////////////////////////////////////
|
||||
// Headers
|
||||
////////////////////////////////////////////////////////////
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <SFML/Graphics.hpp>
|
||||
|
||||
@interface SfmlController : NSWindowController
|
||||
{
|
||||
IBOutlet NSView* myView;
|
||||
sf::RenderWindow *mySfmlWindow;
|
||||
sf::Color myColor;
|
||||
}
|
||||
|
||||
- (void)display:(NSTimer*)theTimer;
|
||||
- (void)onInit;
|
||||
|
||||
- (IBAction)onApply:(id)sender;
|
||||
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue