emWin image instead of standart button graphics

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

emWin image instead of standart button graphics

2,084 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by an.skornyakov on Thu Jul 26 05:41:19 MST 2012
Does anybody knows, is it possible via emwin API to create button with custom bitmap instead of standart emwin button graphics? This button shouldn't be animated, just static image in pressed, unpressed and all the states.

Thanks.
标签 (1)
0 项奖励
回复
3 回复数

1,920 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by santosh on Sat Sep 29 03:59:54 MST 2012
hi to evry one,

i am also working on Button program, may i know how to call that Emwin functions., i m new to emwin..

how i will build my own BUTTON key.
0 项奖励
回复

1,920 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by an.skornyakov on Thu Aug 09 03:50:09 MST 2012
Yeah, thanks, it works!
0 项奖励
回复

1,920 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mcresseri on Thu Jul 26 08:56:24 MST 2012
You can use the emWin API BUTTON_SetBitmap() or BUTTON_SetBitmapEx() for your purpose, as explained in the emWin user manual on page 401.
0 项奖励
回复