File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,9 +91,9 @@ class application : public ruisapp::application{
9191// ruis::ZipFile zf(papki::FSFile::New("res.zip"), "test.gui.stob");
9292// std::shared_ptr<ruis::widget> c = ruis::gui::inst().inflater().Inflate(zf);
9393
94- ASSERT (c.get ().try_get_widget_as <ruis::push_button>(" show_VK_button" ))
95- std::dynamic_pointer_cast<ruis::push_button>(c.get ().try_get_widget (" show_VK_button" ))->click_handler = [this ](ruis::push_button&){
96- this -> show_virtual_keyboard ( );
94+ utki::assert (c.get ().try_get_widget_as <ruis::push_button>(" show_VK_button" ), SL);
95+ std::dynamic_pointer_cast<ruis::push_button>(c.get ().try_get_widget (" show_VK_button" ))->click_handler = [](ruis::push_button& b ){
96+ b. context . get (). window (). set_virtual_keyboard_visible ( true );
9797 };
9898
9999 std::dynamic_pointer_cast<ruis::push_button>(c.get ().try_get_widget (" push_button_in_scroll_container" ))->click_handler = [this ](ruis::push_button&){
You can’t perform that action at this time.
0 commit comments