Shoutbox

changing contact list highlight - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Skinning (/forumdisplay.php?fid=41)
+----- Thread: changing contact list highlight (/showthread.php?tid=80558)

changing contact list highlight by duck! on 12-31-2007 at 02:28 AM

I need help trying to change the highlight in the contact list, (when you click a contact and that box thing goes around it, to show you have clicked it) ive looked at other skins, but they didn't really help, ive made my 3 states, i just need to put them in, how would i go about doing this?


RE: changing contact list highlight by djdannyp on 12-31-2007 at 11:44 AM

ooh, yeah, this would also be pretty useful for me if i could edit the existing highlight to make it slightly see through, or just add in my own slightly see-through one

any ideas skinning gods? (A)


RE: changing contact list highlight by duck! on 12-31-2007 at 05:07 PM

Does anyone know?


RE: changing contact list highlight by stuartbennett on 12-31-2007 at 11:02 PM

refer to lines 1 - 33 of your 1004 styles and 1009 styles files which looks like this.

quote:
<Style ResID=clss>
Element
{
    FontFace:"MS Shell Dlg 2";
    FontSize:8pt;
    ContentAlign:MiddleLeft;
}
Element[id=atom(listitem)][selected]
{
    Background:rgb(0,0,0); // 210,234,246
    Foreground:rgb(255,255,255); // 0,0,0
}
Element[id=atom(listitem)][selected][windowactive=false]
{
    Background:rgb(0,0,0); // 228,228,228
    Foreground:rgb(255,255,255); // 0,0,0
}
Element[id=atom(listitem)][selected][keyfocused=false]
{
    Background:rgb(0,0,0); // 228,228,228
    Foreground:rgb(255,255,255); // 0,0,0
}
Element[id=atom(listitem)][selected][indrag]
{
    Background:rgb(0,0,0); // 210,234,246
    Foreground:rgb(255,255,255); // 0,0,0
    Alpha:128;
}
Element[id=atom(listitem)] // this element has been added in
{
    Background:argb(0,0,0,0); // added in
    Foreground:rgb(255,255,255); // 0,0,0
}


that code is from our easter theme and is used to put a highlight with a black background with white text, do this in both the 1004 and 1009 styles files which for the most part are layed out almost identically and your ready to go.

danny and duck i hope that this helps you, im only assuming this is right based on the name listitem as it sounds like the right thing but to be 100% certain check with freak544 as he coded this element into several of our themes in our skin.
RE: changing contact list highlight by duck! on 12-31-2007 at 11:32 PM

Thanks, ive now done that, i also added some cool animation things to it :P


RE: changing contact list highlight by stuartbennett on 12-31-2007 at 11:39 PM

cool glad i was able to help, you see i knew it was black with white text on it so just looked for any code that had those 2 colours together, i just got lucky that it was the first block of code in the file lol.

danny in the code above we used simple rgb but if you use argb instead thatll enable you to set the level of transparency to make the highlighter partly transparent i hope that helps.


RE: changing contact list highlight by djdannyp on 01-01-2008 at 01:06 AM

wicked, yeah, i just needed to add an alpha tag to those elements.

can i just ask why 1004 and 1009 are both needed?  i've only changed 1009 in my skin (both for contact list font, and for this highlighting transparency) and both things seem to have worked fine without the 1004 file included


RE: changing contact list highlight by stuartbennett on 01-01-2008 at 09:41 AM

click the 2 arrows button on your word wheel and select show contact details youll get a different version of your contact list show up 1009 is one version 1004 is the other by doing the same changes to both no matter which contact list style your users prefer they will still be able to enjoy the design you made.


RE: changing contact list highlight by vaccination on 01-01-2008 at 02:11 PM

djdannyp: 1004 = "Show contacts' details" enabled
              1009 = "Show contacts' details" disabled (or, the default view :P)

If their both the same though they'll match so ;p


RE: changing contact list highlight by djdannyp on 01-01-2008 at 04:05 PM

yeah, i realise that now

i've added in 1004 to my skin now.  it's one of the changes that'll come with version 1.1


RE: changing contact list highlight by stuartbennett on 01-01-2008 at 05:05 PM

look forward to it danny


RE: changing contact list highlight by freak544 on 01-01-2008 at 09:43 PM

Yeah that was the correct part stuart (y)