MCPcopy Create free account
hub / github.com/MethanePowered/MethaneKit / SetIncrementalTextUpdate

Method SetIncrementalTextUpdate

Apps/05-Typography/TypographyApp.cpp:509–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509void TypographyApp::SetIncrementalTextUpdate(bool is_incremental_text_update)
510{
511 if (m_settings.is_incremental_text_update == is_incremental_text_update)
512 return;
513
514 m_settings.is_incremental_text_update = is_incremental_text_update;
515 for(const Ptr<gui::TextItem>& text_ptr : m_texts)
516 {
517 text_ptr->SetIncrementalUpdate(is_incremental_text_update);
518 }
519
520 UpdateParametersText();
521}
522
523void TypographyApp::OnContextReleased(rhi::IContext& context)
524{

Callers 1

OnKeyboardStateActionMethod · 0.80

Calls 1

SetIncrementalUpdateMethod · 0.45

Tested by

no test coverage detected