Lines Matching refs:target
54 GX_WIDGET *target = GX_NULL; in gx_studio_action_target_get() local
61 widget_define = (GX_STUDIO_WIDGET *) action->target; in gx_studio_action_target_get()
72 gx_widget_find(parent, widget_define->widget_id, search_depth, &target); in gx_studio_action_target_get()
73 if (target == GX_NULL) in gx_studio_action_target_get()
75 target = gx_studio_widget_create(GX_NULL, widget_define, GX_NULL); in gx_studio_action_target_get()
77 if (target) in gx_studio_action_target_get()
79 target->gx_widget_status |= GX_STATUS_STUDIO_CREATED; in gx_studio_action_target_get()
84 target = (GX_WIDGET *) action->target; in gx_studio_action_target_get()
86 return target; in gx_studio_action_target_get()
92 GX_WIDGET *target = GX_NULL; in gx_studio_action_target_find() local
98 widget_define = (GX_STUDIO_WIDGET *) action->target; in gx_studio_action_target_find()
107 gx_widget_find(parent, widget_define->widget_id, GX_SEARCH_DEPTH_INFINITE, &target); in gx_studio_action_target_find()
111 target = (GX_WIDGET *) action->target; in gx_studio_action_target_find()
113 return target; in gx_studio_action_target_find()
140 GX_WIDGET *target = GX_NULL; in gx_studio_animation_execute() local
149 gx_system_screen_stack_get((GX_WIDGET **)&parent, &target); in gx_studio_animation_execute()
154 animation_info.gx_animation_target = target; in gx_studio_animation_execute()
165 target = gx_studio_action_target_get(current, action); in gx_studio_animation_execute()
166 animation_info.gx_animation_target = target; in gx_studio_animation_execute()
187 GX_WIDGET *target = GX_NULL; in gx_studio_auto_event_handler() local
210 gx_system_screen_stack_get((GX_WIDGET **)&parent, &target); in gx_studio_auto_event_handler()
219 target = gx_studio_action_target_get(widget, action); in gx_studio_auto_event_handler()
221 if (parent && target) in gx_studio_auto_event_handler()
223 gx_widget_attach(parent, target); in gx_studio_auto_event_handler()
228 target = gx_studio_action_target_find(widget, action); in gx_studio_auto_event_handler()
229 if (target) in gx_studio_auto_event_handler()
231 gx_widget_detach(target); in gx_studio_auto_event_handler()
232 if (target->gx_widget_status & GX_STATUS_STUDIO_CREATED) in gx_studio_auto_event_handler()
234 if (widget == target) in gx_studio_auto_event_handler()
239 gx_widget_delete(target); in gx_studio_auto_event_handler()
247 gx_system_screen_stack_get(GX_NULL, &target); in gx_studio_auto_event_handler()
251 target = gx_studio_action_target_get(widget, action); in gx_studio_auto_event_handler()
257 gx_widget_attach(parent, target); in gx_studio_auto_event_handler()
267 target = gx_studio_action_target_get(widget, action); in gx_studio_auto_event_handler()
268 if(target) in gx_studio_auto_event_handler()
270 gx_widget_show(target); in gx_studio_auto_event_handler()
275 target = gx_studio_action_target_find(widget, action); in gx_studio_auto_event_handler()
276 if(target) in gx_studio_auto_event_handler()
278 gx_widget_hide(target); in gx_studio_auto_event_handler()
290 gx_system_screen_stack_get((GX_WIDGET **)&parent, &target); in gx_studio_auto_event_handler()
299 target = gx_studio_action_target_get(widget, action); in gx_studio_auto_event_handler()
301 if (parent && target) in gx_studio_auto_event_handler()
303 gx_widget_attach(parent, target); in gx_studio_auto_event_handler()
304 gx_window_execute((GX_WINDOW *) target, GX_NULL); in gx_studio_auto_event_handler()
312 target = gx_studio_action_target_get(widget, action); in gx_studio_auto_event_handler()
313 if(target) in gx_studio_auto_event_handler()
315 gx_system_screen_stack_push(target); in gx_studio_auto_event_handler()
655 static UINT gx_studio_dynamic_template_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) in gx_studio_dynamic_template_screen_event_process() argument
657 return (gx_studio_auto_event_handler(target, event_ptr, &dynamic_template_screen_event_chain)); in gx_studio_dynamic_template_screen_event_process()
766 static UINT gx_studio_template_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) in gx_studio_template_screen_event_process() argument
768 return (gx_studio_auto_event_handler(target, event_ptr, &template_screen_event_chain)); in gx_studio_template_screen_event_process()
999 static UINT gx_studio_child_template_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) in gx_studio_child_template_screen_event_process() argument
1001 return (gx_studio_auto_event_handler(target, event_ptr, &child_template_screen_event_chain)); in gx_studio_child_template_screen_event_process()