/* * $Id: requesters.h 160 2007-11-03 14:40:28Z hderuiter $ * * $Date$ * $Revision: 000 $ * * (C) 2009 by Hans de Ruiter * All rights reserved * * This file is part of the MiniGL library project * See the file Licence.txt for more details * */ #ifndef __REQUESTERS_H__ #define __REQUESTERS_H__ #include #include /** Displays an "OK" warning/error requester. * * IMPORTANT: This requires a global variable called IRequester to be set up. With applications * this can be achieved by linking to raauto. Libraries have to set it up themselves. * * @param window pointer to a window that this requester is associated with (can be NULL) * @param screen pointer to a screen that this requester should be displayed on * (can be NULL, should be NULL if window is not NULL) * @param title the text for the title bar * @param message the message to put in the main body of the requester * @param reqImage the requester image (e.g., REQIMAGE_WARNING), can also be a pointer * to a struct Image* if a custom image is desired */ void displayWarningReq(struct Window *window, struct Screen *screen, const char *title, const char *message, uint32 reqImage); #endif