[specimen] 1 or 2 ideas + willing
james jwm-art net
james at jwm-art.net
Thu Apr 24 17:03:26 CDT 2008
Hi,
This is proving more painful than I expected. Some advice or pointers
required from more experienced devs.
My problem is with trying to make use of the existing menu code actions
with the popup-menu. I feel more comfortable with C++ to be honest.
I took the patch menu action call backs out of gui.c into their own file
so that they could be shared with patchlist.c (i think? for where popup
is created) because of the popup menus requiring GdkEventButton times or
something - it seems so tangled up I loose track.
But the warnings as errors, static functions == not good, defined but not
used.
Arrrghh, just as I thought I was getting somewhere, it was bad enough
figuring out how to get this far....
Here's my non-compiling effort:
http://www.jwm-art.net/specimen-poopmenu.tar.bz2
If anyone can just have a quick look over, or suggest how this might be
solved, I'm happy to do the work.
Regards,
James.
On 22/4/2008, "james jwm-art net" <james at jwm-art.net> wrote:
>Ok, I've wanted to contribute something to another project besides my
>own in the linux audio world for some time and specimen seems a good
>candidate being fairly small and using GTK - which I know a little bit.
>
>So here's a few ideas which I think I could manage to impliment:
>
>cut & cut by
>
> user needs to know patch number - display number in patch_list
> beside patch name.
>
> display patch name (if possible) by patch number when selecting
> patch to cut/cut by.
>
>---
>
>patch list
>
>from using specimen, i've often wanted a right-click context popup menu
>instead of going to the main menu.
>
>(remember: my knowledge of gtk is slim)
>
>some thoughts:
>
> existing code uses "changed" signal which does not indicate which
> mouse button pressed ( ie does not pass GdkEvent to callback (?) )
>
> "popup-menu" signal is possible candidate for alternative but
> requires patch menu creation moved from existing location
> (gui init) into func.
>
> maybe remove patch menu completely and replace with icon buttons
> much like gimp layers dialogue - and maybe remove patch editor
> from main window to be invoked by selecting a patch and choosing
> edit?
>---
>
>there again you could just suggest something you'd prefer me to do
>(apart from tooltips :p ).
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>
>_______________________________________________
>Specimen mailing list
>Specimen at zhevny.com
>http://zhevny.com/mailman/listinfo/specimen
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Specimen
mailing list