Re: LineForm's Filters Table
Re: LineForm's Filters Table
- Subject: Re: LineForm's Filters Table
- From: "douglas a. welton" <email@hidden>
- Date: Thu, 28 Dec 2006 20:14:04 -0500
Ari,
What I was alluding to was the ParameterView and FilterView objects
in the Core Image Fun House sample. CIFilters are self describing.
ParameterView and FilterView work together to dynamically create a
list of views that contain the controls needed for any particular
filter combination.
What I am suggesting is that LineForm is probably doing the exact
same thing - e.g., dynamically creating their filter control (I took
a quick look into LineForm's Inspector.nib file and found no pre-made
views for the CIFilters - but I did find a FilterListView control...
hmmm?)
Both Core Image Fun House and LineForm present a panel with a "+" to
add new filters.
Both Core Image Fun House and LineForm provide a method for you to
navigate the available filters. LineForm presents this info as a
menu with one-level-of submenus. Core Image Fun House presents this
info using a couple of adjacent tables. The list of available
filters is dynamically generated (an array of filter categories, each
category containing an arbitrary number of CIFilters) and easily fits
either type of control.
Both Core Image Fun House and LineForm then display the parameters in
a switch-enabled "view". Core Image Fun House uses FilterView (a
subclass of NSBox, if I remember correctly). LineForm uses something
that-looks-to-me like a borderless, switch-enabled box with a
discolsure triangle stuff in front.
I've looked at the code for ParameterView and FilterView and I think
both objects could be made "nicer" with very little coding. I would
also suggest that the best way to present this info is illustrated by
the effects panel in Soundtrack...
Hope this helps.
later,
douglas
On Dec 22, 2006, at 7:21 PM, Ari Benzane wrote:
Looking - I don't see anything like Lineform's table...
On 21 Dec 2006, at 18:31, douglas a. welton wrote:
Take a look at the Core Image Fun House Sample code.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden