aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: icons in tray entries  (Read 7873 times)

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
icons in tray entries
« on: July 17, 2009, 12:23:16 AM »

Is possible to have icon with each options in tray icon?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: icons in tray entries
« Reply #1 on: July 17, 2009, 08:21:45 AM »

Could you please explain this with an example? I'm not sure what you mean.
Logged

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
Re: icons in tray entries
« Reply #2 on: July 20, 2009, 09:13:48 PM »

I don't know if wxwidget permit it, but would be nice to see "images" in tray icon options.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: icons in tray entries
« Reply #3 on: July 20, 2009, 09:26:12 PM »

I'm sorry, I don't know what you mean with "tray icon options". Could you describe this further or add a picture?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: icons in tray entries
« Reply #4 on: July 20, 2009, 09:43:27 PM »

I believe (s)he wants icon enhanced tray menu entries. Like right-click on tray icon, and the appearing menu has small descriptive icons besides the entries.
Logged
concordia cum veritate

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: icons in tray entries
« Reply #5 on: July 20, 2009, 09:49:32 PM »

Oh, please excuse me for not understanding. In retroperspective, this is clear.

To answer your question: wxwidgets allows adding images to menus. (ref) This works only on Gtk+ and Windows, though.
Logged

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
Re: icons in tray entries
« Reply #6 on: July 21, 2009, 07:42:26 PM »

gtk+?
this mean that all should be rewritten to support gtk?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: icons in tray entries
« Reply #7 on: July 21, 2009, 07:50:03 PM »

Well, wxWidgets use different graphical libraries on each platform.

For Mac, there's wxMac using Carbon and in development wxCocoa using Cocoa. According to the wx documentation, neither of these libraries support adding bitmaps to menus.

On Linux, wxWidgets uses GTK+ to display all elements like buttons, text fields, and so on. This means the programmer writes the code for wxWidgets and wxWidgets uses GTK+ to display everything.

On Windows, wxWidgets uses the Windows API. Applications written with wxWidgets look exactly like other Windows Application.

wxGTK (Linux and GTK+)and wxMSW (Windows) support images in a menu.
Logged

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
Re: icons in tray entries
« Reply #8 on: July 23, 2009, 02:10:41 AM »

ok, nice, I think that for now we could make icons on Linux no?  :P
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: icons in tray entries
« Reply #9 on: July 23, 2009, 09:46:05 AM »

It's possible, but no promises. You're always free to provide a patch, though. :)
Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: icons in tray entries
« Reply #10 on: July 23, 2009, 12:48:45 PM »

Hehe, I usually don't expect people to provide a solution after them posting a request in this section. But it would be nice, no doubt about that.

My question is: Fabioamd87 do you have any examples or preferences how these icons should look like?
Logged

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
Re: icons in tray entries
« Reply #11 on: July 23, 2009, 04:47:06 PM »

IMHO the option "shouw" should be deleted,
anyway icon "exit" are common in the desktop manager icon set.
disconnect can be the same as amule theme.
and the first option? called "amule 2.2.5" What it does? Nothing...
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: icons in tray entries
« Reply #12 on: July 24, 2009, 12:56:33 AM »

It's not an option, it's the menu title.

Adn removing "Show" would be disastrous in a lot of ways for a lot of people...
Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: icons in tray entries
« Reply #13 on: July 25, 2009, 12:51:32 AM »

and the first option? called "amule 2.2.5" What it does? Nothing...
That text let's you associate the menu with the application. It's there for every context menu in aMule too.
Perhaps something like this is what you desire: click to see context menu.
Logged

Fabioamd87

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 78
Re: icons in tray entries
« Reply #14 on: May 27, 2010, 12:37:40 PM »

yes.
Logged