This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#define CREATE // vs new/delete | |
//#define SHAPE // vs sprite+texture | |
// Create VERSION : | |
#ifdef CREATE | |
#include <SFML/Graphics.hpp> | |
int main (int argc, const char * argv[]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SFML/Graphics.hpp> | |
#include <SFML/Audio.hpp> | |
#include "ResourcePath.hpp" | |
int main (int argc, const char * argv[]) | |
{ | |
// Create the main window | |
sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window"); | |
//creation d'une texture et du sprite qui la dessine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/SFML/Window/OSX/HIDJoystickManager.cpp b/src/SFML/Window/OSX/HIDJoystickManager.cpp | |
index fcb9730..0b6bb68 100644 | |
--- a/src/SFML/Window/OSX/HIDJoystickManager.cpp | |
+++ b/src/SFML/Window/OSX/HIDJoystickManager.cpp | |
@@ -75,10 +75,23 @@ HIDJoystickManager::HIDJoystickManager() | |
{ | |
myHIDManager = IOHIDManagerCreate(kCFAllocatorDefault, kIOHIDOptionsTypeNone); | |
- CFDictionaryRef mask = HIDInputManager::CopyDevicesMask(kHIDPage_GenericDesktop, | |
- kHIDUsage_GD_Joystick); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////// | |
// Headers | |
//////////////////////////////////////////////////////////// | |
#include <SFML/Graphics.hpp> | |
//////////////////////////////////////////////////////////// | |
/// Entry point of application | |
/// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub q211 | |
{ | |
my %table = (); | |
my $index = 0; | |
foreach $i (A..R) { | |
$table{$i} = int ($index++ / 3) + 2; | |
} | |
$index = 0; | |
foreach $i (T..Y) { | |
$table{$i} = int ($index++ / 3) + 8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef STANDARDCURSOR_HPP | |
#define STANDARDCURSOR_HPP | |
#include <SFML/System.hpp> | |
#include <SFML/Window.hpp> | |
#if defined(SFML_SYSTEM_WINDOWS) | |
#include <windows.h> | |
#elif defined(SFML_SYSTEM_LINUX) | |
#include <X11/cursorfont.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface Person : NSObject | |
@property (nonatomic, strong) NSString *name; | |
+ (id)personWithName:(NSString *)name; | |
- (id)initWithName:(NSString *)name; | |
- (void)hello; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/doc/doxyfile.in b/doc/doxyfile.in | |
index df37dbf..4fd6a17 100644 | |
--- a/doc/doxyfile.in | |
+++ b/doc/doxyfile.in | |
@@ -848,21 +848,21 @@ HTML_DYNAMIC_SECTIONS = NO | |
# it at startup. | |
# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information. | |
-GENERATE_DOCSET = NO | |
+GENERATE_DOCSET = YES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleDevelopmentRegion</key> | |
<string>en</string> | |
<key>CFBundleIdentifier</key> | |
<string>org.sfml-dev.doc.2.0</string> | |
<key>CFBundleName</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## Build GCC 4.6.3 -- How To | |
## for icvdi.epfl.ch Ubuntu 10.04 VMs | |
## (without sudo command) | |
## | |
## 22.09.2012 | |
## Marco Antognini | |
## |
OlderNewer