~3v1n0/unity/lockscreen-shield-ensure-grab

« back to all changes in this revision

Viewing changes to dash/previews/Tracks.h

  • Committer: CI bot
  • Author(s): Marco Trevisan (Treviño), Eleni Maria Stea
  • Date: 2014-07-11 19:58:32 UTC
  • mfrom: (3830.2.30 previews-scaling-final)
  • Revision ID: ps-jenkins@lists.canonical.com-20140711195832-sk6y8razaem1bgvo
Previews: scale the dash preview contents to match current monitor scaling

Improved also the scaling of search-bar, spinner, categories and many other components. Fixes: 1339629
Approved by: PS Jenkins bot, Eleni Maria Stea, Marco Trevisan (Treviño)

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
  Tracks(dash::Tracks::Ptr tracks, NUX_FILE_LINE_PROTO);
54
54
 
 
55
  nux::Property<double> scale;
 
56
 
55
57
protected:
56
58
  virtual bool AcceptKeyNavFocus() { return false; }
57
59
 
71
73
  nux::VLayout* layout_;
72
74
  std::map<std::string, previews::Track::Ptr> m_tracks;
73
75
  connection::Manager sig_conn_;
 
76
 
 
77
private:
 
78
  void UpdateScale(double scale);
74
79
};
75
80
 
76
81
}