FLTK icons: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{FLTK cheatsheets}} 500px src: https://www.fltk.org/doc-1.3/common.html#common_labels" |
No edit summary |
||
Line 1: | Line 1: | ||
{{FLTK cheatsheets}} | {{FLTK cheatsheets}} | ||
== Icons == | |||
[[File:FLTK symbols.png|500px]] | [[File:FLTK symbols.png|500px]] | ||
== Modifiers == | |||
The @ sign may also be followed by the following optional "formatting" characters, in this order: | |||
* '#' forces square scaling, rather than distortion to the widget's shape. | |||
* +[1-9] or -[1-9] tweaks the scaling a little bigger or smaller. | |||
* '$' flips the symbol horizontally, '%' flips it vertically. | |||
* [0-9] - rotates by a multiple of 45 degrees. '5' and '6' do no rotation while the others point in the direction of that key on a numeric keypad. '0', followed by four more digits rotates the symbol by that amount in degrees. | |||
Thus, to show a very large arrow pointing downward you would use the label string "@+92->". | |||
== Sources == | |||
src: https://www.fltk.org/doc-1.3/common.html#common_labels | src: https://www.fltk.org/doc-1.3/common.html#common_labels |
Revision as of 00:41, 10 January 2025
FLTK cheatsheets
FLTK icons
Icons
Modifiers
The @ sign may also be followed by the following optional "formatting" characters, in this order:
- '#' forces square scaling, rather than distortion to the widget's shape.
- +[1-9] or -[1-9] tweaks the scaling a little bigger or smaller.
- '$' flips the symbol horizontally, '%' flips it vertically.
- [0-9] - rotates by a multiple of 45 degrees. '5' and '6' do no rotation while the others point in the direction of that key on a numeric keypad. '0', followed by four more digits rotates the symbol by that amount in degrees.
Thus, to show a very large arrow pointing downward you would use the label string "@+92->".