Changed internal naming convention (local variables now start with a lower case character)
Removed the AudioResource class git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1166 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
7cc00085d8
commit
45b150648d
245 changed files with 7865 additions and 8065 deletions
|
@ -15,11 +15,11 @@
|
|||
////////////////////////////////////////////////////////////
|
||||
/// Construct the QSFMLCanvas
|
||||
////////////////////////////////////////////////////////////
|
||||
QSFMLCanvas::QSFMLCanvas(const QSize& Size, unsigned int FrameTime, QWidget* Parent) :
|
||||
QWidget(Parent)
|
||||
QSFMLCanvas::QSFMLCanvas(const QSize& size, unsigned int frameTime, QWidget* parent) :
|
||||
QWidget(parent)
|
||||
{
|
||||
// Resize the widget
|
||||
resize(Size);
|
||||
resize(size);
|
||||
|
||||
// Setup some states to allow direct rendering into the widget
|
||||
setAttribute(Qt::WA_PaintOnScreen);
|
||||
|
@ -30,7 +30,7 @@ QWidget(Parent)
|
|||
setFocusPolicy(Qt::StrongFocus);
|
||||
|
||||
// Setup the timer
|
||||
myTimer.setInterval(FrameTime);
|
||||
myTimer.setInterval(frameTime);
|
||||
}
|
||||
|
||||
|
||||
|
@ -77,9 +77,9 @@ QPaintEngine* QSFMLCanvas::paintEngine() const
|
|||
/// we use it to catch the Polish event and initialize
|
||||
/// our SFML window
|
||||
////////////////////////////////////////////////////////////
|
||||
bool QSFMLCanvas::event(QEvent* Event)
|
||||
bool QSFMLCanvas::event(QEvent* event)
|
||||
{
|
||||
if (Event->type() == QEvent::Polish)
|
||||
if (event->type() == QEvent::Polish)
|
||||
{
|
||||
// Under X11, we need to flush the commands sent to the server to ensure that
|
||||
// SFML will get an updated view of the windows
|
||||
|
@ -98,7 +98,7 @@ bool QSFMLCanvas::event(QEvent* Event)
|
|||
myTimer.start();
|
||||
}
|
||||
|
||||
return QWidget::event(Event);
|
||||
return QWidget::event(event);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue