MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / paint

Method paint

Source/UIComponents/CtrlrComponents/CtrlrCustomComponent.cpp:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void CtrlrCustomComponent::paint (Graphics &g)
46{
47 if (paintCbk && !paintCbk.wasObjectDeleted())
48 {
49 if (paintCbk->isValid())
50 {
51 owner.getOwnerPanel().getCtrlrLuaManager().getMethodManager().call (paintCbk, this, g);
52 }
53 }
54}
55
56bool CtrlrCustomComponent::keyPressed (const KeyPress &key, Component *originatingComponent)
57{

Callers

nothing calls this directly

Calls 2

isValidMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected