Deutsch   English   Français   Italiano  
<vjs7a7$1qa1n$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.lang.c++
Subject: Re: 'Graphics' of libwy
Date: Tue, 17 Dec 2024 16:02:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <vjs7a7$1qa1n$1@dont-email.me>
References: <4ffeda4ce7116f70754bcfcaee87cb729081fac3.camel@gmail.com>
 <vjqhau$1ceif$1@dont-email.me>
 <vjs2do$1p3ce$1@dont-email.me>
Injection-Date: Tue, 17 Dec 2024 17:02:16 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1b9ac6efee3006ff80ff9e8ecf679a6d";
	logging-data="1910839"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18OwCQu375f7pCW5vVAVv3k"
Cancel-Lock: sha1:0cGvs2fWbCwVhtqN6FnZvdV2WLQ=
Bytes: 2724

On Tue, 17 Dec 2024 16:38:49 +0200
Paavo Helde <eesnimi@osa.pri.ee> wibbled:
>On 17.12.2024 02:41, Lynn McGuire wrote:
>> On 12/15/2024 4:04 AM, wij wrote:
>>> I had headache whenevr I think about graphics in C++. Why C++ does not 
>>> provide
>>> a graphics library (lots complaint about this), not even a simplest 
>>> one for
>>> demonstrating its 'power' of C++ itself? Then, I suddenly realized 
>>> that the
>>> minimal answer is already there because the resolution of modern text 
>>> screen
>>> (emulator) is barely enough (width can be >320).
>> ...
>> 
>> I totally agree that C++ should have a graphics library and a user 
>> interface library both.
>> 
>> Have you looked at
>>     https://wxwidgets.org/
>> 
>> "wxWidgets is a C++ library that lets developers create applications for 
>> Windows, macOS, Linux and other platforms with a single code base. It 
>> has popular language bindings for Python, Ruby, Lua, Perl and several 
>> other languages, and unlike other cross-platform toolkits, wxWidgets 
>> gives applications a truly native look and feel because it uses the 
>> platform's native API rather than emulating the GUI. It's also 
>> extensive, free, open-source and mature."
>
>wxWidgets does work and is better than MFC, but not extremely so. Also, 
>it is not exactly light-weight, a git checkout is 803 MB. Good luck for 
>the standards committee to standardize anything like that.
>
>Also, wxWidgets would be only part of the solution, it would still need 
>a graphics back-end for actually drawing anything, plus some fonts for 
>rendering texts. On some platforms the graphics back-end is built into 
>the OS, on others it is not.

Does wx do 3D stuff? If not you'd need yet another library to do that too.

Personally I'd go with Qt. Its mature and cross platform and does what 99%
of most people need.