~njpatel/+junk/low-gfx

« back to all changes in this revision

Viewing changes to unity-shared/DashStyle.h

  • Committer: Neil Jagdish Patel
  • Author(s): Nick Dedekind
  • Date: 2012-09-20 13:11:40 UTC
  • mfrom: (2730.1.1 unity)
  • Revision ID: neil.patel@canonical.com-20120920131140-8jkdksr6du4nw6b8
Fixed pixel size of font (15px = 11pt) in Dash filter buttons.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
  static Style& Instance();
93
93
 
94
94
  virtual bool Button(cairo_t* cr, nux::ButtonVisualState state,
95
 
                      std::string const& label, int font_size=-1,
 
95
                      std::string const& label, int font_px_size=-1,
96
96
                      Alignment alignment = Alignment::CENTER,
97
97
                      bool zeromargin=false);
98
98
 
99
99
  virtual bool SquareButton(cairo_t* cr, nux::ButtonVisualState state,
100
100
                            std::string const& label, bool curve_bottom,
101
 
                            int font_size=-1,
 
101
                            int font_px_size=-1,
102
102
                            Alignment alignment = Alignment::CENTER,
103
103
                            bool zeromargin=false);
104
104