~ubuntu-branches/ubuntu/oneiric/nux/oneiric

« back to all changes in this revision

Viewing changes to examples/gridlayout.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-06-22 17:16:16 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20110622171616-3cyhhiwsb6ga9d30
Tags: 1.0.2-0ubuntu1
* New upstream release.
* Cherry-pick a fix for FTBFS with -fpermissive
* debian/control:
  - add new libxdamage-dev and libxcomposite-dev build-dep
  - add new libboost1.42-dev dep as well, should be transitionned to 1.46 once
    compiz is transitionned as well
* remove debian/patches/01_build_with_gcc46.patch as included upstream
* debian/rules:
  - disable google code tests while building
* debian/control, debian/rules, debian/libnux-1.0-common.install,
  debian/libnux-1.0-dev.install, debian/libnux-1.0-doc.install,
  debian/libnux-1.0-0.install:
  - change, prepare next ABI breakage and remove no more needed Breaks: with
    new soname bump
* libnux-1.0-common now replaces: libnux-0.9-common for the apport hook

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
  nux::GridHLayout *grid_h_layout ((new nux::GridHLayout (NUX_TRACKER_LOCATION)));
39
39
  for (int i = 0; i < 30; i++)
40
40
  {
41
 
    nux::ColorLayer color (nux::Color::RandomColor ());
 
41
    nux::ColorLayer color (nux::color::RandomColor ());
42
42
    nux::TextureArea* texture_area = new nux::TextureArea ();
43
43
    texture_area->SetPaintLayer (&color);
44
44
    texture_area->SetVisible (a % 2);
60
60
  nux::GridVLayout *grid_v_layout ((new nux::GridVLayout (NUX_TRACKER_LOCATION)));
61
61
  for (int i = 0; i < 30; i++)
62
62
  {
63
 
    nux::ColorLayer color (nux::Color::RandomColor());
 
63
    nux::ColorLayer color (nux::color::RandomColor());
64
64
    nux::TextureArea* texture_area = new nux::TextureArea();
65
65
    texture_area->SetPaintLayer (&color);
66
66
    texture_area->SetVisible (a % 2);