summaryrefslogtreecommitdiff
path: root/test/clipboard.cxx
AgeCommit message (Collapse)Author
2 dayswipmaxim nikonov
2025-11-29Improve and simplify test/clipboard.cxxAlbrecht Schlosser
- replace FL_OVERRIDE and NULL with 'override' and 'nullptr', resp. - remove useless global variable (declare it locally in main) - standardize callbacks using standard callback signatures - rename some callbacks with more appropriate names - fix layout of image display and image size info - improve alignment of text display - set window size_range (minimal window size)
2025-07-01Add wrap mode to clipboard viewerAlbrecht Schlosser
- use Fl_Flex to arrange multiple buttons - switch buttons dynamically depending on tabs (text or image)
2024-03-09Use fixed font in test/clipboard for text displayAlbrecht Schlosser
This is more like a text editor would display text. Todo: make the font selection optional (later).
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
2022-09-26Replace all calls to sprintf() by calls to snprintf().ManoloFLTK
2021-11-19Disable confusing debug info in clipboard viewer demoAlbrecht Schlosser
Windows only, depends now on macro DEBUG_CLIPBOARD_DATA.
2021-11-18Add "Save PNG" feature to clipboard viewer demoAlbrecht Schlosser
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.