help with converting jdesk into desktop2 Thread last updated on 2003-11-16 18:50:41

Posted by member 58182 on 2003-11-16 01:19:16

Ok, I am trying for an effect that was used in a theme that was using the jdesk module. (theme is called recoil)

its a systray effect where he defined this code.

;-----Systray-----

SystrayBitmap "systray.bmp 18,0,0,0"

SystrayX -4
SystrayY -23
SystrayAlwaysOnTop
SystrayAutoSize left
SystrayDirection left
SystrayIconSize 17
SystraySpacingX 2
SystraySpacingY 4


--------------------

Now the problem I am haveing is that desktop2 doesnt seem to allow the 18,0,0,0 inside the systray bitmap quotes. How do I achieve the same effect?

(the effect was that the systray bitmap was set at a spot, and when a new systray icon was added, it grew or shrank depending.)

Posted by member 182 on 2003-11-16 10:25:06 link

i er, don't see how that has a thing to do with a desktop module.

the extra numbers after the systray bitmap are defining a border, more specifically it's telling the tray to stretch it's background but keep the 18 pixels to the left as are.

i think the commands have changed since recoil was released - check out the systray2 docs.

Posted by member 58182 on 2003-11-16 13:46:09 link

I have, it doesnt say anything about defineing the bitmap.

Posted by member 37809 on 2003-11-16 15:08:08 link

that looks like config for systray version 1

Posted by member 182 on 2003-11-16 18:50:41 link

(taken from systray2.html)

SystrayBorderLeft [NUMBER] Defines the border width in pixels for the left side of the Systray.

Default: 0 pixels.
SystrayBorderRight [NUMBER] Defines the border width in pixels for the right side of the Systray.

Default: 0 pixels.
SystrayBorderTop [NUMBER] Defines the border width in pixels for the top side of the Systray.

Default: 0 pixels.
SystrayBorderBottom [NUMBER] Defines the border width in pixels for the bottom side of the Systray.

Default: 0 pixels.