~vanvugt/unity/fix-865006

« back to all changes in this revision

Viewing changes to hud/HudAbstractView.cpp

  • Committer: Tarmac
  • Author(s): Andrea Azzarone
  • Date: 2012-06-12 14:35:38 UTC
  • mfrom: (2388.1.4 hud-reset)
  • Revision ID: tarmac-20120612143538-igkcxpuc2ly14ghk
Fix HUD flickering when showing up after closing previous search. Included with respective unit test and required changes.. Fixes: https://bugs.launchpad.net/bugs/1011507. Approved by Łukasz Zemczak.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2012 Canonical Ltd
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License version 3 as
 
6
 * published by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authored by: Andrea Azzarone <azzaronea@gmail.com>
 
17
 */
 
18
 
 
19
#include "HudAbstractView.h"
 
20
 
 
21
namespace unity
 
22
{
 
23
namespace hud
 
24
{
 
25
 
 
26
NUX_IMPLEMENT_OBJECT_TYPE(AbstractView);
 
27
 
 
28
AbstractView::AbstractView()
 
29
  : nux::View(NUX_TRACKER_LOCATION)
 
30
{}
 
31
 
 
32
} // namespace hud
 
33
} // namespace unity