Changed all the files encoding to UTF-8
Named modules in licence informations
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Utility module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Utility/Window.hpp>
|
||||
@@ -87,7 +87,7 @@ NzWindow::~NzWindow()
|
||||
|
||||
bool NzWindow::Create(NzVideoMode mode, const NzString& title, nzUInt32 style)
|
||||
{
|
||||
// Si la fenêtre est déjà ouverte, nous conservons sa position
|
||||
// Si la fenêtre est déjà ouverte, nous conservons sa position
|
||||
bool opened = IsOpen();
|
||||
NzVector2i position;
|
||||
if (opened)
|
||||
@@ -95,7 +95,7 @@ bool NzWindow::Create(NzVideoMode mode, const NzString& title, nzUInt32 style)
|
||||
|
||||
Destroy();
|
||||
|
||||
// Inspiré du code de la SFML par Laurent Gomila
|
||||
// Inspiré du code de la SFML par Laurent Gomila
|
||||
if (style & nzWindowStyle_Fullscreen)
|
||||
{
|
||||
if (fullscreenWindow)
|
||||
@@ -138,7 +138,7 @@ bool NzWindow::Create(NzVideoMode mode, const NzString& title, nzUInt32 style)
|
||||
return false;
|
||||
}
|
||||
|
||||
// Paramètres par défaut
|
||||
// Paramètres par défaut
|
||||
m_impl->EnableKeyRepeat(true);
|
||||
m_impl->EnableSmoothScrolling(false);
|
||||
m_impl->SetCursor(nzWindowCursor_Default);
|
||||
@@ -337,7 +337,7 @@ void NzWindow::SetEventListener(bool listener)
|
||||
m_impl->SetEventListener(listener);
|
||||
if (!listener)
|
||||
{
|
||||
// On vide la pile des évènements
|
||||
// On vide la pile des évènements
|
||||
NzLockGuard lock(m_eventMutex);
|
||||
while (!m_events.empty())
|
||||
m_events.pop();
|
||||
@@ -345,7 +345,7 @@ void NzWindow::SetEventListener(bool listener)
|
||||
#else
|
||||
if (m_ownsWindow)
|
||||
{
|
||||
// Inutile de transmettre l'ordre dans ce cas-là
|
||||
// Inutile de transmettre l'ordre dans ce cas-là
|
||||
if (!listener)
|
||||
NazaraError("A non-threaded window needs to listen to events");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user