Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5738 was 5738, checked in by landauf, 15 years ago

merged libraries2 back to trunk

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