~mial/ubuntu/oneiric/unity/bug-791810

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/PanelMenuView.h

  • Committer: Marco Trevisan (Treviño)
  • Date: 2011-09-22 20:43:08 UTC
  • mto: (1631.1.8 fixes)
  • mto: This revision was merged to the branch mainline in revision 1642.
  • Revision ID: mail@3v1n0.net-20110922204308-9ofy886shvt2168u
Remove FadeController, add a more generic Animator class

It allows basically to manage a timer for animation purposes.
It emits signals that can be used to animat widgets.

Based on the OsAnimation GObject class by Andrea Cimitan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
  void UpdateShowNow(bool ignore);
111
111
  static gboolean UpdateActiveWindowPosition(PanelMenuView* self);
112
112
 
113
 
  void OnPanelItemOpacityChanged(FadeController::FadingStatus, double);
114
 
 
115
113
private:
116
114
  BamfMatcher* _matcher;
117
115
 
152
150
 
153
151
  guint32 _place_shown_interest;
154
152
  guint32 _place_hidden_interest;
155
 
 
156
 
  FadeController _fading_menus;
157
 
  FadeController _fading_buttons;
158
153
};
159
154
 
160
155
}