~3v1n0/unity/overlay-border-scale

« back to all changes in this revision

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

  • Committer: Daniel van Vugt
  • Date: 2012-03-14 06:24:18 UTC
  • mfrom: (2108 unity)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: daniel.van.vugt@canonical.com-20120314062418-nprucpbr0m7qky5e
MergedĀ latestĀ lp:unity

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
  nux::BaseTexture* texture();
55
55
 
 
56
  sigc::signal<void, nux::BaseTexture*> texture_updated;
 
57
  
56
58
protected:
57
59
  // Key navigation
58
60
  virtual bool AcceptKeyNavFocus();
61
63
  std::string GetName() const;
62
64
  void AddProperties(GVariantBuilder* builder);
63
65
  virtual bool DoCanFocus();
64
 
 
 
66
  GdkPixbuf*        _pixbuf_cached;
 
67
  
65
68
protected:
66
69
  void Draw(nux::GraphicsEngine& GfxContext, bool force_draw);
67
70
 
74
77
  char* _icon_name;
75
78
  unsigned int _size;
76
79
 
77
 
  GdkPixbuf*        _pixbuf_cached;
 
80
 
78
81
  nux::ObjectPtr<nux::BaseTexture> _texture_cached;
79
82
  // FIXME: make these two a nux::Size.
80
83
  int               _texture_width;