~azzar1/unity/proper-reboot

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/SimpleLauncherIcon.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:
31
31
 
32
32
class SimpleLauncherIcon : public LauncherIcon
33
33
{
 
34
  NUX_DECLARE_OBJECT_TYPE(SimpleLauncherIcon, LauncherIcon);
34
35
public:
35
 
  SimpleLauncherIcon(Launcher* IconManager);
 
36
  SimpleLauncherIcon();
36
37
  virtual ~SimpleLauncherIcon();
37
38
 
38
39
  // override
40
41
 
41
42
  // Properties
42
43
  nux::Property<std::string> icon_name;
43
 
  
 
44
 
44
45
  // Signals
45
46
  sigc::signal<void> activate;
46
47
 
47
48
protected:
48
 
  virtual void OnMouseDown(int button);
49
 
  virtual void OnMouseUp(int button);
50
 
  virtual void OnMouseClick(int button);
51
 
  virtual void OnMouseEnter();
52
 
  virtual void OnMouseLeave();
 
49
  std::string GetName() const;
 
50
  virtual void OnMouseDown(int button, int monitor);
 
51
  virtual void OnMouseUp(int button, int monitor);
 
52
  virtual void OnMouseClick(int button, int monitor);
 
53
  virtual void OnMouseEnter(int monitor);
 
54
  virtual void OnMouseLeave(int monitor);
53
55
  virtual void ActivateLauncherIcon(ActionArg arg);
54
56
 
55
57
private: