Fix error: struct 'CWindow' was previously declared as a class

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-04 19:00:51 +08:00 committed by Petro Karashchenko
parent a95d34c346
commit 56da7efc57

View File

@ -77,7 +77,7 @@ namespace Twm4Nx
NXWidgets::CNxString m_name; /**< The Icon Manager name */ NXWidgets::CNxString m_name; /**< The Icon Manager name */
FAR struct SWindowEntry *m_head; /**< Head of the window list */ FAR struct SWindowEntry *m_head; /**< Head of the window list */
FAR struct SWindowEntry *m_tail; /**< Tail of the window list */ FAR struct SWindowEntry *m_tail; /**< Tail of the window list */
FAR struct CWindow *m_window; /**< Parent window */ FAR CWindow *m_window; /**< Parent window */
FAR NXWidgets::CButtonArray *m_buttons; /**< The contained button array */ FAR NXWidgets::CButtonArray *m_buttons; /**< The contained button array */
uint16_t m_nWindows; /**< The number of windows in the icon mgr. */ uint16_t m_nWindows; /**< The number of windows in the icon mgr. */
uint8_t m_nColumns; /**< Fixed number of columns per row */ uint8_t m_nColumns; /**< Fixed number of columns per row */