~vanvugt/unity/fix-865006

« back to all changes in this revision

Viewing changes to panel/PanelMenuView.h

  • Committer: Andrea Azzarone
  • Date: 2012-06-12 08:23:23 UTC
  • mfrom: (2400 unity)
  • mto: This revision was merged to the branch mainline in revision 2404.
  • Revision ID: azzaronea@gmail.com-20120612082323-zdw8jxwjcia8vi71
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
 
121
121
  void UpdateShowNow(bool ignore);
122
122
 
123
 
  static gboolean UpdateActiveWindowPosition(PanelMenuView* self);
124
 
  static gboolean UpdateShowNowWithDelay(PanelMenuView* self);
125
 
  static gboolean OnNewAppShow(PanelMenuView* self);
126
 
  static gboolean OnNewAppHide(PanelMenuView* self);
 
123
  bool UpdateActiveWindowPosition();
 
124
  bool UpdateShowNowWithDelay();
 
125
  bool OnNewAppShow();
 
126
  bool OnNewAppHide();
127
127
 
128
128
  bool IsValidWindow(Window xid) const;
129
129
  bool IsWindowUnderOurControl(Window xid) const;
138
138
 
139
139
  nux::TextureLayer* _title_layer;
140
140
  nux::HLayout* _menu_layout;
 
141
  nux::ObjectPtr<WindowButtons> _window_buttons;
 
142
  nux::ObjectPtr<PanelTitlebarGrabArea> _titlebar_grab_area;
141
143
  nux::ObjectPtr<nux::BaseTexture> _title_texture;
142
144
  nux::ObjectPtr<nux::IOpenGLBaseTexture> _gradient_texture;
143
145
 
146
148
  bool _is_maximized;
147
149
 
148
150
  PanelIndicatorEntryView* _last_active_view;
149
 
  WindowButtons* _window_buttons;
150
 
  PanelTitlebarGrabArea* _titlebar_grab_area;
151
151
  glib::Object<BamfApplication> _new_application;
152
152
 
153
153
  std::map<Window, bool> _decor_map;
165
165
 
166
166
  int _monitor;
167
167
  Window _active_xid;
168
 
 
169
 
  guint32 _active_moved_id;
170
 
  guint32 _update_show_now_id;
171
 
  guint32 _new_app_show_id;
172
 
  guint32 _new_app_hide_id;
173
168
  nux::Geometry _monitor_geo;
 
169
  const std::string _desktop_name;
 
170
 
 
171
  int _menus_fadein;
 
172
  int _menus_fadeout;
 
173
  int _menus_discovery;
 
174
  int _menus_discovery_fadein;
 
175
  int _menus_discovery_fadeout;
174
176
 
175
177
  glib::Signal<void, BamfMatcher*, BamfView*> _view_opened_signal;
176
178
  glib::Signal<void, BamfMatcher*, BamfView*> _view_closed_signal;
180
182
  sigc::connection _style_changed_connection;
181
183
 
182
184
  UBusManager _ubus_manager;
183
 
 
184
 
  int _menus_fadein;
185
 
  int _menus_fadeout;
186
 
  int _menus_discovery;
187
 
  int _menus_discovery_fadein;
188
 
  int _menus_discovery_fadeout;
 
185
  glib::SourceManager _sources;
189
186
 
190
187
  Animator _fade_in_animator;
191
188
  Animator _fade_out_animator;
192
 
 
193
 
  const std::string _desktop_name;
194
189
};
195
190
 
196
191
}