Use of a FLTK window as a SSD #146
CyprinusCarpio
started this conversation in
General
Replies: 1 comment 3 replies
-
|
Hi, if you want to use v2, you could try rendering surfaces purely with FLTK first, just to check whether it works:
Since you won’t be using Another option is to try Louvre v3 (WIP). There’s an example called cz-crystals that uses Kay, a toolkit I’m working on that lets you create custom widgets, use Skia, and so on. To try it out:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! Great project you've got going. I just found out about it today.
I'm brainstorming a new compositor, and I want to try using the FLTK widget toolkit to make the SSD. The idea is to use a single FLTK window as the entire SSD, and leverage FLTK event system and drawing. Looking at the LouvreTemplate, I see that the
SSDclass has several members derived fromLView. Another class derived fromLViewis theLSurfaceView, which apparently allows to display a whole window. And that's where my idea comes from. Why not use a FLTK window as the SSD? Sort of like a reparenting X window manager, but without the reparenting - the SSD would simply be behind the window. The main problem I see is how to make a normal FLTK window into aLSurface. FLTK provides a way to get awl_surfacefrom it's windows, as described here.My question is, is that enough to "bridge the gap" between Louvre and FLTK, and use a FLTK window as SSD?
Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions