summaryrefslogtreecommitdiff
path: root/apps/graphics/traveler/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-12-06 08:04:57 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-12-06 08:04:57 -0600
commitc2e439133b6a4a417d95114d7c1c5d9fa87f90ca (patch)
tree12de42b05574faca6589114d131f993ac3ed8f3a /apps/graphics/traveler/include
parent0391e2ecc97f70788a55ffe04e67813c2ca88f1c (diff)
downloadnuttx-c2e439133b6a4a417d95114d7c1c5d9fa87f90ca.tar.gz
nuttx-c2e439133b6a4a417d95114d7c1c5d9fa87f90ca.tar.bz2
nuttx-c2e439133b6a4a417d95114d7c1c5d9fa87f90ca.zip
Add plane list operations
Diffstat (limited to 'apps/graphics/traveler/include')
-rw-r--r--apps/graphics/traveler/include/trv_plane.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/graphics/traveler/include/trv_plane.h b/apps/graphics/traveler/include/trv_plane.h
index 1b9b585a9..c2a3fb5f7 100644
--- a/apps/graphics/traveler/include/trv_plane.h
+++ b/apps/graphics/traveler/include/trv_plane.h
@@ -144,18 +144,14 @@ void trv_release_planes(void);
uint8_t trv_load_planefile(FAR const char *wldfile);
uint8_t trv_load_planes(FAR FILE *fp);
uint8_t trv_save_planes(const char *wldfile);
-FAR struct trv_rect_list_s *trv_new_plance(void);
+FAR struct trv_rect_list_s *trv_new_plane(void);
+
void trv_add_plane(FAR struct trv_rect_list_s *rect,
FAR struct trv_rect_head_s *list);
-void trv_merge_planelists(FAR struct trv_rect_head_s *outlist,
- FAR struct trv_rect_head_s *inlist);
-void trv_remove_plane(FAR struct trv_rect_list_s *rect,
- FAR struct trv_rect_head_s *list);
void trv_move_plane(FAR struct trv_rect_list_s *rect,
FAR struct trv_rect_head_s *destlist,
FAR struct trv_rect_head_s *srclist);
-struct trv_rect_list_s *trv_find_plane(trv_coord_t h, trv_coord_t v,
- trv_coord_t plane,
- FAR struct trv_rect_head_s *list);
+void trv_merge_planelists(FAR struct trv_rect_head_s *outlist,
+ FAR struct trv_rect_head_s *inlist);
#endif /* __APPS_GRAPHICS_TRAVELER_INCLUDE_TRV_PLANE_H */