Description:

A simple volumes mixer.

With this version, you can change these volumes:

- Main
- PCM
- CD
- Microphone

I wanted to allow user to click and drag the volume bars, but it seems there is a bug in superkaramba (in mouse move callback, button always equals to 0)

The background and colors were made to fit with The Space Age-001

skip0110

12 years ago

I modified this to match the TDE style.

Replace the following files in the images directory:
bar.png http://xs21.xs.to/pics/05125/bar.png

bg.png http://i147.exs.cx/img147/7318/bg1aq.png (change file name to bg.png)

Also change the color=x,y,z lines to color=0,0,0 in the theme file.

Report

p0z3r

13 years ago

I'd be curious to see how you were trying to use this. Do you have a copy of the file with that usage that didn't work? I noticed there was nothing commented in your current download as to what you were trying to do. If you can, send me an email with it attached or stop into IRC tonight after 5:30pm EST.
cheers,
-p0z3r

Report

C

Tian

13 years ago

During my tests (this is my first theme and also my first python script!), I tried a very simple callback:

def widgetMouseMoved(widget, x, y, button):
print button

When moving the mouse with button 1 pressed, I got 0 printed in the console.

Report

p0z3r

13 years ago

When I get home from work, I'll see if there's a way around this somehow.

Report

p0z3r

13 years ago

Here's what I found fiddling with the karamba.cpp.
http://doc.trolltech.com/3.3/qmouseevent.html#button
"Note that the returned value is always NoButton for mouse move events."
So it appears that this is the case. It's a bug. There might be a way to code around this in the karamba.cpp, for example setting up a callback similar to widgetClicked within the mouseMoved in karamba.cpp. btw, it's around line 3897 or so.
cheers,
-p0z3r

Report

product-maker 18 21

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
updated Mar 08 2004
added Mar 08 2004
downloads today
0
page views today 0