~azzar1/unity/lp-1226116

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/FilterBasicButton.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:
26
26
#include <Nux/CairoWrapper.h>
27
27
#include <Nux/ToggleButton.h>
28
28
 
29
 
#include "FilterWidget.h"
30
 
 
31
29
namespace unity
32
30
{
33
31
namespace dash
46
44
  virtual long ComputeContentSize();
47
45
  virtual void Draw(nux::GraphicsEngine& GfxContext, bool force_draw);
48
46
 
 
47
  void Init();
49
48
  void InitTheme();
50
49
  void RedrawTheme(nux::Geometry const& geom, cairo_t* cr, nux::ButtonVisualState faked_state);
 
50
  void RedrawFocusOverlay(nux::Geometry const& geom, cairo_t* cr);
51
51
 
52
52
  typedef std::unique_ptr<nux::CairoWrapper> NuxCairoPtr;
53
53
 
54
54
  NuxCairoPtr prelight_;
55
55
  NuxCairoPtr active_;
56
56
  NuxCairoPtr normal_;
 
57
  NuxCairoPtr focus_;
 
58
 
57
59
  nux::Geometry cached_geometry_;
58
60
 
59
61
private: