libnxwidgets: Allow NxWidgets::CListDataItems subclasses access to text and value

This commit is contained in:
Petteri Aimonen 2016-09-22 12:06:23 -06:00 committed by Gregory Nutt
parent 3437a00fab
commit 2bc22450d2

View File

@ -1,7 +1,7 @@
/****************************************************************************
* NxWidgets/libnxwidgets/include/clistdataitem.hxx
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Copyright (C) 2012, 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@ -102,7 +102,7 @@ namespace NXWidgets
class CListDataItem
{
private:
protected:
CNxString m_text; /**< Text to display for option. */
uint32_t m_value; /**< Option value. */
bool m_isSelected; /**< True if the option is selected. */