Wallpaper board

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Michael Vogel
Addict
Addict
Posts: 2807
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Wallpaper board

Post by Michael Vogel »

Hi,
I posted some times ago some code snippets for drawing a calendar (in a box with rounded corners :lol:) and some other things, now I have finished my "wallpaper board", which creates a wallpaper showing me some information, like the date, user name, actual IP-address etc.

Image

Because I hate documenting, you may have to play around to get the results you like to see – but I am (relatively) sure, that you will get all functions, you need for generating a wallpaper :wink:

Just some notes for configuring the three information boxes:
• tags of the form [?] are used to change the content of each box, "?" has to be replaced by one of these characters (try upper and lower case):
• t: day
• m: month (n: name of month)
• j: year
• w: day of week
• a: calendar week (ISO)
• u: user
• c: computer
• *: IP-address(es)
• o: moon phase
• # calender icon


There is many more to find – maybe I will give some additional hints, if needed :P

One issue – even nobody would recognize it – is still present: a small part of certain characters may get lost when using an italics font. Because this is a PB bug, you have to live with this...
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Wallpaper board

Post by IdeasVacuum »

A really nice app! :mrgreen: Clever graphics, I really like the Moon thing. Unfortunately, it doesn't suit my desktop as it is littered with a gazillion icons and stickie-notes.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Little John
Addict
Addict
Posts: 4789
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Wallpaper board

Post by Little John »

Hi Michael,

that looks nice.
But how can I change the background color, and how can I hide logo and user name?

Regards, Little John
User avatar
Michael Vogel
Addict
Addict
Posts: 2807
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Wallpaper board

Post by Michael Vogel »

Thanks!
IdeasVacuum wrote:A really nice app! :mrgreen: Clever graphics, I really like the Moon thing. Unfortunately, it doesn't suit my desktop as it is littered with a gazillion icons and stickie-notes.
Yes, I know... my first version just had some text because of that – and it also the reason, why text size and the pictures can be scaled (or even be disabled, just set the photo size = 0 :) )
BTW there are two moon symbols, one classic symbol ([o]), which will be shown only four times a (moon) month, and the modern style [O]...

Little John wrote:But how can I change the background color, and how can I hide logo and user name?
Shouldn't be a problem, first of all: change the board theme setting, let's say to this: Standard=1234 (the ciphers from left to right define the color set, date, logo and user field.
Now you can add/modify your personal settings in the given sections:
[Color]
1=RRGBS
[Date]
2 = [#]
[Logo]
3 = No Logo!
[User]
4= No User, but
[*]
[/b]

Hope, that helps - oh, each character in the color setting from left to right: background when in user mode, admin mode, then the colors for the date, logo and user field. Each character represents a color (r=red and so on, there are also 0-9 for grey shades, *=random and #=random grey).
Little John
Addict
Addict
Posts: 4789
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Wallpaper board

Post by Little John »

Hi Michael,

thanks for your reply.
Michael Vogel wrote:
Little John wrote:But how can I change the background color, and how can I hide logo and user name?
[Logo]
3 = No Logo!
[User]
4= No User, but
[*][/b]
It seems there was a misundertanding. I only want to display a background color and the date, nothing else. Is that possible?

E.g. 3 = No Logo! shows the string "No Logo!". That's not what I want.
I also tried 3 =. That shows something that looks like a stamp.

Regards, Little John
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Wallpaper board

Post by MachineCode »

Michael Vogel wrote:which creates a wallpaper
You know this app will be useless on Windows 8, right? Metro = No more wallpaper apps.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
Michael Vogel
Addict
Addict
Posts: 2807
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Wallpaper board

Post by Michael Vogel »

Little John wrote:Hi Michael,

thanks for your reply.
Michael Vogel wrote:
Little John wrote:But how can I change the background color, and how can I hide logo and user name?
[Logo]
3 = No Logo!
[User]
4= No User, but
[*][/b]
It seems there was a misundertanding. I only want to display a background color and the date, nothing else. Is that possible?

E.g. 3 = No Logo! shows the string "No Logo!". That's not what I want.
I also tried 3 =. That shows something that looks like a stamp.

Regards, Little John
Two possibilities:
You get a small (empty) box using 3=[V]
You can put [t], [M] and [J] in different boxes (hint: gap and color settings should do the rest)

Michael
User avatar
Michael Vogel
Addict
Addict
Posts: 2807
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Wallpaper board

Post by Michael Vogel »

MachineCode wrote:
Michael Vogel wrote:which creates a wallpaper
You know this app will be useless on Windows 8, right? Metro = No more wallpaper apps.
Oh, my god - I even didn't know, I wrote an app. :twisted:

If you would have told me that some days earlier, I would never have written this program. I have to delete it now, and we should start removing all kind of code which won't make sense with Windows 8 to make the world cleaner :mrgreen:
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Wallpaper board

Post by MachineCode »

I was badmouthing Windows 8, not your app.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: Wallpaper board

Post by Kuron »

Michael Vogel wrote:I have to delete it now, and we should start removing all kind of code which won't make sense with Windows 8 to make the world cleaner :mrgreen:
Good thing Metro can be disabled on the desktop version of Windows 8, so we will be needing wallpaper for a long time to come.
Best wishes to the PB community. Thank you for the memories. ♥️
User avatar
Michael Vogel
Addict
Addict
Posts: 2807
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Wallpaper board

Post by Michael Vogel »

MachineCode wrote:I was badmouthing Windows 8, not your app.
Thank you, I will undelete all my files now :lol:
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Wallpaper board

Post by MachineCode »

Again Michael: I'm not saying anything is wrong with your app. I don't get your responses?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
Michael Vogel
Addict
Addict
Posts: 2807
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Wallpaper board

Post by Michael Vogel »

MachineCode wrote:Again Michael: I'm not saying anything is wrong with your app. I don't get your responses?
Comm'on, there was already a smiley in my posting, should I add some more? :) :D :lol:

Hope, now everything's ok again :wink:
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: Wallpaper board

Post by Kuron »

Fear the Duck!
Best wishes to the PB community. Thank you for the memories. ♥️
User avatar
Michael Vogel
Addict
Addict
Posts: 2807
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Wallpaper board

Post by Michael Vogel »

Kuron wrote:Fear the Duck!
Oh no, what have I done :shock:
Image

@Little John, everything ok for you, or should I make some changes to allow hiding unwanted boxes?
Post Reply