~ubuntu-branches/ubuntu/trusty/compiz/trusty

« back to all changes in this revision

Viewing changes to plugins/text/src/private.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-08-22 06:58:07 UTC
  • mto: This revision was merged to the branch mainline in revision 3352.
  • Revision ID: package-import@ubuntu.com-20130822065807-17nlzez0d30y09so
Tags: upstream-0.9.10+13.10.20130822
ImportĀ upstreamĀ versionĀ 0.9.10+13.10.20130822

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
        GLScreen *gScreen;
57
57
 
58
58
    private:
59
 
        Atom visibleNameAtom;
60
 
        Atom utf8StringAtom;
61
 
        Atom wmNameAtom;
 
59
 
 
60
        Atom     visibleNameAtom;
 
61
        Atom     utf8StringAtom;
 
62
        Atom     wmNameAtom;
62
63
 
63
64
        CompString getUtf8Property (Window id, Atom atom);
64
65
        CompString getTextProperty (Window id, Atom atom);
67
68
class TextSurface
68
69
{
69
70
    public:
 
71
 
70
72
        TextSurface  ();
71
73
        ~TextSurface ();
72
74
 
75
77
        bool render (const CompText::Attrib &attrib,
76
78
                     const CompString       &text);
77
79
 
78
 
        int          mWidth;
79
 
        int          mHeight;
80
 
        Pixmap       mPixmap;
 
80
        int    mWidth;
 
81
        int    mHeight;
 
82
        Pixmap mPixmap;
81
83
 
82
84
    private:
 
85
 
83
86
        bool initCairo (int w,
84
87
                        int h);
 
88
 
85
89
        bool update (int w,
86
90
                     int h);
87
 
        void drawBackground (int x, int y,
88
 
                             int width, int height,
 
91
 
 
92
        void drawBackground (int x,
 
93
                             int y,
 
94
                             int width,
 
95
                             int height,
89
96
                             int radius);
90
97
 
91
98
        cairo_t              *cr;
100
107
    PrivateTextScreen *ts = PrivateTextScreen::get (screen);
101
108
 
102
109
class TextPluginVTable :
103
 
    public CompPlugin::VTableForScreen <PrivateTextScreen>
 
110
    public CompPlugin::VTableForScreen <PrivateTextScreen, COMPIZ_TEXT_ABI>
104
111
{
105
112
    public:
106
113