What is the draw_backdrop() function?

17 views
Skip to first unread message

Webb Hinton

unread,
Jul 27, 2021, 9:41:39 PM7/27/21
to fltk.general
I see a draw_backdrop()function in the Fl_Button source, but don't see this function anywhere in the draw module docs. It's not defined in the Fl_Button's code either. Am I missing something here? What's this function doing?

Remy Oukaour

unread,
Jul 31, 2021, 9:38:25 PM7/31/21
to fltk.general
It's a method of Fl_Widget for in case FL_ALIGN_IMAGE_BACKDROP is set: https://github.com/fltk/fltk/blob/41b1f1f91197b40b243b6a0b38cc36ff3bc824fe/src/fl_boxtype.cxx#L448

Greg Ercolano

unread,
Jul 31, 2021, 10:07:59 PM7/31/21
to fltkg...@googlegroups.com

On Tuesday, July 27, 2021 at 9:41:39 PM UTC-4 caroli...@gmail.com wrote:
I see a draw_backdrop()function in the Fl_Button source, but don't see this function anywhere in the draw module docs.
It's not defined in the Fl_Button's code either. Am I missing something here? What's this function doing?


On 7/31/21 6:38 PM, Remy Oukaour wrote:
It's a method of Fl_Widget for in case FL_ALIGN_IMAGE_BACKDROP is set: https://github.com/fltk/fltk/blob/41b1f1f91197b40b243b6a0b38cc36ff3bc824fe/src/fl_boxtype.cxx#L448

    Right, and since it's a method of Fl_Widget, the docs are here:
    https://www.fltk.org/doc-1.3/classFl__Widget.html#aef496c5494735f8b5c4ead32e30b16e5
Reply all
Reply to author
Forward
0 new messages