PtSetResource() compared to PtSetResources()

is there a difference in performance between PtSetResource() and
PtSetResources()? i am thinking about writing a c++ interface for
photon and in it would prefer using PtSetResource() from member
functions like “window.set_width()”, instead of having a general
“window.set_resource()” member.

– martijn sipkema

Hi Martijn,

No there is no performance difference between the two.

Regards
Brenda


martijn sipkema <m.j.w.sipkema@student.tudelft.nl> wrote:

is there a difference in performance between PtSetResource() and
PtSetResources()? i am thinking about writing a c++ interface for
photon and in it would prefer using PtSetResource() from member
functions like “window.set_width()”, instead of having a general
“window.set_resource()” member.

– martijn sipkema

… i am thinking about writing a c++ interface for photon …
Did you see phcxx interface > http://phcpp.qnx.org.ru/index_eng.html > ?

What are you think about it ?

AD <adrozdov@itsib.ru> wrote in message news:9mkkh0$roi$1@inn.qnx.com

… i am thinking about writing a c++ interface for photon …
Did you see phcxx interface > http://phcpp.qnx.org.ru/index_eng.html > ?
What are you think about it ?

i haven’t looked much at it yet. i don’t having to call a create function
after constructing a widget, but then i don’t know if it is possible
to create a c++ wrapper api without one. i’ll look into it, no good
to reinvent the wheel.

– martijn