(05-24-2014, 05:48 AM)Gaxx Wrote: During the development of my plugin, I needed to include a vertical hierarchy list with tree-like structure(much like Windows explorer), so I implemented it(along with a vertical slider class to control it), using Label and CustomWidget classes. It works fine, but there are several minor problems that cannot be avoided with this kind of implementation. Labels that form the list are arranget diferently in diferent versions of Illustrator and list updating during sliding it up and down causes flickering of the list and slider. I was wanderng if it is possible to introduce hierarchy lists(much like in old ADM API) or at least native CORE vertical slider to use in my plugin. I could send you code of my implementation if it would be of any help.
We already have some internal TODOs to make column view widgets and hierarchy list widgets. We did not previously consider making a vertical slider, as our intentions were to make widgets as Illustrator-like as possible (and Illustrator does not utilize vertical sliders). I can't say when any of these widgets will be created for public use, as we have other products on higher priority for the next couple months.
Thanks for the offer to contribute your code. I will keep that in mind once we get around to these requests.
(05-26-2014, 05:59 AM)Gaxx Wrote: Also I wanted to know if there is some way to add a keypress monitor for mouse buttons the same way as with other virtual keys?
This was not on our list as a feature, but I will add it for future consideration. At the moment, you can of course receive mouse events for tools and custom widgets. Is there some other time in particular that you need to know the state of a mouse button?