Screen Saver(转载)

原创 2004年09月11日 20:16:00

 Screen Saver (转载)

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 (e.g. 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 controlled
by 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 and
scr_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 exceed
256x256, 16 color) replace the example scrsaver icon in icon.c.

File "util.c" contains various functions that can be used to customize the
look and feel of the screen saver.

The OSD icon can be changed in function CUST_show_scrsaver_osd() if needed.
The background video picture can be changed in function

The style of the screen saver (trajectory and color changes) can also be
fine-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.

Android 性能优化之旋转屏幕优化

  • heqiangflytosky
  • heqiangflytosky
  • 2017年05月02日 17:52
  • 1941


  • u011192409
  • u011192409
  • 2015年07月03日 17:22
  • 8369

Centos命令系列 之 screen

摘要 作为运维人员经常会遇到等到远程主机的链接因为网络原因或者别的其他不可抗拒的原因断掉,此时远程为执行完成的命令也会断掉而导致很多任务需要重新执行。 这给大家介绍一个在这种情况下很好用...
  • eaglecolin
  • eaglecolin
  • 2016年12月23日 19:41
  • 2381

Kinde 3 screen_saver.7z

  • 2011年09月02日 15:08
  • 2.54MB
  • 下载

Screen Saver Builder V3.11 汉化版

  • 2013年05月08日 12:52
  • 1.42MB
  • 下载

Windows Compliant Screen Saver Using MFC (53KB)

  • 2006年02月23日 09:05
  • 52KB
  • 下载

c# screen saver

  • 2006年02月23日 09:05
  • 26KB
  • 下载

Screen Saver which Displays Pictures一个简单的屏幕保护程序(5

  • 2006年02月23日 09:05
  • 4KB
  • 下载

snowflake3d screen saver

  • 2009年04月06日 00:56
  • 276KB
  • 下载

Wallpaper and Screen Saver v3.35

  • 2011年08月29日 20:42
  • 1.05MB
  • 下载
您举报文章:Screen Saver(转载)