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

Method SetRange

src/SFGUI/SpinButton.cpp:271–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void SpinButton::SetRange( float minimum, float maximum ) {
272 m_adjustment->SetLower( minimum );
273 m_adjustment->SetUpper( maximum );
274
275 UpdateTextFromAdjustment();
276}
277
278unsigned int SpinButton::GetDigits() const {
279 return m_digits;

Callers

nothing calls this directly

Calls 2

SetLowerMethod · 0.80
SetUpperMethod · 0.80

Tested by

no test coverage detected