Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ceguilua/ceguilua-0.6.0/package/elements/TreeItem.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.2 KB
Line 
1/***********************************************************************
2        TreeItem
3***********************************************************************/
4class TreeItem
5{
6        ColourRect  getTextColours(void) const;
7        void  setTextColours(ColourRect& cols);
8        void  setTextColours(colour top_left_colour, colour top_right_colour, colour bottom_left_colour, colour bottom_right_colour);
9        void  setTextColours(colour col);
10        string getText(void) const;
11        string getTooltipText(void) const;
12        unsigned int  getID(void) const;
13        void* getUserData(void) const;
14        bool  isSelected(void) const;
15        bool  isDisabled(void) const;
16        bool  isAutoDeleted(void) const;
17        Window*  getOwnerWindow(void);
18        ColourRect  getSelectionColours(void) const;
19        void  setText(string text);
20        void  setTooltipText(string text);
21        void  setUserData(void* item_data);
22        void  setSelected(bool setting);
23        void  setDisabled(bool setting);
24        void  setAutoDeleted(bool setting);
25        void  setSelectionColours(ColourRect& cols);
26        void  setSelectionColours(colour top_left_colour, colour top_right_colour, colour bottom_left_colour, colour bottom_right_colour);
27        void  setSelectionColours(colour col);
28        bool  getIsOpen();
29        void toggleIsOpen();
30        size_t getItemCount();
31        void addItem(TreeItem* item);
32        void setIcon(Image& icon);             
33};
Note: See TracBrowser for help on using the repository browser.