> On 15 Sep 2015, at 01:17, Patrick J. Collins
> wrote:
>
> Hi everyone,
>
> I am looking to implement something that would look somewhat like a
> graphic equalizer. Meaning, a grid of blocks... Clicking on a single
> grid block would change the appearance of all cells directly under it..
>
On 15 Sep 2015, at 02:35, Jens Alfke wrote:
> I would probably just implement it as a custom NSView. Then it doesn’t even
> have to be represented in memory as a grid; you just remember the level for
> each x coord and fill in the appropriate squares when drawing.
>
>> Or is there a better way
On 15 Sep 2015, at 02:17, Patrick J. Collins
wrote:
> Hi everyone,
>
> I am looking to implement something that would look somewhat like a
> graphic equalizer. Meaning, a grid of blocks... Clicking on a single
> grid block would change the appearance of all cells directly under it..
> So in ot
Hey Patrick,
An interesting problem.
Depending on how far you want to take this, how much this view will be reused,
how customizable it needs to be, etc. will inform your design decisions.
Just off the top of my head…If the number of blocks in each cell is fixed, it
might be easy to make a cus
I would probably just implement it as a custom NSView. Then it doesn’t even
have to be represented in memory as a grid; you just remember the level for
each x coord and fill in the appropriate squares when drawing.
> Or is there a better way to handle click events on a simple NSView?
Just overr
Hi everyone,
I am looking to implement something that would look somewhat like a
graphic equalizer. Meaning, a grid of blocks... Clicking on a single
grid block would change the appearance of all cells directly under it..
So in other words, clicking on 1,1 would turn on 1,1. but clicking 1,5
wou