AnsweredAssumed Answered

STM32 embedded GUI library - icon problem

Question asked by Bi..Lukas on Sep 18, 2014
Latest reply on Sep 19, 2014 by Andrew Neil
Hi everyone!
I try to use STM32 embedded GUI library ( http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF257934 ).  I use STM32F103Z with 64kB SRAM, and LCD with SSD1289 controller. I have one problem. All functions work, almost. I can't use icons like buttons. I started demo applications but it is not working there too. Can anybody tell me how to fix this?

I think the problem is there:
if ( CompareCoordinates( tmpCoord.MaxX, tmpCoord.MaxX - tmpSize.Length + 1, tmpCoord.MaxY, tmpCoord.MaxY - tmpSize.Height ) )
              {
                    ...
              }

because function never goes into "if" block.

Outcomes