<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Pawel, <br>
      <br>
      the shared data in Blender is located in the DNA. This DNA is
      accessible to the widget (via RNA) and is used by the Compositor
      (most of the time by copying the data to the Composite Operations.<br>
      <br>
      So when you want to access data of an Operation it must be made
      accessible to other parts of blender via DNA and RNA. <br>
      <br>
      The DNA of the compositor can be found in the next file.
<a class="moz-txt-link-freetext" href="https://git.blender.org/gitweb/gitweb.cgi/blender.git/blob/HEAD:/source/blender/makesdna/DNA_node_types.h">https://git.blender.org/gitweb/gitweb.cgi/blender.git/blob/HEAD:/source/blender/makesdna/DNA_node_types.h</a><br>
      The RNA of the compositor can be found in the next file
<a class="moz-txt-link-freetext" href="https://git.blender.org/gitweb/gitweb.cgi/blender.git/blob/HEAD:/source/blender/makesrna/intern/rna_nodetree.c">https://git.blender.org/gitweb/gitweb.cgi/blender.git/blob/HEAD:/source/blender/makesrna/intern/rna_nodetree.c</a><br>
      <br>
      The DNA describes how the data is structured, the RNA will tell
      Blender how to evaluate the data when it changes. The
      datastructure that is being used is
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      NodeChroma.<br>
      <br>
      Now it should be accessible in the widget. But during compositing
      it should be transferred to the specific operation (ColorMatte)<br>
      <br>
      In the file
      <a class="moz-txt-link-freetext" href="https://git.blender.org/gitweb/gitweb.cgi/blender.git/blob/HEAD:/source/blender/compositor/nodes/COM_ColorMatteNode.cpp">https://git.blender.org/gitweb/gitweb.cgi/blender.git/blob/HEAD:/source/blender/compositor/nodes/COM_ColorMatteNode.cpp</a>
      this transfer takes place.<br>
      <br>
      Hope this will help you.<br>
      <br>
      Best regards, <br>
      Jeroen<br>
      <br>
      <br>
      On 12/14/2015 03:57 PM, Paweł Kozłowski wrote:<br>
    </div>
    <blockquote
cite="mid:CAATbb7OJ+MCs0npfp3ZkK4n9AAk2aX=b0BKka9VD7BnRpc9zTg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>is it possible to get data from slider in Node to
          interface_widget.c ? I mean, I have value of slider
          in COM_ColorMatteOperation.cpp but I need it also this value
          in interface_widget.c in drawing function, has it any acces
          via pointers to gui values? Could you adwise me?</div>
        <div><br>
        </div>
        <div>best regards</div>
        <div>Pawel</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Bf-compositor mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-compositor@blender.org">Bf-compositor@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-compositor">http://lists.blender.org/mailman/listinfo/bf-compositor</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>