nanogui: Mapping, Unmapping, and Repainting Windows


Previous by date: 13 Feb 2006 16:30:34 +0000 Re: displaying texts/fonts, Alex Holden
Next by date: 13 Feb 2006 16:30:34 +0000 Question about VNC server and framebuffer using FB_VISUAL_PSEUDOCOLOR, Pete Klemm
Previous in thread:
Next in thread: 13 Feb 2006 16:30:34 +0000 Re: Mapping, Unmapping, and Repainting Windows, Greg Haerr

Subject: Mapping, Unmapping, and Repainting Windows
From: Gil Glass ####@####.####
Date: 13 Feb 2006 16:30:34 +0000
Message-Id: <OFAF81D2ED.759B5630-ON85257114.0059F9D8-85257114.005AAE5B@acterna.com>

Hello,

Correct me if I'm wrong, but if I have a window (the root window), whose 
window ID is "parent", that is currently displaying and takes up the 
entire display, and I then perform the following operations:

// Create and open a new window.
windowID = GrNewWindow(parent, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 0, 
GR_COLOR_WHITE, GR_COLOR_WHITE);

// Map (show) the window.
GrMapWindow(windowID);

<draw some stuff>

 // Remove this window.
GrUnmapWindow(windowID);
GrDestroyWindow(windowID);

// Redraw the parent window.
GrMapWindow(parent);

I should get my original, root window back, should I not?  Well I'm not. 
Any idea of what I'm doing wrong?  I'm using Nano-X version 0.91.

Cheers,
Gil Glass
Telecom Field Services
JDSU
Germantown, MD, USA
+1-240-404-2551

Previous by date: 13 Feb 2006 16:30:34 +0000 Re: displaying texts/fonts, Alex Holden
Next by date: 13 Feb 2006 16:30:34 +0000 Question about VNC server and framebuffer using FB_VISUAL_PSEUDOCOLOR, Pete Klemm
Previous in thread:
Next in thread: 13 Feb 2006 16:30:34 +0000 Re: Mapping, Unmapping, and Repainting Windows, Greg Haerr


Powered by ezmlm-browse 0.20.