~haggai-eran/nux/rtl-rebased

« back to all changes in this revision

Viewing changes to Nux/LayeredLayout.cpp

  • Committer: Jay Taoko
  • Date: 2011-10-21 23:49:15 UTC
  • mfrom: (508.1.2 nux-20)
  • Revision ID: jay.taoko@canonical.com-20111021234915-hnzakb5ndebica8i
* Removed custom Nux types: t_u32, t_s32, t_bool, ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
    if (m_paint_all)
179
179
    {
180
180
      std::list<Area *>::iterator it, eit = _layout_element_list.end();
181
 
      t_u32 alpha = 0, src = 0, dest = 0;
 
181
      unsigned int alpha = 0, src = 0, dest = 0;
182
182
 
183
183
      graphics_engine.GetRenderStates().GetBlend(alpha, src, dest);
184
184
      graphics_engine.GetRenderStates().SetBlend(true, GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
395
395
    std::list<Area *>::iterator it, eit = _layout_element_list.end();
396
396
    int i = 0;
397
397
 
398
 
    NUX_RETURN_IF_FALSE((t_uint32)index_ < _layout_element_list.size());
 
398
    NUX_RETURN_IF_FALSE((unsigned int)index_ < _layout_element_list.size());
399
399
 
400
400
    if (index_ == m_active_index)
401
401
      return;