Nifty-Gui : Remove Image from ImageSelect Control

Hello!



I have a Nigty - ImageSelect Control on my panel with several images, and I need to be able to remove and add images to this control dynamically at runtime, but from what I can see, I only have the option for adding images…Its impossible, trough the ImageSelect control API, to remove images.



Has anyone ever faced this question? and if so, how did you solve it?



I’ve tried to checkout the Nifty-Gui Source code from SVN, but I was unable to do so…none of the URLs in LINK seems to work.



Please help!

That is indeed strange, but it might be fairly easy to extend ImageSelectControl to remove images as well (though you’ll have to build Nifty from source, until it gets added - add a ticket at the nifty-gui tracker).

The source code is here: http://nifty-gui.git.sourceforge.net/git/gitweb-index.cgi

Thank you very much for the fast reply! I’m going to give a try to that option!



Later on, I will post the result.



Cheers!

I found this http://sourceforge.net/apps/mediawiki/nifty-gui/index.php?title=Build_from_Source and it downloaded and built but I didn’t get much further so I’m not 100% sure it is the latest.

Hmm, I see another answer linking to a git repository. Does anyone know if git or svn is the correct/latest one to be using?

Well, I’m not sure about the svn source, but the git repository is updated.