[RESOLVED] Are mask files still needed?

I recall one promise of the new graphic engine was that it would let us get the masking done on the fly so that we don’t have to supply mask files etc. I note in the WidgetDemo sample that the mask files are still supplied and used. 

Can someone kindly confirm whether we will be able to do away with the mask files and if possible kindly update the sample?

Thanks

I looked at SampleCode/Interface/WidgetDemo and in the tableView example there is no mask.  I saw there was one in the tab2.lua which is the scroll view.  I commented the mask out, and it behaves as it should.  It looks like it’s leftover from the G1 version.  I guess you can still specify a mask if you wish but  you should no longer need the mask.

Keep in mind, that containers still use a mask internally to work, so you still have the same masking limits as before.

Rob

Super. You are right it was the scrollView in tab2 that I was looking at. I commented that line and then played with various scrollView sizes and it all worked like a charm! I like this!!! Thanks much. 

Just for reference, could you kindly list those masking limits? 

It varies by device and OS, but in most cases is 2-3 masks deep.

Got it. Thanks

Edit : This is looking good!!! 

I looked at SampleCode/Interface/WidgetDemo and in the tableView example there is no mask.  I saw there was one in the tab2.lua which is the scroll view.  I commented the mask out, and it behaves as it should.  It looks like it’s leftover from the G1 version.  I guess you can still specify a mask if you wish but  you should no longer need the mask.

Keep in mind, that containers still use a mask internally to work, so you still have the same masking limits as before.

Rob

Super. You are right it was the scrollView in tab2 that I was looking at. I commented that line and then played with various scrollView sizes and it all worked like a charm! I like this!!! Thanks much. 

Just for reference, could you kindly list those masking limits? 

It varies by device and OS, but in most cases is 2-3 masks deep.

Got it. Thanks

Edit : This is looking good!!!