MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / CodeEntry

Method CodeEntry

Source/CodeEntry.cpp:56–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54bool CodeEntry::sDoSyntaxHighlighting = false;
55
56CodeEntry::CodeEntry(ICodeEntryListener* owner, const char* name, int x, int y, float w, float h)
57: mListener(owner)
58{
59 SetName(name);
60 SetPosition(x, y);
61 mWidth = w;
62 mHeight = h;
63 IDrawableModule* module = dynamic_cast<IDrawableModule*>(owner);
64 assert(module);
65 module->AddUIControl(this);
66 SetParent(dynamic_cast<IClickable*>(owner));
67}
68
69CodeEntry::~CodeEntry()
70{

Callers

nothing calls this directly

Calls 1

AddUIControlMethod · 0.80

Tested by

no test coverage detected