danielchalmers / DesktopClock

A digital clock for your desktop!
https://github.com/danielchalmers
MIT License
137 stars 33 forks source link

Request: Textures #36

Closed breem42 closed 10 months ago

breem42 commented 10 months ago

I think it would be great to use a tiled bitmap instead of a colour, either for the background, or especially for the actual date or time. As I use large fonts, this would work well for me. I understand that this might not be a priority for you Daniel. You may just want a simple clock that sits there doing it's job.

BTW you may not be aware of a program for Linux named Variety. It works very differently from your DesktopClock, and a desktop clock is just one of it's many functions. But it is what inspired my interest in your project.

danielchalmers commented 10 months ago

Hi, I added an option for a custom background image in v4.1.0. It's stretched to fit. I'm open to more ideas so let me know what you think and feel free to re-open the issue!

breem42 commented 10 months ago

Thank you for your efforts.

I poked around some more. As far as I can tell there is no "TextImagePath" attribute or equivalent that would provide tile fill of the text itself. Perhaps someone has implemented some sort of extension somewhere, but I didn't find it. And thinking about it, why would they?

It looks like you can tile a background image in ".NET MAUI". I suspect it would require a complete re-write, since it looks like MAUI is mostly aimed at mobile developers.

gavin1970 commented 10 months ago

Only way is to do that is paint it.   I do that but its painted on a invisible win form.  SwitchWinClock/SwitchWinClock/DisplayForm.cs at master · gavin1970/SwitchWinClockgithub.comChizlOn Jan 4, 2024, at 11:51 PM, Tony @.***> wrote: Thank you for your efforts. I poked around some more. As far as I can tell there is no "TextImagePath" attribute or equivalent that would provide tile fill of the text itself. Perhaps someone has implemented some sort of extension somewhere, but I didn't find it. And thinking about it, why would they? It looks like you can tile a background image in ".NET MAUI". I suspect it would require a complete re-write, since it looks like MAUI is mostly aimed at mobile developers.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>