[hatari-devel] New FileSelector

npomarede at corp.free.fr npomarede at corp.free.fr
Fri Sep 10 22:47:31 CEST 2010

On Fri, 10 Sep 2010, Laurent Sallafranque wrote:

>> More generally, changing the UI can be nice to propose some new ways to 
> work, but I
>> think it would be best in that case to provide some code than can be turned 
> on/off using
>> a "define".
> Yes, I agree here, but I had to change code here and there in many places, 
> and it would have been hard to put #defines everywhere.
> I'll have a look at the key repeat and I'll finish to add the mouse 
> scrolling.
> OK for keeping the old button.
> For the UI, I have plenties of ideas, but the actual UI is usable like this 
> (it wouls be more cosmetic changes).
> But I found the fileSelector was too poor to be useable like this.
> Regards
> Laurent

In case you have more ideas you'd like to commit for others to do some 
tests, I think one way to do it could be to create a "gui-sdl-new" 
directory for example and duplicate all code + changes in it.

This would limit the number of #ifdef in others parts of the code and 
would just need a few changes to cmakefile to choose which sdl gui to 

(another way could be to create a new branch in mercurial, but it could be 
a little more complicated to have actives branches in the repository)


More information about the hatari-devel mailing list