diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2007-05-01 23:20:39 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2007-05-01 23:20:39 +0000 |
| commit | b4b6776d8fab585c5fc43fe54dbdb7d3171acf6e (patch) | |
| tree | 7c48786f9d66c9680164e7dfc03a7fecb3f2863a /test | |
| parent | 47e802218d5645bb8a4320037f32dcc82b265ef8 (diff) | |
Added static icon, text selection, and HTML formatting to fl_message etc. (STR #1626)
Fixed selection of first word in Fl_Help_View
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/message.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/message.cxx b/test/message.cxx index a1ed47d0c..ba864831f 100644 --- a/test/message.cxx +++ b/test/message.cxx @@ -38,8 +38,11 @@ int main(int argc, char **argv) { fl_message("Spelling check sucessful, %d errors found with %g%% confidence", 1002, 100*(15/77.0)); - fl_alert("Quantum fluctuations in the space-time continuum detected, " - "you have %g seconds to comply.", 10.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); printf("fl_choice returned %d\n", fl_choice("Do you really want to %s?", "No", "Yes", 0L, "continue")); |
