Beispiel #1
0
void
ValueSliderWithLabel::SliderMoved(
    Base * pControl)
{
    Gwen::Controls::Slider * pSlider = (Gwen::Controls::Slider *)pControl;
    float rescaled = GetRescaledValue(pSlider->GetValue());
    SetValueInternal(rescaled, false, true);
}
	void SliderMoved( Gwen::Controls::Base* pControl )
	{
		Gwen::Controls::Slider* pSlider = (Gwen::Controls::Slider*)pControl;
		//printf("value = %f\n", pSlider->GetValue());//UnitPrint( Utility::Format( L"Slider Value: %.2f", pSlider->GetValue() ) );
		float bla = pSlider->GetValue();
		T v = T(bla);
		SetValue(v);

	}
Beispiel #3
0
	void SliderMoved( Base* pControl )
	{
		Gwen::Controls::Slider* pSlider = (Gwen::Controls::Slider*)pControl;

		UnitPrint( Utility::Format( L"Slider Value: %.2f", pSlider->GetValue() ) );
	}