Search found 4 matches

by tiktak
Wed Oct 08, 2008 03:42
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Requesting TreeItem::removeItem
Replies: 9
Views: 10340

Yeah... way to followup on an old thread - sorry in advance :D I made another patch for the "old" (=0.6.1) Tree, which fixes the setItemSelectState(bool) function (in the Trunk, the check whether the item is in the Tree is non-recursive, hence the setItemSelectState fails on non-firstlevel...
by tiktak
Fri Jul 25, 2008 22:45
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Requesting TreeItem::removeItem
Replies: 9
Views: 10340

Thanks, I think a more consistent Tree implementation would be a real gain. Another suggestion to make the current one more usable: Move the const TreeItem* getItemAtPoint(const Point& pt) const from protected to public . It makes sense to export this function, for example to enable item-based p...
by tiktak
Thu Jul 24, 2008 21:45
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Requesting TreeItem::removeItem
Replies: 9
Views: 10340

Like dewyatt pointed out, the code was very easy to read and I managed to add the functionality with the following patches (they seem to run fine in my cases (removing children with open child items, etc) but of course I may have missed some test cases). The removing-all-items function (called reset...
by tiktak
Sun Jun 15, 2008 13:38
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Requesting TreeItem::removeItem
Replies: 9
Views: 10340

Requesting TreeItem::removeItem

I took notice of this project a short while ago (starting with 0.6.0 ^.^), and I am really impressed so far. But just now I wanted to implement a nice hierarchy browser using the CEGUI::Tree widget, and I hit a limitation: it seems TreeItem has currently no means of removing child items! Lamentably,...

Go to advanced search