~canonical-dx-team/unity/unity.fix-ql-losing-focus

« back to all changes in this revision

Viewing changes to src/StaticCairoText.h

  • Committer: Gord Allott
  • Date: 2011-02-28 16:27:57 UTC
  • mto: This revision was merged to the branch mainline in revision 902.
  • Revision ID: gord.allott@canonical.com-20110228162757-zk8otqin3bir0sml
erm, bunch of stuff. support for keynav, woo

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
      sigc::signal<void, StaticCairoText*> sigTextChanged;
90
90
      sigc::signal<void, StaticCairoText*> sigTextColorChanged;
91
91
      sigc::signal<void, StaticCairoText*> sigFontChanged;
 
92
      virtual bool CanFocus ();
92
93
 
93
94
    private:
94
95
      int            _cached_extent_width;
95
96
      int            _cached_extent_height;
96
97
      bool           _need_new_extent_cache;
97
 
      
 
98
 
98
99
      NString        _text;
99
100
      Color          _textColor;
100
101
      EllipsizeState _ellipsize;
106
107
 
107
108
      int            _pre_layout_width;
108
109
      int            _pre_layout_height;
109
 
      
 
110
 
110
111
      void GetTextExtents (const TCHAR* font,
111
112
                           int&         width,
112
113
                           int&         height);