197 ? ASC_RENDER_GROUP_2D_BLEND |
197 ? ASC_RENDER_GROUP_2D_BLEND |
198 : ASC_RENDER_GROUP_2D_OPAQUE; |
198 : ASC_RENDER_GROUP_2D_OPAQUE; |
199 node->update_func = asc_rectangle_update; |
199 node->update_func = asc_rectangle_update; |
200 node->destroy_func = asc_rectangle_destroy; |
200 node->destroy_func = asc_rectangle_destroy; |
201 node->draw_func = asc_rectangle_draw; |
201 node->draw_func = asc_rectangle_draw; |
202 asc_node_update(node); |
202 asc_scene_node_update(node); |
203 return node; |
203 return node; |
204 } |
204 } |
205 |
205 |
206 static void asc_ellipsis_destroy(AscSceneNode *node) { |
206 static void asc_ellipsis_destroy(AscSceneNode *node) { |
207 asc_ptr_cast(AscEllipsis, ellipsis, node); |
207 asc_ptr_cast(AscEllipsis, ellipsis, node); |
353 ? ASC_RENDER_GROUP_2D_BLEND |
353 ? ASC_RENDER_GROUP_2D_BLEND |
354 : ASC_RENDER_GROUP_2D_OPAQUE; |
354 : ASC_RENDER_GROUP_2D_OPAQUE; |
355 node->update_func = asc_ellipsis_update; |
355 node->update_func = asc_ellipsis_update; |
356 node->destroy_func = asc_ellipsis_destroy; |
356 node->destroy_func = asc_ellipsis_destroy; |
357 node->draw_func = asc_ellipsis_draw; |
357 node->draw_func = asc_ellipsis_draw; |
358 asc_node_update(node); |
358 asc_scene_node_update(node); |
359 return node; |
359 return node; |
360 } |
360 } |