winft / wrapland

Qt/C++ library wrapping libwayland
GNU Lesser General Public License v2.1
6 stars 2 forks source link

Remodel shadow class #50

Closed romangg closed 5 months ago

romangg commented 4 years ago

It is a contained class, but depends on buffer. Still should be a straight forward affair.

romangg commented 4 years ago

In GitLab by @erreur404 on Apr 29, 2020, 21:45

Hello, @romangg , i want to access to the d_ptr of the surface class, do you have a tip to do that without set d_ptr public ?

romangg commented 4 years ago

Right now declare the accessing class as a friend of Surface. See here.

That's not ideal, but I have yet to think about a better solution, see #35. Maybe when we have another abstraction layer on top for different front-ends (Qt signals, libsigc++,...) we can declare the then internal classes with public interfaces in general.

romangg commented 4 years ago

In GitLab by @erreur404 on Apr 29, 2020, 21:58

MMmmmm oki is see thank you ;)

romangg commented 4 years ago

Closed by 51130fe4715bc4b5317ca9897af4b583c6b898e6.

romangg commented 4 years ago

closed

romangg commented 4 years ago

mentioned in commit 9214ac1deaff61018f6a1588ca71eb858ebdcfdd