Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Health and prayer indicators in tray #1340

Closed
DRAGINZAk opened this issue Apr 9, 2018 · 17 comments
Closed

Health and prayer indicators in tray #1340

DRAGINZAk opened this issue Apr 9, 2018 · 17 comments

Comments

@DRAGINZAk
Copy link

DRAGINZAk commented Apr 9, 2018

Well there are some afk killing spots and would be nice to see your HP while game is minimized, for example :
https://imgur.com/a/hXc6v
Maybe even show your prayer also. 馃憤
P.S. I'm not really into clients etc. so I don't even know if it's possible (Smiling Face With Open Mouth And Smiling Eyes, but with a single drop of sweat on one side of the face).

@DRAGINZAk DRAGINZAk changed the title New feature idea New feature idea. #1337 Apr 9, 2018
@DRAGINZAk DRAGINZAk changed the title New feature idea. #1337 New feature idea. Apr 9, 2018
@SoyChai
Copy link
Contributor

SoyChai commented Apr 9, 2018

Love the sound of this! Great idea.

Although the specific concept you've mocked up might not be possible without some ugly Windows voodoo, we could use Windows' native progress bars that are displayed on top of taskbar programs when they're doing things like downloading a file.

@LeviSchuck
Copy link
Contributor

Implementing the suggested view would require OS-specific development.

Something easier would be a always-on-top window powered with a canvas. It could be updated on events or with a scheduled method.

@deathbeam deathbeam changed the title New feature idea. Health and prayer indicators in tray Apr 9, 2018
@deathbeam
Copy link
Member

deathbeam commented Apr 9, 2018

i don't really like the always on top window, as that can only work for Windows, it would be terrible behaviour for Linux and OSX (probably also for Windows). We could probably do what OSB does and display it as tray icon, even though I always found that feature pretty ugly.

@SoyChai
Copy link
Contributor

SoyChai commented Apr 9, 2018

I actually think Levi's suggestion escalates this idea to a whole new level, because that kind of window could display all kinds of useful afk'ing information.

@deathbeam
Copy link
Member

Yeah but the implementation of the idea is not very good

@LeviSchuck
Copy link
Contributor

Do we have a precedent for including native tools in runelite?

In mac at least, a full screen app hides the tool bar, so an indicator there would be pointless.
I would probably put it on another screen where I have my music player (not full screen)

@zeruth
Copy link
Contributor

zeruth commented Apr 9, 2018

Yeah this is a pain, and would differ from OS to OS unless we wrote out own. I bet you we don't even have cross platform SystemTray support yet.

@deathbeam
Copy link
Member

Actually, we do, well, Java have. Current tray icon is pretty cross-platform.

@LeviSchuck
Copy link
Contributor

Can it be more than just a square icon of the RL logo?

@deathbeam
Copy link
Member

You can set w/e icon you want

@SoyChai
Copy link
Contributor

SoyChai commented Apr 9, 2018

RuneLite's current icon isn't even a square, so there's your answer 馃憛

@LeviSchuck
Copy link
Contributor

My point is, can we use something more than a 2D square sprite?

@deathbeam
Copy link
Member

You can only use image. But, you can create the image programatically.

@SoyChai
Copy link
Contributor

SoyChai commented Apr 9, 2018

The icon could be a rotating image of a 3D object if we wanted, depending on how often the OS lets you update it.

@LeviSchuck
Copy link
Contributor

It looks like the tray icon is not always supported in linux from java (despite Telegram and discord having tray ui). Having alternative methods would be necessary for me.

@deathbeam
Copy link
Member

For me the tray icon works perfectly on Linux. Probably it's dependant on your tray implementation too. Alternative methods suggested in this thread are bad idea to implement.

@Enriath
Copy link
Member

Enriath commented Feb 2, 2021

From what I can tell, this is currently supported with the Tray Indicators hub plugin

@Enriath Enriath closed this as completed Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants