Hello,
I wanted to set transparent background for button widget. I have done this using following implementation but when I enable BUTTON_SetSkinFlexProps() then it took ~20 seconds to load the screen.
When I comment out following code then the screen loads smoothly without delay.
I have tried BUTTON_SetBkColor() function to set the background color but it has no effect on the button's background color.
Could you please help me to set the background for button widget?
typedef struct {
GUI_COLOR aColorFrame[3];
GUI_COLOR aColorUpper[2];
GUI_COLOR aColorLower[2];
int Radius;
} BUTTON_SKINFLEX_PROPS;
BUTTON_SKINFLEX_PROPS props;
props.aColorFrame[0] = 0x373737;
props.aColorFrame[1] = 0x373737;
props.aColorFrame[2] = 0x373737;
props.aColorLower[0] = 0x373737;
props.aColorLower[1] = 0x373737;
props.aColorLower[2] = 0x373737;
props.aColorUpper[0] = 0x373737;
props.aColorUpper[1] = 0x373737;
props.aColorUpper[2] = 0x373737;
BUTTON_SetSkinFlexProps(&props, BUTTON_SKINFLEX_PI_ENABLED);
BUTTON_SetSkinFlexProps(&props, BUTTON_SKINFLEX_PI_PRESSED);
BUTTON_SetSkinFlexProps(&props, BUTTON_SKINFLEX_PI_FOCUSSED);
BUTTON_SetSkinFlexProps(&props, BUTTON_SKINFLEX_PI_DISABLED);
Thanks,
Vikram
I wanted to set transparent background for button widget. I have done this using following implementation but when I enable BUTTON_SetSkinFlexProps() then it took ~20 seconds to load the screen.
When I comment out following code then the screen loads smoothly without delay.
I have tried BUTTON_SetBkColor() function to set the background color but it has no effect on the button's background color.
Could you please help me to set the background for button widget?
typedef struct {
GUI_COLOR aColorFrame[3];
GUI_COLOR aColorUpper[2];
GUI_COLOR aColorLower[2];
int Radius;
} BUTTON_SKINFLEX_PROPS;
BUTTON_SKINFLEX_PROPS props;
props.aColorFrame[0] = 0x373737;
props.aColorFrame[1] = 0x373737;
props.aColorFrame[2] = 0x373737;
props.aColorLower[0] = 0x373737;
props.aColorLower[1] = 0x373737;
props.aColorLower[2] = 0x373737;
props.aColorUpper[0] = 0x373737;
props.aColorUpper[1] = 0x373737;
props.aColorUpper[2] = 0x373737;
BUTTON_SetSkinFlexProps(&props, BUTTON_SKINFLEX_PI_ENABLED);
BUTTON_SetSkinFlexProps(&props, BUTTON_SKINFLEX_PI_PRESSED);
BUTTON_SetSkinFlexProps(&props, BUTTON_SKINFLEX_PI_FOCUSSED);
BUTTON_SetSkinFlexProps(&props, BUTTON_SKINFLEX_PI_DISABLED);
Thanks,
Vikram