implement combobox and do some ui rework

This commit is contained in:
Eduardo Bart
2012-01-04 08:26:58 -02:00
parent 02ae3ac616
commit b8150d160e
48 changed files with 413 additions and 592 deletions

View File

@@ -36,7 +36,7 @@ public:
bool hasFinished() { return m_finished; }
PointF getPosition() { return m_position; }
PointF getPos() { return m_position; }
PointF getVelocity() { return m_velocity; }
void setPos(const PointF& position) { m_position = position; }

View File

@@ -131,7 +131,7 @@ void AttractionAffector::updateParticle(const ParticlePtr& particle, double elap
if(!m_active)
return;
PointF pPosition = particle->getPosition();
PointF pPosition = particle->getPos();
PointF d = PointF(m_position.x - pPosition.x, pPosition.y - m_position.y);
if(d.length() == 0)
return;