~sethj/ubuntu/wily/unity/fix-for-1445595

« back to all changes in this revision

Viewing changes to unity-shared/DashStyleInterface.h

  • Committer: Daniel van Vugt
  • Date: 2012-10-11 01:44:15 UTC
  • mfrom: (2826 trunk)
  • mto: This revision was merged to the branch mainline in revision 2847.
  • Revision ID: daniel.van.vugt@canonical.com-20121011014415-jvudq1d7bn1z268j
Merge latest lp:unity and fix a conflict

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// -*- Mode: C++; indent-tabs-mode: nil; tab-width: 2 -*-
 
2
/*
 
3
 * Copyright (C) 2012 Canonical Ltd
 
4
 *
 
5
 * This program is free software: you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License version 3 as
 
7
 * published by the Free Software Foundation.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
16
 *
 
17
 * Authored by: Andrea Azzarone <andrea.azzarone@canonical.com>
 
18
 */
 
19
 
 
20
#ifndef UNITYSHELL_DASH_STYLE_INTERFACE_H
 
21
#define UNITYSHELL_DASH_STYLE_INTERFACE_H
 
22
 
 
23
#include <memory>
 
24
 
 
25
namespace nux {
 
26
  class AbstractPaintLayer;
 
27
  class BaseTexture;
 
28
}
 
29
 
 
30
namespace unity {
 
31
namespace dash {
 
32
 
 
33
class StyleInterface
 
34
{
 
35
public:
 
36
  virtual ~StyleInterface() {};
 
37
 
 
38
  virtual nux::AbstractPaintLayer* FocusOverlay(int width, int height) = 0;
 
39
 
 
40
  virtual nux::BaseTexture* GetCategoryBackground() = 0;
 
41
  virtual nux::BaseTexture* GetCategoryBackgroundNoFilters() = 0;
 
42
 
 
43
  virtual nux::BaseTexture* GetGroupUnexpandIcon() = 0;
 
44
  virtual nux::BaseTexture* GetGroupExpandIcon() = 0;
 
45
 
 
46
  virtual int GetCategoryHeaderLeftPadding() const = 0;
 
47
  virtual int GetPlacesGroupTopSpace() const = 0;
 
48
};
 
49
 
 
50
}
 
51
}
 
52
 
 
53
#endif