Code

screen: replaced get_cur_mode_id() with screen_is_visible()
authorMax Kellermann <max@duempel.org>
Thu, 25 Sep 2008 19:20:10 +0000 (21:20 +0200)
committerMax Kellermann <max@duempel.org>
Thu, 25 Sep 2008 19:20:10 +0000 (21:20 +0200)
commit3809e2f13bb6642d3a874c24df7d854aa0aea8b5
tree3acd44e438c1403bea51e0009d4c6c41a7a35f7d
parent76270589b0b32e703c5d4854b859214215585e0a
screen: replaced get_cur_mode_id() with screen_is_visible()

Screen code shouldn't know anything about the screen ids (which will
be eliminated completely later).  Instead of comparing ids, compare
the screen_functions pointer.
src/screen.c
src/screen.h
src/screen_artist.c
src/screen_file.c
src/screen_lyrics.c
src/screen_play.c
src/screen_search.c