/* Callback acknowledged, do not terminate dialog */
/* A return value of UF_UI_CB_EXIT_DIALOG will not be accepted */
/* for this callback type. You must respond to your apply button.*/
return (UF_UI_CB_CONTINUE_DIALOG);
}
问题:按下apply后没有反应!!!作者: wflying 时间: 2004-7-2 11:20
UF_MODL_ask_feat_edges (disp_part, &edge_list)中的第一个参数应该是feature 类型的TAG,这里你输入的是PART TAG。作者: ttdd 时间: 2004-7-2 11:22
我把程序放在附件里面,大虾们救救我呀!!!作者: tari 时间: 2004-7-2 13:01
int BBB_apply_cb ( int dialog_id,
void * client_data,
UF_STYLER_item_value_type_p_t callback_data)
{
char *radius="5";
uf_list_p_t edge_list;
tag_t disp_part;
tag_t feature_obj_id;
tag_t feature;
int type=UF_feature_type;
/* Make sure User Function is available. */
if ( UF_initialize() != 0)
return ( UF_UI_CB_CONTINUE_DIALOG );
/* Callback acknowledged, do not terminate dialog */
/* A return value of UF_UI_CB_EXIT_DIALOG will not be accepted */
/* for this callback type. You must respond to your apply button.*/
return (UF_UI_CB_CONTINUE_DIALOG);