sphair / ClanLib

ClanLib is a cross platform C++ toolkit library.
Other
344 stars 76 forks source link

Add property to LabelView::set_text(...bool force_no_layout = false) #76

Closed ArtHome12 closed 8 years ago

ArtHome12 commented 8 years ago

Add default property to LabelView::set_text(...bool force_no_layout = false).

When force_no_layout = true there is no invalidates and redraws all windows occurs. It helps to improve performance of user program (at least on MS Windows), for example when it needs to change text inside bool App::update().

There is no changes in the behavior of existing programs.

rombust commented 8 years ago

thanks