* New menu style - step one.
  More improvements are to come, but this should be stable and have a good
  portion of what is to be done.
This commit is contained in:
jean.chalard
2008-12-30 05:24:38 +00:00
parent 3e9ff2b580
commit a82d4b51bb
19 changed files with 367 additions and 192 deletions

View File

@@ -35,9 +35,9 @@ void MenuItem::Render()
if (mHasFocus)
{
if (!updatedSinceLastRender){
/* if (!updatedSinceLastRender){
mParticleSys->Update(lastDt);
}
}*/
// set additive blending
renderer->SetTexBlend(BLEND_SRC_ALPHA, BLEND_ONE);
mParticleSys->Render();
@@ -75,10 +75,7 @@ void MenuItem::Update(float dt)
mScale = mTargetScale;
}
if (mHasFocus){
mParticleSys->Update(dt);
}
}