~marcobiscaro2112/unity/custom-bg

« back to all changes in this revision

Viewing changes to panel/PanelView.cpp

  • Committer: Marco Biscaro
  • Date: 2012-07-12 12:05:07 UTC
  • mfrom: (2353.2.144 unity)
  • Revision ID: marcobiscaro2112@gmail.com-20120712120507-7u9sb43bqon88ifl
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <Nux/Layout.h>
25
25
#include <Nux/WindowCompositor.h>
26
26
 
27
 
#include <NuxImage/CairoGraphics.h>
28
 
#include <NuxImage/ImageSurface.h>
 
27
#include <NuxGraphics/CairoGraphics.h>
 
28
#include <NuxGraphics/ImageSurface.h>
29
29
#include <NuxCore/Logger.h>
30
30
#include <UnityCore/GLibWrapper.h>
31
31
 
168
168
    _active_overlay = "";
169
169
    _menu_view->OverlayHidden();
170
170
    _indicators->OverlayHidden();
 
171
    SetAcceptKeyNavFocusOnMouseDown(true);
171
172
    ForceUpdateBackground();
172
173
  }
173
174
}
187
188
    _overlay_is_open = true;
188
189
    _indicators->OverlayShown();
189
190
    _menu_view->OverlayShown();
 
191
    SetAcceptKeyNavFocusOnMouseDown(false);
190
192
    ForceUpdateBackground();
191
193
  }
192
194
}
233
235
    }
234
236
    else
235
237
    {
236
 
      _bg_blur_texture = _bg_effect_helper.GetRegion(blur_geo); 
 
238
      _bg_blur_texture = _bg_effect_helper.GetRegion(blur_geo);
237
239
    }
238
240
 
239
241
    if (_bg_blur_texture.IsValid() && (_overlay_is_open || _opacity != 1.0f))