summaryrefslogtreecommitdiff
path: root/test/preferences.fl
AgeCommit message (Collapse)Author
2025-12-29Fix Fl_Pack to support more box types.Matthias Melcher
Old code supported only frame styles, this code can now handle box types with a background.
2025-12-22FLUID: Add support for lambda callbacks.Matthias Melcher
Starting the callback text with a '[' assumes that the rest of the callback is a lambda and generates inlined code for it.
2025-04-15Reactivating Mergeback functionality. (#1226)Matthias Melcher
Reactivated code. Various fixes. New documentation.
2025-03-16Fluid: restructuring and rejuvenation of the source code.Matthias Melcher
* Add classes for application and project * Removed all globals from Fluid.h * Extracting args and project history into their own classes * Moving globals into Application class * Initialize values inside headers for some classes. * Undo functionality wrapped in a class inside Project. * File reader and writer are now linked to a project. * Avoid global project access * Nodes (former Types) will be managed by a new Tree class. * Removed static members (hidden globals) form Node/Fl_Type. * Adding Tree iterator. * Use nullptr instead of 0, NULL, or 0L * Renamed Fl_..._Type to ..._Node, FL_OVERRIDE -> override * Renaming ..._type to ...::prototype * Splitting Widget Panel into multiple files. * Moved callback code into widget panel file. * Cleaning up Fluid_Image -> Image_asset * Moving Fd_Snap_Action into new namespace fld::app::Snap_Action etc. * Moved mergeback into proj folder. * `enum ID` is now `enum class Type`.
2025-03-06Update version numbers to 1.5.0Albrecht Schlosser
2024-12-09Update Fluid (.fl) files for release 1.4.1Albrecht Schlosser
2023-12-28Adds Fl_Input RMB menu translation to test/preferencesMatthias Melcher
This also updates the RMB menu labels before every popup so that changing the labels after creating the widgets still reflects that change correctly.
2023-09-26FLUID: Fixes regression #777Matthias Melcher
Wrote wrong path in #inlude statement under certain conditions. Also removed 'snap' tag if not needed.
2023-09-22Fix potential invalid stack variable access in test codeAlbrecht Schlosser
This code was (and is still) commented out but it *would* trigger a "stack buffer overflow" error *if* uncommented. The new code demonstrates how a binary object (Fl_Preferences 'bed') can be dumped to a preferences file in binary format (if activated).
2023-07-14FLUID: fixes all overlapping widgets in all .fl filesMatthias Melcher
Also fixes an issue with multiple use of the same variable for different types of i18n.
2023-02-02Update dependencies and fix whitespace errorsAlbrecht Schlosser
- replace tabs with spaces - remove trailing whitespace
2022-12-30FLUID support for inline image data (see #542, #592) (#604)Matthias Melcher
2022-11-25Add i18n to test/preferences (#555)Matthias Melcher
To test the output of FLUID code and demonstrate i18n, preferences emulates GNU gettext.
2022-11-07Removed i18n from test/preferences.flMatthias Melcher
2022-03-03Fix whitespace, update dependencies and fluid filesAlbrecht Schlosser
2022-01-19Fixing and upgrading Fl_Preferences (#374)Matthias Melcher
* Added filename function to Fl_Preferences Static function to get filename before opening. Member to get filename after opening. Bug fixes for memory mapped preferences. * ERROR is a macro on Windows, don't use it * Added Fl_Preferences::dirty(). User can now check if the database will be written when flushed or destroyed. Flush returns a crude error code. * Fl_Preferences::get binary data returns # of bytes read. * Verified group deletion code * Fl_Preferences ignores locale. This will make .prefs files interchangeable between different computers. * Updating the Preferences Mode to ignore locale. * Fixes in docs.
2022-01-16Update fluid files and generated filesAlbrecht Schlosser
fluid/widget_panel.cxx: apply previous fluid fix
2021-12-19STR 3289: Fluid i18n, gettext, catguts improvementsMatthias Melcher
Removed some unneeded code.
2021-12-17GitHub #327: menu buttons will no longer grab arrow keys.Matthias Melcher
In Fluid, selecting a menu button, and selecting it again to make it movable would also grab the text input focus, which would prevent the enclosing window from using arrow key events to manipulate the selected widget.
2019-12-31Commented out some silly code in the preferences test.Matthias Melcher
2016-01-30Bump version numbers for next minor release: FLTK 1.4.0.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-09Update fluid .fl files and generated code - remove trailing white space.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10[Version 1.3.4] Update version numbers - hopefully complete.Albrecht Schlosser
Note to devs: if I missed something, please mark follow-up commits with [Version 1.3.4] so we can find the necessary commits for version updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-05Bump version numbers to 1.3.3.Albrecht Schlosser
All fluid .fl files have been rewritten with fluid 1.3.3 and may differ somehow, but there are no significant changes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-01-18Added text constants for preference names (project and application) forAlbrecht Schlosser
easier testing (removed duplicated strings). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9229 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-01-11Fixed a few GNU compiler warnings (-pedantic): C++ comments in C files,Albrecht Schlosser
extraneous ';' and ',' and an invalid cast. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20Moved global FLTK options into Fluid until we find a better setup. Restored ↵Matthias Melcher
the original Preferences demo. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8089 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Make sure that tooltips are always on in test/preferences, even if theyAlbrecht Schlosser
are disabled by system or user options. Otherwise users wouldn't get the necessary tooltips if someone switched tooltips off. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-15Redefined NORMAL_INPUT_MOVE in src/Fl_Input.cxx to reflect the new optionAlbrecht Schlosser
Fl::option(Fl::OPTION_ARROW_FOCUS). Maybe this could improved, but this is the shortest way to make the option work always. Improved tooltips in test/preferences.fl for users and system managers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12Added an 'Options' dialog (replacing test/preferences) that can be used to ↵Matthias Melcher
set system wide or user real options like Visible Focus. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-12Applied Domingo's suggestion for formatted Fluid outputMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-12Fixed missing internationalisation of menus generate by Fluid (STR #2246)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-21Fixed uninitialized data in OS X and WIN32 timout functions (STR #1374).Matthias Melcher
Fixed silly but in preferences test (that was unrelated to Fl_Preferences). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5341 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-04Fixed previous commit.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-04STR 1195: caret key lookup entry was missing on Mac OS XMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-08STR #792: 'preferences' test app lost the 'radio' flags on the shoe ↵Matthias Melcher
positioning buttons. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-11-05Added callbacks to Fl_Text_Editor.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-09-05Mac OS X: modified Fl_Preferences::Node::search to correctly handle groupsMatthias Melcher
inside the root group and to allow for relative and absolute path names. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-27MacOS:Matthias Melcher
Pixmap Draw fix: pixmap would always draw from 0, 0 gl_font implemented FL_FOCUS fix: would not send FL_FOCUS when window activated window classes fixed: modal() and non_modal() should work much better glut fix: uninitialised 'display' callback made glpuzzle crash Please send bug reports git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-26Added gl_font calls to Cube demo for gl_font implementation on MacOS (later).Matthias Melcher
Renamed variable 'todo' in preferences.fl to 'tasks' to make global search for Todo items easier. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-31Some C++ compilers can't handle char& and int& versions of methods, soMichael R Sweet
for now just remove the char (boolean) methods since the integer methods can also be used for the same thing. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-17Fl_Preferences: fixed delete/free confusion, updated docu and sample on ↵Matthias Melcher
buffer size issue (buffer needs to allow for additional byte for trailing zero) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2242 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-02Fix include for preferences example.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2182 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-01Added preferences.fl, removed preferences.cxx and .hMatthias Melcher
Updated VisualC project to handle .fl files and fluid dependencies Updated test/Makefile (someone please test it...) Removed all CRs :-) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121