-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples: porting examples to gtk+2.0 on linux #2285
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: zhangjipeng <[email protected]>
@onecoolx Hello, may I ask what prompted you to switch to GTK? I assume there was a specific need for you. |
I prefer developing cross-platform graphics applications. I found that the code related to the local window system on each platform can be abstracted into an encapsulation layer, and then the upper code is isolated from the window system. As you see, the patch I submitted actually supports two UI system at the same time. EvasPlatform.cpp retains the original EFL support, and Gtk2Platform.cpp implements the porting of gtk2.0. |
Another reason is that EFL opengl doesn't work well on my ubuntu : ) |
Firstly, thank you for your contribution. I assure you that EFL works perfectly with OpenGL on Ubuntu. I believe it's just a simple matter of environment setup. Nonetheless, the framework is an additional usage in ThorVG just for a showcase. My concern is that multiple choices and dependencies will significantly increase the maintenance burden for the ThorVG project. Therefore, in my opinion, ThorVG should depend on one framework at most for the showcase. We need to consider which framework is the easiest and most adaptable among user systems. Perhaps we might be able to replace EFL with GTK but more than it, unlike GTK, Qt, EFL, and others, I prefer the framework having minimal dependencies and being lightweight, so it's quite portable. Again, thanks for your contribution and let's see. |
Yes, I agree. But in my opinion, Gtk2 is a better choice than EFL even if it only supports one GUI backend. gtk supports most Linux systems you can find, and supports MacOSX and Windows. |
EFL works on mac and windows |
Hmm,SDL ? Maybe better? |
Hi all,
I'm trying to porting examples to gtk2 on linux. I had tried porting a version to support both linux+gtk2 and tizen systems. Most of the demos looks like normal, but I'm not sure whether this code is right on tizen / ecore system. I can't verify it. Can anyone try it?
Issue: #1244