Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ceguilua/ceguilua-0.5.0/package/falagard/WidgetComponent.pkg @ 2608

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

Large cleanup in CEGUILua:

  • Removed the heavy 1.7MB bind files and added the small pkg files from the CEGUI source instead
  • Those pkg files get copied version incrementally (starting with 0.5.0) to the binary dir. That saves a lot of files when having 4 different versions.
  • Added support for CEGUI 0.6.0 and 0.6.2
  • Added library info files
  • CEGUILua 0.5.0 finally supports Lua 5.1 too That means all version support both Lua 5.0 and 5.1
  • Added unified diffs with the changes to the CEGUILua source
  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1/******************************************************************************
2  WidgetComponent
3******************************************************************************/
4
5class WidgetComponent
6{
7  void create(Window& parent) const;
8  const ComponentArea& getComponentArea() const;
9  void setComponentArea(const ComponentArea& area);
10  string getBaseWidgetType() const;
11  void setBaseWidgetType(string type);
12  string getWidgetLookName() const;
13  void setWidgetLookName(string look);
14  string getWidgetNameSuffix() const;
15  void setWidgetNameSuffix(string suffix);
16  string getWindowRendererType() const;
17  void setWindowRendererType(string type);
18  VerticalAlignment getVerticalWidgetAlignment() const;
19  void setVerticalWidgetAlignment(VerticalAlignment alignment);
20  HorizontalAlignment getHorizontalWidgetAlignment() const;
21  void setHorizontalWidgetAlignment(HorizontalAlignment alignment);
22  void addPropertyInitialiser(const PropertyInitialiser& initialiser);
23  void clearPropertyInitialisers();
24  void layout(const Window& owner) const;
25
26  //void writeXMLToStream(OutStream& out_stream) const;
27
28  const PropertyInitialiser* findPropertyInitialiser(string propertyName) const;
29
30  WidgetComponent();
31  WidgetComponent(string type, string look, string suffix, string renderer);
32};
33
Note: See TracBrowser for help on using the repository browser.