MCPcopy Create free account
hub / github.com/TankOs/SFGUI / OnAdjustmentChange

Method OnAdjustmentChange

examples/Test.cpp:690–693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688}
689
690void SampleApp::OnAdjustmentChange() {
691 m_progress->SetFraction( m_scale->GetValue() / 100.f );
692 m_progress_vert->SetFraction( m_scale->GetValue() / 100.f );
693}
694
695void SampleApp::OnToggleSpinner() {
696 if( !m_spinner->Started() ) {

Callers

nothing calls this directly

Calls 2

SetFractionMethod · 0.80
GetValueMethod · 0.45

Tested by

no test coverage detected