Subversion Repositories tpanel

Rev

Rev 446 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 446 Rev 462
Line 39... Line 39...
39
}PDATA_T;
39
}PDATA_T;
40
 
40
 
41
class TPalette : public TValidateFile
41
class TPalette : public TValidateFile
42
{
42
{
43
    public:
43
    public:
44
        TPalette();
44
        TPalette(bool tp=false);
45
        TPalette(const std::string& file);
45
        TPalette(const std::string& file, bool tp=false);
46
        ~TPalette();
46
        ~TPalette();
47
 
47
 
48
        void initialize(const std::string& file);
48
        void initialize(const std::string& file);
49
        PDATA_T findColor(const std::string& name);
49
        PDATA_T findColor(const std::string& name);
50
        PDATA_T findColor(int pID);
50
        PDATA_T findColor(int pID);
Line 55... Line 55...
55
        void addSystemColors();
55
        void addSystemColors();
56
 
56
 
57
        std::string mPath;
57
        std::string mPath;
58
        std::map<std::string, PDATA_T> mColors;
58
        std::map<std::string, PDATA_T> mColors;
59
        std::vector<std::string> mPaletteNames;
59
        std::vector<std::string> mPaletteNames;
-
 
60
        bool mIsTP5{false};
60
};
61
};
61
 
62
 
62
#endif
63
#endif