Re: [hatari-devel] SDL GUI keyboard shortcuts |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Am Sat, 16 Aug 2014 20:01:25 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> Hi,
>
> On lauantai 16 elokuu 2014, Thomas Huth wrote:
> > schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> > > Another cumbersome thing in the navigation is lack of
> > > key repeat. To help navigating long lists of files, it
> > > could be nice to have single char shortcuts to jump to a place
> > > in the list where filenames starting with pressed letter are.
> > > What do you think?
> >
> > Sounds like a good feature
>
> Could you look into that?
Naa, your idea, your feature, so I certainly do not want to spoil you
the joy of coding this here.
> > - as long as nobody tries to add (letter)
> > shortcuts for the other buttons in that dialog ;-)
>
> I added special character shortcuts to them so that
> letters are left free for above. I will next add
> shortcuts to other/remaining dialogs.
With SDL2, compiling now does not work anymore:
[ 36%] Building C object src/gui-sdl/CMakeFiles/GuiSdl.dir/sdlgui.c.o
src/gui-sdl/sdlgui.c: In function 'SDLGui_DoDialog':
src/gui-sdl/sdlgui.c:1073:24: error: 'rect' undeclared (first use in this function)
SDL_SetTextInputRect(&rect);
^
src/gui-sdl/sdlgui.c:1073:24: note: each undeclared identifier is reported only once for each function it appears in
src/gui-sdl/sdlgui.c:1186:31: error: 'SDL_Keysym' has no member named 'unicode'
key = sdlEvent.key.keysym.unicode;
^
make[2]: *** [src/gui-sdl/CMakeFiles/GuiSdl.dir/sdlgui.c.o] Error 1
make[1]: *** [src/gui-sdl/CMakeFiles/GuiSdl.dir/all] Error 2
make: *** [all] Error 2
Could you please fix this?
Thomas