用一個array存成header file
例如 320*240解析度的圖
是一個含有76800個element的array
每個element填一個color
先用bitmap tool把.bmp檔轉成header file -> logobmp_320X240.h
再把這個header file存到 platform -> snapXXX -> kernel -> OAL
不過這個header file是在哪被呼叫的呢? 還不知道~
---
每個platform的環境變數都存在 xx.bat
以螢幕大小為例:
@REM ======================================================================
@REM display resolution
@REM ======================================================================
SET BSP_DISPLAY_WIDTH=320
SET BSP_DISPLAY_HEIGHT=240
Friday, April 20, 2007
更改winCE開機logo
Subscribe to:
Post Comments (Atom)
2 comments:
KERNEL\OAL\splash.c 會用到...
程式會依據以下的環境變數來選用不同尺寸與角度的x.h檔案. 那這些環境變數在哪裡設定呢? 在BSP根目錄下面的platform.bat或是其它x.bat裡面設定
#if (DISPLAY_DEPTH == 16)
#if (DISPLAY_WIDTH == 240)
#if (DISPLAY_HEIGHT == 320)
喔喔 原來如此
謝啦 :)
Post a Comment