issue 61 - TextBox Code gen incorrectly outputs &m_sXGauge[0] instead of &m_sXSlider[0]
MODIFY
builder/src/main/java/resources/templates/arduino.t
builder/src/main/java/resources/templates/arduino.t
@@ -222,7 +222,7 @@ bool CbSlidePos(void* pvGui,void* pvElemRef,int16_t nPos)
gslc_ElemSetCol(&m_gui,pElemRef,$<FRAME_COLOR>,$<FILL_COLOR>,$<GLOW_COLOR>);
// Create vertical scrollbar for textbox
- pElemRef = gslc_ElemXSliderCreate(&m_gui,E_SCROLLBAR$<ID>,$<PAGE_ENUM>,&m_sXGauge[$<COUNT>],
+ pElemRef = gslc_ElemXSliderCreate(&m_gui,E_SCROLLBAR$<ID>,$<PAGE_ENUM>,&m_sXSlider[$<COUNT>],
(gslc_tsRect){$<X>+$<WIDTH>-21,$<Y>+4,20,$<HEIGHT>-8},0,100,0,5,true);
gslc_ElemSetCol(&m_gui,pElemRef,$<FRAME_COLOR>,$<FILL_COLOR>,$<GLOW_COLOR>);
gslc_ElemXSliderSetPosFunc(&m_gui,pElemRef,&CbSlidePos);

MODIFY
builder/src/main/java/resources/templates/linux.t
builder/src/main/java/resources/templates/linux.t
@@ -230,7 +230,7 @@ bool CbSlidePos(void* pvGui,void* pvElemRef,int16_t nPos)
gslc_ElemSetCol(&m_gui,pElemRef,$<FRAME_COLOR>,$<FILL_COLOR>,$<GLOW_COLOR>);
// Create vertical scrollbar for textbox
- pElemRef = gslc_ElemXSliderCreate(&m_gui,E_SCROLLBAR$<ID>,$<PAGE_ENUM>,&m_sXGauge[$<COUNT>],
+ pElemRef = gslc_ElemXSliderCreate(&m_gui,E_SCROLLBAR$<ID>,$<PAGE_ENUM>,&m_sXSlider[$<COUNT>],
(gslc_tsRect){$<X>+$<WIDTH>-21,$<Y>+4,20,$<HEIGHT>-8},0,100,0,5,true);
gslc_ElemSetCol(&m_gui,pElemRef,$<FRAME_COLOR>,$<FILL_COLOR>,$<GLOW_COLOR>);
gslc_ElemXSliderSetPosFunc(&m_gui,pElemRef,&CbSlidePos);

issue 61 - TextBox Code gen incorrectly outputs &m_sXGauge[0] instead of &m_sXSlider[0]