[2608] | 1 | /****************************************************************************** |
---|
| 2 | SectionSpecification |
---|
| 3 | ******************************************************************************/ |
---|
| 4 | |
---|
| 5 | class SectionSpecification |
---|
| 6 | { |
---|
| 7 | void render(Window& srcWindow, float base_z, const ColourRect* modcols = 0, const Rect* clipper = 0, bool clipToDisplay = false) const; |
---|
| 8 | void render(Window& srcWindow, const Rect& baseRect, float base_z, const ColourRect* modcols = 0, const Rect* clipper = 0, bool clipToDisplay = false) const; |
---|
| 9 | |
---|
| 10 | string getOwnerWidgetLookFeel() const; |
---|
| 11 | string getSectionName() const; |
---|
| 12 | const ColourRect& getOverrideColours() const; |
---|
| 13 | void setOverrideColours(const ColourRect& cols); |
---|
| 14 | bool isUsingOverrideColours() const; |
---|
| 15 | void setUsingOverrideColours(bool setting = true); |
---|
| 16 | void setOverrideColoursPropertySource(string property); |
---|
| 17 | void setOverrideColoursPropertyIsColourRect(bool setting = true); |
---|
| 18 | void setRenderControlPropertySource(string property); |
---|
| 19 | // void writeXMLToStream(OutStream& out_stream) const; |
---|
| 20 | SectionSpecification(string owner, string sectionName, const string controlPropertySource); |
---|
| 21 | SectionSpecification(string owner, string sectionName, string controlPropertySource, const ColourRect& cols); |
---|
| 22 | |
---|
| 23 | }; |
---|