emWin image instead of standart button graphics

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

emWin image instead of standart button graphics

969 Views
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.
Labels (1)
0 Kudos
3 Replies

805 Views
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 Kudos

805 Views
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 Kudos

805 Views
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 Kudos