/* SST_WMDialogBox_Xlib.c Author: Patrick Baggett Created: 1/5/2013 Purpose: Simple dialog box window (Xlib) License: This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more details. */ #include "XlibPrivate.h" #define BUTTON_HSPACE 16 /* Space on either side of a button */ #define BUTTON_VSPACE 16 /* Space between top of button and dialog text */ #define TEXT_HSPACE 16 #define TEXT_VSPACE 16 typedef struct DialogBoxData { const char* message; int lenMessage; int buttonId; int exitTime; } DialogBoxData; /******************************************************************************/ int Xlib_ShowDialogBox(SST_DisplayTarget target, SST_Window parent, const char* caption, const char* message, const char** buttons, int nrButtons) { /* TODO: helluvalota work */ (void)target; (void)parent; (void)caption; (void)message; (void)buttons; (void)nrButtons; return 0; }