Closed Districh-ru closed 1 month ago
This PR updates the ui_button.cpp and ui_button.h code:
ui_button.cpp
ui_button.h
unique_prt
new
delete
Display & output = Display::instance()
Display::instance()
@Districh-ru , thank you very much for this cleanup!
This PR updates the
ui_button.cpp
andui_button.h
code:unique_prt
instead ofnew
/delete
;Display & output = Display::instance()
argument and callDisplay::instance()
only when it is needed for render;