~3v1n0/unity/callgrind-improvements

« back to all changes in this revision

Viewing changes to unity-shared/IconTextureSource.h

  • Committer: Marco Trevisan (Treviño)
  • Date: 2013-04-10 21:37:02 UTC
  • Revision ID: mail@3v1n0.net-20130410213702-jzib1baene628ig7
IconTextureSource: add method to save if the icon was skipping

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
  void RememberCenters(int monitor, nux::Point3 const& render, nux::Point3 const& logical);
56
56
  void RememberRotation(int monitor, nux::Point3 const& rotation);
57
57
 
 
58
  void RememberSkip(int monitor, bool skip);
 
59
  bool WasSkipping(int monitor) const;
 
60
 
58
61
  virtual nux::Color BackgroundColor() const = 0;
59
62
 
60
63
  virtual nux::Color GlowColor() = 0;
64
67
  virtual nux::BaseTexture* Emblem() = 0;
65
68
 
66
69
private:
 
70
  std::vector<bool> skip_;
67
71
  std::vector<nux::Point3> last_render_center_;
68
72
  std::vector<nux::Point3> last_logical_center_;
69
73
  std::vector<nux::Point3> last_rotation_;