Subversion Repositories tpanel

Rev

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

Rev 298 Rev 300
Line 53... Line 53...
53
        void setName(const std::string& n) { mPage.name = n; }
53
        void setName(const std::string& n) { mPage.name = n; }
54
        std::string& getName() { return mPage.name; }
54
        std::string& getName() { return mPage.name; }
55
        int getNumber() { return mPage.pageID; }
55
        int getNumber() { return mPage.pageID; }
56
        bool isVisilble() { return mVisible; }
56
        bool isVisilble() { return mVisible; }
57
        ulong getHandle() { return (mPage.pageID << 16) & 0xffff0000; }
57
        ulong getHandle() { return (mPage.pageID << 16) & 0xffff0000; }
-
 
58
        std::string getFillColor() { return mPage.sr[0].cf; }
-
 
59
        SkBitmap& getBgImage();
58
 
60
 
59
        PAGECHAIN_T *addSubPage(TSubPage *pg);
61
        PAGECHAIN_T *addSubPage(TSubPage *pg);
60
        TSubPage *getSubPage(int pageID);
62
        TSubPage *getSubPage(int pageID);
61
        TSubPage *getSubPage(const std::string& name);
63
        TSubPage *getSubPage(const std::string& name);
62
        TSubPage *getFirstSubPage();
64
        TSubPage *getFirstSubPage();
Line 111... Line 113...
111
 
113
 
112
        PAGECHAIN_T *mSubPages{nullptr};// Subpages related to this page
114
        PAGECHAIN_T *mSubPages{nullptr};// Subpages related to this page
113
        int mLastSubPage{0};            // Stores the number of the last subpage
115
        int mLastSubPage{0};            // Stores the number of the last subpage
114
        int mZOrder{ZORDER_INVALID};    // The Z-Order of the subpages
116
        int mZOrder{ZORDER_INVALID};    // The Z-Order of the subpages
115
        std::vector<LIST_t> mLists;     // Lists of page
117
        std::vector<LIST_t> mLists;     // Lists of page
-
 
118
        SkBitmap mBgImage;              // The background image, if one
116
};
119
};
117
 
120
 
118
 
121
 
119
 
122
 
120
#endif // _TPAGE_H
123
#endif // _TPAGE_H