Latest Forum Posts
Wolzly on 07 Nov : 06:09
Here's my theme.rc to see if[more]

Backslash on 07 Nov : 03:25
bump?

and i[more]

photofx on 06 Nov : 19:56
no, none of the labels are a[more]

dac on 06 Nov : 14:05
I seem to have the same proble[more]

ElkMonster on 06 Nov : 14:00
also as far as i've had a look[more]

Backend
Our headlines can be syndicated by using either our rss or text feeds.
news.xml - news.txt





 
The Litestep Site for News, Modules, Sources, and all the other stuff around Litestep.

 
 
   
LS-Universe.info -> Forums -> Modules -> xTaskbar Exported Variables, are there any?
xTaskbar Exported Variables, are there any?
<< Previous thread | Next thread >>  
Author Post
Wolzly
Thread: xTaskbar Exported Variables, are there any?
             Tue Oct 12 2004, 07:12AM

Registered Member #22
Joined Thu May 06 2004, 08:32AM
posts 63
Specifically something like $NumberOfButtons$ is what I need.

I don't see a section in the docs for "exported variables" so I was just curious if they exist for this module .

Reason why I ask is I want to be able to switch between an icon-only and an icon-with-text taskbar mode without recycling, and to do that there's some !xTaskbarResize that needs to get done. Only problem is I have no way of knowing what to resize it do, since there's a missing variable
Back to top
Cerbie
Thread: xTaskbar Exported Variables, are there any?
             Tue Oct 12 2004, 08:55AM

Registered Member #26
Joined: Fri May 14 2004, 05:32AM
posts 123
Get some sleep or some coffee . They're in the docs under "Exported Variables"

# $xTaskbarCurrentX$
The current horizontal position of the taskbar.

# $xTaskbarCurrentY$
The current vertical position of the taskbar.

# $xTaskbarCurrentWidth$
The current width of the taskbar.

# $xTaskbarCurrentHeight$
The current height of the taskbar.

# $xTaskbarCurrentButtonCount$
The current count of DISPLAYED buttons in the taskbar.

# $xTaskbarCurrentLines$
The current lines/rows of the taskbar.

# $xTaskbarHoverTask$
The current TaskTitle under the Mouse, if you are IN THE TASKBAR otherwise empty.
Back to top
Smurth
Thread: xTaskbar Exported Variables, are there any?
             Tue Oct 12 2004, 04:24PM
Registered Member #7
Joined: Fri Apr 30 2004, 04:35AM
posts 41
Well, it seems there's a bug with the "$xTaskbarCurrentButtonCount$" value: in fact, this returned value is always "one count before".

To have the real count value, you have to fix it in a way like this:

xtaskbarOnAdd !exec !varset TaskbarTiles %#xTaskbarCurrentButtonCount+1%#

xtaskbarOnRemove !exec !varset TaskbarTiles %#xTaskbarCurrentButtonCount-1%#
Back to top
Cerbie
Thread: xTaskbar Exported Variables, are there any?
             Tue Oct 12 2004, 05:19PM

Registered Member #26
Joined: Fri May 14 2004, 05:32AM
posts 123
Yes, or use a timer. Even 5ms always seems to be enough for the value to be updated.
Back to top
Andymon
Thread: xTaskbar Exported Variables, are there any?
             Wed Oct 13 2004, 02:00PM

Joined: Thu Apr 29 2004, 08:25PM
posts 179
This isn't true, but it's definitly a existing problem. The problem is that the value isn't already updated before "xtaskbarOnAdd" or "xtaskbarOnRemove" is fired. So I think I'll fix this with the next version.
Back to top

Quick Reply:

 

Jump:     Back to top



Chatbox



GothsSecret
   on 02 Nov : 19:54
hehe doin my best


Wolzly
   on 01 Nov : 18:54
ROFL!

You guys never fail to entertain


GothsSecret
   on 01 Nov : 15:47
oh.. sorry to those 2 online ppl, Just fucked up the site for a short mement


Backslash
   on 01 Nov : 06:00
xPopup 1.0.8 ROCKS!


Juan Guillermo
   on 31 Oct : 23:46
Thanks a lot for your GREAT work guis , xmodules are transforming the Litestep shell in a much more fancy/varsatile thing.


AngelKnight
   on 30 Oct : 16:44
^_^


Backslash
   on 29 Oct : 00:54
>Andymon - woot!
>GothsSecret - If necessary, you could probably reduce the gaps between the center and the sides, for those with lower resolutions (not me, I'm at 1280x1024!).


Andymon
   on 28 Oct : 13:02
Just wanna tell:
HighColor(16bit) is coming for all xModules in the near future, finally.


GothsSecret
   on 28 Oct : 11:47
hehe, now I like it too, I wassn't sure if it'll look good if we put a second menu right handed but now it's ok, so no need for a complete change anymore


BobixLeSage
   on 28 Oct : 11:34
Hello everyone!
This layout is just fine, don't get why you want to change it?!









© by LS-Universe.info