Setting Frame Color of FrameWin (non skinning)

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Setting Frame Color of FrameWin (non skinning)

    Hello to all,

    I want to change the frame color of a standard framewin.

    I used this code in GuiConf.c:
    #define FRAMEWIN_FRAMECOLOR_DEFAULT 0x555555
    #include "GUI.h"

    I expected emWin to accept this define and NOT to set it internally back to 0xAAAAAA.

    But it doesn´t work. How can I use the configuration options macros properly?

    Thanks for any help
    Andy
  • in UM03001_emWin5.pdf 38.5 :

    In case a precompiled emWin library is used, changing the configuration files will not
    have any effect until the library is compiled again with the required settings.

    You can use FRAMEWIN_SetBarColor() to do it. If you use skinned FrameWin, use FRAMEWIN_SetSkinFlexProps() to change!

    The post was edited 1 time, last by chensie ().