WIDGET_USE_FLEX_SKIN does not seem to work?

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

  • WIDGET_USE_FLEX_SKIN does not seem to work?

    Hello,
    I've added the compile time macro:

    C Source Code

    1. #define WIDGET_USE_FLEX_SKIN 1 // use flex skin as default (p. 848 stemwin)


    to GUIConf.h but my screens still use the classical look? Using 'STemWin 5.26). Tips would be appreciated!


    Thanks


    Steven


  • Hello Steven,

    Please note that you are using a precompiled library. Precompiled libraries can not be configured at compile time, since they already are compiled.

    For details on how to enable the Skinning feature by default, please refer to the section 21.4.1 "Skinning" -> "Using a skin" -> "Runtime configuration"

    Best regards,
    Adrian
  • Thank you Adrian, we figured as such and used :

    C Source Code

    1. BUTTON_SetDefaultSkin(BUTTON_SKIN_FLEX);
    2. SLIDER_SetDefaultSkin(SLIDER_SKIN_FLEX);
    3. PROGBAR_SetDefaultSkin(PROGBAR_SKIN_FLEX);

    in our main.c file

    Thank you for your help.

    Steven