My FT800 lib
Diff: FT_CoPro_Cmds.cpp
- Revision:
- 6:16e22c789f7d
- Parent:
- 4:363ec27cdfaa
--- a/FT_CoPro_Cmds.cpp Thu Sep 25 20:32:21 2014 +0000 +++ b/FT_CoPro_Cmds.cpp Tue Feb 10 23:32:22 2015 +0000 @@ -219,7 +219,7 @@ SendCmd( CMD_BUTTON); SendCmd( (((ft_uint32_t)y<<16)|(x & 0xffff))); SendCmd( (((ft_uint32_t)h<<16)|w)); - SendCmd( (((ft_uint32_t)y<<16)|font)); + SendCmd( (((ft_uint32_t)options<<16)|font)); // patch from Ivano Pelicella to draw flat buttons SendStr( s); EndFunc( (FT_CMD_SIZE*4 + strlen(s) + 1)); }