Re: Easiest way to display images

2019-03-12 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 12 March 2019 at 02:21:51 UTC, Murilo wrote: Hi Adam, how do I set the color of the SimpleWindow background? You have to draw a rectangle on the window to make your own background. Set both outlineColor and fillColor to the same thing, then do painter.drawRectangle(Point(0, 0),

Re: Easiest way to display images

2019-03-11 Thread Murilo via Digitalmars-d-learn
Hi Adam, how do I set the color of the SimpleWindow background?

Re: Easiest way to display images

2019-02-25 Thread Adam D. Ruppe via Digitalmars-d-learn
On Monday, 25 February 2019 at 22:34:54 UTC, Murilo wrote: Hi Adam. I am using your library. There is the ScreenPainter struct and it has a method called .eventLoop(), how do I make it stop after a certain amount of loops? I would like to be able to call it several times in the program. I

Re: Easiest way to display images

2019-02-25 Thread Murilo via Digitalmars-d-learn
On Tuesday, 12 February 2019 at 01:31:48 UTC, Adam D. Ruppe wrote: On Tuesday, 12 February 2019 at 01:16:21 UTC, Murilo wrote: Hi Adam. I have been using your arsd library and I have noticed that compiling with -m64 causes this error: huh, only on 64 bit windows. well, pushed a fix up, try

Re: Easiest way to display images

2019-02-11 Thread Murilo via Digitalmars-d-learn
On Tuesday, 12 February 2019 at 01:31:48 UTC, Adam D. Ruppe wrote: On Tuesday, 12 February 2019 at 01:16:21 UTC, Murilo wrote: Hi Adam. I have been using your arsd library and I have noticed that compiling with -m64 causes this error: huh, only on 64 bit windows. well, pushed a fix up, try

Re: Easiest way to display images

2019-02-11 Thread Murilo via Digitalmars-d-learn
On Tuesday, 12 February 2019 at 01:31:48 UTC, Adam D. Ruppe wrote: On Tuesday, 12 February 2019 at 01:16:21 UTC, Murilo wrote: Hi Adam. I have been using your arsd library and I have noticed that compiling with -m64 causes this error: huh, only on 64 bit windows. well, pushed a fix up, try

Re: Easiest way to display images

2019-02-11 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 12 February 2019 at 01:16:21 UTC, Murilo wrote: Hi Adam. I have been using your arsd library and I have noticed that compiling with -m64 causes this error: huh, only on 64 bit windows. well, pushed a fix up, try the new version

Re: Easiest way to display images

2019-02-11 Thread Murilo via Digitalmars-d-learn
On Sunday, 10 February 2019 at 21:26:56 UTC, Adam D. Ruppe wrote: On Sunday, 10 February 2019 at 18:42:59 UTC, Murilo wrote: Adam, is there a place where we can chat? I don't like chatting via this forum. I would like to talk to you about your modules and about the D lang. get on the

Re: Easiest way to display images

2019-02-10 Thread Murilo via Digitalmars-d-learn
On Sunday, 10 February 2019 at 21:26:56 UTC, Adam D. Ruppe wrote: On Sunday, 10 February 2019 at 18:42:59 UTC, Murilo wrote: Adam, is there a place where we can chat? I don't like chatting via this forum. I would like to talk to you about your modules and about the D lang. get on the

Re: Easiest way to display images

2019-02-10 Thread Adam D. Ruppe via Digitalmars-d-learn
On Sunday, 10 February 2019 at 18:42:59 UTC, Murilo wrote: Adam, is there a place where we can chat? I don't like chatting via this forum. I would like to talk to you about your modules and about the D lang. get on the freenode irc, i am in #d like all the time (and will see messages when i

Re: Easiest way to display images

2019-02-10 Thread Murilo via Digitalmars-d-learn
On Wednesday, 6 February 2019 at 03:35:03 UTC, Adam D. Ruppe wrote: On Wednesday, 6 February 2019 at 01:04:43 UTC, Murilo wrote: You should later joing the facebook group Programming in D. Eh, I don't really like facebook groups. With my libraries too, I don't really care if anyone uses

Re: Easiest way to display images

2019-02-06 Thread DanielG via Digitalmars-d-learn
On Thursday, 7 February 2019 at 00:10:50 UTC, Murilo wrote: "information harvesting" I mean Facebook as a whole, not your group specifically. FB is in the business of selling to advertisers, and the users are the product.

Re: Easiest way to display images

2019-02-06 Thread Murilo via Digitalmars-d-learn
On Wednesday, 6 February 2019 at 04:36:12 UTC, DanielG wrote: On Wednesday, 6 February 2019 at 01:04:43 UTC, Murilo wrote: You should later joing the facebook group Programming in D. The D community is small enough that it's unlikely anybody in that Facebook group, isn't already using the

Re: Easiest way to display images

2019-02-05 Thread DanielG via Digitalmars-d-learn
On Wednesday, 6 February 2019 at 01:04:43 UTC, Murilo wrote: You should later joing the facebook group Programming in D. The D community is small enough that it's unlikely anybody in that Facebook group, isn't already using the newsgroups / IRC / etc to discuss D. Even the official subreddit

Re: Easiest way to display images

2019-02-05 Thread Adam D. Ruppe via Digitalmars-d-learn
On Wednesday, 6 February 2019 at 01:04:43 UTC, Murilo wrote: You should later joing the facebook group Programming in D. Eh, I don't really like facebook groups. With my libraries too, I don't really care if anyone uses them. I make them for myself and put them online because it is easy for

Re: Easiest way to display images

2019-02-05 Thread Murilo via Digitalmars-d-learn
On Tuesday, 5 February 2019 at 21:25:54 UTC, Adam D. Ruppe wrote: On Tuesday, 5 February 2019 at 21:11:52 UTC, Murilo wrote: What would be the easiest way to simply display a jpg or png image on the screen for a few seconds in Windows? That's a little more complex than playing a sound,

Re: Easiest way to display images

2019-02-05 Thread Murilo via Digitalmars-d-learn
On Tuesday, 5 February 2019 at 21:25:54 UTC, Adam D. Ruppe wrote: On Tuesday, 5 February 2019 at 21:11:52 UTC, Murilo wrote: What would be the easiest way to simply display a jpg or png image on the screen for a few seconds in Windows? That's a little more complex than playing a sound,

Re: Easiest way to display images

2019-02-05 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 5 February 2019 at 21:11:52 UTC, Murilo wrote: What would be the easiest way to simply display a jpg or png image on the screen for a few seconds in Windows? That's a little more complex than playing a sound, there's no one function to do it. You can in... oh about 50 lines, but I

Easiest way to display images

2019-02-05 Thread Murilo via Digitalmars-d-learn
What would be the easiest way to simply display a jpg or png image on the screen for a few seconds in Windows?