nanogui: Hello
Subject:
RE: [nanogui] hello
From:
Simon Wood ####@####.####
Date:
11 Dec 2001 09:34:27 -0000
Message-Id: <44632C76B97BD211AF6B00805FADCAB20879099A@exchange.saltaire.pace.co.uk>
Hi,
I've done a little on Microwindows on Palmtops (Everex running Linux-VR) but that fell by the roundside, must get back to it sometime.....
Firstly you can adjust the sizing of the X11 screen in the config file this gives you a nice way to get dimensions sorted when you're developing on the desktop.
For moving and sizing windows you can use the following functions (as described in http://www.microwindows.org/Nano-XTutorial.html)
void
GrMoveWindow(wid, x, y)
GR_WINDOW_ID wid; /* window to be lowered */
GR_COORD x; /* new relative x position */
GR_COORD y; /* new relative y position */
Move the window to the specified position relative to its parent.
void
GrResizeWindow(wid, width, height)
GR_WINDOW_ID wid; /* window to be lowered */
GR_SIZE width; /* new width of window */
GR_SIZE height; /* new height of window */
Resize the window to be the specified size. Resizing of a window can
generate exposure events.
Hope this is helpfull,
Simon.
PS What do Sina make? (The web site was all Chinese to me ;-)
> -----Original Message-----
> From: 7811hmx ####@####.####
> Sent: Tuesday, December 11, 2001 9:02 AM
> To: ####@####.####
> Subject: [nanogui] hello
>
> hello:
> I am going to make a pda project. I install the microwindows0.89pre7.Now my strongarm's screen is 320*240.I want to know how to let my strongarm's screen convert 240*320 in the microwindows0.89pre7.and my application can place the right way.
> I find the microwindows0.89pre8 can change by nano-X -R&-L.But My application's position place out of the way.
>
> hmx
>
> ______________________________________
>
> ===================================================================
> ÐÂÀËÃâ·Ñµç×ÓÓÊÏä (http://mail.sina.com.cn)
> ÐÂÀË·ÖÀàÐÅÏ¢£ºÇáËɶ©ÔÄ£¬Á¿Éí¶¨ÖÆ£¡ÖÜÖÜÓÐÀñ£¬´ó½±µÈÄ㣡 (http://classad.sina.com.cn/)
> ÊÖ»úÁåÉùÏÂÔØ Ã÷ÐÇÜöÝÍ ÇúÇú¾«²Ê£¡ (http://sms.sina.com.cn/star/1.html)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####