You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing XSlider with themes shows that the current XSlider is incorrectly using frame glow color from the
gslc_ElemCalcRectState() routine when drawing the track.
inside gslc_ElemCalcRectState()
// Calculate the element colors
pState->colBack = pElem->colElemFill;
if (bGlowing) {
pState->colFrm = pElem->colElemFrameGlow;
pState->colInner = pElem->colElemFillGlow; <-- maybe use this instead???
pState->colTxtFore = pElem->colElemTextGlow;
} else {
pState->colFrm = pElem->colElemFrame;
pState->colInner = pElem->colElemFill;
pState->colTxtFore = pElem->colElemText;
}
inside XSlider Draw
// Make the track highlight during glow
gslc_DrawLine(pGui,nX0+nMargin,nYMid,nX1-nMargin,nYMid,sState.colFrm);
Note that the builder currently doesn't even ask for frame glow colors on any elements although that could change in the future.
One more issue when touching the slider a large black box is briefly shown to refresh the controls. Might be nicer if we had a way to set the color beside you using the background since in many cases we have an enclosing box for our controls with a different color than the background.
Paul--
The text was updated successfully, but these errors were encountered:
Testing XSlider with themes shows that the current XSlider is incorrectly using frame glow color from the
gslc_ElemCalcRectState() routine when drawing the track.
Note that the builder currently doesn't even ask for frame glow colors on any elements although that could change in the future.
One more issue when touching the slider a large black box is briefly shown to refresh the controls. Might be nicer if we had a way to set the color beside you using the background since in many cases we have an enclosing box for our controls with a different color than the background.
Paul--
The text was updated successfully, but these errors were encountered: