Screen Saver (reproduced)
A simple screen saver can be enabled by adding the compiler flag -DSCR_SAVER to the makefile. When enabled, if the machine has been idle (eg in STOP / PAUSE state), the screen will be filled with certain color while an OSD icon will bounce around. How soon the screen saver is activated is controlledby a variable scr_saver_wtime in "scrsaver.h", in units of 1/60 seconds.The variables scr_saver_loffset, scr_saver_roffset, scr_saver_toffset andscr_saver_boffset control when the rebound will happen.
There Are Four Display Types Used for SCRSAVER: 0: Moving Icon That Bounces Off The Edge of the Screen.1: AS in 0 But with Color / Contrast Changes.2: Popup icon with Color / Contrast Changes.3: AS in 1 But THE MOVEMENT IS FASTER AND SMOOTHER (DEFAULT) .THE VARIABLE SCR_SAVER_TYPE IN SCRSAVER.H IS Used to Select One of Them.
To Customize The icon, Create The Desired Icon (The Size Should Not Exceed256x256, 16 Color) Replace The Example Scrasaver icon in icon.c.
File "Util.c" Contains Various Functions That Can Be Used to Customize Thelook and Feel of The Screen Saver.
The OSD Icon Can Be Changed in Function Cust_Show_Scrsaver_osd () if Needed.The Background Video Pict_show_scrsaver_video ().
The Style of the Screen Saver (Trajectory and Color Changes) Can Also Befine-Tuned by Modifying The Functions Cust_Style_scrsaver (), SCRSAVER_MOVE () and scrsaver_move_plus ().
OSD_CONTRAST_CHANGE () Can be used to set the contrast of the osd icon.