赞助论坛
  • 6861阅读
  • 0回复

求mstar程序修改logo的工具及方法 [复制链接]

楼层直达
5651090  
发帖
75
精华
0
金币
-20
威望
1
贡献
0
好评
0
注册
2010-07-27
楼主    5651090 发表于: 2010-08-03 19:31:25 
论坛里的那个MST GEN不知道是我不会用,还是不好使,反正不行。
我的程序中画LOGO的代码是这样的:
1.Osd_LoadFont(1, &tLogoFontData, sizeof(tLogoFontData));
tLogoFontData是这样的:
BYTE code tLogoFontData[] =
{
// 0x000(0) : image002_0
0x00, 0x0F, 0x0F, 0x00, 0x0F, 0x0F, 0x00, 0x0F, 0x0F, 0x00, 0x0F, 0x0F, 0x00, 0x0F, 0x0F, 0x00, 0x0F, 0x0F, 0x00, 0x0F, 0x0F, 0x00, 0x0F, 0x0F, 0x00, 0x0F, 0x0F,
// 0x001(1) : image002_1
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
// 0x002(2) : image002_3
等等 很多
}
2. for (i=0; i<OsdWindowHeight; i++)
   {Osd_DrawRealStr(0, i, strLogotxt[i]);
   }
strlogotxt[i]又是个二维数组
BYTE code strLogotxt[8][31]=
{
{"\x01\x02\x02\x03\x04\x05\x02\x02\x06\x07\x08\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04"},
{"\x01\x02\x09\x0A\x0B\x0C\x0D\x02\x0E\x04\x0F\x10\x11\x12\x04\x04\x13\x14\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04"},
等等 很多。
}
这个tLogoFontData和strlogotxt[i]是用什么工具、怎么生成的啊?