~3v1n0/unity/overlay-border-scale

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/AbstractPlacesGroup.h

  • Committer: Daniel van Vugt
  • Date: 2012-03-14 06:24:18 UTC
  • mfrom: (2108 unity)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: daniel.van.vugt@canonical.com-20120314062418-nprucpbr0m7qky5e
MergedĀ latestĀ lp:unity

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
 
 
20
#ifndef UNITYSHELL_ABSTRACTPLACESGROUP_H
 
21
#define UNITYSHELL_ABSTRACTPLACESGROUP_H
 
22
 
 
23
#include <Nux/Nux.h>
 
24
#include <Nux/View.h>
 
25
#include <NuxCore/Property.h>
 
26
 
 
27
namespace unity
 
28
{
 
29
namespace dash
 
30
{
 
31
 
 
32
class AbstractPlacesGroup : public nux::View
 
33
{
 
34
  NUX_DECLARE_OBJECT_TYPE(AbstractPlacesGroup, nux::View);
 
35
public:
 
36
  AbstractPlacesGroup();
 
37
 
 
38
  // Properties
 
39
  nux::Property<bool> draw_separator;
 
40
 
 
41
protected:
 
42
  void Draw(nux::GraphicsEngine&, bool);
 
43
  void DrawContent(nux::GraphicsEngine&, bool);
 
44
 
 
45
};
 
46
 
 
47
}
 
48
}
 
49
 
 
50
#endif
 
51