Re: wanting to try a GUI toolkit: needing some advice on which one to choose

2021-05-29 Thread Alain De Vos via Digitalmars-d-learn
One additional toolkit, fltk, https://www.fltk.org/

Re: wanting to try a GUI toolkit: needing some advice on which one to choose

2021-05-29 Thread btiffin via Digitalmars-d-learn
On Thursday, 27 May 2021 at 16:49:41 UTC, Dejan Lekic wrote: [...] I humbly believe the most complete one is GtKD. https://gtkdcoding.com/ https://gtkd.org We all wish there was a STANDARD D GUI library out there, but that is a huge effort one or two individuals can't do by themselves (that

Re: wanting to try a GUI toolkit: needing some advice on which one to choose

2021-05-29 Thread Adam D. Ruppe via Digitalmars-d-learn
On Saturday, 29 May 2021 at 10:51:47 UTC, btiffin wrote: Will politely disagree about 1 or 2 can't do by themselves... Yeah, yeah they can. Well, I've actually done it. My minigui has its quirks I'm slowly working through, but it clearly isn't impossible.

Re: wanting to try a GUI toolkit: needing some advice on which one to choose

2021-05-29 Thread Vinod K Chandran via Digitalmars-d-learn
On Saturday, 29 May 2021 at 01:04:02 UTC, Marcone wrote: Win32Api + Metaprogramming? Yes.

Re: Working with ranges

2021-05-29 Thread Elmar via Digitalmars-d-learn
On Wednesday, 26 May 2021 at 15:07:12 UTC, Jack wrote: On Wednesday, 26 May 2021 at 13:58:56 UTC, Elmar wrote: On Saturday, 8 December 2018 at 03:51:02 UTC, Adam D. Ruppe wrote: [...] That's amazing, this should be one thing that should appear in every tutorial just right at the start! I was

Re: Working with ranges

2021-05-29 Thread Elmar via Digitalmars-d-learn
On Saturday, 29 May 2021 at 19:55:30 UTC, Elmar wrote: In many or most of the cases the use case doesn't actually require GC-allocation. Btw, I'm talking about core-level and systems software which concentrates on data transformations. When I only want to access a data structure but not mofi

Re: Cast class reference to pointer of another class?

2021-05-29 Thread JN via Digitalmars-d-learn
fixed formatting: ```d struct Foo { } class Bar { } void main() { Bar b = new Bar(); Foo* f = cast(Foo*)b; } ```

Cast class reference to pointer of another class?

2021-05-29 Thread JN via Digitalmars-d-learn
```struct Foo { } class Bar { } void main() { Bar b = new Bar(); Foo* f = cast(Foo*)b; }``` this code compiles. Why? What is even the result in "f" in this case?

Re: Cast class reference to pointer of another class?

2021-05-29 Thread ag0aep6g via Digitalmars-d-learn
On Saturday, 29 May 2021 at 21:01:14 UTC, JN wrote: this code compiles. Why? What is even the result in "f" in this case? On Saturday, 29 May 2021 at 21:03:12 UTC, JN wrote: fixed formatting: ```d struct Foo { } class Bar { } void main() { Bar b = new Bar(); Foo* f = cast(Foo*)b; }

Re: ChromeOS and DLang

2021-05-29 Thread Tony via Digitalmars-d-learn
On Thursday, 27 May 2021 at 19:39:15 UTC, Ozan Sueel wrote: Hi I think about writing apps vor ChromeOS, but before running in a death end, I ask by myself, is D a good choice for this approach? Any experience with this new upcoming operating system? New and upcoming? ChromeOS was first relea