Skip to content

Commit 01d5d1b

Browse files
committed
Replaced non-ASCII symbols with equivalents
1 parent 20af2a4 commit 01d5d1b

File tree

10 files changed

+35
-35
lines changed

10 files changed

+35
-35
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ else()
263263
POST_BUILD
264264
COMMAND cp -r ${PROJECT_SOURCE_DIR}/include/SFML/* $<TARGET_FILE_DIR:SFML>/Headers)
265265

266-
# adapt install directory to allow distributing dylibs/frameworks in users frameworks/application bundle
266+
# adapt install directory to allow distributing dylibs/frameworks in user's frameworks/application bundle
267267
# NOTE: it's not required to link agains SFML.framework
268268
set_target_properties(SFML PROPERTIES
269269
BUILD_WITH_INSTALL_RPATH 1

cmake/Macros.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ macro(sfml_add_library target)
8181
MACOSX_FRAMEWORK_BUNDLE_VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
8282
endif()
8383

84-
# adapt install directory to allow distributing dylibs/frameworks in users frameworks/application bundle
84+
# adapt install directory to allow distributing dylibs/frameworks in user's frameworks/application bundle
8585
set_target_properties(${target} PROPERTIES
8686
BUILD_WITH_INSTALL_RPATH 1
8787
INSTALL_NAME_DIR "@rpath")

doc/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div id="footer-container">
33
<div id="footer">
44
SFML is licensed under the terms and conditions of the <a href="http://www.sfml-dev.org/license.php">zlib/png license</a>.<br>
5-
Copyright © Laurent Gomila &nbsp;::&nbsp;
5+
Copyright &copy; Laurent Gomila &nbsp;::&nbsp;
66
Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen</a> &nbsp;::&nbsp;
77
</div>
88
</div>

include/SFML/Window/Sensor.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ class SFML_WINDOW_API Sensor
4949
////////////////////////////////////////////////////////////
5050
enum Type
5151
{
52-
Accelerometer, ///< Measures the raw acceleration (m/s²)
52+
Accelerometer, ///< Measures the raw acceleration (m/s^2)
5353
Gyroscope, ///< Measures the raw rotation rates (degrees/s)
5454
Magnetometer, ///< Measures the ambient magnetic field (micro-teslas)
55-
Gravity, ///< Measures the direction and intensity of gravity, independent of device acceleration (m/s²)
56-
UserAcceleration, ///< Measures the direction and intensity of device acceleration, independent of the gravity (m/s²)
55+
Gravity, ///< Measures the direction and intensity of gravity, independent of device acceleration (m/s^2)
56+
UserAcceleration, ///< Measures the direction and intensity of device acceleration, independent of the gravity (m/s^2)
5757
Orientation, ///< Measures the absolute 3D orientation (degrees)
5858

5959
Count ///< Keep last -- the total number of sensor types

src/SFML/Window/OSX/HIDInputManager.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@
777777
case 0x33: return sf::Keyboard::BackSpace;
778778
case 0x30: return sf::Keyboard::Tab;
779779

780-
// Duplicates (see next §).
780+
// Duplicates (see next section).
781781
case 0x74: return sf::Keyboard::PageUp;
782782
case 0x79: return sf::Keyboard::PageDown;
783783
case 0x77: return sf::Keyboard::End;
@@ -798,7 +798,7 @@
798798
case 0x43: return sf::Keyboard::Multiply;
799799
case 0x4b: return sf::Keyboard::Divide;
800800

801-
// Duplicates (see next §).
801+
// Duplicates (see next section).
802802
case 0x7b: return sf::Keyboard::Left;
803803
case 0x7c: return sf::Keyboard::Right;
804804
case 0x7e: return sf::Keyboard::Up;
@@ -820,7 +820,7 @@
820820
case 0x5b: return sf::Keyboard::Numpad8;
821821
case 0x5c: return sf::Keyboard::Numpad9;
822822

823-
// Duplicates (see next §).
823+
// Duplicates (see next section).
824824
case 0x7a: return sf::Keyboard::F1;
825825
case 0x78: return sf::Keyboard::F2;
826826
case 0x63: return sf::Keyboard::F3;

src/SFML/Window/OSX/SFApplication.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ +(NSMenu*)newAppleMenu
9292
// Services >
9393
// / default empty menu /
9494
// --------------------
95-
// Hide AppName H
96-
// Hide Others ⌥⌘H
95+
// Hide AppName Command+H
96+
// Hide Others Option+Command+H
9797
// Show All
9898
// --------------------
99-
// Quit AppName Q
99+
// Quit AppName Command+Q
100100

101101
NSString* appName = [SFApplication applicationName];
102102

@@ -112,7 +112,7 @@ +(NSMenu*)newAppleMenu
112112
[appleMenu addItem:[NSMenuItem separatorItem]];
113113

114114
// PREFERENCES
115-
[appleMenu addItemWithTitle:@"Preferences"
115+
[appleMenu addItemWithTitle:@"Preferences..."
116116
action:nil
117117
keyEquivalent:@""];
118118

@@ -164,7 +164,7 @@ +(NSMenu*)newFileMenu
164164
// The File menu is as follow:
165165
//
166166
// File >
167-
// Close W
167+
// Close Command+W
168168

169169
// FILE MENU
170170
NSMenu* fileMenu = [[NSMenu alloc] initWithTitle:@"File"];
@@ -186,7 +186,7 @@ +(NSMenu*)newWindowMenu
186186
// The Window menu is as follow:
187187
//
188188
// Window >
189-
// Minimize M
189+
// Minimize Command+M
190190
// Zoom
191191
// --------------------
192192
// Bring All to Front

src/SFML/Window/OSX/SFWindow.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
///
7171
/// Override NSWindow implementation, see implementation for details
7272
///
73-
/// \param sender The messages sender
73+
/// \param sender The message's sender
7474
///
7575
////////////////////////////////////////////////////////////
7676
-(void)performClose:(id)sender;

src/SFML/Window/OSX/SFWindow.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ -(void)performClose:(id)sender
6464
{
6565
// From Apple documentation:
6666
//
67-
// > If the windows delegate or the window itself implements windowShouldClose:,
67+
// > If the window's delegate or the window itself implements windowShouldClose:,
6868
// > that message is sent with the window as the argument. (Only one such message is sent;
6969
// > if both the delegate and the NSWindow object implement the method, only the delegate
70-
// > receives the message.) If the windowShouldClose: method returns NO, the window isnt
71-
// > closed. If it returns YES, or if it isnt implemented, performClose: invokes the
70+
// > receives the message.) If the windowShouldClose: method returns NO, the window isn't
71+
// > closed. If it returns YES, or if it isn't implemented, performClose: invokes the
7272
// > close method to close the window.
7373
// >
74-
// > If the window doesnt have a close button or cant be closed (for example, if the
74+
// > If the window doesn't have a close button or can't be closed (for example, if the
7575
// > delegate replies NO to a windowShouldClose: message), the system emits the alert sound.
7676
//
7777
// The last paragraph is problematic for SFML fullscreen window since they don't have

src/SFML/Window/OSX/WindowImplCocoa.hpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ class WindowImplCocoa : public WindowImpl
9090
~WindowImplCocoa();
9191

9292
////////////////////////////////////////////////////////////
93-
/// \brief Window Closed Event called by the cocoa window object
93+
/// \brief Window Closed Event - called by the cocoa window object
9494
///
9595
/// Send the event to SFML WindowImpl class.
9696
///
9797
////////////////////////////////////////////////////////////
9898
void windowClosed(void);
9999

100100
////////////////////////////////////////////////////////////
101-
/// \brief Window Resized Event called by the cocoa window object
101+
/// \brief Window Resized Event - called by the cocoa window object
102102
///
103103
/// Send the event to SFML WindowImpl class.
104104
///
@@ -109,23 +109,23 @@ class WindowImplCocoa : public WindowImpl
109109
void windowResized(unsigned int width, unsigned int height);
110110

111111
////////////////////////////////////////////////////////////
112-
/// \brief Window Lost Focus Event called by the cocoa window object
112+
/// \brief Window Lost Focus Event - called by the cocoa window object
113113
///
114114
/// Send the event to SFML WindowImpl class.
115115
///
116116
////////////////////////////////////////////////////////////
117117
void windowLostFocus(void);
118118

119119
////////////////////////////////////////////////////////////
120-
/// \brief Window Get Focus Event called by the cocoa window object
120+
/// \brief Window Get Focus Event - called by the cocoa window object
121121
///
122122
/// Send the event to SFML WindowImpl class.
123123
///
124124
////////////////////////////////////////////////////////////
125125
void windowGainedFocus(void);
126126

127127
////////////////////////////////////////////////////////////
128-
/// \brief Mouse Down Event called by the cocoa view object
128+
/// \brief Mouse Down Event - called by the cocoa view object
129129
///
130130
/// Send the event to SFML WindowImpl class.
131131
///
@@ -137,7 +137,7 @@ class WindowImplCocoa : public WindowImpl
137137
void mouseDownAt(Mouse::Button button, int x, int y);
138138

139139
////////////////////////////////////////////////////////////
140-
/// \brief Mouse Up Event called by the cocoa view object
140+
/// \brief Mouse Up Event - called by the cocoa view object
141141
///
142142
/// Send the event to SFML WindowImpl class.
143143
///
@@ -149,7 +149,7 @@ class WindowImplCocoa : public WindowImpl
149149
void mouseUpAt(Mouse::Button button, int x, int y);
150150

151151
////////////////////////////////////////////////////////////
152-
/// \brief Mouse Moved Event called by the cocoa view object
152+
/// \brief Mouse Moved Event - called by the cocoa view object
153153
///
154154
/// Send the event to SFML WindowImpl class.
155155
///
@@ -160,7 +160,7 @@ class WindowImplCocoa : public WindowImpl
160160
void mouseMovedAt(int x, int y);
161161

162162
////////////////////////////////////////////////////////////
163-
/// \brief Mouse Wheel Scrolled Event called by the cocoa view object
163+
/// \brief Mouse Wheel Scrolled Event - called by the cocoa view object
164164
///
165165
/// Send the event to SFML WindowImpl class.
166166
///
@@ -172,23 +172,23 @@ class WindowImplCocoa : public WindowImpl
172172
void mouseWheelScrolledAt(float delta, int x, int y);
173173

174174
////////////////////////////////////////////////////////////
175-
/// \brief Mouse In Event called by the cocoa view object
175+
/// \brief Mouse In Event - called by the cocoa view object
176176
///
177177
/// Send the event to SFML WindowImpl class.
178178
///
179179
////////////////////////////////////////////////////////////
180180
void mouseMovedIn(void);
181181

182182
////////////////////////////////////////////////////////////
183-
/// \brief Mouse Out Event called by the cocoa view object
183+
/// \brief Mouse Out Event - called by the cocoa view object
184184
///
185185
/// Send the event to SFML WindowImpl class.
186186
///
187187
////////////////////////////////////////////////////////////
188188
void mouseMovedOut(void);
189189

190190
////////////////////////////////////////////////////////////
191-
/// \brief Key Down Event called by the cocoa view object
191+
/// \brief Key Down Event - called by the cocoa view object
192192
///
193193
/// Send the event to SFML WindowImpl class.
194194
///
@@ -198,7 +198,7 @@ class WindowImplCocoa : public WindowImpl
198198
void keyDown(Event::KeyEvent key);
199199

200200
////////////////////////////////////////////////////////////
201-
/// \brief Key Up Event called by the cocoa view object
201+
/// \brief Key Up Event - called by the cocoa view object
202202
///
203203
/// Send the event to SFML WindowImpl class.
204204
///
@@ -208,7 +208,7 @@ class WindowImplCocoa : public WindowImpl
208208
void keyUp(Event::KeyEvent key);
209209

210210
////////////////////////////////////////////////////////////
211-
/// \brief Text Entred Event called by the cocoa view object
211+
/// \brief Text Entred Event - called by the cocoa view object
212212
///
213213
/// Send the event to SFML WindowImpl class.
214214
///

src/SFML/Window/iOS/SensorImpl.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ float toDegrees(float radians)
138138
switch (m_sensor)
139139
{
140140
case Sensor::Accelerometer:
141-
// Acceleration is given in G, convert to m/s²
141+
// Acceleration is given in G, convert to m/s^2
142142
value.x = manager.accelerometerData.acceleration.x * 9.81f;
143143
value.y = manager.accelerometerData.acceleration.y * 9.81f;
144144
value.z = manager.accelerometerData.acceleration.z * 9.81f;
@@ -159,7 +159,7 @@ float toDegrees(float radians)
159159
break;
160160

161161
case Sensor::UserAcceleration:
162-
// User acceleration is given in G, convert to m/s²
162+
// User acceleration is given in G, convert to m/s^2
163163
value.x = manager.deviceMotion.userAcceleration.x * 9.81f;
164164
value.y = manager.deviceMotion.userAcceleration.y * 9.81f;
165165
value.z = manager.deviceMotion.userAcceleration.z * 9.81f;

0 commit comments

Comments
 (0)