~fginther/unity/100-scopes-search-tests

« back to all changes in this revision

Viewing changes to launcher/AbstractLauncherIcon.h

  • Committer: Nick Dedekind
  • Date: 2013-03-12 13:31:41 UTC
  • mfrom: (3008.2.200 trunk)
  • Revision ID: nicholas.dedekind@gmail.com-20130312133141-qrq3x3ighapfd36f
merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
    END
129
129
  };
130
130
 
 
131
  enum class ScrollDirection
 
132
  {
 
133
    UP,
 
134
    DOWN
 
135
  };
 
136
 
131
137
  virtual ~AbstractLauncherIcon() {}
132
138
 
133
139
  nux::Property<std::string> tooltip_text;
134
140
  nux::Property<bool> tooltip_enabled;
135
141
  nux::Property<Position> position;
 
142
  nux::Property<bool> removed;
136
143
 
 
144
  virtual void ShowTooltip() = 0;
137
145
  virtual void HideTooltip() = 0;
138
146
 
139
147
  virtual void    SetShortcut(guint64 shortcut) = 0;
225
233
    return static_cast<int>(type) * 1000;
226
234
  }
227
235
 
 
236
  virtual void PerformScroll(ScrollDirection direction, Time timestamp) = 0;
 
237
 
228
238
  sigc::signal<void, int, int, unsigned long> mouse_down;
229
239
  sigc::signal<void, int, int, unsigned long> mouse_up;
230
240
  sigc::signal<void, int, int, unsigned long> mouse_click;