mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Squashed commit of the following:
graphics/nxterm: Needs to clear display initially. Otherwise, garbage from previous display may still be present from preceding NxWM window.
graphics/nxterm: Back out most of the preceding NxTerm changes related to window size. apps/examples/nxterm passed the complete NxTK window size. Those changes were needed to make aps/examples/nxterm work. But NxWM passes the the size of the NxTK main sub-window. So I needed to back out the changes and then change the applications so that they passed the same value (the size of the NxTK sub-window).
This commit is contained in:
@@ -200,13 +200,16 @@
|
||||
|
||||
typedef FAR void *NXTERM;
|
||||
|
||||
/* This structure describes the window and font characteristics */
|
||||
/* This structure describes the window and font characteristics.
|
||||
* For raw windows, wsize if the full size of the window. For
|
||||
* NxTK windows, wsize is the size of the sub-window.
|
||||
*/
|
||||
|
||||
struct nxterm_window_s
|
||||
{
|
||||
nxgl_mxpixel_t wcolor[CONFIG_NX_NPLANES]; /* Window background color */
|
||||
nxgl_mxpixel_t fcolor[CONFIG_NX_NPLANES]; /* Font color */
|
||||
struct nxgl_size_s wsize; /* Window size */
|
||||
struct nxgl_size_s wsize; /* Window/Sub-window size */
|
||||
int fontid; /* The ID of the font to use */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user