From cda7f614627d3bcf303ab1ad92d5d7fe53f3e3af Mon Sep 17 00:00:00 2001
From: Matthias Melcher
The Fl::set_labeltype method can also be used to overload an existing label type such as FL_NORMAL_LABEL.
+It is also possible to define your own drawings and add +them to the symbol list, so they can be rendered as part of +any label.
+ +To create a new symbol, you implement a drawing function +void drawit(Fl_Color c) which typically uses the +complex drawing functions +to generate a vector shape inside a two-by-two units sized box +around the origin. This function is then linked into the symbols +table using fl_add_symbol:
+ ++int fl_add_symbol(const char *name, void (*drawit)(Fl_Color), int scalable) ++ +
name is the name of the symbol without the "@"; scalable +must be set to 1 if the symbol is generated using scalable vector drawing +functions.
+Callbacks are functions that are called when the value of a -- cgit v1.2.3