Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestates3/src/external/ceguilua/ceguilua-0.5.0/package/falagard/WidgetLookFeel.pkg @ 10422

Last change on this file since 10422 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1/**************************************************************************************
2    WidgetLookFeel
3**************************************************************************************/
4
5class 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};
Note: See TracBrowser for help on using the repository browser.