~rodrigo-moya/unity/sync-geometries

« back to all changes in this revision

Viewing changes to src/PlacesView.h

  • Committer: Rodrigo Moya
  • Date: 2011-03-14 08:51:09 UTC
  • mfrom: (871.2.74 unity)
  • Revision ID: rodrigo.moya@canonical.com-20110314085109-u1xjscjbc59euovf
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
  SizeMode GetSizeMode ();
80
80
  void     SetSizeMode (SizeMode size_mode);
81
81
 
 
82
  void AboutToShow ();
 
83
 
82
84
  // Signals
83
85
  sigc::signal<void, PlaceEntry *> entry_changed;
84
86
  sigc::signal<void> fullscreen_request;
95
97
  void OnResultAdded   (PlaceEntry *entry, PlaceEntryGroup& group, PlaceEntryResult& result);
96
98
  void OnResultRemoved (PlaceEntry *entry, PlaceEntryGroup& group, PlaceEntryResult& result);
97
99
 
98
 
  static void OnResultClicked (GVariant *data, PlacesView *self);
 
100
  bool TryPlaceActivation (const char *uri);
 
101
  static void OnResultActivated (GVariant *data, PlacesView *self);
99
102
  void OnSearchChanged (const char *search_string);
100
103
  void OnResultsViewGeometryChanged (nux::Area *view, nux::Geometry& view_geo);
101
104
 
102
105
  static void OnPlaceViewQueueDrawNeeded (GVariant *data, PlacesView *self);
103
106
 
 
107
  void OnEntryActivated ();
 
108
 
 
109
  void LoadPlaces ();
 
110
  void OnPlaceAdded (Place *place);
 
111
  void OnPlaceResultActivated (const char *uri, ActivationResult res);
 
112
 
104
113
private:
105
114
  PlaceFactory       *_factory;
106
115
  nux::HLayout       *_layout;
122
131
  nux::SpaceLayout *_v_spacer;
123
132
 
124
133
  SizeMode _size_mode;
 
134
 
 
135
  nux::ObjectPtr <nux::IOpenGLBaseTexture> _bg_blur_texture;
 
136
  nux::Geometry _bg_blur_geo;
125
137
};
126
138
 
127
139
#endif // PANEL_HOME_BUTTON_H