Code

replaced get_screen_X() with static screen_functions variable
authorMax Kellermann <max@duempel.org>
Wed, 17 Sep 2008 10:05:02 +0000 (12:05 +0200)
committerMax Kellermann <max@duempel.org>
Wed, 17 Sep 2008 10:05:02 +0000 (12:05 +0200)
commit51cb2863dd7def8505ba37bdbcb8221416c26f55
tree3672d81258baf9ecbb06398cd30c9e84128eff4c
parentb126dbbfecd92850528b37b7f580e48601023748
replaced get_screen_X() with static screen_functions variable

Compile time initialization saves resources, compared to run-time
initialization.  Declare all screen_function structs as global
variables, and remove all get functions.
src/screen.c
src/screen.h
src/screen_artist.c
src/screen_clock.c
src/screen_file.c
src/screen_help.c
src/screen_keydef.c
src/screen_lyrics.c
src/screen_play.c
src/screen_search.c