Add a wrapper header, mylcd.h, in the lib subdirectory, which lets plugins' code...
commit35d1c4fc4af2c7f4aa79055a3a76e1caf8ba9734
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Fri, 4 Jun 2010 08:43:32 +0000 (4 08:43 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Fri, 4 Jun 2010 08:43:32 +0000 (4 08:43 +0000)
treefa05f187ca308af7bbddbc74a0270cd46cb48b72
parentbfca1de00957cc852db3c77f6c3a32c10fc0c76f
Add a wrapper header, mylcd.h, in the lib subdirectory, which lets plugins' code automatically call the proper functions depending if compilation is for greylib or color display, also forms proper call to grey_ and  xlcd_. mylcd_ub_ call greylib unbuffered routines, regular lcd routines otherwise. Form is mylcd_<fnname>, <fnname> is the symbol name stripped of prefixes lcd_, grey_, or xlcd_. Convert a couple plugins I know well (easy job).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26542 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/fft/fft.c
apps/plugins/lib/mylcd.h [new file with mode: 0644]
apps/plugins/mpegplayer/mpeg_settings.c
apps/plugins/mpegplayer/mpegplayer.c
apps/plugins/mpegplayer/mpegplayer.h
apps/plugins/mpegplayer/video_out_rockbox.c
apps/plugins/mpegplayer/video_thread.c