Welcome to %s forums

BrainModular Users Forum

Login Register

SDK MIDI Transpose Example - clMidiModuleColor not defined

Create your own modules in C++
Post Reply
sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 21 Sep 2017, 13:41

Hello,

I noticed the module color was coming up black so I wanted to fix it to show as a MIDI module.
I did find that this "backcolor" was commented out, and

Code: Select all

clMidiModuleColor
throws error of not being defined.

What do I have to do to get this to show up properly?

-s
"Every act of creation is first an act of destruction." -Picasso

sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 21 Sep 2017, 13:45

Again!

hahaha :lol:

Well for reference the example has this as the color set...but it is the wrong case and comes up "undefined"

Code: Select all

pModuleInfo->BackColor          = sdkGetUsineColor(clMIDIModuleColor);
This is the correct way:

Code: Select all

pModuleInfo->BackColor          = sdkGetUsineColor(clMidiModuleColor);
And then it will compile...

-s
"Every act of creation is first an act of destruction." -Picasso

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests