protux-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Protux-devel] Question about MustuxDrawable


From: Luciano Giordana
Subject: Re: [Protux-devel] Question about MustuxDrawable
Date: Wed, 7 Apr 2004 22:49:45 -0300
User-agent: KMail/1.5.3

> MustuxDrawable is implemented as a QWidget, but shouldn't QCanvas be a
> better choice?

firt QT implementations was using Canvas. That fit a lot for mustache (score 
editing) but not for audio drawing,specially because of the zoom issues..
also, MustuxWidget has other purposes than simply drawing. It is a concept not 
a drawarea only. thats why we prefer qwidget as base class

anyway, save that for mustache. it will help a lot..

>
>  It has almost the same possibilities as QWidget but is better designed for
> drawing multiple items on it.
> Benefits are speed and memory usage as well as ohters. I coded allready
> some bits, but protux classes has to be updated a lot to make use of
> QCanvas, so I'd like to know first what you think about it.
> I made the Classes MustuxCanvasView and MustuxCanvas which is then a
> replacement for MustuxWidget and MustuxDrawableRegion in the classes which
> paint directly to the canvas (formerly widget) like Track, CursorManager,
> AudioClip, etc.
>
> Of course, an RFC for this ;-)
>
> Some notes for ALSA stuff, the docs are updated, so I found out for example
> that 2 streams can be easily synced with the "pcm_link(capture_handle,
> playback_handle) for example.
>
> Another note: It isn't clear how Track, TrackPanel interacts with
> eachother. This is especially true in regard to the update routines, which
> repaints the tracks, trackpanels, etc.
>
>
> Thanks, and waiting for your answer,
>
> Remon
>
>
> _______________________________________________
> Protux-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/protux-devel

-- 
Best Regards
--
Luciano Giordana
Free Software Developer / Musician
Project Protux : Professional Audio Tools for GNU/Linux
http://www.nongnu.org/protux
Portalcon Software Livre - Americana - SP - http://www.portalcon.com.br





reply via email to

[Prev in Thread] Current Thread [Next in Thread]