Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-18 09:24:15 +0000
committerStijn Buys <ingar@osirion.org>2009-08-18 09:24:15 +0000
commitf030154fe727e25a2afe1f78b3998c2d2dba95e4 (patch)
treecd92baf9e4fa8a136523b9eb570e9811846c9250 /src/client/notifications.cc
parent5636fad174f0bcff857c357c394c4cc8d424b302 (diff)
astyle cleanup, corrects not loading of material textures
Diffstat (limited to 'src/client/notifications.cc')
-rw-r--r--src/client/notifications.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/notifications.cc b/src/client/notifications.cc
index 062aacb..90c5e3e 100644
--- a/src/client/notifications.cc
+++ b/src/client/notifications.cc
@@ -1,7 +1,7 @@
/*
client/notifications.cc
- This file is part of the Osirion project and is distributed under
- the terms and conditions of the GNU General Public License version 2
+ This file is part of the Osirion project and is distributed under
+ the terms and conditions of the GNU General Public License version 2
*/
#include "client/notifications.h"
@@ -48,7 +48,7 @@ void Notifications::event_text(const std::string & text)
void Notifications::draw()
{
Timestamps::iterator t = notify_timestamp.begin();
- while ( (t != notify_timestamp.end()) && ( core::application()->timestamp() > (*t) + NOTIFY_TIMEOUT )) {
+ while ((t != notify_timestamp.end()) && (core::application()->timestamp() > (*t) + NOTIFY_TIMEOUT)) {
notify_log.pop_front();
notify_timestamp.pop_front();
@@ -58,11 +58,11 @@ void Notifications::draw()
const float margin = ui::UI::elementmargin;
math::Vector2f s(size());
- s[0] -= margin*2;
- s[1] -= margin*2;
+ s[0] -= margin * 2;
+ s[1] -= margin * 2;
notify_scrollpane->set_location(margin, margin);
- notify_scrollpane->set_size(s.x(), s.y() );
+ notify_scrollpane->set_size(s.x(), s.y());
}