mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
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:
@@ -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 */
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user