Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/lastmanstanding3/src/external/ceguilua/ceguilua-0.6.0/package/elements/Tree.pkg @ 8474

Last change on this file since 8474 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: 1.6 KB
Line 
1/***********************************************************************
2        Tree
3***********************************************************************/
4class Tree : public Window
5{
6        size_t  getItemCount(void) const;
7        size_t  getSelectedCount(void) const;
8       
9        TreeItem*       getFirstSelectedItem(void) const;
10        TreeItem*       getLastSelectedItem(void) const;
11       
12        bool    isSortEnabled(void) const;
13        bool    isMultiselectEnabled(void) const;
14        bool    isItemTooltipsEnabled(void) const;
15       
16        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| TreeItem*   findFirstItemWithText(string text);
17        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| TreeItem*   findNextItemWithText(string text, const TreeItem* start_item);
18        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| TreeItem*   findFirstItemWithID(unsigned int searchID);
19        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| TreeItem*   findNextItemWithID(unsigned int searchID, const TreeItem* start_item);
20       
21        bool    isTreeItemInList(const TreeItem* item) const;
22        void    resetList(void);
23        void    addItem(TreeItem* item);
24       
25        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| void        insertItem(TreeItem* item, const TreeItem* position);
26        void    removeItem(const TreeItem* item);
27        void    clearAllSelections(void);
28        void    setSortingEnabled(bool setting);
29        void    setMultiselectEnabled(bool setting);
30        void    setItemSelectState(TreeItem* item, bool state);
31        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| void        setItemSelectState(size_t item_index, bool state);
32        tolua_throws|CEGUI::Exception,error|std::exception,error|any,error| void        ensureItemIsVisible(const TreeItem* item);
33};
Note: See TracBrowser for help on using the repository browser.