Re: [LAD] Phat and pyphat 0.4.1, help needed for future widgets.

From: audio-mobster <audio-mobster@email-addr-hidden>
Date: Wed May 02 2007 - 17:42:44 EEST

Loki Davison schrieb:
> On 5/2/07, audio-mobster <audio-mobster@email-addr-hidden> wrote:
>> Loki Davison schrieb:
>> > Phat is a collection of GTK+ widgets geared toward audio apps.
>> > Bug fixes and a few small feature updates. Most of the work done by
>> > Nedko! ;)
>> >
>> > We need help to implement all of Thorsten's new ideas. Check out
>> > http://thorwil.wordpress.com/ I'm really not able to do much coding at
>> > the moment due to RSI / overuse injury issues. I'm trying to keep away
>> >> from a computer. There has been some discussion of making phat dual
>> > toolkit, gtk and qt4. Help with this would be very useful too. Contact
>> > me if you want to help and need svn access.
>> >
>> > Phat and pyphat can be download at http://phat.berlios.de/
>> >
>> > Cheers,
>> > Loki
>> > _______________________________________________
>> > Linux-audio-dev mailing list
>> > Linux-audio-dev@email-addr-hidden
>> > http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
>> >
>> Hi
>>
>> I already started implementing a SVG-Cairo version of a knob.
>> I'm playing with bounds and magnetic middle...
>>
>> Greets Uli
>> _______________________________________________
>> Linux-audio-dev mailing list
>> Linux-audio-dev@email-addr-hidden
>> http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
>>
>
> put it in SVN, then everyone else can play with it too! Give me a yell
> for access.
>
> Loki
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev@email-addr-hidden
> http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
>

The sources are derived from cairo-clock:
http://cairographics.org/documentation
The tutorial by Davyd Madeley.

I added first support for scrolling, bounds and magnetic.
See drawing function phat_svg_knob_face_scroll() and
emit_scroll_event_signal().
The button is still upside down.
No shading or translucency yet, I got no compositmanager running.

all: test_widget

test_widget: test_widget.c phatsvgknob.c phatsvgknob.h phatsvgknob-marshallers.c phatsvgknob-marshallers.h
        gcc -g -o test_widget test_widget.c phatsvgknob.c phatsvgknob-marshallers.c \
                `pkg-config --libs --cflags gtk+-2.0`

phatsvgknob-marshallers.c: phatsvgknob-marshallers.list
        glib-genmarshal --prefix _phatsvgknob_marshal --body $< > $@

phatsvgknob-marshallers.h: phatsvgknob-marshallers.list
        glib-genmarshal --prefix _phatsvgknob_marshal --header $< > $@

clean:
        -rm -rf test_widget Binaries/test_widget

# these marshallers are generated with glib-genmarshal(1)
VOID:INT,INT

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev

Received on Wed May 2 20:15:02 2007

This archive was generated by hypermail 2.1.8 : Wed May 02 2007 - 20:15:03 EEST