summaryrefslogtreecommitdiff
path: root/examples/Makefile
AgeCommit message (Collapse)Author
2023-12-16STR#3283: Add new Fl_Table right-click popup menu exampleGreg Ercolano
2023-10-16Add Fl_Grid widget and test and demo programsAlbrecht Schlosser
- FL/Fl_Grid.H: header file - src/Fl_Grid.cxx: implementation - examples/grid-simple.cxx: simple example program - test/cube.cxx: use Fl_Grid for layout - test/grid_alignment.cxx: test cell alignment and other functions - test/grid_buttons.cxx: demo program as discussed in fltk.general - test/grid_login.cxx: like test/flex_login.cxx but with Fl_Grid - test/flex_login.cxx: modified to match test/grid_login.cxx
2023-08-15Improved, yet compatible, widget callback system using macros (#729)Matthias Melcher
* adds FL/fl_callback.macros.H * adds FL_FUNCTION_CALLBACK_n(widget, function, [type, data]) * adds FL_METHOD_CALLBACK_n(widget, class, instance, method, [type, data]) * adds FL_INLINE_CALLBACK_n(widget, [type, name, data], callback_body) * adds `examples/callback` * full documentation
2023-01-21Animated GIF support (Fl_Anim_GIF_Image class) (#375)wcout
2022-08-07Add Fl_Flex demo "howto-flex-simple" to examplesAlbrecht Schlosser
This demo program uses an Fl_Flex widget with one row of buttons.
2022-01-16For issue #358 - adds examples/cairo-draw-x.cxxGreg Ercolano
Since this is the first cairo example in the examples directory, it necessarily involved changes to the Makefile and to fltk-config to properly handle the absence/existance of the cairo libs. TBD: Add docs to the cario widget describing coordinate system and how it differs from the default cairo normalized coordinate system.
2021-11-18Reformat and move clipboard demo from examples to test folderAlbrecht Schlosser
The clipboard demo is more a test program than an example and very useful even if the examples are not built. Also update dependencies.
2021-03-18Added chart-simple exampleGreg Ercolano
2020-08-21Fix examples build (configure/make)Albrecht Schlosser
Fix more issues caused by moving fltk-versions from examples to test and adding examples to the CMake build process (gitlab-ci)
2020-06-29Move class Fl_SVG_File_Surface from libfltk to libfltk_images.ManoloFLTK
File examples/SVG_File_Surface.cxx is no longer useful because it was a very partial implementation of what is now class Fl_SVG_File_Surface.
2019-08-22Added simple "draw an 'X'" example.Greg Ercolano
2019-08-20Added table-with-right-column-stretch-fit.cxx exampleGreg Ercolano
2019-08-14Merge branch 'master' of github.com:fltk/fltkGreg Ercolano
2019-08-14Added new example code: howto-remap-numpad-keyboard-keys.cxxGreg Ercolano
2019-07-28Restore "silent" compilation of examplesAlbrecht Schlosser
'.SILENT:' statement had been commented out in previous commit.
2019-07-26Added new browser-simple.cxx exampleGreg Ercolano
2018-12-10Update examples: minor changes, rename, update .gitignoreAlbrecht Schlosser
.gitignore, Makefile: add missing files, sort example filenames. Makefile.FLTK: update and extend FLTKCONFIG definition examples. Rename README.examples to README.txt (easier for Windows users). README.txt: minor edits, fix link, remove trailing whitespace.
2018-08-29Added example of dynamically setting style buffer with text editor.Greg Ercolano
This example greatly simplifies the test/editor example to focus on just the mechanics of dynamic style buffer manipulation via the add_modify_callback(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-27Update Makefile + ignored files.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12986 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-30Makefile for new example.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-10-17Added Fl_Simple_Terminal widget, and mods to test+example programs (STR #3411).Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12506 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-09-11Added example code to demonstrate Fl_Multi_Label for STR#3400.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-08-05Add draggable-group example program.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-07-17Added new example program 'nativefilechooser-simple.cxx'Greg Ercolano
(Simpler than the application example) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-21Add FLTK version test program examples/fltk-versions.cxx.Albrecht Schlosser
This program can be used to verify that the FLTK runtime system (ABI version) is binary compatible with the compiled and linked program. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-28Add Manolo's new shapedwindow demo to the MakefileIan MacArthur
for the examples folder. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-23Added copy/paste from/to FLTK applications of graphical data.Manolo Gouy
Added Fl_Image_Surface class to draw into an Fl_Image object. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10159 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-16Added Fl_Tree sort example.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-11-10o Added Fl_Tree::item_draw_callback(), letting one define a custom draw ↵Greg Ercolano
function for Fl_Tree_Item's. o Added examples/tree-custom-draw-items.cxx to demonstrate its use. o Fixed small doc error for recent Fl_Tree::get_selected_items() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-03-23Adding an example to demonstrate how to create an Fl_Browser with icons on ↵Greg Ercolano
the items. Based on an example I'd added to STR#1739 to demo someone's patch. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-27Added a new example to demonstrate complex widgets as childrenGreg Ercolano
of a tree with custom resizing behavior, selectable contents, etc. Also demonstrates the need for the new FL_TREE_ITEM_HEIGHT_FROM_WIDGET feature. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9405 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-18Optimizations for when Fl_Tree is a container of FLTK widgets.Greg Ercolano
o Don't draw FLTK widgets outside tree's viewport. o Added tree-as-container.cxx example program, demos tree w/50k tree items each with 6 widgets (300k total) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-14Added table-with-keynav.cxx to emphasize keyboard/mouse selectionGreg Ercolano
(as per a question on the newsgroup about how to do this..) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-02-29Added progress bar widget demo.Greg Ercolano
Nabbed from Greg's cheat sheet, with his permission. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9255 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-28Makefile modified to demonstrate use of fltk-config.Greg Ercolano
FLTK settings defined in a separate Makefile.FLTK which users can nab for their own use. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-10Added dnd example to Makefile.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8249 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-05Changed remaining _WIN32 to WIN32.Albrecht Schlosser
Added 'all' target to Makefile. Do we need the 'default' target? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8194 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-21Add an simple example application to open/save files using the FNFC.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8096 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10Renamed table-with-keyboard-nav.cxx -> table-spreadsheet-with-keyboard-nav.cxx,Greg Ercolano
(since it is a spreadsheet as well as demonstrating keyboard nav in tables). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8002 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10Added table-spreadsheet example.Greg Ercolano
Various example mods. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-10Added color Fl_Text_Display example.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09Added texteditor-simple example program.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09Menubar example added.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30Added sortable table example.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7926 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30Added table-simple example.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-26Imported widgettable.cxx from original Fl_Table widget test suiteGreg Ercolano
as an FLTK example 'table-as-container.cxx'. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7754 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-26Added new table-with-keyboard-nav.cxx to solve STR #2374.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7741 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-26Added example howto for making a button with text over an image.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-23added examples/howto-parse-args.cxxengelsman
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-06wizard example mods, Makefile.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121