~haggai-eran/nux/rtl-rebased

« back to all changes in this revision

Viewing changes to Nux/GridVLayout.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:
29
29
namespace nux
30
30
{
31
31
 
32
 
  static const t_s32 VERROR = 0;
 
32
  static const int VERROR = 0;
33
33
  NUX_IMPLEMENT_OBJECT_TYPE(GridVLayout);
34
34
 
35
35
  GridVLayout::GridVLayout(NUX_FILE_LINE_DECL)
161
161
      return eCompliantHeight | eCompliantWidth;
162
162
    }
163
163
 
164
 
    t_s32 num_elements = 0;
 
164
    int num_elements = 0;
165
165
 
166
166
    std::list<Area *>::iterator it;
167
167
    for (it = _layout_element_list.begin(); it != _layout_element_list.end(); it++)
174
174
      }
175
175
    }
176
176
 
177
 
    t_s32 original_width = GetBaseWidth();
 
177
    int original_width = GetBaseWidth();
178
178
 
179
179
    nux::Geometry base = GetGeometry();
180
180
    it = elements.begin();