Updated NxWM widgets, several NX, NxWidgets, and NxWM bug fixes

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4699 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-05-04 20:48:52 +00:00
parent 78ec889980
commit 8e45cf0546
24 changed files with 641 additions and 184 deletions
-19
View File
@@ -189,10 +189,6 @@ CNxWidget::CNxWidget(CWidgetControl *pWidgetControl,
m_lastClickY = 0;
m_doubleClickBounds = DOUBLE_CLICK_BOUNDS;
// Set other default values
m_refcon = 0;
// Set border size to 1 line
m_borderSize.top = 1;
@@ -200,7 +196,6 @@ CNxWidget::CNxWidget(CWidgetControl *pWidgetControl,
m_borderSize.bottom = 1;
m_borderSize.left = 1;
m_closeType = CLOSE_TYPE_CLOSE;
m_rectCache = new CRectCache(this);
m_widgetEventHandlers = new CWidgetEventHandlerList(this);
}
@@ -506,20 +501,6 @@ TNxArray<CRect> *CNxWidget::getForegroundRegions(void)
return m_rectCache->getForegroundRegions();
}
/**
* Sets this widget's reference constant. This should be unique,
* at least amongst this widget's siblings.
*
* @param refcon The reference constant.
*/
uint32_t CNxWidget::setRefcon(uint32_t refcon)
{
uint32_t old = m_refcon;
m_refcon = refcon;
return old;
}
/**
* Sets this widget's border state.
*