~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/gui/widgets/textpreview.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi, Andrei Karas, Patrick Matthäi
  • Date: 2013-05-18 21:06:29 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130518210629-3trtowluum0tekob
Tags: 1.3.5.12-1
[ Andrei Karas ]
* Add new files to copyright file.

[ Patrick Matthäi ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
        ~TextPreview();
46
46
 
47
 
        /**
48
 
         * Sets the color the text is printed in.
49
 
         *
50
 
         * @param color the color to set
51
 
         */
52
47
        inline void setTextColor(const gcn::Color *color)
53
48
        { mTextColor = color; adjustSize(); }
54
49
 
 
50
        inline void setTextColor2(const gcn::Color *color)
 
51
        { mTextColor2 = color; adjustSize(); }
 
52
 
55
53
        /**
56
54
         * Sets the text to use the set alpha value.
57
55
         *
130
128
        gcn::Font *mFont;
131
129
        std::string mText;
132
130
        const gcn::Color *mTextColor;
 
131
        const gcn::Color *mTextColor2;
133
132
        const gcn::Color *mBGColor;
134
133
        const gcn::Color *mTextBGColor;
135
134
        bool mTextAlpha;