Switch to the dark side!
Litestep

Litestep

Latest Discussion
3 weeks ago
2 months ago
3 months ago
4 months ago
More...

Post a new topic



xlabel question + xpainclass help

3087
ambulance says:

okay 2 things. ive been working on a personal litestep and i can't for the life of me get the 'onenter !showlabe' or even the 'onleftclick !labelshow' any combination of those to work for 2 xlabels. what i want to do is have my time label always show, but onenter have it show the date. what is the code for this and does there need to be an order in which i put this in my theme.rc?

secondly, i havent fully crossed over to xpaintclass but id really like to, i just have no clue on how to do that :p is there some BETTER readme than the one that comes with the dll? or is there a simple theme.rc that i can take a look at to get the idea of how it works? i messed around with it a little, but im only mediocre at this litestep stuff :p so i probably go round in circles with my theme.rc just to get things just right. how do you set an image in xlabel with xpaintclass?

04:12 pm, Tuesday, January 22, 2008 (1 year ago)
1429
uac marine says:

XXXonenter !labelsettext XXX "[date('dd.mm')]"
XXXonleave !labelsettext XXX "[time('i:nn')]"

XXXpaintingmode ".image"

04:55 pm (1 year ago)
3087
ambulance says:

okay. hmmm, that worked. thanks. i was trying with two different labels. was actually using your axonkolor LS and the doc's to figure it out. ha.

is there any documentation you can link me to, to help understand global/xpaintclass? my xtaskbar is a solid black color, how would i avoid using an image to paint it just the black color?

05:21 pm (1 year ago)
1429
uac marine says:

xtaskbarpaintingmode ".singlecolor"
xtaskbarcolors 000000

I think the xdocs can be of great help if you want to learn it. there's every code and you can try out what it does. (http://www.xdocs.ls-universe.info/pie.php?xPaintTexture)
but I believe the readme you speak of is actually taken out of the xdocs so..

you could just download any xpaintclass theme and look how it works.

05:29 pm (1 year ago)
3087
ambulance says:

yeah, ive been looking at a few and its pretty much the same, just a few options also get changed. i also have another problem. and i have no clue whats causing it.

http://i28.tinypic.com/2zqt2c7.jpg

this is overlapping everything on my desktop and im not exactly sure what it is. it only shows up when i start using xpaintclass. i think the only module that is running xpaintclass right now as well is xlabel so im not sure what this is.

05:43 pm (1 year ago)
3087
ambulance says:

actually, i got that to go away, that was a stupid mistake on my part.

05:48 pm (1 year ago)
3087
ambulance says:

ugh, i guess not. upon refreshes it comes back. im not sure exactly what it causing this, im guessing either rainmeter or something is whacked with my xpaintclass code. now its turned into a black box instead of the color of my wallpaper. any ideas on what this could be?

im also having a problem with my winamplsboxhook. i have it set as .singlecolor and then 'backX 0' and its still like 50 pixels to the right of the far left part of my screen. why is it doing this? let me know if you need any more information about that part

10:20 pm (1 year ago)
3087
ambulance says:

ugh. hm, nevermind the lsboxhook part for now. i might have figured it out. most likely me not paying attention again, but of course i could be wrong again :p

11:00 pm (1 year ago)
3087
ambulance says:

okay, so i still have the box problem and now im wondering how to get lsslider and the position locked in my box without crashing my litestep :-D

does lsslider work with the xpaintclass and new xlabels?

seems like im writing a journal or talking to myself here :D

11:20 pm (1 year ago)
1384

First of all, about this part:
"im also having a problem with my winamplsboxhook. i have it set as .singlecolor and then 'backX 0' and its still like 50 pixels to the right of the far left part of my screen. why is it doing this?"

what is the name of the label?
is it winamp?
or is it back?

it should be (name)X 0

its always (name)(setting) (value)

11:43 pm (1 year ago)
1384

Now about this part:
"does lsslider work with the xpaintclass and new xlabels?"

Aparently not.
Can lsslider be hooked?
Are you using the latest version?
Are you even using the right module for what you want? (What do you want anyway?)

11:45 pm (1 year ago)
3087
ambulance says:

i fixed the first part you talked about, it had something to do with the lsslider.

