summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2007-05-09 12:42:39 +0000
committerMatthias Melcher <fltk@matthiasm.com>2007-05-09 12:42:39 +0000
commit8f8882a08493e974449631de5cff5f30df7082f8 (patch)
tree904f30663870017d3ad3c1b259f311ebc6162d24 /test
parent337579d2e2e55f47e38930bdf0c0bde2046d9729 (diff)
Reverted my changes in the message dialog boxes. Reapplied the static size icon, fixing it to 50x50 pixels and avoiding the superlarge bang on long texts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/message.cxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/message.cxx b/test/message.cxx
index ba864831f..cf44ca5db 100644
--- a/test/message.cxx
+++ b/test/message.cxx
@@ -38,11 +38,15 @@ int main(int argc, char **argv) {
fl_message("Spelling check sucessful, %d errors found with %g%% confidence",
1002, 100*(15/77.0));
- fl_alert("<HTML><b>Quantum fluctuations</b> in the space-time continuum detected, "
- "you have <i>%g seconds</i> to comply."
- "<p>For more information on time travel "
- "please visit <a href=http://www.fltk.org/>http://www.fltk.org/</a>"
- , 10.0);
+ fl_alert(
+ "Quantum fluctuations in the space-time continuum detected,\n"
+ "you have %g seconds to comply.\n\n"
+ "\"In physics, spacetime is any mathematical model that combines\n"
+ "space and time into a single construct called the space-time\n"
+ "continuum. Spacetime is usually interpreted with space being\n"
+ "three-dimensional and time playing the role of the\n"
+ "fourth dimension.\" - Wikipedia",
+ 10.0);
printf("fl_choice returned %d\n",
fl_choice("Do you really want to %s?", "No", "Yes", 0L, "continue"));