Back to index

unity  6.0.0
Public Types | Public Member Functions | Public Attributes
unity::launcher::Options Class Reference

#include <LauncherOptions.h>

Inheritance diagram for unity::launcher::Options:
Inheritance graph
[legend]
Collaboration diagram for unity::launcher::Options:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::shared_ptr< OptionsPtr

Public Member Functions

 Options ()

Public Attributes

nux::Property< LauncherHideModehide_mode
nux::Property< LaunchAnimationlaunch_animation
nux::Property< UrgentAnimationurgent_animation
nux::Property< AutoHideAnimationauto_hide_animation
nux::Property< BacklightModebacklight_mode
nux::Property< RevealTriggerreveal_trigger
nux::Property< int > icon_size
nux::Property< int > tile_size
nux::Property< float > background_alpha
nux::Property< int > edge_decay_rate
nux::Property< int > edge_overcome_pressure
nux::Property< int > edge_stop_velocity
nux::Property< int > edge_reveal_pressure
nux::Property< float > edge_responsiveness
nux::Property< bool > edge_resist
nux::Property< bool > show_for_all
sigc::signal< void > option_changed

Detailed Description

Definition at line 79 of file LauncherOptions.h.


Member Typedef Documentation

typedef std::shared_ptr<Options> unity::launcher::Options::Ptr

Definition at line 82 of file LauncherOptions.h.


Constructor & Destructor Documentation

Definition at line 28 of file LauncherOptions.cpp.

{
  // defaults from XML file
  auto_hide_animation = FADE_AND_SLIDE;
  background_alpha = 0.6667;
  backlight_mode = BACKLIGHT_ALWAYS_ON;
  edge_decay_rate = 1500;
  edge_overcome_pressure = 2000;
  edge_responsiveness = 2.0f;
  edge_reveal_pressure = 2000;
  edge_stop_velocity = 6500;
  hide_mode = LAUNCHER_HIDE_NEVER;
  icon_size = 48;
  launch_animation = LAUNCH_ANIMATION_PULSE;
  reveal_trigger = RevealTrigger::EDGE;
  tile_size = 54;
  urgent_animation = URGENT_ANIMATION_WIGGLE;
  edge_resist = true;
  show_for_all = false;

  auto_hide_animation.changed.connect   ([&] (AutoHideAnimation value)-> void { option_changed.emit(); });
  background_alpha.changed.connect      ([&] (float value)            -> void { option_changed.emit(); });
  backlight_mode.changed.connect        ([&] (BacklightMode value)    -> void { option_changed.emit(); });
  edge_decay_rate.changed.connect       ([&] (int value)              -> void { option_changed.emit(); });
  edge_overcome_pressure.changed.connect([&] (int value)              -> void { option_changed.emit(); });
  edge_responsiveness.changed.connect   ([&] (float value)            -> void { option_changed.emit(); });
  edge_reveal_pressure.changed.connect  ([&] (int value)              -> void { option_changed.emit(); });
  edge_stop_velocity.changed.connect    ([&] (int value)              -> void { option_changed.emit(); });
  hide_mode.changed.connect             ([&] (LauncherHideMode value) -> void { option_changed.emit(); });
  icon_size.changed.connect             ([&] (int value)              -> void { option_changed.emit(); });
  launch_animation.changed.connect      ([&] (LaunchAnimation value)  -> void { option_changed.emit(); });
  reveal_trigger.changed.connect        ([&] (RevealTrigger vallue)   -> void { option_changed.emit(); });
  tile_size.changed.connect             ([&] (int value)              -> void { option_changed.emit(); });
  urgent_animation.changed.connect      ([&] (UrgentAnimation value)  -> void { option_changed.emit(); });
  edge_resist.changed.connect           ([&] (bool value)             -> void { option_changed.emit(); });
}

Member Data Documentation

Definition at line 89 of file LauncherOptions.h.

Definition at line 94 of file LauncherOptions.h.

Definition at line 90 of file LauncherOptions.h.

Definition at line 95 of file LauncherOptions.h.

Definition at line 96 of file LauncherOptions.h.

Definition at line 100 of file LauncherOptions.h.

Definition at line 99 of file LauncherOptions.h.

Definition at line 98 of file LauncherOptions.h.

Definition at line 97 of file LauncherOptions.h.

Definition at line 86 of file LauncherOptions.h.

Definition at line 92 of file LauncherOptions.h.

Definition at line 87 of file LauncherOptions.h.

Definition at line 103 of file LauncherOptions.h.

Definition at line 91 of file LauncherOptions.h.

Definition at line 101 of file LauncherOptions.h.

Definition at line 93 of file LauncherOptions.h.

Definition at line 88 of file LauncherOptions.h.


The documentation for this class was generated from the following files: