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

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/HomeView.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:
195
195
  return FALSE;
196
196
}
197
197
 
198
 
long HomeView::ProcessEvent(nux::IEvent& ievent, long traverse_info, long event_info)
199
 
{
200
 
  return layout_->ProcessEvent(ievent, traverse_info, event_info);
201
 
}
202
 
 
203
198
void HomeView::Draw(nux::GraphicsEngine& gfx_context, bool force_draw)
204
199
{
205
200
  nux::Geometry geo = GetGeometry();