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

[STR New]

Link: http://www.fltk.org/str.php?L2226
Version: 1.3-current
Fix Version: 1.3-current


1) Docs for Fl_XXX_Multiline should recommend the use of Fl_Text_XXX
   as a means for getting scrollbar-scrollable text. Suggestions:
   
> Fl_Output_Multiline:
> 
>       If you want scrollbars to appear when data exceeds the edges of
>       the widget, use Fl_Text_Display instead.
> 
> Fl_Input_Multiline
> 
>       If you want scrollbars to appear when data exceeds the edges of
>       the widget, use Fl_Text_Editor instead.

    2) It'd be nice if the docs for Fl_Widget::color() showed some
       kind of examples, so that in addition to the use of
       fl_rgb_color(r,g,b), one can also specify 32 bit hex
       constants similar to the web RGB colors: <FONT COLOR=#RRGGBB>

// RGB COLOR ASSIGNMENTS
color(0xRRGGBB00)
         | | | |
         | | | Must be zero
         | | Blue (8 bits)
         | Green (8 bits)
         Red (8 bits)

// COLOR MAP COLORS
color(0x000000CC)
        ------ |
           |   |
           |   Color map color (8 bits)
           |
           Must be zero

       RGB Examples:
               color(0xff000000);   // RGB: red
               color(0xff800000);   // RGB: orn
               color(0xffff0000);   // RGB: yellow
               color(0x00ff0000);   // RGB: grn
               color(0x0000ff00);   // RGB: blue
               color(0xffffff00);   // RGB: white
               color(0x80808000);   // RGB: gray

       Colormap examples
               color(0xff);   // colormap color #255 (eg. 0x000000ff)
               color(0xfe);   // colormap color #254 (eg. 0x000000fe)
               :
               color(0x01);   // colormap color #1   (eg. 0x00000001)
               color(0x00);   // colormap color #0   (eg. 0x00000000)


Link: http://www.fltk.org/str.php?L2226
Version: 1.3-current
Fix Version: 1.3-current

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

Reply via email to