Most fixes to get NxWM working on the STM3240G-EVAL

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4710 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-05-07 18:19:17 +00:00
parent 4e9d0ebfea
commit fb682a72fb
5 changed files with 83 additions and 70 deletions

View file

@ -609,7 +609,7 @@ namespace NXWidgets
{
waitGeoData();
pos->x = m_pos.x;
pos->x = m_pos.y;
pos->y = m_pos.y;
return true;
}
@ -654,19 +654,6 @@ namespace NXWidgets
return m_size.h;
}
/**
* Set the size of the window. This is normally reported by an NX callback. But
* the toolbar widget control does not get NX callbacks and has to get the
* window size throught this method. This method should not be called by user
* code
*
* @param hWindow The window handle that should be used to communicate
* with the window
* @param bounds. The size of the underlying window.
*/
void setWindowBounds(NXHANDLE hWindow, FAR const struct nxgl_rect_s *bounds);
/**
* The creation sequence is:
*