MCPcopy Create free account
hub / github.com/davisking/dlib / paint

Method paint

dlib/gui_widgets/base_widgets.h:632–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630 }
631
632 void paint(const canvas& c)
633 {
634 c.fill(255,255,150);
635 draw_rectangle(c, rect_all);
636 mfont->draw_string(c,rect_text,text);
637 }
638 };
639
640 void show_tooltip (

Callers 2

CALLBACKFunction · 0.80
event_handlerMethod · 0.80

Calls 2

draw_stringMethod · 0.80
draw_rectangleFunction · 0.70

Tested by

no test coverage detected