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

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/LensBar.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:
101
101
  }
102
102
}
103
103
 
104
 
long LensBar::ProcessEvent(nux::IEvent& ievent, long traverse_info, long event_info)
105
 
{
106
 
  return layout_->ProcessEvent(ievent, traverse_info, event_info);
107
 
}
108
 
 
109
104
void LensBar::Draw(nux::GraphicsEngine& gfx_context, bool force_draw)
110
105
{
111
106
  nux::Geometry geo = GetGeometry();