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

Method ChangeStartEntry

src/SFGUI/ComboBox.cpp:490–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490void ComboBox::ChangeStartEntry() {
491 if( m_scrollbar ) {
492 m_start_entry = static_cast<IndexType>( m_scrollbar->GetAdjustment()->GetValue() + .5f );
493 }
494
495 Invalidate();
496}
497
498}

Callers 1

HandleStateChangeMethod · 0.80

Calls 2

GetValueMethod · 0.45
GetAdjustmentMethod · 0.45

Tested by

no test coverage detected