Aqua-Soft Forums: [help] Y'z Dock Backgound - Aqua-Soft Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[help] Y'z Dock Backgound

#1 User is offline   raduking Icon

  • Group: Developers
  • Posts: 670
  • Joined: 28-November 03

Posted 11 March 2005 - 01:57 PM

would somebody please explain to me how exactly the Y'z Dock background works ?
some images would be very helpfull too...
maybe even a link to a tutorial or something...

thank you.
0

#2 User is offline   lostspyder Icon

  • Group: Member
  • Posts: 1,946
  • Joined: 19-July 03

Posted 11 March 2005 - 05:01 PM

Well afaik you have an image and you set margins on the top bottom left and right. This is the margins that dont get streched or tiled (choses in the ini file). The middle part is the part that either gets tilled or streched.

The seperator is simmilar. Hope this helps if any.

ps rklauncher roxors!!11!!11
0

#3 User is offline   lostspyder Icon

  • Group: Member
  • Posts: 1,946
  • Joined: 19-July 03

Posted 11 March 2005 - 05:46 PM

Ok im gonna go a little moe in debth.
ini example file:

[Panel]
Image		= bg.png   << file name for background image
MarginLeft = 2 <<check attachment for meaning of this this is the margin INSIDE the dock IE a boarder, likewise for the top and borrom and right.
MarginTop	= 1
MarginRight  = 2
MarginBottom = 1
OutsideMarginLeft   = 16 << This is the margine outside the dock, ie a shadow or the like
OutsideMarginTop	= 8
OutsideMarginRight  = 16
OutsideMarginBottom = 16
; FillMode: tile or stretch. when not specified, 'tile' will be used.
FillMode = stretch  << defines weither smaller images are tilled or streched

[Separator]
Image		= sep.png << file name for seperator image
MarginTop	= 2 <<top margin that doesnt get streched
MarginBottom = 2 <bottom margin that doesnt get streched

Attached File(s)


0

#4 User is offline   raduking Icon

  • Group: Developers
  • Posts: 670
  • Joined: 28-November 03

Posted 14 March 2005 - 12:08 PM

is it ok for you guys if I do it the same way in RK Launcher ? :D
0

#5 User is offline   duyvan82 Icon

  • Group: Member
  • Posts: 1,975
  • Joined: 21-December 03

Posted 14 March 2005 - 12:20 PM

it's more than OK dude :D :D :D
thanks again for the hard work mate
0

#6 User is offline   steelfist Icon

  • Group: Member
  • Posts: 1,084
  • Joined: 03-August 04

Posted 14 March 2005 - 12:32 PM

i feel you should do that. :D
0

#7 User is offline   raduking Icon

  • Group: Developers
  • Posts: 670
  • Joined: 28-November 03

Posted 18 March 2005 - 01:58 PM

if it's how you say it is then why do these extra pixels appear there ?
(check the screenshot)

Attached File(s)


0

#8 User is offline   mattahan Icon

  • Group: Member
  • Posts: 15
  • Joined: 09-November 02

Posted 19 March 2005 - 01:12 AM

that's the margin (marginleft, marginright, etc.)

raduking said:

if it's how you say it is then why do these extra pixels appear there ?
(check the screenshot)

0

#9 User is offline   raduking Icon

  • Group: Developers
  • Posts: 670
  • Joined: 28-November 03

Posted 19 March 2005 - 03:01 AM

mattahan said:

that's the margin (marginleft, marginright, etc.)

no it's not...
the marginLeft, marginRight, etc are only 2 pixels wide
there are at least 3 additional pixels between the margin and the dock item.

is that a value Y'z Dock automatically sets ?
0

#10 User is offline   k_dash Icon

  • Group: Member
  • Posts: 97
  • Joined: 18-September 03

Posted 03 April 2005 - 01:40 PM

can someone explain how the 'import Y'z background' work?
0

#11 User is offline   ragnorokk Icon

  • Group: Member
  • Posts: 3
  • Joined: 13-April 05

Posted 13 April 2005 - 10:55 AM

raduking said:

no it's not...
the marginLeft, marginRight, etc are only 2 pixels wide
there are at least 3 additional pixels between the margin and the dock item.

is that a value Y'z Dock automatically sets ?


If Yz sets the normal 0 value to a few pixels, shouldn't you be able to use negative numbers to accomplish the perfect border? Like, if you set 0, and there are like 3pixels, why not try -3? Dunno if that would work, but I spose it might be worth looking at.
0

#12 User is offline   k_ayne Icon

  • Group: Member
  • Posts: 49
  • Joined: 06-April 05

Posted 20 April 2005 - 05:41 AM

Glad I found this thread. I've got quite a few Y'z BG's that I'm trying to convert to RKlauncher, But something is going wrong. Here's what happens when I try and convert a Y'z BG to a RKL one :

http://www.aqua-soft...ntid=5375&stc=1

This was the GFXOasis Y'z dock BG but as you can see the inside of the dock is hollow. This was the original Y'z Code for it :
[Panel]

Image		= bg.png

MarginLeft   = 7

MarginTop	= 7

MarginRight  = 7

MarginBottom = 7

; FillMode, when not specified, 'tile' will be used.

FillMode = stretch



[Separator]

Image		= sep.png

MarginTop	= 2

MarginBottom = 2


I tried to compare this with the way RKlauncher does it and came up with this :
[Description]



name = GFX



[Background]



Image		= bg.png



outsideMarginLeft = 20

outsideMarginTop = 14

outsideMarginRight = 22

outsideMarginBottom = 24



MarginLeft   = 7

MarginTop	= 7

MarginRight  = 7

MarginBottom = 7



; FillMode, when not specified, 'tile' will be used.

FillMode = stretch



[Separator]



image = sep.png



marginTop = 2

marginBottom = 2



[Indicator]



image = mark.png



[Poof]



image = poof.png


And also like this :
[Panel]

Image		= bg.png

MarginLeft   = 2

MarginTop	= 1

MarginRight  = 2

MarginBottom = 1



; FillMode, when not specified, 'tile' will be used.

FillMode = stretch



[Separator]

Image		= sep.png

MarginTop	= 2

MarginBottom = 2


I leant from Lostspyder that one margin set defines the outside and the other the inside. However, I still can't get any background to show up on the inside. Does anyone know where I'm going wrong?
Any help would be great. Thanks.

PS: I even tried just copying the Y'z ini into the RKL theme folder and changing the extension to .CONFIG but still get the hollow effect.

Attached File(s)


0

#13 User is offline   Magnus Wild Icon

  • Group: Member
  • Posts: 1,118
  • Joined: 22-December 02

Posted 20 April 2005 - 04:19 PM

it prolly have something to do with the background png beeing smaller then the amount of pixels in your ini...
0

#14 User is offline   k_ayne Icon

  • Group: Member
  • Posts: 49
  • Joined: 06-April 05

Posted 20 April 2005 - 05:42 PM

Any ideas how I would go about getting the right sizes for the PNG ??
0

#15 User is offline   Stevie1 Icon

  • Group: Member
  • Posts: 132
  • Joined: 21-May 04

Posted 29 April 2005 - 10:28 PM

hmm i dont understand either why these PNGs look so strange...
0

#16 User is offline   Ellada Icon

  • Group: Member
  • Posts: 1,429
  • Joined: 03-April 05

Posted 10 May 2005 - 03:33 AM

raduking said:

if it's how you say it is then why do these extra pixels appear there ?
(check the screenshot)



Isn't that a Y'z Dock running indicator?
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic