emWin image instead of standart button graphics

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

emWin image instead of standart button graphics

2,093件の閲覧回数
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,929件の閲覧回数
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,929件の閲覧回数
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,929件の閲覧回数
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 件の賞賛
返信