Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-05-2023, 12:21 PM
|
#1
|
Member
Registered: Mar 2004
Location: Kentucky, USA
Distribution: SlamD 12.1 / Slack 12.0 ~ 14.2_64
Posts: 345
Rep:
|
Best C++ Graphics Library where installation is concerned.
All,
I'm looking at graduating on from my current graphics library Allegro 4.X. I've looked at Allegro 5 and SDL but the installation seems complicated by comparison. My system actually tells me I have SDL installed though I'm not 100% convinced. My questions is, is there a good graphics library that I don't need to be a computer engineer to install?
Thanks
|
|
|
01-05-2023, 12:28 PM
|
#2
|
Senior Member
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,014
|
What are you using the library for?
SDL and Allegro target video games.
I use Cairo for 2D drawing in my GUI programs. https://www.cairographics.org
Cairo is the drawing component for GTK.
Ed
|
|
|
01-05-2023, 12:48 PM
|
#3
|
Member
Registered: Mar 2004
Location: Kentucky, USA
Distribution: SlamD 12.1 / Slack 12.0 ~ 14.2_64
Posts: 345
Original Poster
Rep:
|
Thanks EdGr. Speaking of being an engineer, interesting website.
In my case, I like to write simple games. To this point I've only written PC console type games. No mouse or windows, all keyboard. In the beginning I drew directly to the screen. Eventually I learn use buffers, bitmaps, and sound files.
I program top down, but was looking at learning event driven programming. I've have very little experience with that.
|
|
|
01-05-2023, 01:02 PM
|
#4
|
Senior Member
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,014
|
Thanks! My website is eclectic.
Cairo is fast enough for simple animation, but generally favors quality over speed. You can easily port your bitmap code to a Cairo image surface. Getting it on the screen is done through GTK.
Ed
|
|
|
01-05-2023, 01:05 PM
|
#5
|
Member
Registered: Mar 2004
Location: Kentucky, USA
Distribution: SlamD 12.1 / Slack 12.0 ~ 14.2_64
Posts: 345
Original Poster
Rep:
|
Thanks, I'll check it out.
|
|
|
All times are GMT -5. The time now is 07:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|