this is what my code looks like just to make things simpler. using lssliderfoo-1.85

*BackModuleHook !SliderHook "Position" 40 -27 0 position.png grabber.png HI [winamp] 0

is their any other way to get a progress bar besides lsslider?

11:52 pm (1 year ago)
3087
ambulance says:

ugh i hate myself sometimes. i think i finally figured everything out. i am done for the day, but tomorrow im going to be adding a few things to my config im sure ill have more questions tomorrow about different stuff.

to go ahead and get things started however. i believe pepij had a config along with sunmoon or whatever his name was with animated labels? what is needed to do that. what docs should i look at in order to have labels slide in and out?

12:26 am (1 year ago)
1384

uhm, you can add animation to resize and move bangs, eg:
!labemmove back x y animationsteps animationtime

search the docs for "animation"

...

03:03 am (1 year ago)
3087
ambulance says:

hm, so im still having problems with that box thing that i mentioned and screenshotted above. the way ive fixed it (temporarily, for when i restart litestep itll come back) is by editing the theme.rc. i have to save and refresh litestep so that one of my labels doesnt have the paintingmode. then put the painting mode back in htere and save>refresh and its gone. is there any idea on what this could be?

01:13 pm (1 year ago)
3087
ambulance says:

okay, so i looked in the xdocs and it has what im looking for, but im not sure about the syntax. would this be correct? i marked x's where im not sure about the syntax,

ButtonOnLeftClick !LabelMove Menu -213 -360 [(xx) (xx)]

im guessing you just have to put a number for the 2nd xx's but what does 'steps' mean? sorry if thats a stupid question. would that be the correct syntax though?

05:32 pm (1 year ago)
3087
ambulance says:

alright. i got it to work :D. i think ive finally got the hang of this, and i actually updated my theme to xpaintclass thanks fractal and uac for your help and i might be coming back for a few more things at some point :p thanks again guys!

12:08 am (1 year ago)
1384

Animation steps and time explained:
Lets say you are moving a label from across 100 pixels (from x 0 to 100)
The Steps parameter determines how many times the label will be redrawn between x 0 and 100.

For example lets say the steps parameter is 5. The means every 100/5 (20) pixels the label will be redrawn there (and remain there for the animation time parameter)

Yeah?

12:18 am (1 year ago)
3087
ambulance says:

yeah, i figured that once i figured it out and messed with the code a bit. now im getting a problem again. when i hook images to the menu and have it animated, the menu becomes all black. im guessing that is just a bug with the xlabels? is there any way to have a label hooked with lsbox animated or is this just something i have wrong in my code?

01:19 am (1 year ago)
3087
ambulance says:

oh yeah, if i use an overlay image instead of an actual label? will that work? is it possible to 'hook' that to an existing module? if so how would THAT syntax be done :p

01:35 am (1 year ago)
3087
ambulance says:

ok, that was late at night and i should probably clarify something. it doesnt become black just when you hook modules. what i have is a label that is set at x=-0 aka offscreen. when i press the start button i want it to slide into focus. since its offscreen however, when it slides in it is all black. this only happens when there are lables hooked to it though. is there any way to get around this happening. apparently its not drawing the xlabel since its offscreen or something? and because of that it slides onto my screen all black.

03:08 pm (1 year ago)
1384

0.o ok...

About the last question, I dunno.
So its on the right side of the screen, but so far right that it is offscreen?
hmmm.
Maybe just hide it, then move it to the offscreen position, then show it, then slide it?

I dunno chum, just try different stuff (messing with the hooked label might work, like !labelupdate ing it or something?)

11:38 pm (1 year ago)
3087
ambulance says:

yeah, ive tried some of that stuff already, !labelupdate on hover and shit like that the thing is its already black when it slides on. i mean im not really sure what to do. i thought maybe try vwm and just have it sit on another virtual window that i dont use and have it slide in. that didnt work lol. im really stuck on this though. im pretty positive pepij got this to work somehow i might just PM him and hope he messages me back but other than that i really have no clue on how to get it to work. i posted my problem on some other sites. the one andymon frequents i think ls universe? hopefully hell see it and give me an answer.

12:11 am (1 year ago)
 
   Arrow_up_small Top

Reply to this topic

You must register and become a member to post a reply.