Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

How to share objects among windows?

$
0
0

@VVZen wrote:

Hi!
I currently have the need to share some objects and variables among two windows.
For example, in one window I have a GUI on top of a webcam image, and I need to access the parameters from this GUI in the other window.
I saw some examples using something like that:

ofGLWindowSettings settings;
// ...
settings.shareContextWith = mainWindow;

But it seems that shareContextWith doesn't exist anymore.. (OF 0.9.3) :pensive:
Somebody knows a good way around?

Namastè

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles