| 928 | } |
| 929 | |
| 930 | void Widget::setWidgetStyle(WidgetStyle _style, std::string_view _layer) |
| 931 | { |
| 932 | if (_style == mWidgetStyle) |
| 933 | return; |
| 934 | if (nullptr == getParent()) |
| 935 | return; |
| 936 | |
| 937 | Widget* parent = mParent; |
| 938 | |
| 939 | detachFromWidget(); |
| 940 | attachToWidget(parent, _style, _layer); |
| 941 | // ищем леер к которому мы присоедененны |
| 942 | } |
| 943 | |
| 944 | Widget* Widget::createWidgetT( |
| 945 | std::string_view _type, |
no outgoing calls
no test coverage detected