threebasecolor
所属分类:GDI/图象编程
开发工具:C/C++
文件大小:29KB
下载次数:4
上传日期:2010-09-05 16:01:16
上 传 者:
tiger_20190312
说明: DOS下和Xp下显示3基色的程式,通过Turboc 2.0 编译通过
(test the three base color of the computer under dos or xp mode.)
文件列表:
3.bat (96, 2008-03-03)
RAND.H (2139, 2008-03-07)
3BaseColor.C (5753, 2010-09-04)
3.EXE (48357, 2008-03-03)
Usage:thrbcolor [/m:] [/t:]
[/m:1,2,3 ] to set the test mode.
'1' for single color full screen, '2' is three colors full screen , '3' is to show three colors by chance.
[/t:0,1,2...] set '0' is to pause the color showing, else for delay seconds during each color showing.
for example :
thrbcolor.exe /m:1 /t:1 "(/m:1)模式1, (/t:1)暂停1秒后自动继续运行,本模式为全屏幕单色显示一次,依次为R,G,B,要求测试人员在看到有三中不同颜色(R,G,B)出现的时候,按'y'确认,才可以PASS,也就是说按'y' 就可以PASS".
thrbcolor.exe /m:2 /t:1 此模式是依次显示三种颜色(R,G,B)同屏幕显示,每次顺序都不同,也就是按'y'就可以PASS.
thrbcolor.exe /m:3 /t:0 "(/m:3)模式3,(/t:0)显示颜色时暂停,任意键继续,主要是等待测试人员记住出现的颜色顺序;本模式要求测试人员记住颜色出现的顺序,并对应输入相应的代号(必须输入0-9,否则会一直等待),对应正确才可以PASS."为默认设置是模式3!
/*参数的设置顺序不限制,即/m:value /t:value 的出现顺序不限制*/
模式3下的对应确认代码:
Color order related number(R=red,G=green,B=blue)
Red Green Blue 1
Red Blue Green 2
Green Blue Red 3
Green Red Blue 4
Blue Red Green 5
Blue Green Red 6
return 0 pass
return 1 fail
近期下载者:
相关文件:
收藏者: