Away Status
Moderator: Moderators
-
Kenneth-Chile
- Posts: 80
- Joined: 2003-03-21 15:17
- Location: Concepcion, Chile.
Away Status
Can you create a little status box (AWAY or ONLINE) beside Slots and DL/UL Status? Sometimes, I don't Know my last status and it's more comfortable to read it that typing /away or /back.
Thanks.
Thanks.
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Re: Away Status
This seems like a nice little change. What if it only shows "Away" if you're away, and nothing if you're not? (ie. like the CAP/NUM lock indicators in Word) Were you just envisioning Online = the opposite of Away? (If not, it might not make too much sense if you have multiple hubs open, and one is disconnected.)
There'd be no mention of away message, which would be good. Where would you position it in the status bar? All the way on the left?
There'd be no mention of away message, which would be good. Where would you position it in the status bar? All the way on the left?
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
no colors please, it will look ugly on some color schemes
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
Kenneth-Chile
- Posts: 80
- Joined: 2003-03-21 15:17
- Location: Concepcion, Chile.
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
-
Kenneth-Chile
- Posts: 80
- Joined: 2003-03-21 15:17
- Location: Concepcion, Chile.
GargoyleMT wrote:Done. No color, capital "AWAY", etc.
I need to separate out some other patches to send to Arne too, this'll be in there.
Wow ..great...so fast!
GargoyleMT wrote:The only oddness is that the 6th division on the bottom will not show up until you set your status to Away. Then it'll be resized and show up.
A minor detail
Kenneth
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Kenneth-Chile wrote:Wow ..great...so fast!
It's not an involved change, only 5 or 9 lines. Plus, it's something I will appreciate too, so...
[quoteA minor detail
Good suggestion. Due to the variable width font that my system uses, I couldn't use create a blank string with the size of the "AWAY" string (it's in a string table so it can be localized to other languages), I had to use one twice the size. It's pretty close that way, at least.
-
Kenneth-Chile
- Posts: 80
- Joined: 2003-03-21 15:17
- Location: Concepcion, Chile.
GargoyleMT wrote:Kenneth-Chile wrote:A minor detailWhy don'y initialy you write a four blank spaces word " " to create it from the beginning?
Good suggestion. Due to the variable width font that my system uses, I couldn't use create a blank string with the size of the "AWAY" string (it's in a string table so it can be localized to other languages), I had to use one twice the size. It's pretty close that way, at least.
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Kenneth-Chile wrote:Another idea, create it initialy in AWAY, then change it inmediatly(next instruction) to blank. That pair of instructions will be invisible for users(miliseconds)
Well, I did a little bit better than that. I copied some of the code for the auto-sizing of the parts of the status bar, and I set the width of that segment when the status bar is created (so I never had to set any text in it to get the correct size).
I included this in an email to Arne just now. If he has problems with how I implemented it, he'll let me know.
Who is online
Users browsing this forum: Google [Bot] and 0 guests