DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2674
Version: 1.3-feature


Examples on screenshots:

http://www.imgplace.com/viewimg12/8645/13gradient4.png
http://www.imgplace.com/viewimg717/9479/75gradient5.png
http://www.imgplace.com/viewimg231/3066/19gradient6.png


/**
 License: LGPL + static link (license is as is FLTK & for FLTK)
 Thanks to Nikita Egorov for consultings
 I like FLTK! Enjoy!
 \author Dmitrij K. e-mail: kdiman at live dot ru
 
 \brief `fl_designer' is drawing boxes and frames and simply bg.
 \version 1.0 (1 july 2011)
 \note This is function was writen for making of themes of FLTK and for
designing of new widgets (composing etc).
 
 \param[in] x, y, w, h coordinates and sizes of box
 \param[in] frame color of frame/border. Recomends to set it as color as
\p bg
 \param[in] bg color of background
 \param[in] smoothing value of smooth (in this moment it is supporting
value only 0-4). Radius of corners=\p smoothing *3
 \param[in] fs shadow of frame (if \p ft ==FRAME_TYPE_ONLY_BG, then it is
ignoring)
 \param[in] ft type of frame
 \param[in] groff gradient offset (from 0.0f to 1.0f)
 \param[in] gs style of gradient (if \p ft ==FRAME_TYPE_ONLY_FRAME, then
it is ignoring)
 \param[in] rc rounding of corners (if \p smoothing ==0, then it is
ignoring)
*/

FL_EXPORT extern void fl_designer(int x, int y, int w, int h,
                        Fl_Color frame = 0xe3e3ff00,
                        Fl_Color bg = 0xe3e3ff00,
                        int smoothing = 1,
                        Fl_FrameShadow fs = FL_FRAME_SHADOW_THIN,
                        Fl_FrameType ft = FL_FRAME_TYPE_UP_BOX,
                        float groff = 0.18f,
                        Fl_GradientStyle gs = FL_GRADIENT_STYLE_SW,
                        Fl_RoundCorner rc = FL_ROUND_CORNER_ALL);


Link: http://www.fltk.org/str.php?L2674
Version: 1.3-feature

Attachment: fl_designer-1.0.tar.bz2
Description: Binary data

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to