Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/external/ceguilua/ceguilua-0.5.0/package/elements/ListboxTextItem.pkg @ 8016

Last change on this file since 8016 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: 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.