Away Status

Archived discussion about features (predating the use of Bugzilla as a bug and feature tracker)

Moderator: Moderators

Kenneth-Chile
Posts: 80
Joined: 2003-03-21 15:17
Location: Concepcion, Chile.

Away Status

Post by Kenneth-Chile » 2003-03-21 15:27

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.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Re: Away Status

Post by GargoyleMT » 2003-03-21 17:06

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?

Marvin
Posts: 147
Joined: 2003-03-06 11:56
Location: France

Post by Marvin » 2003-03-21 18:06

I like that :)

Marvin
Posts: 147
Joined: 2003-03-06 11:56
Location: France

Post by Marvin » 2003-03-21 18:08

On the left, maybe in bold red.

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 14:32

Post by Sedulus » 2003-03-21 19:00

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)

Kenneth-Chile
Posts: 80
Joined: 2003-03-21 15:17
Location: Concepcion, Chile.

Post by Kenneth-Chile » 2003-03-21 19:25

My preferences:

:arrow: Only the upperletter word: "AWAY" (no away message) like the CAP/NUM lock indicators in Word. (No "ONLINE" word, GargoyleMT is right)

:arrow: Normal words: No color, no bold.

:arrow: On the right side, before and beside the Slots avaible/used indicator.

Kenneth.

Marvin
Posts: 147
Joined: 2003-03-06 11:56
Location: France

Post by Marvin » 2003-03-22 00:17

Sedulus wrote:it will look ugly on some color schemes


Well, you're not supposed to see it, as you're away :wink:. I meant it as ugly as possible. It would help me to see it when I'm back!

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2003-03-22 01:17

Done. No color, capital "AWAY", etc.

I need to separate out some other patches to send to Arne too, this'll be in there.

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.

Kenneth-Chile
Posts: 80
Joined: 2003-03-21 15:17
Location: Concepcion, Chile.

Post by Kenneth-Chile » 2003-03-22 01:35

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 :wink: Why don'y initialy you write a four blank spaces word " " to create it from the beginning?

Kenneth

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2003-03-22 01:59

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... :grin:

[quoteA minor detail :wink: Why don'y initialy you write a four blank spaces word " " to create it from the beginning?[/quote]

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.

Post by Kenneth-Chile » 2003-03-22 02:16

GargoyleMT wrote:
Kenneth-Chile wrote:A minor detail :wink: Why 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.


:idea: 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) :)

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2003-03-22 05:25

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.

Jack
Posts: 4
Joined: 2003-01-19 11:23

Post by Jack » 2003-03-22 08:41

great lil' feature, good idea :)

Who is online

Users browsing this forum: Google [Bot] and 0 guests