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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
 
56
56
        virtual std::string getElementAt(int i) override A_WARN_UNUSED;
57
57
 
58
 
        virtual ColorPair *getColorAt(int i) A_WARN_UNUSED;
 
58
        virtual const ColorPair *getColorAt(const int i) const A_WARN_UNUSED;
59
59
 
60
60
        StringVect &getNames() A_WARN_UNUSED
61
61
        { return mNames; }
63
63
        size_t size() A_WARN_UNUSED
64
64
        { return mNames.size(); }
65
65
 
66
 
        void add(const std::string &name, const gcn::Color *color1,
67
 
                 const gcn::Color *color2);
 
66
        void add(const std::string &name, const gcn::Color *const color1,
 
67
                 const gcn::Color *const color2);
68
68
 
69
69
        static ColorModel *createDefault(const Widget2 *const widget);
70
70