~unity-team/unity/trusty-1237132

« back to all changes in this revision

Viewing changes to unity-shared/OverlayScrollView.h

  • Committer: CI bot
  • Author(s): Stephen M. Webb, Marco Trevisan (Treviño), Andrea Azzarone, Pawel Szubert, Chris Townsend, Andrea Azzarone, Eleni Maria Stea
  • Date: 2014-08-26 13:48:28 UTC
  • mfrom: (3800.1.24 prepare-7.2.3-SRU)
  • Revision ID: ps-jenkins@lists.canonical.com-20140826134828-fkev1oisyfl9kbt3
Prepare fixes for upstream micro-release 7.2.3. Fixes: 1283415, 1292391, 1306211, 1312107, 1320051, 1320071, 1324114, 1339629, 1340171, 1340394, 1340477, 1340992, 1340996, 1342208, 1342731, 1347735

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) 2014 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: Marco Trevisan <marco.trevisan@canonical.com>
 
18
 */
 
19
 
 
20
#ifndef _UNITY_SCROLL_VIEW_H_
 
21
#define _UNITY_SCROLL_VIEW_H_
 
22
 
 
23
#include <Nux/Nux.h>
 
24
 
 
25
namespace unity
 
26
{
 
27
namespace dash
 
28
{
 
29
 
 
30
class ScrollView : public nux::ScrollView
 
31
{
 
32
public:
 
33
  ScrollView(NUX_FILE_LINE_PROTO);
 
34
 
 
35
  nux::RWProperty<double> scale;
 
36
 
 
37
  using nux::ScrollView::SetVScrollBar;
 
38
};
 
39
 
 
40
} // dash namespace
 
41
} // unity namespace
 
42
 
 
43
#endif // _UNITY_SCROLL_VIEW_H_