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

Method SetUpper

src/SFGUI/Adjustment.cpp:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void Adjustment::SetUpper( float new_upper ) {
73 m_upper = new_upper;
74
75 if( m_upper < m_lower ) {
76 m_lower = m_upper;
77 }
78
79 SetValue( GetValue() );
80}
81
82float Adjustment::GetMinorStep() const {
83 return m_minor_step;

Callers 7

SetRangeMethod · 0.80
HandleStateChangeMethod · 0.80
SetRangeMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected