mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
NX graphics: This commit adds support for hiding windows. This features is needed by Twm4Nx: When a window is iconfied, the icon should appear on the background and the window should disappear (i.e., be hidden). The windows needs to remain healthy and to be updated in all ways, but it cannot affect the display content.
Converserely, when the icon is clicked, the icon needs to be hidden on the backgound and the window needs to be restored in its current state (which may be different than the state of the window at the time it was iconified.
Squashed commit of the following:
graphics/: Add checks in all places that I can think to avoid doing something stupid with hidden windows
Improve some naming
Add a new file missing in last commit.
graphics/: Initial, incomplete support for hiding windows.
This commit is contained in:
@@ -37,8 +37,8 @@ CSRCS += nxbe_bitmap.c nxbe_configure.c nxbe_colormap.c nxbe_clipper.c
|
||||
CSRCS += nxbe_closewindow.c nxbe_redraw.c nxbe_redrawbelow.c
|
||||
CSRCS += nxbe_setposition.c nxbe_move.c nxbe_getrectangle.c
|
||||
CSRCS += nxbe_fill.c nxbe_filltrapezoid.c nxbe_setpixel.c
|
||||
CSRCS += nxbe_lower.c nxbe_raise.c nxbe_modal.c
|
||||
CSRCS += nxbe_setsize.c nxbe_visible.c
|
||||
CSRCS += nxbe_lower.c nxbe_raise.c nxbe_modal.c nxbe_isvisible.c
|
||||
CSRCS += nxbe_setsize.c nxbe_setvisibility.c
|
||||
|
||||
ifeq ($(CONFIG_NX_RAMBACKED),y)
|
||||
CSRCS += nxbe_flush.c
|
||||
|
||||
Reference in New Issue
Block a user