Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/tags/0.0.2/src/ceguilua/ceguilua-0.5.0/package/elements/ListboxTextItem.pkg @ 7375

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

Merged buildsystem3 containing buildsystem2 containing Adi's buildsystem branch back to the trunk.
Please update the media directory if you were not using buildsystem3 before.

  • 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.