diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-12-15 16:46:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-15 16:46:40 +0100 |
| commit | 44a2547394a3b4f8b0177c2f33aa8ed47a2c1051 (patch) | |
| tree | d0611bedf1be051c9e5b2183314bc7e17648c5ad /fluid/README_fl.txt | |
| parent | 2fd1866f492daa4caa7fdad6c05cd34bc79ba913 (diff) | |
Rename some Fl_Flex methods for FLTK compliance (#594)
Change some method names to comply with FLTK style as discussed
in fltk.coredev, thread "Fl_Flex method name question".
* Rename Fl_Flex::margins(...) to Fl_Flex::margin(...)
(use singular form for all margin related methods)
* Remove Fl_Flex::setSize() and isSetSize() "backwards compatibility" methods
* Rename Fl_Flex::set_size(...) to fixed(...)
Note: the latter affects existing (pre-release) fluid (.fl) files: you may
want to edit and replace "set_size_tuples" with "fixed_size_tuples"
Diffstat (limited to 'fluid/README_fl.txt')
| -rw-r--r-- | fluid/README_fl.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/README_fl.txt b/fluid/README_fl.txt index a4d509f1a..f70c217b2 100644 --- a/fluid/README_fl.txt +++ b/fluid/README_fl.txt @@ -427,7 +427,7 @@ Type "Fl_Flex" <word> : C++ variable name "margins" <word> : this Word is written with printf as "{%d %d %d %d}", left, top, right, bottom "gap" <word> : integer - "set_size_tuples" <word> : this Word is written with printf "{%d", where %d + "fixed_size_tuples" <word> : this Word is written with printf "{%d", where %d encodes the number of tuples to follow, and zero or more " %d %d" containing the index and size of that child, followed by a '}'. ... : inherits more from Fl_Group |
