Karmix

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
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

15 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

16 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

16 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

16 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

p0z3r

16 years ago

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

Report

12345678910
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Mar 08 2004
added Mar 08 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0