05-01-2001, 06:19 AM
Hi,
I'm usign some calls to WINAPI in my OpenGL programs for windows (C ANSI), like:
#include <GL/gl.h>
#include <GL/glut.h>
#include <windows.h>
#include <mmsystem.h>
#include <winuser.h>
#include <shellapi.h>
...
PlaySound("sound/f1.wav",NULL,SND_ASYNC|SND_FILENAME);
...
Status = MessageBox(NULL, "Question...", "Box Title", MB_YESNO);
...
ShellExecute(NULL, "open", "help/index.html", "", "", SW_MAXIMIZED);
...
And now I'm porting this porgrams to Linux.
How can I do this in XWindows to run in KDE and Gnome?? Is there a site obout the XLIB API?? (like msdn for WINAPI)
Thanks!!
I'm usign some calls to WINAPI in my OpenGL programs for windows (C ANSI), like:
#include <GL/gl.h>
#include <GL/glut.h>
#include <windows.h>
#include <mmsystem.h>
#include <winuser.h>
#include <shellapi.h>
...
PlaySound("sound/f1.wav",NULL,SND_ASYNC|SND_FILENAME);
...
Status = MessageBox(NULL, "Question...", "Box Title", MB_YESNO);
...
ShellExecute(NULL, "open", "help/index.html", "", "", SW_MAXIMIZED);
...
And now I'm porting this porgrams to Linux.
How can I do this in XWindows to run in KDE and Gnome?? Is there a site obout the XLIB API?? (like msdn for WINAPI)
Thanks!!