It is currently Tue May 21, 2013 7:07 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Wallpaper board
PostPosted: Sat Mar 17, 2012 8:12 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 1716
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...


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Mar 18, 2012 3:59 am 
Offline
Addict
Addict

Joined: Fri Oct 23, 2009 2:33 am
Posts: 2852
Location: Wales, UK
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.


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Mar 18, 2012 7:25 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1570
Location: Berlin, Germany
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

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Mar 18, 2012 10:10 am 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 1716
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 [*]


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).


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Mar 18, 2012 12:40 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1570
Location: Berlin, Germany
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 [*]

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

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Mar 18, 2012 12:49 pm 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1459
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!


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Mar 18, 2012 1:48 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 1716
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 [*]

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


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Mar 18, 2012 2:12 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 1716
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:


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Mar 18, 2012 3:15 pm 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1459
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!


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Mar 18, 2012 3:39 pm 
Offline
Addict
Addict

Joined: Sat Oct 17, 2009 10:51 pm
Posts: 919
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.

_________________
If you are new to PB you should check out the CodeArchiv. It has examples for almost everything you would want to do in PB.


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Mar 18, 2012 8:40 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 1716
MachineCode wrote:
I was badmouthing Windows 8, not your app.


Thank you, I will undelete all my files now :lol:


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Mar 18, 2012 11:10 pm 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1459
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!


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Mon Mar 19, 2012 8:41 am 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 1716
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:


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Mon Mar 19, 2012 10:00 am 
Offline
Addict
Addict

Joined: Sat Oct 17, 2009 10:51 pm
Posts: 919
Fear the Duck!

_________________
If you are new to PB you should check out the CodeArchiv. It has examples for almost everything you would want to do in PB.


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Tue Mar 20, 2012 8:15 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 1716
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye