Abandon attempt to get common data structures for NX and the raw framebuffer cursor interface. This backs out several changes.

This commit is contained in:
Gregory Nutt
2019-04-07 18:00:40 -06:00
parent e5c56aaab6
commit 2c2729521b
12 changed files with 95 additions and 157 deletions
+3 -3
View File
@@ -196,7 +196,7 @@ struct nxbe_cursor_s
struct nxbe_cursor_s
{
bool visible; /* True: the cursor is visible */
struct cursor_pos_s pos; /* The current cursor position */
struct nxgl_point_s pos; /* The current cursor position */
};
#endif
@@ -321,7 +321,7 @@ void nxbe_cursor_enable(FAR struct nxbe_state_s *be, bool enable);
#if defined(CONFIG_NX_HWCURSORIMAGE) || defined(CONFIG_NX_SWCURSOR)
void nxbe_cursor_setimage(FAR struct nxbe_state_s *be,
FAR struct cursor_image_s *image);
FAR struct nx_cursorimage_s *image);
#endif
/****************************************************************************
@@ -340,7 +340,7 @@ void nxbe_cursor_setimage(FAR struct nxbe_state_s *be,
****************************************************************************/
void nxcursor_setposition(FAR struct nxbe_state_s *be,
FAR const struct cursor_pos_s *pos);
FAR const struct nxgl_point_s *pos);
#endif /* CONFIG_NX_SWCURSOR || CONFIG_NX_HWCURSOR */
/****************************************************************************
+2 -2
View File
@@ -300,7 +300,7 @@ void nxbe_cursor_enable(FAR struct nxbe_state_s *be, bool enable)
#if defined(CONFIG_NX_HWCURSORIMAGE) || defined(CONFIG_NX_SWCURSOR)
void nxbe_cursor_setimage(FAR struct nxbe_state_s *be,
FAR struct cursor_image_s *image);
FAR struct nx_cursorimage_s *image);
{
#warning Missing logic
}
@@ -322,7 +322,7 @@ void nxbe_cursor_setimage(FAR struct nxbe_state_s *be,
****************************************************************************/
void nxcursor_setposition(FAR struct nxbe_state_s *be,
FAR const struct cursor_pos_s *pos)
FAR const struct nxgl_point_s *pos)
{
#warning Missing logic
}