1
// -*- Mode: C++; indent-tabs-mode: nil; tab-width: 2 -*-
3
* Copyright (C) 2010 Canonical Ltd
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.
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.
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/>.
17
* Authored by: Jason Smith <jason.smith@canonical.com>
18
* Tim Penhey <tim.penhey@canonical.com>
21
#ifndef LAUNCHEROPTIONS_H
22
#define LAUNCHEROPTIONS_H
26
#include <sigc++/sigc++.h>
27
#include <core/core.h>
39
LAUNCHER_HIDE_AUTOHIDE,
44
LAUNCH_ANIMATION_NONE,
45
LAUNCH_ANIMATION_PULSE,
46
LAUNCH_ANIMATION_BLINK,
51
URGENT_ANIMATION_NONE,
52
URGENT_ANIMATION_PULSE,
53
URGENT_ANIMATION_WIGGLE,
69
BACKLIGHT_EDGE_TOGGLE,
70
BACKLIGHT_NORMAL_EDGE_TOGGLE
79
class Options : public sigc::trackable
82
typedef std::shared_ptr<Options> Ptr;
86
nux::Property<LauncherHideMode> hide_mode;
87
nux::Property<LaunchAnimation> launch_animation;
88
nux::Property<UrgentAnimation> urgent_animation;
89
nux::Property<AutoHideAnimation> auto_hide_animation;
90
nux::Property<BacklightMode> backlight_mode;
91
nux::Property<RevealTrigger> reveal_trigger;
92
nux::Property<int> icon_size;
93
nux::Property<int> tile_size;
94
nux::Property<float> background_alpha;
95
nux::Property<int> edge_decay_rate;
96
nux::Property<int> edge_overcome_pressure;
97
nux::Property<int> edge_stop_velocity;
98
nux::Property<int> edge_reveal_pressure;
99
nux::Property<float> edge_responsiveness;
100
nux::Property<bool> edge_resist;
101
nux::Property<bool> show_for_all;
103
sigc::signal<void> option_changed;
109
#endif // LAUNCHEROPTIONS_H