~mial/ubuntu/oneiric/unity/bug-791810

« back to all changes in this revision

Viewing changes to tests/TestPreviewApplications.cpp

  • Committer: Jay Taoko
  • Date: 2011-10-21 03:44:20 UTC
  • mfrom: (1721.1.4 unity-porting-nux20)
  • Revision ID: jay.taoko@canonical.com-20111021034420-ucz8y104ztr15944
Ported Unity to Nux 2.0

- The Button class in Nux no longer has properties. Refer to Nux API for more details on the signals and functions of that class

- ProcessEvent member functions have been removed (remnant of the former event architecture)

- Removed former Focus API

- ComputeLayout2 has been renamed ComputeContentSize

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
  layout = new nux::VLayout(NUX_TRACKER_LOCATION);
78
78
 
79
79
  layout->AddView (preview_view, 1, nux::MINOR_POSITION_CENTER, nux::MINOR_SIZE_FULL);
80
 
  layout->SetFocused (true);
81
80
 
82
81
  nux::GetGraphicsThread()->SetLayout (layout);
83
82
}