~3v1n0/unity/overlay-border-scale

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/DeviceLauncherIcon.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:
36
36
{
37
37
 
38
38
public:
39
 
  DeviceLauncherIcon(Launcher* launcher, GVolume* volume);
 
39
  DeviceLauncherIcon(GVolume* volume);
40
40
 
41
 
  virtual nux::Color BackgroundColor();
42
 
  virtual nux::Color GlowColor();
43
41
  void UpdateVisibility(int visibility = -1);
44
42
  void OnRemoved();
45
43
  bool CanEject();
48
46
protected:
49
47
  std::list<DbusmenuMenuitem*> GetMenus();
50
48
  void UpdateDeviceIcon();
 
49
  std::string GetName() const;
51
50
 
52
51
private:
53
52
  void ActivateLauncherIcon(ActionArg arg);