Slick Forums

Discuss the Slick 2D Library
It is currently Wed May 22, 2013 8:53 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Minor issues
PostPosted: Fri Aug 03, 2012 3:49 pm 
Offline

Joined: Sat Jul 21, 2012 10:11 pm
Posts: 3
I'll be posting minor issues/requests here as I find them.

------

The javadoc for widget.destroy() didn't really make it clear to me whether destroy would be performed recursively on the children. Looking at the source code, it seems to be recursive. Maybe this is obvious to more experienced GUI programmers, but I think it'd be really nice if the docs were more explicit.

Possible javadoc strings(may be incorrect):

Code:
    /**
     * Clean up GL resources. When overwritten then super method must be called.
     *
     * To destroy a child widget, use {@link #removeChild(Widget)} instead, which calls this function.
     *
     * {@link #destroy()} will be recursively called on all children of this widget.
     */
    public void destroy() {


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group