diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-01-05 13:51:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-05 13:51:30 +0100 |
| commit | 8826dca1066361b474139bcc5aeed2e3a5246ed0 (patch) | |
| tree | 6819629ff3f9f014269c7cee090ab20a824af6ad /test/browser.cxx | |
| parent | 4d1a508c7e4d28fd53129da79f068a275d7160bd (diff) | |
Add close buttons for individual tabs in Fl_Tabs (#628)
Add close buttons for Fl_Tabs
Introducing callback reasons
FLUID shows all FL_WHEN_... options
Adding Fl_Tabs overflow types
Improved test/tabs to show new features
Diffstat (limited to 'test/browser.cxx')
| -rw-r--r-- | test/browser.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/browser.cxx b/test/browser.cxx index 05c83acb2..b4b8cdbb0 100644 --- a/test/browser.cxx +++ b/test/browser.cxx @@ -168,7 +168,11 @@ int main(int argc, char **argv) { browser->callback(b_cb); if (!browser->load(fname)) { fl_message("Can't load '%s'\n%s\n", fname, strerror(errno)); - exit(1); + browser->add("This is a test of how the browser draws lines."); + browser->add("This is a second line."); + browser->add("This is a third."); + browser->add("@bBold text"); + browser->add("@iItalic text"); } browser->position(0); |
