ui/common/types.c

changeset 1068
1c79dbd248f4
parent 1067
4243fcc0aa5c
equal deleted inserted replaced
1067:4243fcc0aa5c 1068:1c79dbd248f4
674 void uic_text_copy(UiText *from, UiText *to) { 674 void uic_text_copy(UiText *from, UiText *to) {
675 to->get = from->get; 675 to->get = from->get;
676 to->set = from->set; 676 to->set = from->set;
677 to->getsubstr = from->getsubstr; 677 to->getsubstr = from->getsubstr;
678 to->insert = from->insert; 678 to->insert = from->insert;
679 to->replace = from->replace;
679 to->setposition = from->setposition; 680 to->setposition = from->setposition;
680 to->position = from->position; 681 to->position = from->position;
681 to->showposition = from->showposition; 682 to->showposition = from->showposition;
682 to->setselection = from->setselection; 683 to->setselection = from->setselection;
683 to->selection = from->selection; 684 to->selection = from->selection;
766 void uic_text_unbind(UiText *t) { 767 void uic_text_unbind(UiText *t) {
767 t->set = NULL; 768 t->set = NULL;
768 t->get = NULL; 769 t->get = NULL;
769 t->getsubstr = NULL; 770 t->getsubstr = NULL;
770 t->insert = NULL; 771 t->insert = NULL;
772 t->replace = NULL;
771 t->setposition = NULL; 773 t->setposition = NULL;
772 t->position = NULL; 774 t->position = NULL;
773 t->selection = NULL; 775 t->selection = NULL;
776 t->setselection = NULL;
774 t->length = NULL; 777 t->length = NULL;
775 t->remove = NULL; 778 t->remove = NULL;
776 t->obj = NULL; 779 t->obj = NULL;
777 } 780 }
778 781

mercurial