Lines Matching refs:action
51 static GX_WIDGET *gx_studio_action_target_get(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action) in gx_studio_action_target_get() argument
58 if (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET) in gx_studio_action_target_get()
61 widget_define = (GX_STUDIO_WIDGET *) action->target; in gx_studio_action_target_get()
62 if(action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT) in gx_studio_action_target_get()
69 parent = (GX_WIDGET *)action->parent; in gx_studio_action_target_get()
84 target = (GX_WIDGET *) action->target; in gx_studio_action_target_get()
89 …atic GX_WIDGET *gx_studio_action_target_find(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action) in gx_studio_action_target_find() argument
95 if (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET) in gx_studio_action_target_find()
98 widget_define = (GX_STUDIO_WIDGET *) action->target; in gx_studio_action_target_find()
99 if(action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT) in gx_studio_action_target_find()
105 parent = (GX_WIDGET *)action->parent; in gx_studio_action_target_find()
111 target = (GX_WIDGET *) action->target; in gx_studio_action_target_find()
116 …atic GX_WIDGET *gx_studio_action_parent_find(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action) in gx_studio_action_parent_find() argument
121 if (action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT) in gx_studio_action_parent_find()
124 widget_define = (GX_STUDIO_WIDGET *)action->parent; in gx_studio_action_parent_find()
130 parent = (GX_WIDGET *)action->parent; in gx_studio_action_parent_find()
135 static VOID gx_studio_animation_execute(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action) in gx_studio_animation_execute() argument
144 animation_info = *action->animation; in gx_studio_animation_execute()
146 if((action->flags & GX_ACTION_FLAG_POP_TARGET) || in gx_studio_animation_execute()
147 (action->flags & GX_ACTION_FLAG_POP_PARENT)) in gx_studio_animation_execute()
152 if(action->flags & GX_ACTION_FLAG_POP_TARGET) in gx_studio_animation_execute()
157 if(action->flags & GX_ACTION_FLAG_POP_PARENT) in gx_studio_animation_execute()
163 (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET)) in gx_studio_animation_execute()
165 target = gx_studio_action_target_get(current, action); in gx_studio_animation_execute()
171 animation_info.gx_animation_parent = gx_studio_action_parent_find(current, action); in gx_studio_animation_execute()
185 GX_CONST GX_STUDIO_ACTION *action; in gx_studio_auto_event_handler() local
200 action = entry->action_list; in gx_studio_auto_event_handler()
202 while(action->opcode) in gx_studio_auto_event_handler()
204 switch(action->opcode) in gx_studio_auto_event_handler()
207 if((action->flags & GX_ACTION_FLAG_POP_TARGET) || in gx_studio_auto_event_handler()
208 (action->flags & GX_ACTION_FLAG_POP_PARENT)) in gx_studio_auto_event_handler()
213 if(!(action->flags & GX_ACTION_FLAG_POP_PARENT)) in gx_studio_auto_event_handler()
215 parent = action->parent; in gx_studio_auto_event_handler()
217 if(!(action->flags & GX_ACTION_FLAG_POP_TARGET)) in gx_studio_auto_event_handler()
219 target = gx_studio_action_target_get(widget, action); in gx_studio_auto_event_handler()
228 target = gx_studio_action_target_find(widget, action); in gx_studio_auto_event_handler()
245 if(action->flags & GX_ACTION_FLAG_POP_TARGET) in gx_studio_auto_event_handler()
251 target = gx_studio_action_target_get(widget, action); in gx_studio_auto_event_handler()
267 target = gx_studio_action_target_get(widget, action); in gx_studio_auto_event_handler()
275 target = gx_studio_action_target_find(widget, action); in gx_studio_auto_event_handler()
283 gx_studio_animation_execute(widget, action); in gx_studio_auto_event_handler()
287 if((action->flags & GX_ACTION_FLAG_POP_TARGET) || in gx_studio_auto_event_handler()
288 (action->flags & GX_ACTION_FLAG_POP_PARENT)) in gx_studio_auto_event_handler()
293 if(!(action->flags & GX_ACTION_FLAG_POP_PARENT)) in gx_studio_auto_event_handler()
297 if(!(action->flags & GX_ACTION_FLAG_POP_TARGET)) in gx_studio_auto_event_handler()
299 target = gx_studio_action_target_get(widget, action); in gx_studio_auto_event_handler()
312 target = gx_studio_action_target_get(widget, action); in gx_studio_auto_event_handler()
330 action++; in gx_studio_auto_event_handler()