bgrabitmap / lazpaint

🎨 Cross-platform image editor with raster and vector layers similar to Paint.Net written in Lazarus (Free Pascal)
https://lazpaint.github.io/
GNU General Public License v3.0
401 stars 55 forks source link

gtk2 is very old and being replaced by gtk3 or even gtk4 #530

Open alexmyczko opened 2 years ago

alexmyczko commented 2 years ago

What is the state for lazpaint about GTK?

circular17 commented 2 years ago

That’s the state of the LCL, Lazarus Component Library, which LazPaint relies on.

alexmyczko commented 2 years ago

do you of them plans to upgrade to 3 or 4 this or next year?

fredvs commented 2 years ago

Or migrate to msegui? Ok je sors....

circular17 commented 2 years ago

Well that's not absurd actually, but... I would need much spare time.

I suppose it would solve all widget sets problems as it is all custom drawn?

fredvs commented 2 years ago

Well that's not absurd actually, but... I would need much spare time.

I would help with great pleasure.

I suppose it would solve all widget sets problems as it is all custom drawn?

Yes all is configurable, even the shape of the frames. I did a rapid check and all the widgets used in LCL LazPaint have equivalent in msegui.

Also you would be totally independent of widget-set versions (like GTK2, GTK3, Qt2, Qt3). Even more LazPaint will run on a "Pure X" system ( without GTK or Qt or other widgetset installed.)

Of course lt will need some work but all the methods can be copied and, big advantage, msegui is BGRAbitmap already compatible.

The bemol, msegui, at the moment, is only Linux, FreeBSD and Windows compatible but not yet Mac (that could still use the LCL version).

circular17 commented 2 years ago

Ok I understand. So one would need to be able to handle either LCL or mseGUI.

fredvs commented 2 years ago

You mean that Lazpaint-LCL and LazPaint-mseGUI should share the same lazpaint-units for what is not graphic (like type, var, methods, ...)? If so that is the best, you can also imagine to use other widget-sets.

But lot of work... ( tant mieux ;-) )