Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ceguilua/ceguilua-0.5.0/package/elements/ListboxTextItem.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: 739 bytes
Line 
1/***********************************************************************
2        ListboxTextItem
3
4        The constructor is not exportet, instead a helper function is
5        available (CEGUI.createListboxTextItem).
6
7        I decided to do it like this to avoid any possible memory issues
8        with allocating from Lua.
9***********************************************************************/
10class ListboxTextItem : public ListboxItem
11{
12        Font* getFont() const;
13        ColourRect getTextColours() const;
14
15        void setFont(string font_name);
16        void setFont(Font* font);
17
18        void setTextColours(colour top_left_colour, colour top_right_colour, colour bottom_left_colour, colour bottom_right_colour);
19        void setTextColours(const ColourRect& cols);
20        void setTextColours(colour col);
21};
Note: See TracBrowser for help on using the repository browser.