~sil2100/nux/precise_sru-1

« back to all changes in this revision

Viewing changes to Nux/Area.cpp

  • Committer: Didier Roche
  • Date: 2012-03-12 08:57:27 UTC
  • mfrom: (159.3.35)
  • Revision ID: didier.roche@canonical.com-20120312085727-9fyfwnno545c46uz
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
296
296
 
297
297
  void Area::UnParentObject()
298
298
  {
 
299
    // If the area is on the path to the key focus area, or has focus, reset it.
 
300
    if (has_key_focus_ || next_object_to_key_focus_area_)
 
301
    {
 
302
      GetWindowThread()->GetWindowCompositor().SetKeyFocusArea(NULL, KEY_NAV_NONE);
 
303
    }
 
304
 
299
305
    if (parent_area_)
300
306
    {
301
307
      parent_area_ = 0;
999
1005
    return false;
1000
1006
  }
1001
1007
 
1002
 
  bool Area::AcceptKeyNavFocus()
1003
 
  {
1004
 
    if (GetInputEventSensitivity() == false)
1005
 
      return false;
1006
 
 
1007
 
    return true;
1008
 
  }
1009
 
 
1010
1008
  Area* Area::KeyNavIteration(KeyNavDirection direction)
1011
1009
  {
1012
1010
    return NULL;