flx_show_dialog

Robert S. Mallozzi
<mallozzir@cspar.uah.edu> 
http://cspar.uah.edu/~mallozzir/

1997 February



INTRODUCTION

 	flx_show_dialog

 	Extension of the xforms library.
 	Popup dialogs to replace some of the xforms goodies.
 

INSTALL

        Compile flx_show_dialog.c into flx_show_dialog.o, and then link in
        with the rest of your xforms code.
        
        
        To compile the test program, edit Makefile if you compiler cannot find 
        the libraries
        
              -lforms -lX11 -lm
        
        Then run make.      


CALLING SEQUENCE

	status = flx_show_dialog("type", "message_string");

	status (int) is the return value.  All dialogs except question have
	     only an "Ok" button, and return the value 1.  A question dialog
	     has "Ok" and "Cancel" buttons, and returns 1 for "Ok", and 0
	     for "Cancel"

	type can be one of the following strings:
	     error
	     info
	     question
	     message
	     warning
  
        message_string is the text to display in the dialog box, and may
	contain newline (\n) characters for multi-line messages

        Dialog attributes can be set by calling any of the following functions
	before the call to fl_show_dialog()

	     void flx_set_dialog_lcol (int theLabelColor);
	     void flx_set_dialog_font (int theLabelStyle, int theLabelSize);
	     void flx_set_dialog_color (int theInactiveColor, 
	         int theActiveColor);
             void flx_set_dialog_bgcolor (int theBgColor); 
