Thanks for your time.
I developed my own dialog interface on Solaris system by using Motif toolkit.
And I display the image on the appointed window which I create by motif toolkit.
That is to say, I display the decoded image on the very window which can be
provided through a window’s handle (a widget) while not to use the popup window
created by SDL. I made this through following codes:
static char windowhack;
sprintf(windowhack, “SDL_windowid=%d”, XtWindow(myWidget));
It worked well! The image showing on the very window I created by motif toolkit.
But here is a question: I can’t make the image display on fullscreen. When I press
"FullScreen" button, the showing image is changed, and only for 1/4(up-left) of
the original image is still display in the very widget’s window, while not display
the image on entire screen.
Would anybody be kindly to give me some advice to implement the proper fullscreen
function when I use my own widget’s window to display the decoded image instead of
the window which created by SDL itself. How should I modify the corresponding codes
to settle down the problem?
I really appreciate your help!