Skip to content

add onSendEvent and examples with new Spacebrew UI#10

Open
adielfernandez wants to merge 1 commit intoSpacebrew:masterfrom
adielfernandez:master
Open

add onSendEvent and examples with new Spacebrew UI#10
adielfernandez wants to merge 1 commit intoSpacebrew:masterfrom
adielfernandez:master

Conversation

@adielfernandez
Copy link

Added:
example_drawing_tool
example_shared_canvas
tweaks to main ofxSpacebrew src

Added:
example_drawing_tool
example_shared_canvas
tweaks to main ofxSpacebrew src
if ( bConnected ){
#ifdef SPACEBREW_USE_OFX_LWS
client.send( m.getJSON( config.clientName ) );
ofNotifyEvent(onSendEvent, m.name, this);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the only thing I would change!

  1. It should be outside of the SPACEBREW_USE_OFX_LWS preprocessor block
  2. I think it should pass the Message. Technically, apps can have > 1 publisher with the same name as long as they are different types!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants