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

Method HandleFocusChange

src/SFGUI/SpinButton.cpp:205–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void SpinButton::HandleFocusChange( Widget::Ptr focused_widget ) {
206 Entry::HandleFocusChange( focused_widget );
207
208 if( focused_widget != shared_from_this() ) {
209 UpdateAdjustmentFromText();
210 }
211
212 UpdateTextFromAdjustment();
213}
214
215Adjustment::Ptr SpinButton::GetAdjustment() const {
216 return m_adjustment;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected