Button Skinning

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

  • Header Skinning

    "
    HEADER_GetSkinFlexProps(&headerskin, 0);
    headerskin.aColorFrame[0] = GUI_GREEN;
    headerskin.aColorFrame[1] = GUI_MAGENTA;
    headerskin.aColorUpper[0] = GUI_YELLOW;
    headerskin.aColorUpper[1] = GUI_RED;
    headerskin.aColorLower[0] = GUI_GREEN;
    headerskin.aColorLower[1] = GUI_BLUE;
    HEADER_SetSkinFlexProps(&headerskin, 0);
    HEADER_SetSkin(skinheader2,HEADER_SKIN_FLEX);
    HEADER_SetDefaultSkin(HEADER_SKIN_FLEX);
    "

    Headar does not appear on screen. What am I missing?
    Thanks

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

  • Hello,

    I am not sure what might cause that, but I would assume the window was not created or has not been set visible yet. Details on how to create and show a window / widget, please refer to the chapters "The Window Manager" and "Widgets" in the emWin user manual.

    Best regards,
    Adrian