| 1 | /************************************************************************************** | 
|---|
| 2 |     WidgetLookFeel | 
|---|
| 3 | **************************************************************************************/ | 
|---|
| 4 |  | 
|---|
| 5 | class WidgetLookFeel | 
|---|
| 6 | { | 
|---|
| 7 |     StateImagery& getStateImagery(string state) const; | 
|---|
| 8 |     ImagerySection& getImagerySection(string section) const; | 
|---|
| 9 |     string getName() const; | 
|---|
| 10 |     void addImagerySection(const ImagerySection& section); | 
|---|
| 11 |     void addWidgetComponent(const WidgetComponent& widget); | 
|---|
| 12 |     void addStateSpecification(const StateImagery& state); | 
|---|
| 13 |     void addPropertyInitialiser(const PropertyInitialiser& initialiser); | 
|---|
| 14 |     void clearImagerySections(); | 
|---|
| 15 |     void clearWidgetComponents(); | 
|---|
| 16 |     void clearStateSpecifications(); | 
|---|
| 17 |     void clearPropertyInitialisers(); | 
|---|
| 18 |     void initialiseWidget(Window& widget) const; | 
|---|
| 19 |     bool isStateImageryPresent(string state) const; | 
|---|
| 20 |     void addNamedArea(const NamedArea& area); | 
|---|
| 21 |     void clearNamedAreas(); | 
|---|
| 22 |     const NamedArea& getNamedArea(string name) const; | 
|---|
| 23 |     bool isNamedAreaDefined(string name) const; | 
|---|
| 24 |     void layoutChildWidgets(const Window& owner) const; | 
|---|
| 25 |     void addPropertyDefinition(const PropertyDefinition& propdef); | 
|---|
| 26 |     void addPropertyLinkDefinition(const PropertyLinkDefinition& propdef); | 
|---|
| 27 |     void clearPropertyDefinitions(); | 
|---|
| 28 |     void clearPropertyLinkDefinitions(); | 
|---|
| 29 |     //void writeXMLToStream(XMLSerializer& out_stream) const; | 
|---|
| 30 |     void renameChildren(const Window& widget, string newBaseName) const; | 
|---|
| 31 |  | 
|---|
| 32 |     const PropertyInitialiser* findPropertyInitialiser(string propertyName) const; | 
|---|
| 33 |     const WidgetComponent* findWidgetComponent(string nameSuffix) const; | 
|---|
| 34 |  | 
|---|
| 35 |     WidgetLookFeel(string name); | 
|---|
| 36 |     WidgetLookFeel(); | 
|---|
| 37 | }; | 
|---|