fltk/test/message.cxx
Michael R Sweet f9039b2ae2 Initial revision
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06 18:21:25 +00:00

19 lines
634 B
C++

#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/fl_ask.H>
#include <stdio.h>
int main(int, char **) {
fl_message("Spelling check sucessfull.");
fl_alert("Quantum fluctuations in the space-time continuim detected.");
printf("fl_ask returned %d\n",
fl_ask("Do you really want to?"));
printf("fl_choice returned %d\n",
fl_choice("Choose one of the following:","choice0","choice1","choice2"));
printf("fl_show_input returned \"%s\"\n",
fl_show_input("Please enter a string:", "this is the default value"));
printf("fl_password returned \"%s\"\n",
fl_password("Enter your password:"));
return 0;
}